xc
Public Member Functions | Static Public Member Functions | List of all members

Twenty seven node hexahedral element for three-dimensional problems. More...

#include <TwentySevenNodeBrick.h>

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

Public Member Functions

 TwentySevenNodeBrick (int element_number, int node_numb_1, int node_numb_2, int node_numb_3, int node_numb_4, int node_numb_5, int node_numb_6, int node_numb_7, int node_numb_8, int node_numb_9, int node_numb_10, int node_numb_11, int node_numb_12, int node_numb_13, int node_numb_14, int node_numb_15, int node_numb_16, int node_numb_17, int node_numb_18, int node_numb_19, int node_numb_20, int node_numb_21, int node_numb_22, int node_numb_23, int node_numb_24, int node_numb_25, int node_numb_26, int node_numb_27, NDMaterial *Globalmmodel, const BodyForces3D &, double r, double p)
 Constructor.
 
 TwentySevenNodeBrick (void)
 Constructor.
 
ElementgetCopy (void) const
 Virtual constructor.
 
 ~TwentySevenNodeBrick ()
 Destructor.
 
int getNumDOF (void) const
 return the number of DOF associated with the element. More...
 
void setDomain (Domain *theDomain)
 Sets the domain for the element.
 
int commitState (void)
 Commit the current element state. More...
 
int revertToLastCommit (void)
 Revert to the last committed state. More...
 
int revertToStart (void)
 Reverts the element to its initial state. More...
 
int update (void)
 Updates the element state. More...
 
const MatrixgetTangentStiff (void) const
 Return the tangent stiffness matrix. More...
 
const MatrixgetInitialStiff (void) const
 
const MatrixgetMass (void) const
 Returns the mass matrix. More...
 
const MatrixgetConsMass (void) const
 
const MatrixgetLumpedMass (void) const
 
void alive (void)
 Reactivates the element.
 
int addLoad (ElementalLoad *theLoad, double loadFactor)
 
int addInertiaLoadToUnbalance (const Vector &accel)
 
const Vector FormEquiBodyForce (void)
 
const VectorgetResistingForce (void) const
 Returns the resisting force vector for the element. More...
 
const VectorgetResistingForceIncInertia (void) const
 Returns the resisting force vector including inertia forces. More...
 
virtual int sendSelf (Communicator &)
 Send the object. More...
 
virtual int recvSelf (const Communicator &)
 Receive the object. More...
 
void Print (std::ostream &s, int flag=0) const
 Print stuff.
 
ResponsesetResponse (const std::vector< std::string > &argv, Information &eleInformation)
 setResponse() is a method invoked to determine if the element will respond to a request for a certain of information. More...
 
int getResponse (int responseID, Information &eleInformation)
 Obtain information from an analysis. More...
 
void incremental_Update (void)
 
BJtensor interp_poli_at (double r, double s, double t)
 
TwentySevenNodeBrickoperator[] (int subscript)
 
BJtensor getStiffnessTensor (void) const
 Returns the stiffness tensor.
 
void set_strain_stress_tensor (FILE *fp, double *u)
 Asigna el stiffness tensor.
 
BJtensor getMassTensor (void) const
 Returns the tensor de masas.
 
BJtensor Jacobian_3D (const BJtensor &dh) const
 
BJtensor Jacobian_3Dinv (const BJtensor &dh) const
 
BJtensor Nodal_Coordinates (void) const
 Returns the coordinates of the nodes.
 
BJtensor incr_disp (void) const
 
BJtensor total_disp (void) const
 
BJtensor total_disp (FILE *fp, double *u)
 
BJtensor stiffness_matrix (const BJtensor &)
 Returns the stiffness matrix.
 
BJtensor mass_matrix (const BJtensor &)
 Returns the mass matrix.
 
int get_global_number_of_node (int local_node_number)
 
int get_Brick_Number (void)
 
BJtensor nodal_forces (void) const
 
BJtensor iterative_nodal_forces (void) const
 
BJtensor nodal_forces_from_stress (stresstensor &) const
 
BJtensor linearized_nodal_forces (void) const
 
BJtensor update_stress_strain (BJtensor &disp)
 
void report (char *)
 
void reportshort (char *)
 
void reportPAK (char *)
 
void reportpqtheta (int)
 
void computeGaussPoint (void)
 
void reportCIPIC (char *)
 
void reportTensorF (FILE *)
 
Vector getWeightofGP (void)
 
