Main Page   Class Hierarchy   Compound List   Compound Members  

ShapeFunction1d Class Template Reference

#include <ShapeFunction1d.h>

Inheritance diagram for ShapeFunction1d::

GenericShapeFunction ShapeFunction ConstantSF1d HierarchicCont1dSF HierDiscont1dSF LinearCont1dSF QuadCont1dSF List of all members.

Public Types

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

Public Methods

 ShapeFunction1d (pEdge edge, Field< DofType > *field)
virtual ValueType eval (double r, pEdge, const Field< DofType > &field, int timeDer=0) const=0
virtual DerivType eval1Deriv (double r, pEdge, const Field< DofType > &field, int timeDer=0) const=0
virtual DerivType eval2Deriv (double r, pEdge, const Field< DofType > &field, int timeDer=0) const=0
virtual DMatrix<DofType> zeroDeriv (double r, pEdge, const Field< DofType > &field) const=0
virtual DMatrix<DofType> firstDeriv (double r, pEdge edge, const Field< DofType > &field) const=0
virtual DMatrix<DofType> secondDeriv (double r, pEdge edge, const Field< DofType > &field) const=0
virtual void getVandermonde (pEdge me, const Field< DofType > &field, SCOREC_Util::SMatrix **A, IntpPnt1d **pt)=0
virtual void setDofVals (pEdge,const Field< DofType > &, const SCOREC_Util::SVector< SCOREC_Util::SVectorDouble > &a, int derivative, SCOREC_Util::Range< int > comps)=0

Detailed Description

template<class DofType> class ShapeFunction1d

Shape function defined over a mesh edge.


Member Function Documentation

template<class DofType>
ValueType ShapeFunction1d<DofType>::eval ( double r,
pEdge edge,
const Field< DofType > & field,
int timeDer = 0 ) const [pure virtual]
 

Evaulate at the location r.

Reimplemented in LinearCont1dSF, QuadCont1dSF, HierarchicCont1dSF, ConstantSF1d, and HierDiscont1dSF.

template<class DofType>
DerivType ShapeFunction1d<DofType>::eval1Deriv ( double r,
pEdge edge,
const Field< DofType > & field,
int timeDer = 0 ) const [pure virtual]
 

Evaulate first derivative at r.

Reimplemented in LinearCont1dSF, QuadCont1dSF, HierarchicCont1dSF, ConstantSF1d, and HierDiscont1dSF.

template<class DofType>
DerivType ShapeFunction1d<DofType>::eval2Deriv ( double r,
pEdge edge,
const Field< DofType > & field,
int timeDer = 0 ) const [pure virtual]
 

Evaluate second derivative at pt.

Reimplemented in LinearCont1dSF, QuadCont1dSF, HierarchicCont1dSF, ConstantSF1d, and HierDiscont1dSF.

template<class DofType>
DMatrix< DofType > ShapeFunction1d<DofType>::firstDeriv ( double r,
pEdge edge,
const Field< DofType > & field ) const [pure virtual]
 

Evaluate first derivative with dofs as unknowns at location r.

Reimplemented in LinearCont1dSF, QuadCont1dSF, HierarchicCont1dSF, ConstantSF1d, and HierDiscont1dSF.

template<class DofType>
void ShapeFunction1d<DofType>::getVandermonde ( pEdge me,
const Field< DofType > & field,
SCOREC_Util::SMatrix ** A,
IntpPnt1d ** pt ) [pure virtual]
 

Get vandermonde matrix for interpolation.

Reimplemented in LinearCont1dSF, HierarchicCont1dSF, ConstantSF1d, and HierDiscont1dSF.

template<class DofType>
DMatrix< DofType > ShapeFunction1d<DofType>::secondDeriv ( double r,
pEdge edge,
const Field< DofType > & field ) const [pure virtual]
 

Evaluate seond derivative with dofs as unknowns at location r.

Reimplemented in LinearCont1dSF, QuadCont1dSF, HierarchicCont1dSF, ConstantSF1d, and HierDiscont1dSF.

template<class DofType>
DMatrix< DofType > ShapeFunction1d<DofType>::zeroDeriv ( double r,
pEdge edge,
const Field< DofType > & field ) const [pure virtual]
 

Evaluate with dofs as unknowns at location r.

Reimplemented in LinearCont1dSF, QuadCont1dSF, HierarchicCont1dSF, ConstantSF1d, and HierDiscont1dSF.


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