29 #ifndef ElemWithMaterial_h 30 #define ElemWithMaterial_h 32 #include <domain/mesh/element/ElementBase.h> 39 template <
int NNODOS,
class PhysProp>
57 virtual void zeroInitialGeneralizedStrains(
void);
59 inline PhysProp &getPhysicalProperties(
void)
61 inline const PhysProp &getPhysicalProperties(
void)
const 63 void setPhysicalProperties(
const PhysProp &);
65 {
return physicalProperties.getMaterialNames(); }
68 template <
int NNODOS,
class PhysProp>
72 template <
int NNODOS,
class PhysProp>
73 ElemWithMaterial<NNODOS,PhysProp>::ElemWithMaterial(
int tag,
int classTag,
const PhysProp &physProp)
76 template <
int NNODOS,
class PhysProp>
83 std::cerr <<
"ElemWithMaterial::commitState () - failed in base class";
90 template <
int NNODOS,
class PhysProp>
97 template <
int NNODOS,
class PhysProp>
105 template <
int NNODOS,
class PhysProp>
111 template <
int NNODOS,
class PhysProp>
117 template <
int NNODOS,
class PhysProp>
126 template <
int NNODOS,
class PhysProp>
int revertToStart(void)
Reverts the element to its initial state.
Definition: ElemWithMaterial.h:98
virtual int revertToStart(void)
Reverts the element to its initial state.
Definition: Element.cpp:140
virtual std::set< std::string > getMaterialNames(void) const
Return the names of the material(s) of the element.
Definition: ElemWithMaterial.h:64
int sendData(CommParameters &cp)
Send members through the channel being passed as parameter.
Definition: ElementBase.h:139
int commitState(void)
Commit the current element state.
Definition: ElemWithMaterial.h:77
int receiveMovable(MovableObject &, DbTagData &, const CommMetaData &) const
Receives a movable object trhrough the channel being passed as parameter.
Definition: CommParameters.cc:1076
PhysProp physicalProperties
pointers to the material objects and physical properties.
Definition: ElemWithMaterial.h:43
virtual DbTagData & getDbTagData(void) const
Returns a vector to store class dbTags.
Definition: DistributedBase.cc:39
int recvData(const CommParameters &cp)
Receives members through the channel being passed as parameter.
Definition: ElementBase.h:148
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
int sendData(CommParameters &)
Send members through the channel being passed as parameter.
Definition: ElemWithMaterial.h:118
int recvData(const CommParameters &)
Receives members through the channel being passed as parameter.
Definition: ElemWithMaterial.h:127
Base class for finite element with pointer to nodes container.
Definition: ElementBase.h:46
Element with material.
Definition: ElemWithMaterial.h:40
Communication parameters between processes.
Definition: CommParameters.h:65
int sendMovable(MovableObject &, DbTagData &, const CommMetaData &)
Sends a movable object through the channel being passed as parameter.
Definition: CommParameters.cc:1066
int revertToLastCommit(void)
Revert to the last commited state.
Definition: ElemWithMaterial.h:91