- Public Member Functions inherited from XC::ElementBase< 27 >
 ElementBase (int tag, int classTag)
 Default constructor.
 
 ElementBase (const ElementBase &)
 Copy constructor.
 
ElementBaseoperator= (const ElementBase &)
 Assignment operator.
 
int getNumExternalNodes (void) const
 Return the number of external nodes.
 
NodePtrsWithIDsgetNodePtrs (void)
 Returns a pointer to the node vector.
 
const NodePtrsWithIDsgetNodePtrs (void) const
 Returns a pointer to the node vector.
 
Pos3d getCenterOfMassPosition (bool initialGeometry=true) const
 Return position of the element centroid.
 
- Public Member Functions inherited from XC::Element
 Element (int tag, int classTag)
 Constructor that takes the element's unique tag and the number of external nodes for the element. More...
 
virtual int getNumEdges (void) const
 Returns number of edges (it must be overloaded for elements that have nodes inside edges. More...
 
virtual BoolArray3d getNodePattern (void) const
 Return a grid of booleans, one for each of the element nodes. More...
 
std::vector< int > getIdxNodes (void) const
 Return the indexes of the nodes (used when creating VTK meshes). More...
 
virtual size_t getDimension (void) const
 Returns the element dimension (0, 1, 3 or 3).
 
virtual double getLength (bool initialGeometry=true) const
 Return the element length.
 
virtual double getArea (bool initialGeometry=true) const
 Return the element area.
 
virtual double getVolume (bool initialGeometry=true) const
 Return the element volume.
 
virtual void setIdNodes (const std::vector< int > &inodes)
 Set the nodes.
 
virtual void setIdNodes (const ID &inodes)
 Set the nodes.
 
virtual void setIdNode (const int &i, const int &inode)
 Set the i-th node.
 
int find (const Node *) const
 Returns the index of the node whose pointer is being passed as parameter. More...
 
void replaceNode (Node *, Node *)
 Replace the old node by the new one. More...
 
virtual bool isSubdomain (void)
 Returns true if the element is a subdomain.
 
virtual const MatrixgetDamp (void) const
 Returns the damping matrix. More...
 
virtual Matrix getMass (const Node *) const
 Returns the mass matrix corresponding to the node argument.
 
Matrix getTotalMass (void) const
 Returns the sum of the mass matrices corresponding to the nodes.
 
double getTotalMassComponent (const int &) const
 Return the mass matrix component for the DOF argument.
 
Matrix getNodeMatrixComponents (const Node *, const Matrix &) const
 Returns the components of the matrix relative to the node. More...
 
virtual void zeroLoad (void)
 Zeroes the loads over the element. More...
 
virtual void createInertiaLoad (const Vector &)
 Creates the inertia load that corresponds to the acceleration argument. More...
 
virtual int setRayleighDampingFactors (const RayleighDampingFactors &rF) const
 Set Rayleigh damping factors.
 
const VectorgetNodeResistingComponents (const size_t &, const Vector &) const
 Returns the generalized force of the element over the iNod-th node. More...
 
const VectorgetNodeResistingForce (const size_t &iNod) const
 Returns the generalized force of the element over the iNod-th node. More...
 
const VectorgetNodeResistingForceIncInertia (const size_t &iNod) const
 Returns the generalized force (including inertia forces) of the element over the node identified by the argument. More...
 
const VectorgetNodeResistingForce (const Node *) const
 Returns the generalized force (including inertia forces) of the element over the node identified by the argument. More...
 
const VectorgetNodeResistingForceIncInertia (const Node *) const
 Returns the generalized force (including inertia forces) of the element over the node identified by the argument. More...
 
Vector getEquivalentStaticLoad (int mode, const double &) const
 Returns the equivalent static load for the mode being passed as parameter and the acceleration that corresponding that mode. More...
 
Matrix getEquivalentStaticNodalLoads (int mode, const double &) const
 Returns the equivalent static load on each node for the mode being passed as parameter and the corresponding acceleration to the mode. More...
 
ResponsesetMaterialResponse (Material *, const std::vector< std::string > &, const size_t &, Information &)
 
virtual int addInertiaLoadSensitivityToUnbalance (const Vector &accel, bool tag)
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
int setMaterialParameter (Material *, const std::vector< std::string > &, const size_t &, Parameter &)
 Set the value of a parameter of the material. More...
 
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 const VectorgetResistingForceSensitivity (int gradNumber)
 
virtual const MatrixgetInitialStiffSensitivity (int gradNumber)
 
virtual const MatrixgetDampSensitivity (int gradNumber)
 
virtual const MatrixgetMassSensitivity (int gradNumber)
 
virtual int commitSensitivity (int gradNumber, int numGrads)
 
virtual int addResistingForceToNodalReaction (bool inclInertia)
 Adds nodal reactions.
 
double MaxCooNod (int i) const
 Returns the maximum value of the i coordinate of the element nodes.
 
double MinCooNod (int i) const
 Returns the minimum value of the i coordinate of the element nodes.
 
const MatrixgetCooNodes (void) const
 Returns the coordinates of the nodes.
 
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],...·].
 
