30 #ifndef MODELWRAPPER_H 31 #define MODELWRAPPER_H 33 #include "utility/kernel/CommandEntity.h" 39 class ConstraintHandler;
41 class FEM_ObjectBroker;
44 class SolutionStrategy;
65 void free_analysis_model(
void);
66 void alloc_analysis_model(
void);
69 void free_constraint_handler(
void);
70 bool alloc_constraint_handler(
const std::string &);
73 bool setup_numerador(
void);
74 void free_numerador(
void);
75 bool alloc_numerador(
const std::string &);
93 std::string
getName(
void)
const;
102 {
return theHandler; }
105 {
return theHandler; }
108 {
return theDOFNumberer; }
111 {
return theDOFNumberer; }
Base class for DOF numbererers.
Definition: DOF_Numberer.h:94
DOF_Numberer & newNumberer(const std::string &)
Creates a numberer of the type passed as parameter.
Definition: ModelWrapper.cc:185
ConstraintHandlers enforce the single and multi freedom constraints that exist in the domain by creat...
Definition: ConstraintHandler.h:93
Communication parameters between processes.
Definition: Communicator.h:66
Integrator * getIntegratorPtr(void)
Return a pointer to the integrator.
Definition: ModelWrapper.cc:274
ConstraintHandler * getConstraintHandlerPtr(void)
Return a pointer to the constraints handler.
Definition: ModelWrapper.h:101
ModelWrapper(SolutionStrategy *owr=nullptr)
Default constructor.
Definition: ModelWrapper.cc:216
Domain * getDomainPtr(void)
Return a pointer to the domain.
Definition: ModelWrapper.cc:258
Vector of integers.
Definition: ID.h:95
ModelWrapper & operator=(const ModelWrapper &)
Assignment operator.
Definition: ModelWrapper.cc:226
~ModelWrapper(void)
Destructor.
Definition: ModelWrapper.cc:234
DOF_Numberer * getDOF_NumbererPtr(void)
Return a pointer to the DOF numberer.
Definition: ModelWrapper.h:107
Wrapper for the finite element model "as seen" from the solver.
Definition: ModelWrapper.h:59
Container for FE_Element and DOF_Group objects created by the constraint handler. ...
Definition: AnalysisModel.h:134
Objet that can execute python scripts.
Definition: CommandEntity.h:40
Base class for the objects that performs the integration of physical properties over the domain to fo...
Definition: Integrator.h:100
bool CheckPointers(void)
Verify that the point are not null.
Definition: ModelWrapper.cc:315
ConstraintHandler & newConstraintHandler(const std::string &)
Create a constraints handler of the type passed as parameter.
Definition: ModelWrapper.cc:124
Finite element problem.
Definition: FEProblem.h:81
const DOF_Numberer * getDOF_NumbererPtr(void) const
Return a pointer to the DOF numberer.
Definition: ModelWrapper.h:110
const AnalysisModel * getAnalysisModelPtr(void) const
Return a pointer to the analysis model.
Definition: ModelWrapper.h:116
Solution strategy for the finite element problem.
Definition: SolutionStrategy.h:94
const ConstraintHandler * getConstraintHandlerPtr(void) const
Return a pointer to the constraints handler.
Definition: ModelWrapper.h:104
int setNumberer(DOF_Numberer &theNumberer)
Set the numberer to be used in the analysis.
Definition: ModelWrapper.cc:308
AnalysisModel * getAnalysisModelPtr(void)
Return a pointer to the analysis model.
Definition: ModelWrapper.h:113
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
std::string getName(void) const
Returns the name of the material.
Definition: ModelWrapper.cc:241
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:117