MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
MAST::ElementPropertyCard2D Class Reference

Detailed Description

Definition at line 30 of file element_property_card_2D.h.

#include <element_property_card_2D.h>

Inheritance diagram for MAST::ElementPropertyCard2D:
Collaboration diagram for MAST::ElementPropertyCard2D:

Public Member Functions

 ElementPropertyCard2D ()
 
virtual ~ElementPropertyCard2D ()
 virtual destructor More...
 
MAST::BendingOperatorType bending_model (const MAST::GeomElem &elem) const
 returns the bending model to be used for the 2D element. More...
 
virtual int extra_quadrature_order (const MAST::GeomElem &elem) const
 returns the extra quadrature order (on top of the system) that this element should use. More...
 
bool plane_stress () const
 returns the flag for plane stress. More...
 
void set_bending_model (MAST::BendingOperatorType b)
 returns the bending model to be used for the 2D element More...
 
void set_plane_stress (bool val)
 sets the flag for plane stress. More...
 
- Public Member Functions inherited from MAST::ElementPropertyCardBase
 ElementPropertyCardBase ()
 
virtual ~ElementPropertyCardBase ()
 virtual destructor More...
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > damping_matrix (const MAST::ElementBase &e) const =0
 
virtual unsigned int dim () const =0
 dimension of the element for which this property is defined More...
 
virtual const MAST::MaterialPropertyCardBaseget_material () const
 return the material property. More...
 
virtual bool get_warping_only () const
 
bool if_diagonal_mass_matrix () const
 returns the type of strain to be used for this element More...
 
virtual bool if_isotropic () const =0
 return true if the property is isotropic More...
 
virtual bool if_prestressed () const
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > inertia_matrix (const MAST::ElementBase &e) const =0
 
virtual void init ()
 Only used by 1D sections. More...
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > prestress_A_matrix (MAST::ElementBase &e) const =0
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > prestress_B_matrix (MAST::ElementBase &e) const =0
 
virtual const MAST::FieldFunction< Real > * section (const MAST::ElementBase &e) const =0
 
void set_diagonal_mass_matrix (bool m)
 sets the mass matrix to be diagonal or consistent More...
 
virtual const MAST::MaterialPropertyCardBaseset_material (MAST::MaterialPropertyCardBase &mat) const
 return the material property. More...
 
void set_strain (MAST::StrainType strain)
 sets the type of strain to be used, which is LINEAR_STRAIN by default More...
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > stiffness_A_matrix (const MAST::ElementBase &e) const =0
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > stiffness_B_matrix (const MAST::ElementBase &e) const =0
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > stiffness_D_matrix (const MAST::ElementBase &e) const =0
 
const MAST::StrainType strain_type () const
 returns the type of strain to be used for this element More...
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > thermal_capacitance_matrix (const MAST::ElementBase &e) const =0
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > thermal_conductance_matrix (const MAST::ElementBase &e) const =0
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > thermal_expansion_A_matrix (const MAST::ElementBase &e) const =0
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > thermal_expansion_B_matrix (const MAST::ElementBase &e) const =0
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > transverse_shear_stiffness_matrix (const MAST::ElementBase &e) const =0
 
virtual RealVectorXy_vector ()
 vector in the x-y plane of the element. More...
 
virtual const RealVectorXy_vector () const
 constant reference to vector in the x-y plane of the element. More...
 
- Public Member Functions inherited from MAST::FunctionSetBase
 FunctionSetBase ()
 
virtual ~FunctionSetBase ()
 destructor deletes the function pointers More...
 
void add (MAST::FunctionBase &f)
 adds the function to this card and returns a reference to it. More...
 
bool contains (const std::string &nm) const
 checks if the card contains the specified property value More...
 
virtual bool depends_on (const MAST::FunctionBase &f) const
 returns true if the property card depends on the function f More...
 
template<typename ValType >
const ValType & get (const std::string &nm) const
 returns a constant reference to the specified function More...
 
template<typename ValType >
ValType & get (const std::string &nm)
 returns a writable reference to the specified function More...
 

Protected Attributes

MAST::BendingOperatorType _bending_model
 material property card. More...
 
bool _if_plane_stress
 if the analysis is plne stress, otherwise it is plane strain. More...
 
- Protected Attributes inherited from MAST::ElementPropertyCardBase
bool _diagonal_mass
 flag to use a diagonal mass matrix. More...
 
MAST::StrainType _strain_type
 type of nonlinear strain to be used for analysis More...
 
bool _warping_only = false
 
- Protected Attributes inherited from MAST::FunctionSetBase
std::map< std::string, MAST::FunctionBase * > _properties
 map of the functions in this card More...
 

Constructor & Destructor Documentation

◆ ElementPropertyCard2D()

MAST::ElementPropertyCard2D::ElementPropertyCard2D ( )
inline

Definition at line 33 of file element_property_card_2D.h.

◆ ~ElementPropertyCard2D()

virtual MAST::ElementPropertyCard2D::~ElementPropertyCard2D ( )
inlinevirtual

virtual destructor

Definition at line 42 of file element_property_card_2D.h.

Member Function Documentation

◆ bending_model()

MAST::BendingOperatorType MAST::ElementPropertyCard2D::bending_model ( const MAST::GeomElem elem) const
virtual

returns the bending model to be used for the 2D element.

Implements MAST::ElementPropertyCardBase.

Definition at line 26 of file element_property_card_2D.cpp.

◆ extra_quadrature_order()

virtual int MAST::ElementPropertyCard2D::extra_quadrature_order ( const MAST::GeomElem elem) const
inlinevirtual

returns the extra quadrature order (on top of the system) that this element should use.

This is elevated by two orders for a DKT element

Implements MAST::ElementPropertyCardBase.

Definition at line 63 of file element_property_card_2D.h.

◆ plane_stress()

bool MAST::ElementPropertyCard2D::plane_stress ( ) const
inline

returns the flag for plane stress.

Definition at line 80 of file element_property_card_2D.h.

◆ set_bending_model()

void MAST::ElementPropertyCard2D::set_bending_model ( MAST::BendingOperatorType  b)
inlinevirtual

returns the bending model to be used for the 2D element

Reimplemented from MAST::ElementPropertyCardBase.

Definition at line 47 of file element_property_card_2D.h.

◆ set_plane_stress()

void MAST::ElementPropertyCard2D::set_plane_stress ( bool  val)
inline

sets the flag for plane stress.

Definition at line 73 of file element_property_card_2D.h.

Member Data Documentation

◆ _bending_model

MAST::BendingOperatorType MAST::ElementPropertyCard2D::_bending_model
protected

material property card.

By default this chooses DKT for 3 noded triangles and Mindling for all other elements

Definition at line 91 of file element_property_card_2D.h.

◆ _if_plane_stress

bool MAST::ElementPropertyCard2D::_if_plane_stress
protected

if the analysis is plne stress, otherwise it is plane strain.

Note that this is true by default

Definition at line 97 of file element_property_card_2D.h.


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