xc
|
Finite element creation. More...
#include <ProtoElementHandler.h>
Public Member Functions | |
ProtoElementHandler (Preprocessor *preprocessor) | |
Default constructor. | |
virtual int | getDefaultTag (void) const =0 |
void | setDefaultMaterial (const std::string &) |
Sets the default material name for new elements. | |
const std::string & | getDefaultMaterial (void) const |
Returns the default material name for new elements. | |
void | setNumSections (const int &) |
Default number of sections for new elements. | |
int | getNumSections (void) const |
Returns the default number of sections for new elements. | |
void | setDimElem (const int &) |
Sets the default dimension (0D,1D,2D or 3D) for new elements. | |
int | getDimElem (void) const |
Returns the default dimension (0D,1D,2D or 3D) for new elements. | |
void | setDefaultTransf (const std::string &) |
Sets the name of the default coordinate transformation for new elements. | |
const std::string & | getDefaultTransf (void) const |
Returns the name of the default coordinate transformation for new elements. | |
void | setDefaultIntegrator (const std::string &) |
Sets the name of the default integrator for new elements. | |
const std::string & | getDefaultIntegrator (void) const |
Returns the name of the default integrator for new elements. | |
Element * | newElement (const std::string &, const ID &) |
Create a new element. More... | |
![]() | |
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. | |
Protected Member Functions | |
virtual void | add (Element *)=0 |
const MaterialHandler & | get_material_handler (void) const |
Returns a reference to the material handler. | |
MaterialHandler::const_iterator | get_iter_material (void) const |
Returns an iterator al material que se especifica en nmb_mat. | |
const Material * | get_ptr_material (void) const |
Returns a pointer to material que se especifica en nmb_mat. | |
const TransfCooHandler & | get_transf_coo_handler (void) const |
Returns a reference to the coordinate transformation handler. | |
TransfCooHandler::const_iterator | get_iter_transf_coo (void) const |
Returns an iterator to the coordinate transformation with the name being passed as parameter. | |
const CrdTransf * | get_ptr_transf_coo (void) const |
Returns a pointer to the coordinate transformation with the name being passed as parameter (nullptr if not found). | |
const BeamIntegratorHandler & | get_beam_integrator_handler (void) const |
Returns a reference to de integrator handler. | |
BeamIntegratorHandler::const_iterator | get_iter_beam_integrator (void) const |
Returns an iterator al integrator que se especifica en nmb_integ. | |
const BeamIntegration * | get_ptr_beam_integrator (void) const |
Returns a pointer to integrator que se especifica en nmb_integ. | |
Friends | |
class | Preprocessor |
Finite element creation.
This objetct allows the creation of finite element obbjets. It can be done directly (specifiying the finite element type, material, nodes,...) creating one element after another or you can specify a "seed element" that will be used by the meshing routines.
XC::Element * XC::ProtoElementHandler::newElement | ( | const std::string & | type, |
const ID & | iNodes | ||
) |
Create a new element.
type | type of element. Available types:'Truss','TrussSection','CorotTruss','CorotTrussSection','Spring', 'Beam2d02', 'Beam2d03', 'Beam2d04', 'Beam3d01', 'Beam3d02', 'ElasticBeam2d', 'ElasticBeam3d', 'BeamWithHinges2d', 'BeamWithHinges3d', 'NlBeamColumn2d', 'NlBeamColumn3d','ForceBeamColumn2d', 'ForceBeamColumn3d', 'ShellMitc4', ' shellNl', 'Quad4n', 'Tri31', 'Brick', 'ZeroLength', 'ZeroLengthContact2d', 'ZeroLengthContact3d', 'ZeroLengthSection'. |
iNodes | nodes ID, e.g. xc.ID([1,2]) to create a linear element from node 1 to node 2. |