30 #ifndef PROTOELEMENTHANDLER_H 31 #define PROTOELEMENTHANDLER_H 33 #include "PrepHandler.h" 34 #include "MaterialHandler.h" 35 #include "TransfCooHandler.h" 36 #include "BeamIntegratorHandler.h" 52 Element *create_element(
const std::string &cmd,
int tag_elem);
54 std::string material_name;
57 std::string transformation_name;
58 std::string integrator_name;
76 virtual int getDefaultTag(
void)
const= 0;
BeamIntegratorHandler::const_iterator get_iter_beam_integrator(void) const
Returns an iterator to the integrator whose name corresponds to the contents of integrator_name.
Definition: ProtoElementHandler.cc:139
Finite element model generation tools.
Definition: Preprocessor.h:59
CrdTransf provides the abstraction of a frame coordinate transformation.
Definition: CrdTransf.h:88
void setDefaultTransf(const std::string &)
Sets the name of the default coordinate transformation for new elements.
Definition: ProtoElementHandler.cc:545
const Material * get_ptr_material(void) const
Returns a pointer to the material whose name corresponds to material_name contents.
Definition: ProtoElementHandler.cc:119
Base class for materials.
Definition: Material.h:93
Vector of integers.
Definition: ID.h:95
void setDimElem(const int &)
Sets the default dimension (0D,1D,2D or 3D) for new elements.
Definition: ProtoElementHandler.cc:537
Base class for the preprocessor objects that create model entities: nodes, elements, loads, etc.
Definition: PrepHandler.h:47
ProtoElementHandler(Preprocessor *preprocessor)
Default constructor.
Definition: ProtoElementHandler.cc:104
const std::string & getDefaultTransf(void) const
Returns the name of the default coordinate transformation for new elements.
Definition: ProtoElementHandler.cc:549
Base class for the finite elements.
Definition: Element.h:112
void setDefaultIntegrator(const std::string &)
Sets the name of the default integrator for new elements.
Definition: ProtoElementHandler.cc:553
const BeamIntegration * get_ptr_beam_integrator(void) const
Returns a pointer to the integrator whose name corresponds to the contents of integrator_name.
Definition: ProtoElementHandler.cc:145
MaterialHandler::const_iterator get_iter_material(void) const
Returns an iterator to the material whose name corresponds to material_name contents.
Definition: ProtoElementHandler.cc:114
const std::string & getDefaultMaterial(void) const
Returns the default material name for new elements.
Definition: ProtoElementHandler.cc:525
int getNumSections(void) const
Returns the default number of sections for new elements.
Definition: ProtoElementHandler.cc:533
Base class for integration on beam elements.
Definition: BeamIntegration.h:80
const CrdTransf * get_ptr_transf_coo(void) const
Returns a pointer to the coordinate transformation with the name being passed as parameter (nullptr i...
Definition: ProtoElementHandler.cc:169
Manager for the creation/deletion of coordinate transformations.
Definition: TransfCooHandler.h:50
const BeamIntegratorHandler & get_beam_integrator_handler(void) const
Returns a reference to de integrator handler.
Definition: ProtoElementHandler.cc:134
Material handler (definition, searching,...).
Definition: MaterialHandler.h:46
Finite element creation.
Definition: ProtoElementHandler.h:50
const MaterialHandler & get_material_handler(void) const
Returns a reference to the material handler.
Definition: ProtoElementHandler.cc:109
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
const std::string & getDefaultIntegrator(void) const
Returns the name of the default integrator for new elements.
Definition: ProtoElementHandler.cc:557
TransfCooHandler::const_iterator get_iter_transf_coo(void) const
Returns an iterator to the coordinate transformation with the name being passed as parameter...
Definition: ProtoElementHandler.cc:165
const TransfCooHandler & get_transf_coo_handler(void) const
Returns a reference to the coordinate transformation handler.
Definition: ProtoElementHandler.cc:161
Beam integrators handler.
Definition: BeamIntegratorHandler.h:42
Element * newElement(const std::string &, const ID &)
Create a new element.
Definition: ProtoElementHandler.cc:498
virtual void setDefaultMaterial(const std::string &)
Sets the default material name for new elements.
Definition: ProtoElementHandler.cc:521
int getDimElem(void) const
Returns the default dimension (0D,1D,2D or 3D) for new elements.
Definition: ProtoElementHandler.cc:541
void setNumSections(const int &)
Default number of sections for new elements.
Definition: ProtoElementHandler.cc:529