#include <DiffusionFormulation.h>
Inheritance diagram for basso::DiffusionFormulation:
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 Material * | fMat |
requires the following enumerted type enum Dof { kCONCENTRATION };
Definition at line 32 of file DiffusionFormulation.h.
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().
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
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.