QuadraticBasisFunction< ELEM_DIM > Class Template Reference

#include <QuadraticBasisFunction.hpp>

List of all members.

Static Public Member Functions

static double ComputeBasisFunction (const ChastePoint< ELEM_DIM > &rPoint, unsigned basisIndex)
static c_vector< double, ELEM_DIM > ComputeBasisFunctionDerivative (const ChastePoint< ELEM_DIM > &rPoint, unsigned basisIndex)
static void ComputeBasisFunctions (const ChastePoint< ELEM_DIM > &rPoint, c_vector< double,(ELEM_DIM+1)*(ELEM_DIM+2)/2 > &rReturnValue)
static void ComputeBasisFunctionDerivatives (const ChastePoint< ELEM_DIM > &rPoint, c_matrix< double, ELEM_DIM,(ELEM_DIM+1)*(ELEM_DIM+2)/2 > &rReturnValue)
static void ComputeTransformedBasisFunctionDerivatives (const ChastePoint< ELEM_DIM > &rPoint, const c_matrix< double, ELEM_DIM, ELEM_DIM > &rInverseJacobian, c_matrix< double, ELEM_DIM,(ELEM_DIM+1)*(ELEM_DIM+2)/2 > &rReturnValue)


Detailed Description

template<unsigned ELEM_DIM>
class QuadraticBasisFunction< ELEM_DIM >

Quadratic basis functions for the finite element method, computed on a canonical element.

Definition at line 41 of file QuadraticBasisFunction.hpp.


Member Function Documentation

template<unsigned ELEM_DIM>
double QuadraticBasisFunction< ELEM_DIM >::ComputeBasisFunction ( const ChastePoint< ELEM_DIM > &  rPoint,
unsigned  basisIndex 
) [inline, static]

Compute a basis function at a point within an element.

Parameters:
rPoint The point at which to compute the basis function. The results are undefined if this is not within the canonical element.
basisIndex Which basis function to compute. This is a local index within a canonical element.
Returns:
The value of the basis function.

Definition at line 71 of file QuadraticBasisFunction.cpp.

Referenced by QuadraticBasisFunction< ELEM_DIM >::ComputeBasisFunctions(), and QuadraticBasisFunction< 0 >::ComputeBasisFunctions().

template<unsigned ELEM_DIM>
c_vector< double, ELEM_DIM > QuadraticBasisFunction< ELEM_DIM >::ComputeBasisFunctionDerivative ( const ChastePoint< ELEM_DIM > &  rPoint,
unsigned  basisIndex 
) [inline, static]

Compute the derivative of a basis function at a point within an canonical element.

Parameters:
rPoint The point at which to compute the basis function. The results are undefined if this is not within the canonical element.
basisIndex Which basis function to compute. This is a local index within a canonical element.
Returns:
The derivative of the basis function. This is a vector (c_vector instance) giving the derivative along each axis.

Definition at line 183 of file QuadraticBasisFunction.cpp.

Referenced by QuadraticBasisFunction< ELEM_DIM >::ComputeBasisFunctionDerivatives().

template<unsigned ELEM_DIM>
void QuadraticBasisFunction< ELEM_DIM >::ComputeBasisFunctions ( const ChastePoint< ELEM_DIM > &  rPoint,
c_vector< double,(ELEM_DIM+1)*(ELEM_DIM+2)/2 > &  rReturnValue 
) [inline, static]

Compute all basis functions at a point within an element.

Parameters:
rPoint The point at which to compute the basis functions. The results are undefined if this is not within the canonical element.
rReturnValue The values of the basis functions, in local index order.

Definition at line 315 of file QuadraticBasisFunction.cpp.

References QuadraticBasisFunction< ELEM_DIM >::ComputeBasisFunction().

Referenced by NonlinearElasticityAssembler< DIM >::AssembleOnBoundaryElement(), NonlinearElasticityAssembler< DIM >::AssembleOnElement(), and ImplicitCardiacMechanicsAssembler< DIM >::AssembleOnElement().

template<unsigned ELEM_DIM>
void QuadraticBasisFunction< ELEM_DIM >::ComputeBasisFunctionDerivatives ( const ChastePoint< ELEM_DIM > &  rPoint,
c_matrix< double, ELEM_DIM,(ELEM_DIM+1)*(ELEM_DIM+2)/2 > &  rReturnValue 
) [inline, static]

Compute the derivatives of all basis functions at a point within an element.

Parameters:
rPoint The point at which to compute the basis functions. The results are undefined if this is not within the canonical element.
rReturnValue The derivatives of the basis functions, in local index order. Each column of the matrix gives the derivative along each axis.

Definition at line 336 of file QuadraticBasisFunction.cpp.

References QuadraticBasisFunction< ELEM_DIM >::ComputeBasisFunctionDerivative().

Referenced by QuadraticBasisFunction< ELEM_DIM >::ComputeTransformedBasisFunctionDerivatives().

template<unsigned ELEM_DIM>
void QuadraticBasisFunction< ELEM_DIM >::ComputeTransformedBasisFunctionDerivatives ( const ChastePoint< ELEM_DIM > &  rPoint,
const c_matrix< double, ELEM_DIM, ELEM_DIM > &  rInverseJacobian,
c_matrix< double, ELEM_DIM,(ELEM_DIM+1)*(ELEM_DIM+2)/2 > &  rReturnValue 
) [inline, static]

Compute the derivatives of all basis functions at a point within an element. This method will transform the results, for use within gaussian quadrature for example.

Parameters:
rPoint The point at which to compute the basis functions. The results are undefined if this is not within the canonical element.
rInverseJacobian The inverse of the Jacobian matrix mapping the real element into the canonical element.
rReturnValue The derivatives of the basis functions, in local index order. Each entry is a vector (VectorDouble instance) giving the derivative along each axis.

Definition at line 362 of file QuadraticBasisFunction.cpp.

References QuadraticBasisFunction< ELEM_DIM >::ComputeBasisFunctionDerivatives().

Referenced by NonlinearElasticityAssembler< DIM >::AssembleOnElement(), and ImplicitCardiacMechanicsAssembler< DIM >::AssembleOnElement().


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

Generated on Tue Aug 4 16:11:39 2009 for Chaste by  doxygen 1.5.5