suanPan
SectionNM Class Reference

A SectionNM class. More...

#include <SectionNM.h>

Inheritance diagram for SectionNM:
Collaboration diagram for SectionNM:

Public Member Functions

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 ()
 

Static Protected Attributes

static constexpr double tolerance = 1E-14
 

Additional Inherited Members

- 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 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 {}
 

Detailed Description

A SectionNM class.

Author
tlc
Date
26/11/2021
Version
0.1.0

Member Function Documentation

◆ clear_status()

int SectionNM::clear_status ( )
overridevirtual

Implements Section.

◆ commit_status()

int SectionNM::commit_status ( )
overridevirtual

Implements Section.

◆ initialize_history()

void SectionNM::initialize_history ( unsigned  size)
Here is the caller graph for this function:

◆ print()

void SectionNM::print ( )
overridevirtual

Reimplemented from Tag.

◆ reset_status()

int SectionNM::reset_status ( )
overridevirtual

Implements Section.

◆ Section() [1/3]

Section::Section ( const Section )
default

◆ Section() [2/3]

Section::Section ( Section &&  )
delete

◆ Section() [3/3]

Section::Section ( unsigned  T = 0,
SectionType  ST = SectionType::D0,
unsigned  MT = 0,
double  A = 0.,
vec &&  EC = {0., 0.} 
)
explicit

Member Data Documentation

◆ tolerance

constexpr double SectionNM::tolerance = 1E-14
staticconstexprprotected

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