29 #ifndef ElemWithMaterial_h 30 #define ElemWithMaterial_h 32 #include <domain/mesh/element/ElementBase.h> 39 template <
int NNODOS,
class PhysProp>
54 int revertToLastCommit(
void);
55 int revertToStart(
void);
57 virtual void zeroInitialGeneralizedStrains(
void);
59 inline PhysProp &getPhysicalProperties(
void)
61 inline const PhysProp &getPhysicalProperties(
void)
const 63 void setPhysicalProperties(
const PhysProp &);
66 template <
int NNODOS,
class PhysProp>
70 template <
int NNODOS,
class PhysProp>
72 :
ElementBase<NNODOS>(tag,classTag), physicalProperties(physProp) {}
74 template <
int NNODOS,
class PhysProp>
81 std::cerr <<
"ElemWithMaterial::commitState () - failed in base class";
88 template <
int NNODOS,
class PhysProp>
91 int retval= physicalProperties.revertToLastCommit();
95 template <
int NNODOS,
class PhysProp>
99 retval+= physicalProperties.revertToStart();
103 template <
int NNODOS,
class PhysProp>
106 physicalProperties.getMaterialsVector().zeroInitialGeneralizedStrains();
109 template <
int NNODOS,
class PhysProp>
111 { physicalProperties= physProp; }
115 template <
int NNODOS,
class PhysProp>
124 template <
int NNODOS,
class PhysProp>
int sendMovable(MovableObject &, DbTagData &, const CommMetaData &)
Sends a movable object through the channel being passed as parameter.
Definition: CommParameters.cc:959
Element with material.
Definition: ElemWithMaterial.h:40
int commitState(void)
Consuma el estado of the element.
Definition: ElemWithMaterial.h:75
int recvData(const CommParameters &)
Receives members through the channel being passed as parameter.
Definition: ElemWithMaterial.h:125
int receiveMovable(MovableObject &, DbTagData &, const CommMetaData &) const
Receives a movable object trhrough the channel being passed as parameter.
Definition: CommParameters.cc:969
PhysProp physicalProperties
pointers to the material objects and physical properties.
Definition: ElemWithMaterial.h:43
int sendData(CommParameters &)
Send members through the channel being passed as parameter.
Definition: ElemWithMaterial.h:116
Base class for finite element with pointer to nodes container.
Definition: ElementBase.h:46
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34