xc
Public Member Functions | List of all members
XC::NodeHandler Class Reference

Node creation manager. More...

#include <NodeHandler.h>

Inheritance diagram for XC::NodeHandler:
XC::PrepHandler XC::PreprocessorContainer XC::MovableObject XC::DistributedBase

Public Member Functions

 NodeHandler (Preprocessor *)
 
virtual ~NodeHandler (void)
 Destructor.
 
const Nodeget_seed_node (void) const
 
NodenewNode (const double &x, const double &y, const double &z)
 
NodenewNode (const double &x, const double &y)
 
NodenewNode (const double &x)
 
NodenewNode (const Pos3d &p)
 Create a nede at the position passed as parameter.
 
NodenewNode (const Pos2d &p)
 Creates a nede at the position passed as parameter.
 
NodenewNode (const Vector &)
 Create a node at the position pointed by the vector passed as parameter.
 
NodenewSeedNode (void)
 Defines the seed node.
 
NodenewNodeIDXYZ (const int &, const double &, const double &, const double &)
 Create a node whose ID=tag from global coordinates (x,y,z).
 
NodenewNodeIDXY (const int &, const double &, const double &)
 
NodenewNodeIDV (const int &, const Vector &)
 
NodeduplicateNode (const int &)
 Create a duplicate copy of the node whose tag is passed as parameter.
 
size_t getDimEspacio (void) const
 
void setDimEspacio (const size_t &dim)
 
void setNumDOFs (const size_t &ndof)
 
size_t getNumDOFs (void) const
 
NodegetNode (const int &tag)
 Get the node whose ID is passed as parameter.
 
int getDefaultTag (void) const
 Return the default value for next node.
 
void setDefaultTag (const int &tag)
 Set the default value for next node.
 
void clearAll (void)
 Clear all nodes.
 
void calculateNodalReactions (bool inclInertia, const double &tol)
 Calculate nodal reaction forces and moments. More...
 
- Public Member Functions inherited from XC::PrepHandler
 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.
 
- Public Member Functions inherited from XC::PreprocessorContainer
 PreprocessorContainer (Preprocessor *owr)
 Default constructor.
 
const DomaingetDomain (void) const
 Returns the domain.
 
DomaingetDomain (void)
 Returns the domain.
 
PreprocessorgetPreprocessor (void)
 Returns a pointer to the object preprocessor.
 
const PreprocessorgetPreprocessor (void) const
 Returns a pointer to the object preprocessor.
 
void checkPreprocessor (void)
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (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 &param)
 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.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual DbTagDatagetDbTagData (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.
 

Detailed Description

Node creation manager.

Member Function Documentation

§ calculateNodalReactions()

void XC::NodeHandler::calculateNodalReactions ( bool  inclInertia,
const double &  tol 
)

Calculate nodal reaction forces and moments.

Parameters
inclInertiaif True, the unbalance load vector for each node is calculated including inertial forces.

The documentation for this class was generated from the following files: