suanPan
NM2D1 Class Referencefinal

A NM2D1 class. More...

#include <NM2D1.h>

Inheritance diagram for NM2D1:
Collaboration diagram for NM2D1:

Public Member Functions

 NM2D1 (unsigned, double, double, double)
 
unique_ptr< Sectionget_copy () override
 
int update_trial_status (const vec &) override
 
void print () override
 
- Public Member Functions inherited from SectionNM2D
 SectionNM2D (unsigned, double, double, double)
 
int initialize (const shared_ptr< DomainBase > &) override
 
- Public Member Functions inherited from SectionNM
void initialize_history (unsigned)
 
int clear_status () override
 
int commit_status () override
 
int reset_status () override
 
void print () override
 
 Section (unsigned=0, SectionType=SectionType::D0, unsigned=0, double=0., vec &&={0., 0.})
 
 Section (const Section &)=default
 
 Section (Section &&)=delete
 
- Public Member Functions inherited from Section
 Section (unsigned=0, SectionType=SectionType::D0, unsigned=0, double=0., vec &&={0., 0.})
 
 Section (const Section &)=default
 
 Section (Section &&)=delete
 
Sectionoperator= (const Section &)=delete
 
Sectionoperator= (Section &&)=delete
 
 ~Section () override=default
 
SectionType get_section_type () const
 
double get_area () const
 
double get_linear_density () const
 
int initialize_base (const shared_ptr< DomainBase > &)
 
virtual int initialize (const shared_ptr< DomainBase > &)=0
 
void set_initialized (bool) const
 
void set_symmetric (bool) const
 
bool is_initialized () const
 
bool is_symmetric () const
 
void set_eccentricity (const vec &) const
 
const vec & get_eccentricity () const
 
virtual void set_characteristic_length (double) const
 
double get_characteristic_length () const
 
virtual const vec & get_trial_deformation () const
 
virtual const vec & get_trial_deformation_rate () const
 
virtual const vec & get_trial_resistance () const
 
virtual const mat & get_trial_stiffness () const
 
virtual const mat & get_trial_geometry () const
 
virtual const vec & get_current_deformation () const
 
virtual const vec & get_current_deformation_rate () const
 
virtual const vec & get_current_resistance () const
 
virtual const mat & get_current_stiffness () const
 
virtual const mat & get_current_geometry () const
 
virtual const mat & get_initial_stiffness () const
 
virtual const mat & get_initial_geometry () const
 
virtual unique_ptr< Sectionget_copy ()=0
 
int update_incre_status (double)
 
int update_incre_status (double, double)
 
int update_trial_status (double)
 
int update_trial_status (double, double)
 
virtual int update_incre_status (const vec &)
 
virtual int update_incre_status (const vec &, const vec &)
 
virtual int update_trial_status (const vec &)
 
virtual int update_trial_status (const vec &, const vec &)
 
virtual int clear_status ()=0
 
virtual int commit_status ()=0
 
virtual int reset_status ()=0
 
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from SectionNM
void initialize_history (unsigned)
 
int clear_status () override
 
int commit_status () override
 
int reset_status () override
 
void print () override
 
 Section (unsigned=0, SectionType=SectionType::D0, unsigned=0, double=0., vec &&={0., 0.})
 
 Section (const Section &)=default
 
 Section (Section &&)=delete
 
- Protected Member Functions inherited from Section
 Section (unsigned=0, SectionType=SectionType::D0, unsigned=0, double=0., vec &&={0., 0.})
 
 Section (const Section &)=default
 
 Section (Section &&)=delete
 
Sectionoperator= (const Section &)=delete
 
Sectionoperator= (Section &&)=delete
 
 ~Section () override=default
 
SectionType get_section_type () const
 
double get_area () const
 
double get_linear_density () const
 
int initialize_base (const shared_ptr< DomainBase > &)
 
virtual int initialize (const shared_ptr< DomainBase > &)=0
 
void set_initialized (bool) const
 
void set_symmetric (bool) const
 
bool is_initialized () const
 
bool is_symmetric () const
 
void set_eccentricity (const vec &) const
 
const vec & get_eccentricity () const
 
virtual void set_characteristic_length (double) const
 
double get_characteristic_length () const
 
virtual const vec & get_trial_deformation () const
 
virtual const vec & get_trial_deformation_rate () const
 
virtual const vec & get_trial_resistance () const
 
virtual const mat & get_trial_stiffness () const
 
virtual const mat & get_trial_geometry () const
 
virtual const vec & get_current_deformation () const
 
virtual const vec & get_current_deformation_rate () const
 
virtual const vec & get_current_resistance () const
 
virtual const mat & get_current_stiffness () const
 
virtual const mat & get_current_geometry () const
 
virtual const mat & get_initial_stiffness () const
 
virtual const mat & get_initial_geometry () const
 
virtual unique_ptr< Sectionget_copy ()=0
 
int update_incre_status (double)
 
int update_incre_status (double, double)
 
int update_trial_status (double)
 
int update_trial_status (double, double)
 
virtual int update_incre_status (const vec &)
 
virtual int update_incre_status (const vec &, const vec &)
 
virtual int update_trial_status (const vec &)
 
virtual int update_trial_status (const vec &, const vec &)
 
virtual int clear_status ()=0
 
virtual int commit_status ()=0
 
virtual int reset_status ()=0
 
virtual std::vector< vec > record (OutputType)
 
- Protected 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 inherited from DataSectionNM2D
const double EA
 
const double EIS
 
- Protected Attributes inherited from DataSectionNM
vec initial_history
 
vec current_history
 
vec trial_history
 
- Protected Attributes inherited from DataSection
const unsigned material_tag
 
const SectionType section_type
 
const vec eccentricity
 
const double area
 
const double linear_density = 0.
 
const double characteristic_length = -1.
 
vec trial_deformation {}
 
vec current_deformation {}
 
vec trial_deformation_rate {}
 
vec current_deformation_rate {}
 
vec trial_resistance {}
 
vec current_resistance {}
 
mat initial_stiffness {}
 
mat current_stiffness {}
 
mat trial_stiffness {}
 
mat initial_geometry {}
 
mat current_geometry {}
 
mat trial_geometry {}
 
- Static Protected Attributes inherited from SectionNM
static constexpr double tolerance = 1E-14
 

Detailed Description

A NM2D1 class.

Author
tlc
Date
26/11/2021
Version
0.1.0

Constructor & Destructor Documentation

◆ NM2D1()

NM2D1::NM2D1 ( unsigned  T,
double  EEA,
double  EEIS,
double  LD 
)

Member Function Documentation

◆ get_copy()

unique_ptr< Section > NM2D1::get_copy ( )
overridevirtual

Implements Section.

◆ print()

void NM2D1::print ( )
overridevirtual

Reimplemented from Tag.

◆ update_trial_status()

int NM2D1::update_trial_status ( const vec &  t_deformation)
overridevirtual

Reimplemented from Section.


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