Main Page   Class Hierarchy   Compound List   Compound Members  

DofArray Class Template Reference

#include <DofArray.h>

Inheritance diagram for DofArray::

DofGroup Dof2ndOrderTensor DofScalar DofSym2ndOrderTensor DofVector List of all members.

Public Types

typedef SCOREC_Util::SVectorDouble ValueType
typedef SCOREC_Util::SMatrix DerivType
enum  { NumComponents = NComp }

Public Methods

 DofArray (DofTag tag)
 DofArray (const DofGroup &tag)
 DofArray (const DofArray< NComp > &d)
 ~DofArray ()
void operator= (const DofArray< NComp > &d)
int num (int i) const
SCOREC_Util::SVectorDouble value (int derivative) const
double value (int derivative, int component) const
DofStatus& status (int i)
DofStatus status (int i) const
virtual void cSetNumber (int comp, int num)
 set equation number for given component.

virtual int cNum (int comp) const
 get equation number for given component.

virtual double cValue (int comp, int derivative) const
 get value for given component.

virtual void cSetValue (int comp, double val, int derivative)
 set value for given component.

virtual void cSetValue (SCOREC_Util::Range< int > comps, const SCOREC_Util::SVectorDouble &val, int derivative)
 set values for a range of components.

virtual DofStatus& cStatus (int comp)
 get modifable status for given component.

virtual DofStatus cStatus (int comp) const
 get status for given component.

virtual void setMPC_Constraint (MPC_Constraint *m, const int comp)
virtual MPC_Constraint::MPC_Container_Item getMPC_Constraint (const int comp, const int id)
virtual int MPC_ConstraintSize (const int comp) const
virtual SCOREC_Util::SSList<
DofRef
dofs ()
void write (ostream &out)
void read (istream &out)

Static Public Methods

int numComponents ()

Protected Attributes

int EqNumber [NComp]
DofStatus Status [NComp]
double Value [2][NComp]
MPC_Constraint* mpc [NComp]

Detailed Description

template<int NComp> class DofArray

Implementation of a DofGroup in terms of an array


The documentation for this class was generated from the following file:
Generated at Mon Jul 23 13:14:55 2001 for SCOREC_UnitSystem by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001