30 #include "PhysicalProperties.h" 31 #include "material/nD/NDMaterial.h" 33 #ifndef NDMaterialPhysicalProperties_h 34 #define NDMaterialPhysicalProperties_h 45 static bool check_material_elast_plana(
const std::string &type);
60 virtual size_t getComponentIndexFromCode(
const std::string &)
const;
65 bool haveRho(
void)
const;
67 void setRho(
const double &);
Base class for element's physical properties.
Definition: PhysicalProperties.h:48
Float vector abstraction.
Definition: Vector.h:94
Base class response objects.
Definition: Response.h:81
int getResponse(int responseID, Information &eleInformation)
Obtain information from an analysis.
Definition: NDMaterialPhysicalProperties.cc:219
Response * setResponse(const std::vector< std::string > &argv, Information &eleInformation)
Material response.
Definition: NDMaterialPhysicalProperties.cc:266
void setRho(const double &)
Set the density for all materials.
Definition: NDMaterialPhysicalProperties.cc:197
Matrix getCommittedStrain(void) const
returns committed strains at each Gauss point.
Definition: NDMaterialPhysicalProperties.cc:68
NDMaterialPhysicalProperties(const size_t &nMat=0, const NDMaterial *ptr_mat=nullptr)
Constructor.
Definition: NDMaterialPhysicalProperties.cc:35
Physical properties for solid mechanics.
Definition: NDMaterialPhysicalProperties.h:40
material_vector theMaterial
pointers to the material objects
Definition: PhysicalProperties.h:54
Base class for 2D and 3D materials.
Definition: NDMaterial.h:101
Vector getRhoi(const double &rhoDefault=0.0) const
Returns densities for each position.
Definition: NDMaterialPhysicalProperties.cc:205
double getMeanGeneralizedStrainByName(const std::string &) const
Returns the component of the average strain vector which has the code being passed as parameter...
Definition: NDMaterialPhysicalProperties.cc:146
Matrix getCommittedStress(void) const
returns committed stresses at each Gauss point.
Definition: NDMaterialPhysicalProperties.cc:83
double getRho(void) const
Returns the average of the densities for each material.
Definition: NDMaterialPhysicalProperties.cc:186
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
virtual bool check_material_type(const std::string &type) const
Check the material type, MUST be redefined in derived classes.
Definition: NDMaterialPhysicalProperties.cc:47
Matrix of floats.
Definition: Matrix.h:111
virtual const Vector & getCommittedStrain(void)
Returns committed strains.
Definition: NDMaterial.cpp:126
Vector getCommittedAvgStrain(void) const
Return the tensión media in the element.
Definition: NDMaterialPhysicalProperties.cc:110
double getMeanGeneralizedStressByName(const std::string &) const
Returns the component of the average strain vector which has the code being passed as parameter...
Definition: NDMaterialPhysicalProperties.cc:156
Vector getCommittedAvgStress(void) const
Return the tensión media in the element.
Definition: NDMaterialPhysicalProperties.cc:99
virtual const Vector & getCommittedStress(void)
Returns committed stresses.
Definition: NDMaterial.cpp:122