Main Page   Class Hierarchy   Compound List   Compound Members  

GeneralInterpFace Class Template Reference

#include <GeneralInterpFace.h>

Inheritance diagram for GeneralInterpFace::

InterpFace Interp2d Interp GenericInterp List of all members.

Public Types

typedef DofType DOFType
typedef DofType::ValueType ValueType
typedef DofType::DerivType DerivType

Public Methods

 GeneralInterpFace (Field< DofType > *field, pFace mf, Mapping2d3d *map, ShapeFunction2d< DofType > *sf)
 construct from all the given info, should only be called by Field.

SCOREC_Util::SSList<DofRefdofs () const
 return all degrees of freedom for this Interp as DofRefs.

SCOREC_Util::SSList<DofType*> dofGroups () const
 return all degrees of freedom for this Interp as DofGroups.

void write (ostream &out, const Field< DofType > &field)
void read (istream &in, const Field< DofType > &field)
virtual int order () const
 get (max) polynomial order of interpolation.

virtual int mapOrder () const
 get polynomial order of mapping.

SCOREC_Util::SVectorDouble eval (const SCOREC_Util::SPoint2 &pt, int timeDer=0) const
 Evaluate.

SCOREC_Util::SMatrix eval1Deriv (const SCOREC_Util::SPoint2 &pt, int timeDer=0) const
 Evaluate first derivative.

SCOREC_Util::SPoint3 localToGlobal (const SCOREC_Util::SPoint2 &pt) const
 Map point from local (mesh face) to global coordinates. Current coordinates only makes sense if this is a 'displacement' field, ie DofVector.

SCOREC_Util::SPoint3 localToGlobalCurrent (const SCOREC_Util::SPoint2 &pt) const
virtual SCOREC_Util::SPoint2 globalToLocal (const SCOREC_Util::SPoint3 &pt) const
virtual SCOREC_Util::SPoint2 globalToLocal (pVertex v) const
virtual DMatrix<DofType> dNdx (const SCOREC_Util::SPoint2 &pt) const
virtual DMatrix<DofType> N (const SCOREC_Util::SPoint2 &pt) const
virtual double jacobianInverse (const SCOREC_Util::SPoint2 &pt, SCOREC_Util::SMatrix *jac) const
 get inverse of the Jacobian at the given point.

virtual double detJacobian (const SCOREC_Util::SPoint2 &pt) const
 get the determinate of the jacobian at the given point.

virtual void setValue (const FieldValue &ival, int derivative)

Protected Attributes

Mapping2d3dd_map
ShapeFunction2d<DofType>* d_sf

Detailed Description

template<class DofType> class GeneralInterpFace

Interpolation over a 2d entity


Member Function Documentation

template<class DofType>
DMatrix< DofType > GeneralInterpFace< DofType >::N ( const SCOREC_Util::SPoint2 & pt ) const [virtual]
 

Evaluate shape function with dofs as unknowns.

Reimplemented from Interp2d.

template<class DofType>
DMatrix< DofType > GeneralInterpFace< DofType >::dNdx ( const SCOREC_Util::SPoint2 & pt ) const [virtual]
 

Evaluate first derivative of shape function with dofs as unknowns.

Reimplemented from Interp2d.

template<class DofType>
void GeneralInterpFace< DofType >::setValue ( const FieldValue & ival,
int derivative ) [virtual]
 

sets the value of the dofs for this Interp to the correct value to Interp the given FieldValue

Reimplemented from Interp2d.


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