suanPan
Loading...
Searching...
No Matches
Material2D Class Reference

The Material2D class defines a isotropic elastic material for plane stress and plane strain problems. More...

#include <Material2D.h>

Inheritance diagram for Material2D:
Collaboration diagram for Material2D:

Public Member Functions

 Material2D (unsigned, PlaneType, double)
 
vector< vec > record (OutputType) override
 
- Public Member Functions inherited from Material
 Material (unsigned=0, MaterialType=MaterialType::D0, double=0.)
 
 Material (const Material &)=default
 
 Material (Material &&)=delete
 
Materialoperator= (const Material &)=delete
 
Materialoperator= (Material &&)=delete
 
 ~Material () override=default
 
int initialize_base (const shared_ptr< DomainBase > &)
 
virtual int initialize (const shared_ptr< DomainBase > &)=0
 
virtual void initialize_couple (const shared_ptr< DomainBase > &)
 
virtual void initialize_history (unsigned)
 
virtual void set_initial_history (const vec &)
 
void set_initialized (bool) const
 
void set_symmetric (bool) const
 
void set_support_couple (bool) const
 
bool is_initialized () const
 
bool is_symmetric () const
 
bool is_support_couple () const
 
void set_characteristic_length (double)
 
double get_characteristic_length () const
 
MaterialType get_material_type () const
 
virtual double get_parameter (ParameterType) const
 
virtual const vec & get_trial_strain ()
 
virtual const vec & get_trial_strain_rate ()
 
virtual const vec & get_trial_strain_acc ()
 
virtual const vec & get_trial_stress ()
 
virtual const mat & get_trial_stiffness ()
 
virtual const mat & get_trial_secant ()
 
virtual const mat & get_trial_damping ()
 
virtual const mat & get_trial_inertial ()
 
virtual const vec & get_current_strain ()
 
virtual const vec & get_current_strain_rate ()
 
virtual const vec & get_current_strain_acc ()
 
virtual const vec & get_current_stress ()
 
virtual const mat & get_current_stiffness ()
 
virtual const mat & get_current_secant ()
 
virtual const mat & get_current_damping ()
 
virtual const mat & get_current_inertial ()
 
virtual const vec & get_initial_history () const
 
virtual const mat & get_initial_stiffness () const
 
virtual const mat & get_initial_damping () const
 
virtual const mat & get_initial_inertial () const
 
virtual const vec & get_trial_curvature ()
 
virtual const vec & get_trial_couple_stress ()
 
virtual const mat & get_trial_couple_stiffness ()
 
virtual const vec & get_current_curvature ()
 
virtual const vec & get_current_couple_stress ()
 
virtual const mat & get_current_couple_stiffness ()
 
virtual const mat & get_initial_couple_stiffness () const
 
virtual unique_ptr< Materialget_copy ()=0
 
int update_incre_status (double)
 
int update_incre_status (double, double)
 
int update_incre_status (double, double, double)
 
int update_trial_status (double)
 
int update_trial_status (double, double)
 
int update_trial_status (double, double, double)
 
virtual int update_incre_status (const vec &)
 
virtual int update_incre_status (const vec &, const vec &)
 
virtual int update_incre_status (const vec &, const vec &, const vec &)
 
virtual int update_trial_status (const vec &)
 
virtual int update_trial_status (const vec &, const vec &)
 
virtual int update_trial_status (const vec &, const vec &, const vec &)
 
int update_couple_incre_status (double)
 
int update_couple_incre_status (double, double)
 
int update_couple_incre_status (double, double, double)
 
int update_couple_trial_status (double)
 
int update_couple_trial_status (double, double)
 
int update_couple_trial_status (double, double, double)
 
virtual int update_couple_incre_status (const vec &)
 
virtual int update_couple_incre_status (const vec &, const vec &)
 
virtual int update_couple_incre_status (const vec &, const vec &, const vec &)
 
virtual int update_couple_trial_status (const vec &)
 
virtual int update_couple_trial_status (const vec &, const vec &)
 
virtual int update_couple_trial_status (const vec &, const vec &, const vec &)
 
virtual int clear_status ()=0
 
virtual int commit_status ()=0
 
virtual int reset_status ()=0
 
virtual int clear_couple_status ()
 
virtual int commit_couple_status ()
 
virtual int reset_couple_status ()
 
virtual std::vector< vec > record (OutputType)
 
- Public Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&)=default
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (Tag &&)=delete
 
virtual ~Tag ()=default
 
void set_tag (unsigned) const
 
unsigned get_tag () const
 
void enable ()
 
void disable ()
 
void guard ()
 
void unguard ()
 
bool is_active () const
 
bool is_guarded () const
 
virtual void print ()
 

Protected Attributes

const PlaneType plane_type
 
- Protected Attributes inherited from DataMaterial
const double tolerance = 1E-14
 
const double density = 0.
 
const MaterialType material_type = MaterialType::D0
 
vec current_strain
 
vec current_strain_rate
 
vec current_strain_acc
 
vec current_stress
 
vec trial_strain
 
vec trial_strain_rate
 
vec trial_strain_acc
 
vec trial_stress
 
vec incre_strain
 
vec incre_strain_rate
 
vec incre_strain_acc
 
vec incre_stress
 
vec initial_history
 
vec current_history
 
vec trial_history
 
mat initial_stiffness
 
mat current_stiffness
 
mat trial_stiffness
 
mat initial_damping
 
mat current_damping
 
mat trial_damping
 
mat initial_inertial
 
mat current_inertial
 
mat trial_inertial
 
- Protected Attributes inherited from DataCoupleMaterial
double characteristic_length = -1.
 
vec current_curvature
 
vec current_couple_stress
 
vec trial_curvature
 
vec trial_couple_stress
 
vec incre_curvature
 
vec incre_couple_stress
 
mat initial_couple_stiffness
 
mat current_couple_stiffness
 
mat trial_couple_stiffness
 

Detailed Description

The Material2D class defines a isotropic elastic material for plane stress and plane strain problems.

The Young's modulus is stored in elastic_modulus. The Poisson's ratio is stored in poissons_ratio. The plane_type labels if it is plane stress or plane strain. The default value PlaneType::S represents plane stress. Initializing the object with a PlaneType::E value gives a plane strain type response.

Author
tlc
Date
04/10/2017
Version
0.1.2

Constructor & Destructor Documentation

◆ Material2D()

Material2D::Material2D ( unsigned  T,
PlaneType  PT,
double  R 
)

Member Function Documentation

◆ record()

vector< vec > Material2D::record ( OutputType  P)
overridevirtual

Reimplemented from Material.

Reimplemented in PlaneStrain, PlaneStress, Rebar2D, and Rotation2D.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ plane_type

const PlaneType Material2D::plane_type
protected

The documentation for this class was generated from the following files: