Main Page   Class Hierarchy   Compound List   Compound Members  

GeneralInterpRegion Class Template Reference

#include <GeneralInterpRegion.h>

Inheritance diagram for GeneralInterpRegion::

InterpRegion Interp3d Interp GenericInterp List of all members.

Public Types

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

Public Methods

 GeneralInterpRegion (Field< DofType > *field, pRegion mf, Mapping3d3d *map, ShapeFunction3d< DofType > *sf)
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.

virtual SCOREC_Util::SVectorDouble eval (const SCOREC_Util::SPoint3 &pt, int timeDer=0) const
virtual SCOREC_Util::SMatrix eval1Deriv (const SCOREC_Util::SPoint3 &pt, int timeDer=0) const
virtual SCOREC_Util::SPoint3 localToGlobal (const SCOREC_Util::SPoint3 &pt) const
virtual SCOREC_Util::SPoint3 localToGlobalCurrent (const SCOREC_Util::SPoint3 &pt) const
virtual SCOREC_Util::SPoint3 globalToLocal (const SCOREC_Util::SPoint3 &pt) const
virtual SCOREC_Util::SPoint3 globalToLocal (pVertex v) const
virtual DMatrix<DofType> d2Ndx2 (const SCOREC_Util::SPoint3 &pt) const
virtual DMatrix<DofType> dNdx (const SCOREC_Util::SPoint3 &pt) const
virtual DMatrix<DofType> N (const SCOREC_Util::SPoint3 &pt) const
virtual double jacobianInverse (const SCOREC_Util::SPoint3 &pt, SCOREC_Util::SMatrix *jac) const
virtual double detJacobian (const SCOREC_Util::SPoint3 &pt) const
virtual void setValue (const FieldValue &ival, int derivative)

Protected Attributes

Mapping3d3dd_map
ShapeFunction3d<DofType>* d_sf

Detailed Description

template<class DofType> class GeneralInterpRegion

An interpolation over a mesh region


Member Function Documentation

template<class DofType>
DMatrix< DofType > GeneralInterpRegion< DofType >::N ( const SCOREC_Util::SPoint3 & pt ) const [inline, virtual]
 

Evaluate the interpolation with the dofs as unknowns.

Reimplemented from Interp3d.

template<class DofType>
DMatrix< DofType > GeneralInterpRegion< DofType >::d2Ndx2 ( const SCOREC_Util::SPoint3 & pt ) const [virtual]
 

Evaluate the second derivative of the interpolation with the dofs as unknowns.

Reimplemented from Interp3d.

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

Evaluate the first derivative of the interpolation with the dofs as unknowns.

Reimplemented from Interp3d.

template<class DofType>
double GeneralInterpRegion< DofType >::detJacobian ( const SCOREC_Util::SPoint3 & pt ) const [inline, virtual]
 

Return the determinate of the jacobian of the mapping associated with this interpolation.

Reimplemented from Interp3d.

template<class DofType>
SCOREC_Util::SVectorDouble GeneralInterpRegion< DofType >::eval ( const SCOREC_Util::SPoint3 & pt,
int timeDer = 0 ) const [inline, virtual]
 

Evaulate the interpolation at the given point.

Reimplemented from Interp3d.

template<class DofType>
SCOREC_Util::SMatrix GeneralInterpRegion< DofType >::eval1Deriv ( const SCOREC_Util::SPoint3 & pt,
int timeDer = 0 ) const [virtual]
 

Evaulate first derivative of the interpolation at the given point.

Reimplemented from Interp3d.

template<class DofType>
SCOREC_Util::SPoint3 GeneralInterpRegion< DofType >::globalToLocal ( const SCOREC_Util::SPoint3 & pt ) const [virtual]
 

Compute the local coordinates for this global coordinate. First signature requires parametric inversion, second only need to know the ordering of the interpolant for the mapping.

Reimplemented from Interp3d.

template<class DofType>
double GeneralInterpRegion< DofType >::jacobianInverse ( const SCOREC_Util::SPoint3 & pt,
SCOREC_Util::SMatrix * jac ) const [inline, virtual]
 

Evaluate the jacobian inverse of the mapping associated with this interpolation. Returns the determinate of the jacobian.

Reimplemented from Interp3d.

template<class DofType>
SCOREC_Util::SPoint3 GeneralInterpRegion< DofType >::localToGlobal ( const SCOREC_Util::SPoint3 & pt ) const [virtual]
 

Transform the local coordinate point to a global point

Reimplemented from Interp3d.

template<class DofType>
void GeneralInterpRegion< 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 Interp3d.


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