#include "b2model.H"
Public Member Functions | |
virtual void | init (const std::string &dbname="", Dictionary *cmdline_set_=nullptr)=0 |
virtual CaseList & | get_case_list ()=0 |
virtual const int | get_handle ()=0 |
virtual Domain & | get_domain ()=0 |
virtual NaturalBoundaryCondition & | get_natural_boundary_condition (ObjectTypeIncomplete< NaturalBoundaryCondition > *bc_type)=0 |
virtual EssentialBoundaryCondition & | get_essential_boundary_condition (ObjectTypeIncomplete< EssentialBoundaryCondition > *bc_type)=0 |
virtual ModelReductionBoundaryCondition & | get_model_reduction_boundary_condition (ObjectTypeIncomplete< ModelReductionBoundaryCondition > *bc_type)=0 |
virtual InitialCondition & | get_initial_condition ()=0 |
virtual Solution & | get_solution ()=0 |
virtual Solver & | get_solver ()=0 |
virtual void | run () |
virtual void | set_case (Case &case_)=0 |
virtual Case * | get_case ()=0 |
virtual void | get_subcase_ids (std::set< int > &subcase_ids_) const =0 |
virtual void | set_subcase_id (const int subcase_id_)=0 |
virtual int | get_subcase_id () const =0 |
![]() | |
virtual const std::string & | get_object_name () const |
virtual | ~Object () |
Additional Inherited Members | |
![]() | |
static ObjectType | type |
The Finite Element model to solve.
It creates all objects needed by the Solver instance:
According to the Case list, it creates a Solver instance of the specified class (e.g. StaticLinear, StaticNonlinear, ...) and strategies (e.g. accuracy, maximum number of iterations, ... ).
Finally, it calls the solve method of the created Solver instance with the Domain, NaturalBoundaryCondition, EssentialBoundaryCondition, InitialCondition, and Solution instances to solve the FE problem.
|
pure virtual |
Get the current case.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the list of cases of the model.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the Domain instance.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the essential boundary conditions.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the MemCom database handle, if any, or 0 if not defined.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the initial condition.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the model reduction boundary conditions.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the natural boundary conditions.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the Solution object that will hold the solution data.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the Solver object.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the analysis subcase.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Get the list of subcases that are defined for the current case, using the Case object.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Initialize the model.
Implemented in b2000::b2dbv3::Model.
|
virtual |
Run the model: Call the solve method of the Solver object.
|
pure virtual |
Set the case of the model.
Apply this method to all of the defined objects (domain, boundary condition, etc) of the models. The subcase ID is set to the ID of the first subcase or to 0 if no subcases are defined for this case.
Implemented in b2000::b2dbv3::Model.
|
pure virtual |
Set the analysis subcase.
Implemented in b2000::b2dbv3::Model.