chrono::fea::ChMaterial3DDensity Class Reference

Description

Base class for density in a continuum.

#include <ChMaterial3DDensity.h>

Inheritance diagram for chrono::fea::ChMaterial3DDensity:
Collaboration diagram for chrono::fea::ChMaterial3DDensity:

Public Member Functions

 ChMaterial3DDensity (double density=1000)
 
virtual void SetDensity (double density)
 Set the density of the material, in kg/m^2.
 
virtual double GetDensity () const
 Get the density of the material, in kg/m^2.
 
- Public Member Functions inherited from chrono::fea::ChMaterial
virtual std::unique_ptr< ChFieldDataCreateMaterialPointData () const
 Implement this if the material needs custom data per material point, returning a std::make_unique<ChFieldDataCustom>() where ChFieldDataCustom is your custom class with aditional states/properties per-point.
 

Protected Attributes

double m_density
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/fea/ChMaterial3DDensity.h