basso::DiffusionFormulation Class Reference

Class for diffusion problems. More...

#include <DiffusionFormulation.h>

Inheritance diagram for basso::DiffusionFormulation:

basso::Formulation List of all members.

Public Member Functions

 DiffusionFormulation (list< Element > &elem, const Array< Node > &nodes, const Material *material)
virtual ~DiffusionFormulation ()
virtual int NumLocalDofs () const

Protected Member Functions

virtual void GetElementStiffnessMatrix (nMatrix &ke, list< Element >::const_iterator eItr)
virtual void Initialize ()
virtual bool SetElementParameters (list< Element >::const_iterator eItr, int qorder=2)
virtual Numeric MassFactor () const
virtual Numeric StiffnessFactor () const

Protected Attributes

const MaterialfMat

Detailed Description

Class for diffusion problems.

requires the following enumerted type enum Dof { kCONCENTRATION };

Definition at line 32 of file DiffusionFormulation.h.


Constructor & Destructor Documentation

basso::DiffusionFormulation::DiffusionFormulation ( list< Element > &  elem,
const Array< Node > &  nodes,
const Material material 
) [inline]

void constructor

Definition at line 40 of file DiffusionFormulation.h.

References fMat, and Initialize().


Member Function Documentation

virtual int basso::DiffusionFormulation::NumLocalDofs (  )  const [inline, virtual]

returns the number of local dofs for each node in the formulation

Implements basso::Formulation.

Definition at line 47 of file DiffusionFormulation.h.

Referenced by Initialize().

virtual void basso::DiffusionFormulation::GetElementStiffnessMatrix ( nMatrix &  ke,
list< Element >::const_iterator  eItr 
) [protected, virtual]

computes the element stiffness matrix

Reimplemented from basso::Formulation.

void basso::DiffusionFormulation::Initialize (  )  [protected, virtual]

initialize formulation parameters

Reimplemented from basso::Formulation.

Definition at line 90 of file DiffusionFormulation.h.

References basso::Formulation::activeLocalDofs, and NumLocalDofs().

Referenced by DiffusionFormulation().

virtual bool basso::DiffusionFormulation::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.

virtual Numeric basso::DiffusionFormulation::MassFactor (  )  const [inline, protected, virtual]

scaling factor for the mass matrix

Reimplemented from basso::Formulation.

Definition at line 65 of file DiffusionFormulation.h.

References basso::Material::Density(), and fMat.

virtual Numeric basso::DiffusionFormulation::StiffnessFactor (  )  const [inline, protected, virtual]

scaling factor for the stiffness matrix

Reimplemented from basso::Formulation.

Definition at line 68 of file DiffusionFormulation.h.

References fMat.


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