xc
|
Base class for small displacement 3D coordinate transformations. More...
#include <ShellLinearCrdTransf3d.h>
Public Member Functions | |
ShellLinearCrdTransf3d (void) | |
Default constructor. | |
ShellLinearCrdTransf3d (const Vector &, const Vector &, const Vector &) | |
Constructor. | |
ShellLinearCrdTransf3d (const NodePtrs &t) | |
Computes basic vectors from node coordinates. | |
virtual ShellCrdTransf3dBase * | getCopy (void) const |
Virtual constructor. | |
virtual int | initialize (const NodePtrs &) |
Sets the transformation from the positions of the nodes. | |
virtual int | update (void) |
Updates the transformation. | |
virtual int | commitState (void) |
Commits state (normally after convergence is achieved). | |
virtual int | revertToLastCommit (void) |
Returns to the las committed state. | |
virtual int | revertToStart (void) |
Returns to the initial state. | |
virtual Vector | getBasicTrialDisp (const int &) const |
Returns the displacements vector expressed on the basic system. | |
virtual Vector | getBasicTrialVel (const int &) const |
Returns the velocities vector expressed on the basic system. | |
virtual Vector | getBasicTrialAccel (const int &) const |
Returns the accelerations vector expressed on the basic system. | |
int | sendSelf (Communicator &) |
Send the object through the communicator argument. | |
int | recvSelf (const Communicator &) |
Receives object through the communicator argument. | |
Public Member Functions inherited from XC::ShellCrdTransf3dBase | |
ShellCrdTransf3dBase (void) | |
Default constructor. | |
ShellCrdTransf3dBase (const Vector &, const Vector &, const Vector &) | |
Default constructor. | |
Matrix | getTrfMatrix (void) const |
Returns the transformation matrix. More... | |
const Vector & | G1 (void) const |
Returns the first local axis (contained in the plane of the element) | |
const Vector & | G2 (void) const |
Returns the second local axis (contained in the plane of the element) | |
const Vector & | G3 (void) const |
Returns the third local axis (normal to the plane of the element) | |
const Vector & | getVPosCentroide (void) const |
Returns the element centroid. | |
Plane | getPlane (void) const |
Returns element's plane. | |
Pos3d | getProj (const Pos3d &) |
Returns point's projection over element's plane. | |
virtual int | setup_nodal_local_coordinates (void) const |
Update local coordinates of the nodes. | |
virtual void | getGlobalTangent (Matrix &stiff) const |
Return the tangent stiffness matrix expressed in the global coordinate sistem. More... | |
virtual void | getGlobalResidAndTangent (Vector &resid, Matrix &stiff) const |
Returns the residual vector and tangent stiffness matrix expressed in the global coordinate sistem. More... | |
virtual const Vector & | getGlobalResistingForce (const Vector &p0) const |
Returns the load vector expressend in global coordinates. | |
const Vector & | getVectorGlobalCoordFromLocal (const Vector &localCoords) const |
Returns the vector expressed in global coordinates. | |
const Matrix & | getVectorGlobalCoordFromLocal (const Matrix &localCoords) const |
Returns the vectors expressed in global coordinates. | |
const Vector & | getVectorLocalCoordFromGlobal (const Vector &globalCoords) const |
Returns the vector expresado en local coordinates. | |
virtual Matrix | getLocalAxes (bool initialGeometry=true) const |
Returns a matrix with the axes of the element as matrix rows [[x1,y1,z1],[x2,y2,z2],...ยท]. | |
Ref2d3d | getLocalReference (bool initialGeometry=true) const |
Returns element's reference. | |
Pos2d | getLocalCoordinates (const Pos3d &) const |
Returns point's local coordinates. | |
ParticlePos3d | getNaturalCoordinates (const Pos3d &, double xl[2][4]) const |
Return natural coordinates for point xyz (in cartesian coord.) based on $ 23.6 from Felippa book:"Introduction to Finite Element Methods" see IFEM.Ch23.pdf. More... | |
Public Member Functions inherited from CommandEntity | |
CommandEntity (CommandEntity *owr=nullptr) | |
Default constructor. | |
CommandEntity * | Owner (void) |
Return a pointer to the object owner. | |
const CommandEntity * | Owner (void) const |
Return un puntero al objeto propietario de ESTE. | |
const StandardOutputWrapper & | getStandardOutputWrapper (void) const |
Return the regular output stream wrapper. | |
StandardOutputWrapper & | getStandardOutputWrapper (void) |
Return the regular output stream wrapper. | |
const std::string & | getLogFileName (void) const |
Returns log file name. | |
void | setLogFileName (const std::string &) |
Sets log file name. | |
const std::string & | getErrFileName (void) const |
Returns err file name. | |
void | setErrFileName (const std::string &) |
Sets error file name. | |
const std::string & | getOutputFileName (void) const |
Returns regular output file name. | |
void | setOutputFileName (const std::string &) |
Sets regular output file name. | |
boost::python::object | evalPy (boost::python::object dict, const std::string &) |
Return the Python object that results from evaluating the argument. | |
boost::python::object | execPy (boost::python::object dict, const std::string &) |
Return the Python objects that results from executing the code in the string argument. | |
boost::python::object | execFilePy (boost::python::object dict, const std::string &) |
Return the Python object that results from executing the code in the file. | |
Public Member Functions inherited from EntityWithProperties | |
EntityWithProperties (EntityWithProperties *owr=nullptr) | |
Default constructor. | |
virtual bool | operator== (const EntityWithProperties &) const |
Comparison operator. | |
void | clearPyProps (void) |
Clear python properties map. | |
bool | hasPyProp (const std::string &) |
Returns true if property exists. | |
boost::python::object | getPyProp (const std::string &str) |
Return the Python object with the name being passed as parameter. | |
void | setPyProp (std::string str, boost::python::object val) |
Sets/appends a value tho the Python object's dictionary. | |
void | copyPropsFrom (const EntityWithProperties &) |
Copy the properties from the argument. | |
boost::python::list | getPropNames (void) const |
Return the names of the object properties weightings. | |
const PythonDict & | getPropertiesDict (void) const |
Return a std::map container with the properties of the object. | |
boost::python::dict | getPyDict (void) const |
Return a Python dictionary containing the object members values. | |
void | setPyDict (const boost::python::dict &) |
Set the values of the object members from a Python dictionary. | |
Public Member Functions inherited from EntityWithOwner | |
EntityWithOwner (EntityWithOwner *owr=nullptr) | |
Default constructor. | |
EntityWithOwner (const EntityWithOwner &) | |
Copy constructor. | |
EntityWithOwner & | operator= (const EntityWithOwner &) |
Assignment operator. | |
virtual bool | operator== (const EntityWithOwner &) const |
Comparison operator. | |
virtual | ~EntityWithOwner (void) |
Virtual destructor. | |
virtual std::string | getClassName (void) const |
Returns demangled class name. | |
void | set_owner (EntityWithOwner *owr) |
Assigns the owner of the object. | |
EntityWithOwner * | Owner (void) |
const EntityWithOwner * | Owner (void) const |
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. | |
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 (Communicator &) |
Return the object identifier in the database. | |
void | setDbTag (int dbTag) |
Sets the object identifier in the database. | |
void | setDbTag (Communicator &) |
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 . | |
Public Member Functions inherited from XC::DistributedBase | |
DistributedBase (void) | |
Constructor. | |
virtual | ~DistributedBase (void) |
Destructor. | |
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. | |
Additional Inherited Members | |
Public Types inherited from EntityWithProperties | |
typedef std::map< std::string, boost::python::object > | PythonDict |
Static Public Member Functions inherited from CommandEntity | |
static void | resetStandardOutput (void) |
Reset the standard output streams to its defaults buffers. | |
Static Public Member Functions inherited from EntityWithOwner | |
static int | getVerbosityLevel (void) |
Get the value of the verbosity level. | |
static void | setVerbosityLevel (const int &) |
Set the value of the verbosity level. | |
Protected Member Functions inherited from XC::ShellCrdTransf3dBase | |
DbTagData & | getDbTagData (void) const |
Returns a vector to store the dbTags of the class members. More... | |
int | sendData (Communicator &) |
Sends object members through the communicator argument. | |
int | recvData (const Communicator &) |
Receives object members through the communicator argument. | |
Vector | local_to_global (const Vector &) const |
Returns the vector in global coordinates. | |
Matrix | local_to_global (const Matrix &) const |
Returns the matrix in global coordinates. | |
const Vector & | local_to_global_resisting_force (const Vector &pl) const |
Returns the load vector in global coordinates. | |
const Matrix & | local_to_global_stiff_matrix (const Matrix &kl) const |
Returns the stiffness matrix in global coordinates. | |
Protected Member Functions inherited from CommandEntity | |
template<class T > | |
void | string_to (T &, const std::string &) const |
Static Protected Member Functions inherited from CommandEntity | |
static CommandEntity * | entcmd_cast (boost::any &data) |
Protected Attributes inherited from XC::ShellCrdTransf3dBase | |
const NodePtrs * | theNodes |
Vector | vpos_centroide |
Element centroid position. | |
Vector | g1 |
Vector 1 of the reference trihedron. | |
Vector | g2 |
Vector 2 of the reference trihedron. | |
Vector | g3 |
Vector 3 of the reference trihedron. | |
Static Protected Attributes inherited from EntityWithOwner | |
static int | verbosity = 1 |
Object that owns THIS ONE. More... | |
Base class for small displacement 3D coordinate transformations.