suanPan
NM2D3 Class Referencefinal

A NM2D3 class. More...

#include <NM2D3.h>

Inheritance diagram for NM2D3:
Collaboration diagram for NM2D3:

Public Member Functions

 NM2D3 (unsigned, double, double, double, double, double, double, double, double, vec &&, vec &&, double, mat &&={})
 
unique_ptr< Sectionget_copy () override
 
- Public Member Functions inherited from VAFNM
 VAFNM (unsigned, double, double, double, double, double, vec &&, vec &&, double, vec &&)
 
 VAFNM (unsigned, double, double, double, double, double, double, vec &&, vec &&, double, vec &&)
 
- Public Member Functions inherited from NonlinearNM
 NonlinearNM (unsigned, double, double, bool, double, vec &&)
 
 NonlinearNM (unsigned, double, double, double, bool, double, vec &&)
 
int initialize (const shared_ptr< DomainBase > &) override
 
int update_trial_status (const vec &) override
 
vector< vec > record (OutputType) 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 ()
 

Protected Member Functions

double compute_f (const vec &, const vec &) const override
 
vec compute_df (const vec &, const vec &) const override
 
mat compute_ddf (const vec &, const vec &) const override
 
- Protected Member Functions inherited from SurfaceNM2D
 SurfaceNM2D (double, mat &&={})
 
double compute_sf (const vec &, const vec &) const
 
vec compute_dsf (const vec &, const vec &) const
 
mat compute_ddsf (const vec &, const vec &) const
 
- Protected Member Functions inherited from VAFNM
vec compute_h (double) const override
 
vec compute_dh (double) const override
 
 VAFNM (unsigned, double, double, double, double, double, vec &&, vec &&, double, vec &&)
 
 VAFNM (unsigned, double, double, double, double, double, double, vec &&, vec &&, double, vec &&)
 
virtual vec compute_h (double) const =0
 
virtual vec compute_dh (double) const =0
 
virtual double compute_f (const vec &, const vec &) const =0
 
virtual vec compute_df (const vec &, const vec &) const =0
 
virtual mat compute_ddf (const vec &, const vec &) const =0
 
 NonlinearNM (unsigned, double, double, bool, double, vec &&)
 
 NonlinearNM (unsigned, double, double, double, bool, double, vec &&)
 
int initialize (const shared_ptr< DomainBase > &) override
 
int update_trial_status (const vec &) override
 
vector< vec > record (OutputType) override
 
- 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from NonlinearNM
const vec yield_diag
 
const mat ti
 
const mat tj
 
const bool has_kinematic
 
const unsigned n_size
 
const unsigned d_size = 2llu * n_size - 1llu
 
const unsigned g_size
 
const uvec ni
 
const uvec nj
 
const uvec ga
 
const uvec gb
 
const uvec gc
 
const uvec gd
 
const uvec ge
 
- Protected Attributes inherited from DataNonlinearNM
const double EA
 
const double EIS
 
const double EIW
 
const vec yield_force
 
- 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 NonlinearNM
static constexpr unsigned max_iteration = 20u
 
- Static Protected Attributes inherited from SectionNM
static constexpr double tolerance = 1E-14
 

Detailed Description

A NM2D3 class.

Author
tlc
Date
30/06/2022
Version
0.1.0

Constructor & Destructor Documentation

◆ NM2D3()

NM2D3::NM2D3 ( unsigned  T,
double  EEA,
double  EEIS,
double  NP,
double  MSP,
double  CC,
double  HH,
double  HS,
double  HD,
vec &&  KK,
vec &&  KB,
double  LD,
mat &&  PS = {} 
)

Member Function Documentation

◆ compute_ddf()

mat NM2D3::compute_ddf ( const vec &  s,
const vec &  h 
) const
overrideprotectedvirtual

Implements NonlinearNM.

Here is the call graph for this function:

◆ compute_df()

vec NM2D3::compute_df ( const vec &  s,
const vec &  h 
) const
overrideprotectedvirtual

Implements NonlinearNM.

Here is the call graph for this function:

◆ compute_f()

double NM2D3::compute_f ( const vec &  s,
const vec &  h 
) const
overrideprotectedvirtual

Implements NonlinearNM.

Here is the call graph for this function:

◆ get_copy()

unique_ptr< Section > NM2D3::get_copy ( )
overridevirtual

Implements Section.


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