virtual Vector getBaseVector (size_t i, bool initialGeometry=true) const
 Returns a base vector in the direction of the local i-th axis from the i-th row of the matrix returned by getLocalAxes. More...
 
virtual Vector3d getBaseVector3d (size_t i, bool initialGeometry=true) const
 Returns a base vector in the direction of the local i-th axis from the i-th row of the matrix returned by getLocalAxes. More...
 
virtual Vector3d getIVector3d (bool initialGeometry=true) const
 Returns a vector in the direction of the local x axis from the first row of the matrix returned by getLocalAxes. More...
 
virtual Vector3d getJVector3d (bool initialGeometry=true) const
 Returns a vector in the direction of the local y axis from the second row of the matrix returned by getLocalAxes. More...
 
virtual Vector3d getKVector3d (bool initialGeometry=true) const
 Returns a vector in the direction of the local z axis from the third row of the matrix returned by getLocalAxes. More...
 
virtual Rect3d3dCooSys getCooSys (bool) const
 Returns the element coordinate system from the matrix returned by getLocalAxes. More...
 
Pos3d getPosNode (const size_t &i, bool initialGeometry=true) const
 Returns the position of the i-th node. More...
 
std::deque< Pos3dgetPosNodes (bool initialGeometry=true) const
 Returns the coordinates of the nodes.
 
Vector getCenterOfMassCoordinates (bool initialGeometry=true) const
 Returns the coordinates of the center of mass of the element.
 
Pos3dArray3d getPoints (const size_t &ni, const size_t &nj, const size_t &nk, bool initialGeometry=true)
 Returns a grid of points distributed along the line.
 
