MAST
MAST::ElementPropertyCard2D Class Reference

#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...
 
void set_bending_model (MAST::BendingOperatorType b)
 returns the bending model to be used for the 2D element 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...
 
void set_plane_stress (bool val)
 sets the flag for plane stress. More...
 
bool plane_stress () const
 returns 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 > > 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
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > damping_matrix (const MAST::ElementBase &e) const =0
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > inertia_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 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 std::unique_ptr< MAST::FieldFunction< RealMatrixX > > thermal_conductance_matrix (const MAST::ElementBase &e) const =0
 
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > thermal_capacitance_matrix (const MAST::ElementBase &e) const =0
 
virtual const MAST::FieldFunction< Real > & section (const MAST::ElementBase &e) const =0
 
virtual bool if_isotropic () const =0
 return true if the property is isotropic More...
 
virtual const MAST::MaterialPropertyCardBaseget_material () const
 return the material property. More...
 
virtual unsigned int dim () const =0
 dimension of the element for which this property is defined More...
 
void set_strain (MAST::StrainType strain)
 sets the type of strain to be used, which is LINEAR_STRAIN by default More...
 
const MAST::StrainType strain_type () const
 returns the type of strain to be used for this element More...
 
void set_diagonal_mass_matrix (bool m)
 sets the mass matrix to be diagonal or consistent More...
 
bool if_diagonal_mass_matrix () const
 returns the type of strain to be used for this element More...
 
virtual bool if_prestressed () const
 
- Public Member Functions inherited from MAST::FunctionSetBase
 FunctionSetBase ()
 
virtual ~FunctionSetBase ()
 destructor deletes the function pointers More...
 
bool contains (const std::string &nm) const
 checks if the card contains the specified property value More...
 
void add (MAST::FunctionBase &f)
 adds the function to this card and returns a reference to it. 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...
 
virtual bool depends_on (const MAST::FunctionBase &f) const
 returns true if the property card depends on the function f 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
MAST::StrainType _strain_type
 type of nonlinear strain to be used for analysis More...
 
bool _diagonal_mass
 flag to use a diagonal mass matrix. More...
 
- Protected Attributes inherited from MAST::FunctionSetBase
std::map< std::string, MAST::FunctionBase * > _properties
 map of the functions in this card More...
 

Detailed Description

Definition at line 30 of file element_property_card_2D.h.

Constructor & Destructor Documentation

MAST::ElementPropertyCard2D::ElementPropertyCard2D ( )
inline

Definition at line 33 of file element_property_card_2D.h.

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

virtual destructor

Definition at line 42 of file element_property_card_2D.h.

Member Function Documentation

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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

returns the flag for plane stress.

Definition at line 80 of file element_property_card_2D.h.

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

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

Definition at line 47 of file element_property_card_2D.h.

Here is the call graph for this function:

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

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.

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: