VMTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
vtkvmtkFEShapeFunctions Class Reference

Set of common utility (calculate jacobian, interpolation function, and interpolation function derivatives) functions used during assembly of certain finite element solutions. More...

#include <vtkvmtkFEShapeFunctions.h>

Inheritance diagram for vtkvmtkFEShapeFunctions:
[legend]
Collaboration diagram for vtkvmtkFEShapeFunctions:
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkvmtkFEShapeFunctionsNewInstance () const
 
void Initialize (vtkCell *cell, vtkDoubleArray *pcoords)
 
double GetPhi (vtkIdType id, vtkIdType i)
 
double * GetDPhi (vtkIdType id, vtkIdType i)
 
void GetDPhi (vtkIdType id, vtkIdType i, double *dphi)
 
double GetDPhi (vtkIdType id, vtkIdType i, int c)
 
double GetJacobian (vtkIdType i)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkvmtkFEShapeFunctionsSafeDownCast (vtkObjectBase *o)
 
static vtkvmtkFEShapeFunctionsNew ()
 
static void GetInterpolationFunctions (vtkCell *cell, double *pcoords, double *sf)
 
static void GetInterpolationDerivs (vtkCell *cell, double *pcoords, double *derivs)
 
static double ComputeJacobian (vtkCell *cell, double *pcoords)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkvmtkFEShapeFunctions ()
 
 ~vtkvmtkFEShapeFunctions ()
 

Static Protected Member Functions

static void ComputeInverseJacobianMatrix2D (vtkCell *cell, double *pcoords, double inverseJacobianMatrix[2][3])
 
static void ComputeInverseJacobianMatrix3D (vtkCell *cell, double *pcoords, double inverseJacobianMatrix[3][3])
 

Protected Attributes

vtkDoubleArray * Phi
 
vtkDoubleArray * DPhi
 
vtkDoubleArray * Jacobians
 
vtkIdType NumberOfCellPoints
 

Detailed Description

Set of common utility (calculate jacobian, interpolation function, and interpolation function derivatives) functions used during assembly of certain finite element solutions.

Date
2006/04/06 16:46:44
Revision
1.4

..

Definition at line 37 of file vtkvmtkFEShapeFunctions.h.

Member Typedef Documentation

◆ Superclass

Definition at line 40 of file vtkvmtkFEShapeFunctions.h.

Constructor & Destructor Documentation

◆ vtkvmtkFEShapeFunctions()

vtkvmtkFEShapeFunctions::vtkvmtkFEShapeFunctions ( )
protected

◆ ~vtkvmtkFEShapeFunctions()

vtkvmtkFEShapeFunctions::~vtkvmtkFEShapeFunctions ( )
protected

Member Function Documentation

◆ IsTypeOf()

static int vtkvmtkFEShapeFunctions::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkvmtkFEShapeFunctions::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkvmtkFEShapeFunctions* vtkvmtkFEShapeFunctions::SafeDownCast ( vtkObjectBase *  o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkvmtkFEShapeFunctions::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkvmtkFEShapeFunctions* vtkvmtkFEShapeFunctions::NewInstance ( ) const

◆ New()

static vtkvmtkFEShapeFunctions* vtkvmtkFEShapeFunctions::New ( )
static

◆ Initialize()

void vtkvmtkFEShapeFunctions::Initialize ( vtkCell *  cell,
vtkDoubleArray *  pcoords 
)

◆ GetPhi()

double vtkvmtkFEShapeFunctions::GetPhi ( vtkIdType  id,
vtkIdType  i 
)
inline

Definition at line 45 of file vtkvmtkFEShapeFunctions.h.

46  { return this->Phi->GetValue(id*this->NumberOfCellPoints+i); }

◆ GetDPhi() [1/3]

double* vtkvmtkFEShapeFunctions::GetDPhi ( vtkIdType  id,
vtkIdType  i 
)
inline

Definition at line 48 of file vtkvmtkFEShapeFunctions.h.

49  { return this->DPhi->GetTuple(id*this->NumberOfCellPoints+i); }

◆ GetDPhi() [2/3]

void vtkvmtkFEShapeFunctions::GetDPhi ( vtkIdType  id,
vtkIdType  i,
double *  dphi 
)
inline

Definition at line 51 of file vtkvmtkFEShapeFunctions.h.

52  { this->DPhi->GetTuple(id*this->NumberOfCellPoints+i,dphi); }

◆ GetDPhi() [3/3]

double vtkvmtkFEShapeFunctions::GetDPhi ( vtkIdType  id,
vtkIdType  i,
int  c 
)
inline

Definition at line 54 of file vtkvmtkFEShapeFunctions.h.

55  { return this->DPhi->GetComponent(id*this->NumberOfCellPoints+i,c); }

◆ GetJacobian()

double vtkvmtkFEShapeFunctions::GetJacobian ( vtkIdType  i)
inline

Definition at line 57 of file vtkvmtkFEShapeFunctions.h.

58  { return this->Jacobians->GetValue(i); }

◆ GetInterpolationFunctions()

static void vtkvmtkFEShapeFunctions::GetInterpolationFunctions ( vtkCell *  cell,
double *  pcoords,
double *  sf 
)
static

◆ GetInterpolationDerivs()

static void vtkvmtkFEShapeFunctions::GetInterpolationDerivs ( vtkCell *  cell,
double *  pcoords,
double *  derivs 
)
static

◆ ComputeJacobian()

static double vtkvmtkFEShapeFunctions::ComputeJacobian ( vtkCell *  cell,
double *  pcoords 
)
static

◆ ComputeInverseJacobianMatrix2D()

static void vtkvmtkFEShapeFunctions::ComputeInverseJacobianMatrix2D ( vtkCell *  cell,
double *  pcoords,
double  inverseJacobianMatrix[2][3] 
)
staticprotected

◆ ComputeInverseJacobianMatrix3D()

static void vtkvmtkFEShapeFunctions::ComputeInverseJacobianMatrix3D ( vtkCell *  cell,
double *  pcoords,
double  inverseJacobianMatrix[3][3] 
)
staticprotected

Member Data Documentation

◆ Phi

vtkDoubleArray* vtkvmtkFEShapeFunctions::Phi
protected

Definition at line 72 of file vtkvmtkFEShapeFunctions.h.

◆ DPhi

vtkDoubleArray* vtkvmtkFEShapeFunctions::DPhi
protected

Definition at line 73 of file vtkvmtkFEShapeFunctions.h.

◆ Jacobians

vtkDoubleArray* vtkvmtkFEShapeFunctions::Jacobians
protected

Definition at line 74 of file vtkvmtkFEShapeFunctions.h.

◆ NumberOfCellPoints

vtkIdType vtkvmtkFEShapeFunctions::NumberOfCellPoints
protected

Definition at line 75 of file vtkvmtkFEShapeFunctions.h.


The documentation for this class was generated from the following file: