xc
|
Solution procedure for the finite element problem. More...
#include <AnalysisAggregation.h>
Public Member Functions | |
AnalysisAggregation (Analysis *a=nullptr, ModelWrapper *b=nullptr) | |
Default constructor. | |
AnalysisAggregation (const AnalysisAggregation &) | |
Copy constructor. | |
AnalysisAggregation & | operator= (const AnalysisAggregation &) |
Assignment operator. | |
~AnalysisAggregation (void) | |
Destructor. | |
ModelWrapper * | getModelWrapperPtr (void) |
Domain * | getDomainPtr (void) |
Returns a pointer to the domain. | |
const Domain * | getDomainPtr (void) const |
Returns a pointer to the domain. | |
ConstraintHandler * | getConstraintHandlerPtr (void) |
Returns a pointer to the constraint handler. | |
DOF_Numberer * | getDOF_NumbererPtr (void) const |
Returns a pointer to the numberer. | |
AnalysisModel * | getAnalysisModelPtr (void) const |
Returns a pointer to the analysis model. | |
LinearSOE * | getLinearSOEPtr (void) |
Returns a pointer to the linear system of equations. | |
const LinearSOE * | getLinearSOEPtr (void) const |
Returns a pointer to the linear system of equations. | |
EigenSOE * | getEigenSOEPtr (void) |
Returns a pointer to the system of equations de eigenvalues. | |
const EigenSOE * | getEigenSOEPtr (void) const |
Returns a pointer to the system of equations de eigenvalues. | |
Integrator & | newIntegrator (const std::string &, const Vector &) |
Defines a new integrator. | |
Integrator * | getIntegratorPtr (void) |
Returns a pointer to the integrator. | |
const Integrator * | getIntegratorPtr (void) const |
IncrementalIntegrator * | getIncrementalIntegratorPtr (void) |
Returns, if possible, a pointer to the incremental integrator otherwise it returns nullptr. More... | |
EigenIntegrator * | getEigenIntegratorPtr (void) |
Returns, if possible, a pointer to the eigen integrator otherwise it returns nullptr. More... | |
LinearBucklingIntegrator * | getLinearBucklingIntegratorPtr (void) |
Returns, if possible, a pointer to the linear buckling integrator otherwise it returns nullptr. More... | |
TransientIntegrator * | getTransientIntegratorPtr (void) |
Returns, if possible, a pointer to the transient integrator otherwise it returns nullptr. More... | |
StaticIntegrator * | getStaticIntegratorPtr (void) |
Returns, if possible, a pointer to the static integrator otherwise it returns nullptr. More... | |
SystemOfEqn & | newSystemOfEqn (const std::string &) |
Sets the system of equations type to use. | |
SolutionAlgorithm * | getSolutionAlgorithmPtr (void) |
Returns a pointer to the solution algorithm. | |
const SolutionAlgorithm * | getSolutionAlgorithmPtr (void) const |
EigenAlgorithm * | getEigenSolutionAlgorithmPtr (void) |
Returns, if possible, a pointer to the solution algorithm of the eigen problem,, otherwise it returns nullptr. More... | |
EquiSolnAlgo * | getEquiSolutionAlgorithmPtr (void) |
Returns, if possible, a pointer to the system of equations solution algorithm, otherwise it returns nullptr. More... | |
DomainDecompAlgo * | getDomainDecompSolutionAlgorithmPtr (void) |
Returns, if possible, a pointer al solution algorithm DomainDecomp , otherwise it returns nullptr. More... | |
SolutionAlgorithm & | newSolutionAlgorithm (const std::string &) |
Creates a new solution algorithm with the name being passed as parameter. | |
ConvergenceTest * | getConvergenceTestPtr (void) |
Returns a pointer to the convergence test. | |
const ConvergenceTest * | getConvergenceTestPtr (void) const |
Returns a pointer to the convergence test. | |
ConvergenceTest & | newConvergenceTest (const std::string &) |
Set convergence test to be used. | |
virtual const DomainSolver * | getDomainSolverPtr (void) const |
Returns a pointer to the DomainSolver. | |
virtual DomainSolver * | getDomainSolverPtr (void) |
Returns a pointer to the DomainSolver. | |
virtual const Subdomain * | getSubdomainPtr (void) const |
Returns a pointer to the subdomain. | |
virtual Subdomain * | getSubdomainPtr (void) |
Returns a pointer to the subdomain. | |
int | setLinearSOE (LinearSOE &theSOE) |
Sets the linear system of equations to use in the analysis. | |
int | setEigenSOE (EigenSOE &theSOE) |
Sets the eigenSOE to use in the analysis. | |
int | setIntegrator (Integrator &theNewIntegrator) |
Sets the integrator to use in the analysis. | |
int | setAlgorithm (SolutionAlgorithm &theNewAlgorithm) |
Sets the solution algorithm to use in the analysis. | |
int | setConvergenceTest (ConvergenceTest &theNewTest) |
Sets the convergence test to use in the analysis. | |
void | brokeDDLinearSOE (const CommParameters &, const ID &) |
void | brokeLinearSOE (const CommParameters &, const ID &) |
void | brokeIncrementalIntegrator (const CommParameters &, const ID &) |
void | brokeStaticIntegrator (const CommParameters &, const ID &) |
void | brokeTransientIntegrator (const CommParameters &, const ID &) |
void | brokeDomainDecompAlgo (const CommParameters &, const ID &) |
void | brokeEquiSolnAlgo (const CommParameters &, const ID &) |
bool | CheckPointers (void) |
Verifica que los pointers no sean nulos. | |
void | revertToStart (void) |
Returns the modelo a su estado original. | |
void | clearAll (void) |
Protected Member Functions | |
void | free_soln_algo (void) |
bool | alloc_soln_algo (const std::string &) |
void | copy_soln_algo (SolutionAlgorithm *) |
To change the algorithm between analysis. More... | |
void | free_integrator (void) |
bool | alloc_integrator (const std::string &, const Vector &) |
void | copy_integrator (Integrator *) |
To change the integration scheme between analysis. More... | |
void | free_system_of_equations (void) |
bool | alloc_system_of_equations (const std::string &, AnalysisModel *) |
void | copy_system_of_equations (SystemOfEqn *) |
To change the linear system of equation object between analysis. More... | |
void | free_conv_test (void) |
bool | alloc_conv_test (const std::string &) |
void | copy_conv_test (ConvergenceTest *) |
void | free_mem (void) |
void | copy (const AnalysisAggregation &) |
Friends | |
class | FEProblem |
Solution procedure for the finite element problem.
The solution procedure is defined by specifiying:
|
protected |
To change the integration scheme between analysis.
It first invokes the destructor on the old Integrator object associated with the analysis. It then sets the SolutionAlgorithm associated with the analysis to be newAlgorithm
and sets the links for this object. It also invokes set_owner().
|
protected |
To change the algorithm between analysis.
It first invokes the destructor on the old SolutionAlgorithm object associated with the analysis. It then sets the SolutionAlgorithm associated with the analysis to be newAlgorithm
and sets the links for this object by invoking set_owner().
|
protected |
To change the linear system of equation object between analysis.
It first invokes the destructor on the old LinearSOE object associated with the analysis. It then sets the SolutionAlgorithm associated with the analysis to be newSOE
. links for this object. It then invokes set_owner().
XC::DomainDecompAlgo * XC::AnalysisAggregation::getDomainDecompSolutionAlgorithmPtr | ( | void | ) |
Returns, if possible, a pointer al solution algorithm DomainDecomp , otherwise it returns nullptr.
XC::EigenIntegrator * XC::AnalysisAggregation::getEigenIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the eigen integrator otherwise it returns nullptr.
XC::EigenAlgorithm * XC::AnalysisAggregation::getEigenSolutionAlgorithmPtr | ( | void | ) |
Returns, if possible, a pointer to the solution algorithm of the eigen problem,, otherwise it returns nullptr.
XC::EquiSolnAlgo * XC::AnalysisAggregation::getEquiSolutionAlgorithmPtr | ( | void | ) |
Returns, if possible, a pointer to the system of equations solution algorithm, otherwise it returns nullptr.
XC::IncrementalIntegrator * XC::AnalysisAggregation::getIncrementalIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the incremental integrator otherwise it returns nullptr.
XC::LinearBucklingIntegrator * XC::AnalysisAggregation::getLinearBucklingIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the linear buckling integrator otherwise it returns nullptr.
XC::StaticIntegrator * XC::AnalysisAggregation::getStaticIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the static integrator otherwise it returns nullptr.
XC::TransientIntegrator * XC::AnalysisAggregation::getTransientIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the transient integrator otherwise it returns nullptr.