BaseResidue Class Reference

Base class for common functionality. More...

#include <ElementalOperation.h>

Inheritance diagram for BaseResidue:
Residue DiagonalMassForSW DResidue StressWork

List of all members.

Public Member Functions

virtual const ElementgetElement () const
virtual const std::vector
< size_t > & 
getFields () const
 Returns the fields used for the computation of the residue
.
virtual const SimpleMaterialgetMaterial () const
virtual size_t getFieldDof (size_t fieldNum) const
 Returns the number of degrees of freedom per field used for the computation of the residue
.

Protected Member Functions

 BaseResidue (const Element &element, const SimpleMaterial &material, const std::vector< size_t > &fieldsUsed)
 BaseResidue (const BaseResidue &that)

Protected Attributes

const Elementelement
const SimpleMaterialmaterial
const std::vector< size_t > & fieldsUsed

Detailed Description

Base class for common functionality.


Constructor & Destructor Documentation

BaseResidue::BaseResidue ( const Element element,
const SimpleMaterial material,
const std::vector< size_t > &  fieldsUsed 
) [inline, protected]
BaseResidue::BaseResidue ( const BaseResidue that  )  [inline, protected]

Member Function Documentation

virtual const Element& BaseResidue::getElement (  )  const [inline, virtual]

Implements Residue.

virtual size_t BaseResidue::getFieldDof ( size_t  fieldnumber  )  const [inline, virtual]

Returns the number of degrees of freedom per field used for the computation of the residue
.

getFieldDof(fieldnum) returns the number of deegrees of freedom in the participating fieldo number "fieldnumber". The argument fieldnumber begins from zero.
The number of different values of "a" in $u^{f}_a$ is then computed with field getFieldDof(f)

Implements Residue.

virtual const std::vector<size_t>& BaseResidue::getFields (  )  const [inline, virtual]

Returns the fields used for the computation of the residue
.

getFields()[i] returns the field number beginning from zero.
The variable $u^f_a$ is then computed with field getFields()[f] in the element.

Implements Residue.

virtual const SimpleMaterial& BaseResidue::getMaterial (  )  const [inline, virtual]

Implements Residue.


Member Data Documentation

const Element& BaseResidue::element [protected]
const std::vector<size_t>& BaseResidue::fieldsUsed [protected]

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:26 2011 for Galois by  doxygen 1.6.3