basso::StructuralFormulation Class Reference

Virtual base class for various structural formulationss. More...

#include <StructuralFormulation.h>

Inheritance diagram for basso::StructuralFormulation:

basso::Formulation basso::ElasticityFormulation basso::ElasticTruss2D basso::ElasticTruss3D List of all members.

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 MaterialfMat
StressStatefStressState
nMatrix mBmat
nMatrix mCmat
int mVdim
int mEdim

Detailed Description

Virtual base class for various structural formulationss.

Definition at line 32 of file StructuralFormulation.h.


Constructor & Destructor Documentation

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().


Member Function Documentation

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

Parameters:
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

Parameters:
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

Parameters:
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().


Member Data Documentation

StressState* basso::StructuralFormulation::fStressState [protected]

pointer to material class

Definition at line 113 of file StructuralFormulation.h.

Referenced by basso::ElasticityFormulation::Initialize(), and StructuralFormulation().


The documentation for this class was generated from the following file:
Generated on Sat Jan 19 09:03:59 2008 for Basso by  doxygen 1.5.2