#include <StructuralFormulation.h>
Inheritance diagram for basso::StructuralFormulation:
Public Member Functions | |
StructuralFormulation (list< Element > &elem, const Array< Node > &nodes, StressStateType ss=kSTRESS_3D) | |
virtual | ~StructuralFormulation () |
virtual int | NumLocalDofs () const |
virtual void | NodalAvgStress (const nArray &d, Array< nArray > &stress, Array< nArray > &strain) |
Protected Member Functions | |
virtual void | GetElementStiffnessMatrix (nMatrix &ke, list< Element >::const_iterator eItr) |
virtual Numeric | SetBMatrix (list< Element >::const_iterator eItr, const Point &pt) |
virtual bool | SetElementParameters (list< Element >::const_iterator eItr, int qorder=2) |
Protected Attributes | |
const Material * | fMat |
StressState * | fStressState |
nMatrix | mBmat |
nMatrix | mCmat |
int | mVdim |
int | mEdim |
Definition at line 32 of file StructuralFormulation.h.
basso::StructuralFormulation::StructuralFormulation | ( | list< Element > & | elem, | |
const Array< Node > & | nodes, | |||
StressStateType | ss = kSTRESS_3D | |||
) | [inline] |
void constructor
Definition at line 40 of file StructuralFormulation.h.
References fStressState, basso::kAXISYMMETRIC, basso::kPLANE_STRAIN, basso::kPLANE_STRESS, basso::kSTRESS_1D, mVdim, and basso::StressState::VoigtDimension().
virtual int basso::StructuralFormulation::NumLocalDofs | ( | ) | const [inline, virtual] |
returns the number of active local dofs per node
Implements basso::Formulation.
Definition at line 77 of file StructuralFormulation.h.
References basso::Formulation::mSdim.
Referenced by GetElementStiffnessMatrix(), and NodalAvgStress().
void basso::StructuralFormulation::NodalAvgStress | ( | const nArray & | d, | |
Array< nArray > & | stress, | |||
Array< nArray > & | strain | |||
) | [virtual] |
Computes the nodal averaged stresses and strains from a nodal displacement solution
d | nodal solution | |
stress | returns nodal averaged stresses | |
strain | returns nodal averaged strains |
Definition at line 120 of file StructuralFormulation.h.
References basso::Formulation::ActiveDofs(), basso::Formulation::fDofMap, basso::Formulation::fElement, basso::DofMap::Gather(), iArray, mBmat, mCmat, basso::Formulation::mNne, mVdim, nArray, NumLocalDofs(), SetBMatrix(), and SetElementParameters().
void basso::StructuralFormulation::GetElementStiffnessMatrix | ( | nMatrix & | ke, | |
list< Element >::const_iterator | eItr | |||
) | [protected, virtual] |
computes the element stiffness matrix
Reimplemented from basso::Formulation.
Reimplemented in basso::ElasticTruss2D, and basso::ElasticTruss3D.
Definition at line 198 of file StructuralFormulation.h.
References basso::femmult_add(), mCmat, Numeric, NumLocalDofs(), basso::Formulation::QuadratureBegin(), basso::Formulation::QuadratureEnd(), SetBMatrix(), and SetElementParameters().
virtual Numeric basso::StructuralFormulation::SetBMatrix | ( | list< Element >::const_iterator | eItr, | |
const Point & | pt | |||
) | [inline, protected, virtual] |
Sets the B matrix for the element
eItr | iterator to the element | |
pt | coordinate in the parent element space at which the gradient is taken. Returns the determinate of the element Jacobian |
Definition at line 99 of file StructuralFormulation.h.
References basso::form_bmatrix(), Numeric, and basso::Formulation::SetDNx().
Referenced by GetElementStiffnessMatrix(), and NodalAvgStress().
bool basso::StructuralFormulation::SetElementParameters | ( | list< Element >::const_iterator | eItr, | |
int | qorder = 2 | |||
) | [protected, virtual] |
initialize element parameters and resize element vectors and matrices returns true if the parameters were changed else it returns false if they are the same as previous elements
eItr | element list iterator to the element | |
qorder | the intergration order |
Reimplemented from basso::Formulation.
Definition at line 182 of file StructuralFormulation.h.
References mEdim, basso::Formulation::mLastElemType, and basso::Formulation::mNne.
Referenced by GetElementStiffnessMatrix(), and NodalAvgStress().
StressState* basso::StructuralFormulation::fStressState [protected] |
pointer to material class
Definition at line 113 of file StructuralFormulation.h.
Referenced by basso::ElasticityFormulation::Initialize(), and StructuralFormulation().