xc
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

Base class for 3D coordinate transformations. More...

#include <ShellCrdTransf3dBase.h>

Inheritance diagram for XC::ShellCrdTransf3dBase:
Inheritance graph
[legend]
Collaboration diagram for XC::ShellCrdTransf3dBase:
Collaboration graph
[legend]

Public Member Functions

 ShellCrdTransf3dBase (void)
 Default constructor.
 
 ShellCrdTransf3dBase (const Vector &, const Vector &, const Vector &)
 Default constructor.
 
virtual ShellCrdTransf3dBasegetCopy (void) const =0
 
void setUnitVectors (const Vector &, const Vector &, const Vector &)
 Assigns the unit vectors of the transformation.
 
void setUnitVectors (const Vector3d &, const Vector3d &, const Vector3d &)
 Assigns the unit vectors of the transformation.
 
void setUnitVectors (const Vector &, const Vector &)
 Assigns the unit vectors of the transformation.
 
void setUnitVectors (const Vector3d &, const Vector3d &)
 Assigns the unit vectors of the transformation.
 
Matrix getTrfMatrix (void) const
 Returns the transformation matrix. More...
 
const VectorG1 (void) const
 Returns the first local axis (contained in the plane of the element)
 
const VectorG2 (void) const
 Returns the second local axis (contained in the plane of the element)
 
const VectorG3 (void) const
 Returns the third local axis (normal to the plane of the element)
 
const VectorgetVPosCentroide (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 initialize (const NodePtrs &)=0
 
virtual int setup_nodal_local_coordinates (void) const
 Update local coordinates of the nodes.
 
virtual int update (void)=0
 
virtual int commitState (void)=0
 
virtual int revertToLastCommit (void)=0
 
virtual int revertToStart (void)=0
 
virtual Vector getBasicTrialDisp (const int &) const =0
 
virtual Vector getBasicTrialVel (const int &) const =0
 
virtual Vector getBasicTrialAccel (const int &) const =0
 
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 VectorgetGlobalResistingForce (const Vector &p0) const
 Returns the load vector expressend in global coordinates.
 
const VectorgetVectorGlobalCoordFromLocal (const Vector &localCoords) const
 Returns the vector expressed in global coordinates.
 
const MatrixgetVectorGlobalCoordFromLocal (const Matrix &localCoords) const
 Returns the vectors expressed in global coordinates.
 
const VectorgetVectorLocalCoordFromGlobal (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.
 
CommandEntityOwner (void)
 Return a pointer to the object owner.
 
const CommandEntityOwner (void) const
 Return un puntero al objeto propietario de ESTE.
 
const StandardOutputWrappergetStandardOutputWrapper (void) const
 Return the regular output stream wrapper.
 
StandardOutputWrappergetStandardOutputWrapper (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.
 
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.
 
EntityWithOwneroperator= (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.
 
EntityWithOwnerOwner (void)
 
const EntityWithOwnerOwner (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.
 
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 (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 sendSelf (Communicator &comm)=0
 Send the object. More...
 
virtual int recvSelf (const Communicator &comm)=0
 Receive the object. 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 ~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.
 

Protected Member Functions

DbTagDatagetDbTagData (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 Vectorlocal_to_global_resisting_force (const Vector &pl) const
 Returns the load vector in global coordinates.
 
const Matrixlocal_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
 
- Protected Member Functions inherited from EntityWithProperties
bool isEqual (const EntityWithProperties &) const
 Return true if both objects are equal.
 
- Protected Member Functions inherited from EntityWithOwner
virtual bool isEqual (const EntityWithOwner &) const
 Return true if both objects are equal.
 

Protected Attributes

const NodePtrstheNodes
 
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.
 

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.
 
- Static Protected Member Functions inherited from CommandEntity
static CommandEntityentcmd_cast (boost::any &data)
 
- Static Protected Attributes inherited from EntityWithOwner
static int verbosity = 1
 Object that owns THIS ONE. More...
 

Detailed Description

Base class for 3D coordinate transformations.

Member Function Documentation

◆ getDbTagData()

XC::DbTagData & XC::ShellCrdTransf3dBase::getDbTagData ( void  ) const
protectedvirtual

Returns a vector to store the dbTags of the class members.

Reimplemented from XC::DistributedBase.

◆ getGlobalResidAndTangent()

void XC::ShellCrdTransf3dBase::getGlobalResidAndTangent ( Vector resid,
Matrix stiff 
) const
virtual

Returns the residual vector and tangent stiffness matrix expressed in the global coordinate sistem.

◆ getGlobalTangent()

void XC::ShellCrdTransf3dBase::getGlobalTangent ( Matrix stiff) const
virtual

Return the tangent stiffness matrix expressed in the global coordinate sistem.

◆ getNaturalCoordinates()

XC::ParticlePos3d XC::ShellCrdTransf3dBase::getNaturalCoordinates ( const Pos3d pg,
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.

Parameters
pposition in global coordinates.
xllocal coordinates of the nodes

◆ getTrfMatrix()

XC::Matrix XC::ShellCrdTransf3dBase::getTrfMatrix ( void  ) const

Returns the transformation matrix.

Return the transformation matrix.


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