bool In (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const
 
bool Out (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const
 
bool In (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const
 
bool Out (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const
 
virtual double getDist2 (const Pos2d &p, bool initialGeometry=true) const
 Returns the squared distance from the element to the point being passed as parameter. More...
 
virtual double getDist (const Pos2d &p, bool initialGeometry=true) const
 Returns the the distance from the element to the point being passed as parameter. More...
 
virtual double getDist2 (const Pos3d &p, bool initialGeometry=true) const
 Returns the squared distance from the element to the point being passed as parameter. More...
 
virtual double getDist (const Pos3d &p, bool initialGeometry=true) const
 Returns the the distance from the element to the point being passed as parameter. More...
 
virtual Pos2d getProjection (const Pos2d &p, bool initialGeometry=true) const
 Return the projection of the argument on the element. More...
 
virtual Pos3d getProjection (const Pos3d &p, bool initialGeometry=true) const
 Return the projection of the argument on the element. More...
 
void resetTributaries (void) const
 Resets tributary areas of connected nodes.
 
void dumpTributaries (const std::vector< double > &) const
 Adds to the tributary magnitude of each node the vector being passed as parameter. More...
 
virtual void computeTributaryLengths (bool initialGeometry=true) const
 Computes the tributary lengths that corresponds to each node of the element.
 
virtual double getTributaryLength (const Node *) const
 Returns the tributary length corresponding to the node being passed as parameter. More...
 
virtual double getTributaryLengthByTag (const int &) const
 Returns the tributary length corresponding to the node which tag se pasa as parameter. More...
 
virtual void computeTributaryAreas (bool initialGeometry=true) const
 Compute tributary areas for each element node.
 
virtual double getTributaryArea (const Node *) const
 Returns the tributary area corresponding to the node.
 
virtual double getTributaryAreaByTag (const int &) const
 Returns the tributary area corresponding to the node.
 
virtual void computeTributaryVolumes (bool initialGeometry=true) const
 Computes the tributary volumes that corresponds to each node of the element.
 
virtual double getTributaryVolume (const Node *) const
 Returns the tributary volume corresponding to the node being passed as parameter. More...
 
virtual double getTributaryVolumeByTag (const int &) const
 Returns the tributary volume corresponding to the node which tag se pasa as parameter. More...
 
virtual ParticlePos3d getNaturalCoordinates (const Pos3d &, bool initialGeometry=true) const
 
virtual Vector getInterpolationFactors (const ParticlePos3d &) const
 Returns interpolation factors for a material point.
 
virtual Vector getInterpolationFactors (const Pos3d &) const
 Returns interpolation factors for a material point.
 
virtual int getVtkCellType (void) const
 Interfaz con VTK.
 
virtual const GaussModelgetGaussModel (void) const
 Returns the Gauss integration model of the element.
 
virtual NodesEdge getNodesEdge (const size_t &) const
 Returns the nodes of the element edge.
 
virtual int getEdgeNodes (const Node *, const Node *) const
 Returns the edge of the element that ends in the nodes being passed as parameters. More...
 
int getEdgeNodes (const int &, const int &) const
 Returns the edge of the element that ends in the nodes with the tags being passed as parameters. More...
 
virtual ID getEdgesNode (const Node *) const
 Returns the edges of the element that ends in the node being passed as parameter. More...
 
std::set< int > getEdgesNodes (const NodePtrSet &) const
 Returns the element edges that have both ends in the node set being passed as parameter. More...
 
ID getEdgesNodeByTag (const int &) const
 Returns the edges of the element that have an en in the node with the tag being passed as parameter. More...
 
virtual ID getLocalIndexNodesEdge (const size_t &i) const
 Returns the local indexes of the element nodes that lie over the i-th edge. More...
 
virtual std::set< std::string > getMaterialNames (void) const
 Return the names of the material(s) of the element.
 
boost::python::list getMaterialNamesPy (void) const
 Return the names of the material(s) of the element in a Python list.
 
virtual boost::python::list getValuesAtNodes (const std::string &, bool silent=false) const
 Return a python list with the values of the argument property at element nodes. More...
 
std::set< SetBase * > get_sets (void) const
 Returns the sets to which the element belongs.
 
void add_to_sets (std::set< SetBase *> &)
 Adds the element to the sets being passed as parameters.
 
- Public Member Functions inherited from XC::MeshComponent
 MeshComponent (int classTag)
 Constructor.
 
 MeshComponent (int tag, int classTag)
 Constructor.
 
- Public Member Functions inherited from XC::ContinuaReprComponent
 ContinuaReprComponent (int classTag)
 
 ContinuaReprComponent (int tag, int classTag)
 
virtual const bool isDead (void) const
 Return true if the component is not active.
 
virtual const bool isAlive (void) const
 Return true if the component is active.
 
virtual void kill (void)
 Deactivates the component.
 
- Public Member Functions inherited from XC::DomainComponent
 ~DomainComponent (void)
 Destructor.
 
size_t getIdx (void) const
 Returns the index of the object (to be used in VTK arrays).
 
virtual DomaingetDomain (void) const
 Returns a pointer to the enclosing domain. More...
 
const PreprocessorgetPreprocessor (void) const
 Returns (if possible) a pointer to the preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return (if possible) a pointer to the preprocessor.
 
const LoadPatterngetCurrentLoadPattern (void) const
 Return the current load pattern.
 
LoadPatterngetCurrentLoadPattern (void)
 Return the current load pattern.
 
void set_index (const size_t &i)
 Set the index for the object (see numera in Set). More...
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary with 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 XC::TaggedObject
 TaggedObject (int tag, CommandEntity *owr=nullptr)
 Constructor. More...
 
void assignTag (int newTag)
 Set tag (to be called from Python interface).
 
int getTag (void) const
 Returns the tag associated with the object.
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary with 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 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.
 
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.
 
- 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 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.
 
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.
 

Static Public Member Functions

static BJtensor H_3D (double r1, double r2, double r3)
 
static BJtensor dh_drst_at (double r, double s, double t)
 
static double get_Gauss_p_c (short order, short point_numb)
 
static double get_Gauss_p_w (short order, short point_numb)
 
- Static Public Member Functions inherited from XC::ElementBase< 27 >
static const int numNodes (void)
 Returns the element number of nodes.
 
- Static Public Member Functions inherited from XC::Element
static void setDeadSRF (const double &d)
 Assigns Stress Reduction Factor for element deactivation.
 
static DefaultTaggetDefaultTag (void)
 Returns next element's tag value by default.
 
- 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.
 

Additional Inherited Members

- Public Types inherited from XC::Element
typedef std::vector< const Node * > NodesEdge
 Nodes on an element edge. More...
 
- Public Types inherited from EntityWithProperties
typedef std::map< std::string, boost::python::object > PythonDict
 
- Static Public Attributes inherited from XC::Element
static double dead_srf = 1e-6
 Stress reduction factor for foozen elements.
 
- Protected Member Functions inherited from XC::ElementBase< 27 >
TIPOMAT * cast_material (const Material *ptr_mat)
 Casts the material pointer to a suitable type.
 
int sendData (Communicator &comm)
 Send members through the communicator argument.
 
int recvData (const Communicator &comm)
 Receives members through the communicator argument.
 
- Protected Member Functions inherited from XC::Element
virtual ElemPtrArray3d put_on_mesh (const NodePtrArray3d &, meshing_dir) const
 Places the element on the mesh.
 
virtual ElemPtrArray3d sew (const SetEstruct &f1, const SetEstruct &f2) const
 
const VectorgetRayleighDampingForces (void) const
 Returns element Rayleigh damping forces.
 
const Materialget_material_ptr (const std::string &) const
 Return a pointer to the material that corresponds to the name. More...
 
int sendData (Communicator &comm)
 Sends object members through the communicator argument.
 
int recvData (const Communicator &comm)
 Receives object members through the communicator argument.
 
- Protected Member Functions inherited from XC::MeshComponent
void setup_matrices (std::deque< Matrix > &, const int &) const
 Initializes the matrix container.
 
int sendIdsLabels (int posDbTag, Communicator &)
 Send labelsthrough the communicator argument.
 
int recvIdsLabels (int posDbTag, const Communicator &)
 Receive labels through the communicator argument.
 
int sendData (Communicator &)
 Send members through the communicator argument.
 
int recvData (const Communicator &)
 Receives members through the communicator argument.
 
- Protected Member Functions inherited from XC::ContinuaReprComponent
int sendData (Communicator &)
 Send members through the communicator argument.
 
int recvData (const Communicator &)
 Receives members through the communicator argument.
 
- Protected Member Functions inherited from XC::DomainComponent
 DomainComponent (int tag, int classTag)
 Constructor. More...
 
int sendData (Communicator &)
 Send object members through the communicator argument.
 
int recvData (const Communicator &)
 Receive object members through the communicator argument.
 
- Protected Member Functions inherited from XC::TaggedObject
void setTag (int newTag)
 Set tag. More...
 
- 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 CommandEntityentcmd_cast (boost::any &data)
 
- Protected Attributes inherited from XC::ElementBase< 27 >
NodePtrsWithIDs theNodes
 pointers to node.
 
- Protected Attributes inherited from XC::Element
Vector load
 vector for applied nodal loads.
 
RayleighDampingFactors rayFactors
 Rayleigh damping factors.
 
Matrix Kc
 pointer to hold last committed matrix if needed for rayleigh damping
 
- Protected Attributes inherited from XC::MeshComponent
int index
 Index for VTK arrays.
 
LabelContainer labels
 Label container.
 
- Static Protected Attributes inherited from EntityWithOwner
static int verbosity = 1
 Object that owns THIS ONE. More...
 

Detailed Description

Twenty seven node hexahedral element for three-dimensional problems.

Member Function Documentation

◆ commitState()

int XC::TwentySevenNodeBrick::commitState ( void  )
virtual

Commit the current element state.

The element is to commit its current state. To return 0 if successful, a negative number if not.

Reimplemented from XC::Element.

◆ getMass()

const XC::Matrix & XC::TwentySevenNodeBrick::getMass ( void  ) const
virtual

Returns the mass matrix.

Returns the mass matrix. The element is to compute its mass matrix based on the original location of the nodes and the current trial response quantities at the nodes.

\[ //! M_e= {\frac{\partial I_i}{\partial \ddot U} \vert}_{U_{trial}} //! \]

Reimplemented from XC::Element.

◆ getNumDOF()

int XC::TwentySevenNodeBrick::getNumDOF ( void  ) const
virtual

return the number of DOF associated with the element.

To return the number of dof associated with the element. This should equal the sum of the dofs at each of the external nodes. To ensure this, each subclass can overwrite the DomainComponent classes {setDomain()} method.

Implements XC::Element.

◆ getResistingForce()

const XC::Vector & XC::TwentySevenNodeBrick::getResistingForce ( void  ) const
virtual

Returns the resisting force vector for the element.

This is equal to the applied load due to element loads minus the loads at the nodes due to internal stresses in the element due to the current trial displacement, i.e.

\[ R_e= P_{e} - {R_e}(U_{trial}) \]

Implements XC::Element.

◆ getResistingForceIncInertia()

const XC::Vector & XC::TwentySevenNodeBrick::getResistingForceIncInertia ( void  ) const
virtual

Returns the resisting force vector including inertia forces.

Returns the action of the element over its attached nodes.

Returns the resisting force vector for the element with inertia forces included. This is equal to the applied load due to element loads (loads set using addLoad(), minus the loads at the nodes due to internal stresses in the element due to the current trial response quantities, i.e.

\[ R_e = P_e - I_e (\ddot U_{trial}) - R_e(\dot U_{trial}, U_{trial}) \]

Computes damping matrix.

Reimplemented from XC::Element.

◆ getResponse()

int XC::TwentySevenNodeBrick::getResponse ( int  responseID,
Information eleInfo 
)
virtual

Obtain information from an analysis.

getResponse is a method invoked to obtain information from an analysis. The method is invoked with the integer argument returned and the Information object that was prepared in a successful {setResponse()} method invocation. To return \(0\) if successful, a negative number if not. The base class implementation will always return \(-1\).

Reimplemented from XC::Element.

◆ getTangentStiff()

const XC::Matrix & XC::TwentySevenNodeBrick::getTangentStiff ( void  ) const
virtual

Return the tangent stiffness matrix.

To return the tangent stiffness matrix. The element is to compute its stiffness matrix based on the original location of the nodes and the current trial displacement at the nodes.

\[ K_e = {\frac{\partial f_{R_i}}{\partial U} \vert}_{U_{trial}} \]

Implements XC::Element.

◆ recvSelf()

int XC::TwentySevenNodeBrick::recvSelf ( const Communicator comm)
virtual

Receive the object.

Each object has to receive the data needed to be able to recreate itself in the new process after it has been sent through cp. If the object is an aggregation containing other objects, new objects of the correct type can be constructed using #theBroker. To return 0 if successful or a -1 if not.

Implements XC::MovableObject.

◆ revertToLastCommit()

int XC::TwentySevenNodeBrick::revertToLastCommit ( void  )
virtual

Revert to the last committed state.

The element is to set it's current state to the last committed state. To return 0 if successful, a negative number if not.

Implements XC::Element.

◆ revertToStart()

int XC::TwentySevenNodeBrick::revertToStart ( void  )
virtual

Reverts the element to its initial state.

The element is to set it's current state to the state it was at before the analysis started. To return 0 if successful, a negative number if not.

Reimplemented from XC::Element.

◆ sendSelf()

int XC::TwentySevenNodeBrick::sendSelf ( Communicator comm)
virtual

Send the object.

Each object has to send the data needed to be able to reproduce that object in a remote process. The object uses the methods provided by cp object to send the data to another channel at the remote actor, the address of the channel is set before this method is called. An object of similar type at the remote actor is invoked with a receiveSelf() to receive the data. Returns 0 if successful (successful in that the data got to the channel), or a - if no data was sent.

Implements XC::MovableObject.

◆ setResponse()

XC::Response * XC::TwentySevenNodeBrick::setResponse ( const std::vector< std::string > &  argv,
Information eleInfo 
)
virtual

setResponse() is a method invoked to determine if the element will respond to a request for a certain of information.

The information requested of the element is passed in the array of char pointers argv of length {em argc}. If the element does not respond to the request a \(-1\) is returned. If it does respond, an integer value greater than or equal to \(0\) is returned. This is the responseID passed in the getResponse() method. In addition the Element object is responsible for setting the Information object eleInformation with the type of the return, i.e. {IntType, DoubleType, MatrixType, VectorType, IDType}, and for creating a Matrix, Vector or ID object for the Information object, if the information to be returned is of any of these types. The information object is responsible for invoking the destructor on these objects. The base class responds to no requests and will always return \(-1\).

Reimplemented from XC::Element.

◆ update()

int XC::TwentySevenNodeBrick::update ( void  )
virtual

Updates the element state.

This method is invoked after the response quantities have been updated in the Domain, but not necessarily committed, e.g. during a non-linear Newton-Raphson solution algorithm. To return \(0\) if successful, a negative number if not. This base class implementation returns 0.

Reimplemented from XC::Element.


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