xc
|
Material handler (definition, searching,...). More...
#include <MaterialHandler.h>
Public Types | |
typedef std::map< std::string, Material * > | map_materials |
typedef map_materials::const_iterator | const_iterator |
typedef map_materials::iterator | iterator |
typedef std::map< std::string, GeomSection * > | map_geom_secc |
typedef map_geom_secc::const_iterator | const_geom_secc_iterator |
typedef map_geom_secc::iterator | geom_secc_iterator |
typedef std::map< std::string, InteractionDiagram * > | map_interaction_diagram |
typedef map_interaction_diagram::const_iterator | const_interaction_diagram_iterator |
typedef map_interaction_diagram::iterator | interaction_diagram_iterator |
typedef std::map< std::string, InteractionDiagram2d * > | map_interaction_diagram2d |
typedef map_interaction_diagram2d::const_iterator | const_interaction_diagram2d_iterator |
typedef map_interaction_diagram2d::iterator | interaction_diagram2d_iterator |
Public Member Functions | |
MaterialHandler (Preprocessor *owr) | |
Default constructor. | |
const map_materials & | Map (void) const |
Returns a reference to the material container. | |
const_iterator | begin (void) const |
Returns an iterator which points to principio de la lista. | |
const_iterator | end (void) const |
Returns an iterator apuntando después of the final de la lista. | |
iterator | begin (void) |
Returns an iterator which points to principio de la lista. | |
iterator | end (void) |
Returns an iterator apuntando después of the final de la lista. | |
const_iterator | find (const std::string &str) const |
Si encuentra el material cuyo nombre se pasa as parameter returns an iterator which points to mismo. | |
iterator | find (const std::string &str) |
Si encuentra el material cuyo nombre se pasa as parameter returns an iterator which points to mismo. | |
Material * | find_ptr (const std::string &str) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
const Material * | find_ptr (const std::string &nmb) const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
Material * | find_ptr (const int &tag) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
const Material * | find_ptr (const int &tag) const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
std::string | getName (const int &tag) const |
Returns the name that corresponds to the material tag being passed as parameter. | |
GeomSection * | find_ptr_geom_section (const std::string &nmb) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
const GeomSection * | find_ptr_geom_section (const std::string &nmb) const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
InteractionDiagram * | find_ptr_interaction_diagram (const std::string &nmb) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
const InteractionDiagram * | find_ptr_interaction_diagram (const std::string &nmb) const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
InteractionDiagram2d * | find_ptr_interaction_diagram2d (const std::string &nmb) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
const InteractionDiagram2d * | find_ptr_interaction_diagram2d (const std::string &nmb) const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr. More... | |
bool | existeMaterial (const std::string &nmb) const |
True if material exists. | |
bool | existeGeomSection (const std::string &nmb) const |
Returns true if the section geometry identified by the string being passed as parameter exists. More... | |
bool | InteractionDiagramExists (const std::string &nmb) const |
Returns true if the 3D interaction diagram identified by the string being passed as parameter exists. More... | |
bool | InteractionDiagramExists2d (const std::string &nmb) const |
Returns true if the 2D interaction diagram identified by the string being passed as parameter exists. More... | |
Material * | newMaterial (const std::string &, const std::string &) |
Defines a new material. | |
Material & | getMaterial (const std::string &) |
Returns a reference to the material which identifier is being passed as parameter. More... | |
GeomSection * | newSectionGeometry (const std::string &) |
Defines a new material. | |
GeomSection & | getGeomSection (const std::string &) |
Returns a reference to the section geometry which identifier is being passed as parameter. More... | |
InteractionDiagram * | newInteractionDiagram (const std::string &) |
New interaction diagram. | |
InteractionDiagram * | calcInteractionDiagram (const std::string &, const InteractionDiagramData &diag_data) |
New interaction diagram. | |
InteractionDiagram & | getInteractionDiagram (const std::string &) |
Returns a reference to the interaction diagram which identifier is being passed as parameter. More... | |
InteractionDiagram2d * | new2DInteractionDiagram (const std::string &) |
New 2d interaction diagram. | |
InteractionDiagram2d * | calcInteractionDiagramNMy (const std::string &, const InteractionDiagramData &diag_data) |
New 2D interaction diagram (N-My) | |
InteractionDiagram2d * | calcInteractionDiagramNMz (const std::string &, const InteractionDiagramData &diag_data) |
New 2D interaction diagram (N-Mz) | |
InteractionDiagram2d & | getNMzInteractionDiagram (const std::string &) |
void | clearAll (void) |
![]() | |
PrepHandler (Preprocessor *owr) | |
Default constructor. | |
virtual int | sendSelf (CommParameters &) |
Sends object through the channel being passed as parameter. | |
virtual int | recvSelf (const CommParameters &) |
Receives object through the channel being passed as parameter. | |
![]() | |
PreprocessorContainer (Preprocessor *owr) | |
Default constructor. | |
const Domain * | getDomain (void) const |
Returns the domain. | |
Domain * | getDomain (void) |
Returns the domain. | |
Preprocessor * | getPreprocessor (void) |
Returns a pointer to the object preprocessor. | |
const Preprocessor * | getPreprocessor (void) const |
Returns a pointer to the object preprocessor. | |
void | checkPreprocessor (void) |
![]() | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (const MovableObject &) |
Assignment operator. Doesn't copy the dbTag. | |
int | getClassTag (void) const |
Return the class identifier. | |
int | getDbTag (void) const |
Return the object identifier in the database. | |
int | getDbTag (CommParameters &) |
Return the object identifier in the database. | |
void | setDbTag (int dbTag) |
Sets the object identifier in the database. | |
void | setDbTag (CommParameters &) |
Sets the object identifier in the database if not already set. More... | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
Sets the value param to the parameter argv . | |
virtual int | updateParameter (int parameterID, Information &info) |
Updates the parameter identified by parameterID with info . | |
virtual int | activateParameter (int parameterID) |
Activates the parameter identified by parameterID . | |
virtual int | setVariable (const std::string &variable, Information &) |
Set the value of the variable idenfified by var . | |
virtual int | getVariable (const std::string &variable, Information &) |
Return the value of the variable idenfified by var . | |
![]() | |
DistributedBase (void) | |
Constructor. | |
virtual DbTagData & | getDbTagData (void) const |
Returns a vector to store class dbTags. | |
const int & | getDbTagDataPos (const int &i) const |
Returns the data at the i-th position. | |
void | setDbTagDataPos (const int &i, const int &v) |
Sets the data at the i-th position. | |
void | inicComm (const int &dataSize) const |
Initializes communication. | |
Friends | |
class | ElementHandler |
Material handler (definition, searching,...).
bool XC::MaterialHandler::existeGeomSection | ( | const std::string & | nmb | ) | const |
Returns true if the section geometry identified by the string being passed as parameter exists.
XC::Material * XC::MaterialHandler::find_ptr | ( | const std::string & | nmb | ) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
const XC::Material * XC::MaterialHandler::find_ptr | ( | const std::string & | nmb | ) | const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
XC::Material * XC::MaterialHandler::find_ptr | ( | const int & | tag | ) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
const XC::Material * XC::MaterialHandler::find_ptr | ( | const int & | tag | ) | const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
XC::GeomSection * XC::MaterialHandler::find_ptr_geom_section | ( | const std::string & | nmb | ) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
const XC::GeomSection * XC::MaterialHandler::find_ptr_geom_section | ( | const std::string & | nmb | ) | const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
XC::InteractionDiagram * XC::MaterialHandler::find_ptr_interaction_diagram | ( | const std::string & | nmb | ) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
const XC::InteractionDiagram * XC::MaterialHandler::find_ptr_interaction_diagram | ( | const std::string & | nmb | ) | const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
XC::InteractionDiagram2d * XC::MaterialHandler::find_ptr_interaction_diagram2d | ( | const std::string & | nmb | ) |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
const XC::InteractionDiagram2d * XC::MaterialHandler::find_ptr_interaction_diagram2d | ( | const std::string & | nmb | ) | const |
Si encuentra el material cuyo nombre se pasa as parameter returns a pointer al mismo, otherwise it returns nullptr.
XC::GeomSection & XC::MaterialHandler::getGeomSection | ( | const std::string & | nmb | ) |
Returns a reference to the section geometry which identifier is being passed as parameter.
XC::InteractionDiagram & XC::MaterialHandler::getInteractionDiagram | ( | const std::string & | nmb | ) |
Returns a reference to the interaction diagram which identifier is being passed as parameter.
XC::Material & XC::MaterialHandler::getMaterial | ( | const std::string & | nmb | ) |
Returns a reference to the material which identifier is being passed as parameter.
bool XC::MaterialHandler::InteractionDiagramExists | ( | const std::string & | nmb | ) | const |
Returns true if the 3D interaction diagram identified by the string being passed as parameter exists.
bool XC::MaterialHandler::InteractionDiagramExists2d | ( | const std::string & | nmb | ) | const |
Returns true if the 2D interaction diagram identified by the string being passed as parameter exists.