MAST
MAST::ElementPropertyCard1D Class Referenceabstract

#include <element_property_card_1D.h>

Inheritance diagram for MAST::ElementPropertyCard1D:
Collaboration diagram for MAST::ElementPropertyCard1D:

Public Member Functions

 ElementPropertyCard1D ()
 
virtual ~ElementPropertyCard1D ()
 virtual destructor More...
 
virtual unsigned int dim () const
 dimension of the element for which this property is defined More...
 
void set_bending_model (MAST::BendingOperatorType b)
 returns the bending model to be used for the 2D element More...
 
virtual 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...
 
RealVectorXy_vector ()
 returns value of the property val. More...
 
const RealVectorXy_vector () const
 constant reference to vector in the x-y plane of the element. More...
 
virtual const MAST::FieldFunction< Real > & A () const =0
 
virtual MAST::FieldFunction< Real > & A ()=0
 
virtual const MAST::FieldFunction< Real > & J () const =0
 
virtual MAST::FieldFunction< Real > & J ()=0
 
virtual const MAST::FieldFunction< Real > & Ip () const =0
 
virtual MAST::FieldFunction< Real > & Ip ()=0
 
virtual const MAST::FieldFunction< Real > & Ay () const =0
 
virtual MAST::FieldFunction< Real > & Ay ()=0
 
virtual const MAST::FieldFunction< Real > & Az () const =0
 
virtual MAST::FieldFunction< Real > & Az ()=0
 
virtual const MAST::FieldFunction< RealMatrixX > & I () const =0
 
virtual MAST::FieldFunction< RealMatrixX > & I ()=0
 
- 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...
 
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...
 
RealVectorX _local_y
 vector in the x-y plane. 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 31 of file element_property_card_1D.h.

Constructor & Destructor Documentation

MAST::ElementPropertyCard1D::ElementPropertyCard1D ( )
inline

Definition at line 34 of file element_property_card_1D.h.

virtual MAST::ElementPropertyCard1D::~ElementPropertyCard1D ( )
inlinevirtual

virtual destructor

Definition at line 42 of file element_property_card_1D.h.

Member Function Documentation

virtual const MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::A ( ) const
pure virtual
Returns
a constant reference to the section area function

Implemented in MAST::Solid1DSectionElementPropertyCard.

Here is the caller graph for this function:

virtual MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::A ( )
pure virtual
Returns
reference to the section area function

Implemented in MAST::Solid1DSectionElementPropertyCard.

virtual const MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::Ay ( ) const
pure virtual
Returns
constant reference to the function that calculates section area moment about y-axis

Implemented in MAST::Solid1DSectionElementPropertyCard.

Here is the caller graph for this function:

virtual MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::Ay ( )
pure virtual
Returns
reference to the function that calculates section area moment about y-axis

Implemented in MAST::Solid1DSectionElementPropertyCard.

virtual const MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::Az ( ) const
pure virtual
Returns
constant reference to the function that calculates section area moment about z-axis

Implemented in MAST::Solid1DSectionElementPropertyCard.

Here is the caller graph for this function:

virtual MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::Az ( )
pure virtual
Returns
reference to the function that calculates section area moment about z-axis

Implemented in MAST::Solid1DSectionElementPropertyCard.

MAST::BendingOperatorType MAST::ElementPropertyCard1D::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 25 of file element_property_card_1D.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual unsigned int MAST::ElementPropertyCard1D::dim ( ) const
inlinevirtual

dimension of the element for which this property is defined

Implements MAST::ElementPropertyCardBase.

Definition at line 48 of file element_property_card_1D.h.

virtual int MAST::ElementPropertyCard1D::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 72 of file element_property_card_1D.h.

Here is the call graph for this function:

virtual const MAST::FieldFunction<RealMatrixX>& MAST::ElementPropertyCard1D::I ( ) const
pure virtual
Returns
constant reference to the function that calculates the section area moment of inertia

Implemented in MAST::Solid1DSectionElementPropertyCard.

Here is the caller graph for this function:

virtual MAST::FieldFunction<RealMatrixX>& MAST::ElementPropertyCard1D::I ( )
pure virtual
Returns
reference to the function that calculates the section area moment of inertia

Implemented in MAST::Solid1DSectionElementPropertyCard.

virtual const MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::Ip ( ) const
pure virtual
Returns
reference to the section polar moment function

Implemented in MAST::Solid1DSectionElementPropertyCard.

Here is the caller graph for this function:

virtual MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::Ip ( )
pure virtual
Returns
reference to the section polar moment function

Implemented in MAST::Solid1DSectionElementPropertyCard.

virtual const MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::J ( ) const
pure virtual
Returns
constant reference to the function that calculates the section torsional constant

Implemented in MAST::Solid1DSectionElementPropertyCard.

Here is the caller graph for this function:

virtual MAST::FieldFunction<Real>& MAST::ElementPropertyCard1D::J ( )
pure virtual
Returns
reference to the function that calculates the section torsional constant

Implemented in MAST::Solid1DSectionElementPropertyCard.

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

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

Definition at line 56 of file element_property_card_1D.h.

Here is the call graph for this function:

RealVectorX& MAST::ElementPropertyCard1D::y_vector ( )
inline

returns value of the property val.

The string values for val are IYY, IZZ, IYZ

vector in the x-y plane of the element. This should not be the same as the element x-axis.

Definition at line 90 of file element_property_card_1D.h.

Here is the caller graph for this function:

const RealVectorX& MAST::ElementPropertyCard1D::y_vector ( ) const
inline

constant reference to vector in the x-y plane of the element.

This should not be the same as the element x-axis.

Definition at line 99 of file element_property_card_1D.h.

Here is the call graph for this function:

Member Data Documentation

MAST::BendingOperatorType MAST::ElementPropertyCard1D::_bending_model
protected

material property card.

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

Definition at line 181 of file element_property_card_1D.h.

RealVectorX MAST::ElementPropertyCard1D::_local_y
protected

vector in the x-y plane.

Definition at line 186 of file element_property_card_1D.h.


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