NetDEM v1.0
|
A class representing the material properties used in a peridynamic simulation. More...
#include <peridigm_material.hpp>
Public Types | |
enum | Type { Elastic } |
An enum representing the type of material model used. More... | |
Public Member Functions | |
void | WriteInputFile (std::ostream &os, int material_id) |
Writes the material parameters to a file stream in Peridigm-compatible format. | |
Public Attributes | |
Type | type {Type::Elastic} |
The type of material model used. | |
double | density = 2650.0 |
The density of the material. | |
double | youngs_modulus = 70.0e9 |
The Young's modulus of the material. | |
double | poissons_ratio = 0.15 |
The Poisson's ratio of the material. | |
A class representing the material properties used in a peridynamic simulation.
The PeriDigmMaterial class represents the material properties used in a peridynamic simulation. It includes methods for writing the material properties to file in a format compatible with the Peridigm code.
|
inline |
Writes the material parameters to a file stream in Peridigm-compatible format.
This method writes the material parameters to a file stream in Peridigm-compatible format, including the material model, density, Young's modulus, and Poisson's ratio.
os | The output stream to write to. |
material_id | The ID number of the material. |
double netdem::PeriDigmMaterial::density = 2650.0 |
The density of the material.
double netdem::PeriDigmMaterial::poissons_ratio = 0.15 |
The Poisson's ratio of the material.
Type netdem::PeriDigmMaterial::type {Type::Elastic} |
The type of material model used.
double netdem::PeriDigmMaterial::youngs_modulus = 70.0e9 |
The Young's modulus of the material.