MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
MAST::ElementPropertyCard1D Class Referenceabstract

Detailed Description

Definition at line 31 of file element_property_card_1D.h.

#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 const MAST::FieldFunction< Real > & A () const =0
 
virtual MAST::FieldFunction< Real > & A ()=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 MAST::BendingOperatorType bending_model (const MAST::GeomElem &elem) const
 returns the bending model to be used for the 2D element. More...
 
virtual unsigned int dim () const
 dimension of the element for which this property is defined 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...
 
virtual const MAST::FieldFunction< RealMatrixX > & I () const =0
 
virtual MAST::FieldFunction< RealMatrixX > & I ()=0
 
virtual const MAST::FieldFunction< Real > & Ip () const =0
 
virtual MAST::FieldFunction< Real > & Ip ()=0
 
virtual const MAST::FieldFunction< Real > & J () const =0
 
virtual MAST::FieldFunction< Real > & J ()=0
 
void set_bending_model (MAST::BendingOperatorType b)
 returns the bending model to be used for the 2D element 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...
 
- 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 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
 
- 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...
 
RealVectorX _local_y
 vector in the x-y plane. 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

◆ ElementPropertyCard1D()

MAST::ElementPropertyCard1D::ElementPropertyCard1D ( )
inline

Definition at line 34 of file element_property_card_1D.h.

◆ ~ElementPropertyCard1D()

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

virtual destructor

Definition at line 42 of file element_property_card_1D.h.

Member Function Documentation

◆ A() [1/2]

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

Implemented in MAST::Solid1DSectionElementPropertyCard.

◆ A() [2/2]

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

Implemented in MAST::Solid1DSectionElementPropertyCard.

◆ Ay() [1/2]

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.

◆ Ay() [2/2]

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.

◆ Az() [1/2]

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.

◆ Az() [2/2]

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.

◆ bending_model()

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.

◆ dim()

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.

◆ extra_quadrature_order()

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 74 of file element_property_card_1D.h.

◆ I() [1/2]

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.

◆ I() [2/2]

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.

◆ Ip() [1/2]

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

Implemented in MAST::Solid1DSectionElementPropertyCard.

◆ Ip() [2/2]

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

Implemented in MAST::Solid1DSectionElementPropertyCard.

◆ J() [1/2]

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.

◆ J() [2/2]

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

Implemented in MAST::Solid1DSectionElementPropertyCard.

◆ set_bending_model()

void MAST::ElementPropertyCard1D::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 56 of file element_property_card_1D.h.

◆ y_vector() [1/2]

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

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.

Reimplemented from MAST::ElementPropertyCardBase.

Definition at line 92 of file element_property_card_1D.h.

◆ y_vector() [2/2]

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

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

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

Reimplemented from MAST::ElementPropertyCardBase.

Definition at line 101 of file element_property_card_1D.h.

Member Data Documentation

◆ _bending_model

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 183 of file element_property_card_1D.h.

◆ _local_y

RealVectorX MAST::ElementPropertyCard1D::_local_y
protected

vector in the x-y plane.

Definition at line 188 of file element_property_card_1D.h.


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