31 #ifndef ZeroLengthMaterials_h 32 #define ZeroLengthMaterials_h 34 #include <material/uniaxial/DqUniaxialMaterial.h> 37 class UniaxialMaterial;
39 class MaterialHandler;
58 void checkDirection(
void);
61 std::deque<int> directions;
79 inline const int &getDir(
const size_t i)
const 80 {
return directions[i]; }
81 inline int &getDir(
const size_t i)
82 {
return directions[i]; }
88 void Print(std::ostream &s,
int flag =0)
const;
89 boost::python::dict
getPyDict(
void)
const;
90 void setPyDict(
const boost::python::dict &);
ZeroLengthMaterials(ZeroLength *owner, UniaxialMaterial &theMaterial, int direction)
Constructor:
Definition: ZeroLengthMaterials.cc:39
A ZeroLengthElement is defined by two nodes with the same coordinate.
Definition: ZeroLengthMaterials.h:54
Communication parameters between processes.
Definition: Communicator.h:66
void setDirections(const boost::python::list &)
Set the directions of the materials from a Python list.
Definition: ZeroLengthMaterials.cc:229
void clear(void)
Free memory.
Definition: ZeroLengthMaterials.cc:72
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:93
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: ZeroLengthMaterials.cc:185
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:44
int recvSelf(const Communicator &)
Receive the object through the communicator.
Definition: ZeroLengthMaterials.cc:279
int sendData(Communicator &)
Send object members through the communicator argument.
Definition: ZeroLengthMaterials.cc:192
Vector of integers.
Definition: ID.h:95
boost::python::list getDirections(void) const
Return the directions or the materials in a Python list.
Definition: ZeroLengthMaterials.cc:219
int recvData(const Communicator &)
Receives object members through the communicator argument.
Definition: ZeroLengthMaterials.cc:206
Pointers to UniaxialMaterial container.
Definition: DqUniaxialMaterial.h:45
size_t getGeneralizedStrainSize(void) const
Return the size of the generalized strain vector.
Definition: ZeroLengthMaterials.cc:151
Matrix getGeneralizedStresses(void) const
Returns generalized stress values on each direction.
Definition: ZeroLengthMaterials.cc:155
Material handler (definition, searching,...).
Definition: MaterialHandler.h:46
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: ZeroLengthMaterials.cc:238
int sendSelf(Communicator &)
Send the object through the communicator.
Definition: ZeroLengthMaterials.cc:260
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: ZeroLengthMaterials.cc:247
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
MaterialHandler * get_material_handler(void)
Return the material handler.
Definition: ZeroLengthMaterials.cc:79
Matrix of floats.
Definition: Matrix.h:111
Zero length element.
Definition: ZeroLength.h:100
void Print(std::ostream &s, int flag=0) const
Pring stuff.
Definition: ZeroLengthMaterials.cc:298
Matrix getGeneralizedStrains(void) const
Returns generalized strain values on each direction.
Definition: ZeroLengthMaterials.cc:169
size_t getGeneralizedStressSize(void) const
Return the size of the generalized stress vector.
Definition: ZeroLengthMaterials.cc:147