xc
|
Solution strategy for the finite element problem. More...
#include <SolutionStrategy.h>
Public Member Functions | |
SolutionStrategy (SolutionStrategyMap *owr=nullptr, ModelWrapper *b=nullptr) | |
Default constructor. | |
SolutionStrategy (const SolutionStrategy &) | |
Copy constructor. | |
SolutionStrategy & | operator= (const SolutionStrategy &) |
Assignment operator. | |
~SolutionStrategy (void) | |
Destructor. | |
const SolutionStrategyMap * | getSolutionStrategyMap (void) const |
Returns a pointer to the solution strategy map that contains this object. More... | |
SolutionStrategyMap * | getSolutionStrategyMap (void) |
Returns a pointer to the solution strategy map that contains this object. More... | |
const SolutionProcedureControl * | getSolutionProcedureControl (void) const |
Returns a pointer to the solution procedure control object that contains this object. More... | |
SolutionProcedureControl * | getSolutionProcedureControl (void) |
Returns a pointer to the solution procedure control object that contains this object. More... | |
std::string | getName (void) const |
Return the name of this object in its container. | |
const std::string & | getModelWrapperName (void) const |
Return the name of a model wrapper. | |
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 Communicator &, const ID &) |
void | brokeLinearSOE (const Communicator &, const ID &) |
void | brokeIncrementalIntegrator (const Communicator &, const ID &) |
void | brokeStaticIntegrator (const Communicator &, const ID &) |
void | brokeTransientIntegrator (const Communicator &, const ID &) |
void | brokeDomainDecompAlgo (const Communicator &, const ID &) |
void | brokeEquiSolnAlgo (const Communicator &, const ID &) |
bool | CheckPointers (void) |
Verifies that the pointers are not null. | |
void | revertToStart (void) |
Returns the modelo a su estado original. | |
void | clearAll (void) |
![]() | |
CommandEntity (CommandEntity *owr=nullptr) | |
Default constructor. | |
CommandEntity * | Owner (void) |
Return a pointer to the object owner. | |
const CommandEntity * | Owner (void) const |
Return un puntero al objeto propietario de ESTE. | |
const StandardOutputWrapper & | getStandardOutputWrapper (void) const |
Return the regular output stream wrapper. | |
StandardOutputWrapper & | getStandardOutputWrapper (void) |
Return the regular output stream wrapper. | |
const std::string & | getLogFileName (void) const |
Returns log file name. | |
void | setLogFileName (const std::string &) |
Sets log file name. | |
const std::string & | getErrFileName (void) const |
Returns err file name. | |
void | setErrFileName (const std::string &) |
Sets error file name. | |
const std::string & | getOutputFileName (void) const |
Returns regular output file name. | |
void | setOutputFileName (const std::string &) |
Sets regular output file name. | |
boost::python::object | evalPy (boost::python::object dict, const std::string &) |
Return the Python object that results from evaluating the argument. | |
boost::python::object | execPy (boost::python::object dict, const std::string &) |
Return the Python objects that results from executing the code in the string argument. | |
boost::python::object | execFilePy (boost::python::object dict, const std::string &) |
Return the Python object that results from executing the code in the file. | |
![]() | |
EntityWithProperties (EntityWithProperties *owr=nullptr) | |
Default constructor. | |
void | clearPyProps (void) |
Clear python properties map. | |
bool | hasPyProp (const std::string &) |
Returns true if property exists. | |
boost::python::object | getPyProp (const std::string &str) |
Return the Python object with the name being passed as parameter. | |
void | setPyProp (std::string str, boost::python::object val) |
Sets/appends a value tho the Python object's dictionary. | |
void | copyPropsFrom (const EntityWithProperties &) |
Copy the properties from the argument. | |
boost::python::list | getPropNames (void) const |
Return the names of the object properties weightings. | |
const PythonDict & | getPropertiesDict (void) const |
Return a std::map container with the properties of the object. | |
boost::python::dict | getPyDict (void) const |
Return a Python dictionary containing the object members values. | |
void | setPyDict (const boost::python::dict &) |
Set the values of the object members from a Python dictionary. | |
![]() | |
EntityWithOwner (EntityWithOwner *owr=nullptr) | |
Default constructor. | |
EntityWithOwner (const EntityWithOwner &) | |
Copy constructor. | |
EntityWithOwner & | operator= (const EntityWithOwner &) |
Assignment operator. | |
virtual bool | operator== (const EntityWithOwner &) const |
Comparison operator. | |
virtual | ~EntityWithOwner (void) |
Virtual destructor. | |
virtual std::string | getClassName (void) const |
Returns demangled class name. | |
void | set_owner (EntityWithOwner *owr) |
Assigns the owner of the object. | |
EntityWithOwner * | Owner (void) |
const EntityWithOwner * | Owner (void) const |
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 | set_integrator (void) |
Informs the analysis object of the new integrator. | |
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 SolutionStrategy &) |
![]() | |
template<class T > | |
void | string_to (T &, const std::string &) const |
![]() | |
bool | isEqual (const EntityWithProperties &) const |
Return true if both objects are equal. | |
![]() | |
virtual bool | isEqual (const EntityWithOwner &) const |
Return true if both objects are equal. | |
Friends | |
class | FEProblem |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, boost::python::object > | PythonDict |
![]() | |
static void | resetStandardOutput (void) |
Reset the standard output streams to its defaults buffers. | |
![]() | |
static int | getVerbosityLevel (void) |
Get the value of the verbosity level. | |
static void | setVerbosityLevel (const int &) |
Set the value of the verbosity level. | |
![]() | |
static CommandEntity * | entcmd_cast (boost::any &data) |
![]() | |
static int | verbosity = 1 |
Object that owns THIS ONE. More... | |
Solution strategy for the finite element problem.
Solution strategy for the finite element problem. The solution strategy is defined by specifying:
|
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::SolutionStrategy::getDomainDecompSolutionAlgorithmPtr | ( | void | ) |
Returns, if possible, a pointer al solution algorithm DomainDecomp , otherwise it returns nullptr.
XC::EigenIntegrator * XC::SolutionStrategy::getEigenIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the eigen integrator otherwise it returns nullptr.
XC::EigenAlgorithm * XC::SolutionStrategy::getEigenSolutionAlgorithmPtr | ( | void | ) |
Returns, if possible, a pointer to the solution algorithm of the eigen problem,, otherwise it returns nullptr.
XC::EquiSolnAlgo * XC::SolutionStrategy::getEquiSolutionAlgorithmPtr | ( | void | ) |
Returns, if possible, a pointer to the system of equations solution algorithm, otherwise it returns nullptr.
XC::IncrementalIntegrator * XC::SolutionStrategy::getIncrementalIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the incremental integrator otherwise it returns nullptr.
XC::LinearBucklingIntegrator * XC::SolutionStrategy::getLinearBucklingIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the linear buckling integrator otherwise it returns nullptr.
const XC::SolutionProcedureControl * XC::SolutionStrategy::getSolutionProcedureControl | ( | void | ) | const |
Returns a pointer to the solution procedure control object that contains this object.
XC::SolutionProcedureControl * XC::SolutionStrategy::getSolutionProcedureControl | ( | void | ) |
Returns a pointer to the solution procedure control object that contains this object.
const XC::SolutionStrategyMap * XC::SolutionStrategy::getSolutionStrategyMap | ( | void | ) | const |
Returns a pointer to the solution strategy map that contains this object.
XC::SolutionStrategyMap * XC::SolutionStrategy::getSolutionStrategyMap | ( | void | ) |
Returns a pointer to the solution strategy map that contains this object.
XC::StaticIntegrator * XC::SolutionStrategy::getStaticIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the static integrator otherwise it returns nullptr.
XC::TransientIntegrator * XC::SolutionStrategy::getTransientIntegratorPtr | ( | void | ) |
Returns, if possible, a pointer to the transient integrator otherwise it returns nullptr.