Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
QuadraticBasisFunction< ELEMENT_DIM > Class Template Reference

#include <QuadraticBasisFunction.hpp>

+ Collaboration diagram for QuadraticBasisFunction< ELEMENT_DIM >:

Static Public Member Functions

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

Detailed Description

template<unsigned ELEMENT_DIM>
class QuadraticBasisFunction< ELEMENT_DIM >

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

Definition at line 46 of file QuadraticBasisFunction.hpp.

Member Function Documentation

◆ ComputeBasisFunction()

template<unsigned ELEMENT_DIM>
double QuadraticBasisFunction< ELEMENT_DIM >::ComputeBasisFunction ( const ChastePoint< ELEMENT_DIM > &  rPoint,
unsigned  basisIndex 
)
static

Compute a basis function at a point within an element.

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

Definition at line 78 of file QuadraticBasisFunction.cpp.

References NEVER_REACHED.

◆ ComputeBasisFunctionDerivative()

template<unsigned ELEMENT_DIM>
c_vector< double, ELEMENT_DIM > QuadraticBasisFunction< ELEMENT_DIM >::ComputeBasisFunctionDerivative ( const ChastePoint< ELEMENT_DIM > &  rPoint,
unsigned  basisIndex 
)
static

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

Parameters
rPointThe point at which to compute the basis function. The results are undefined if this is not within the canonical element.
basisIndexWhich 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 190 of file QuadraticBasisFunction.cpp.

References NEVER_REACHED.

◆ ComputeBasisFunctionDerivatives()

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

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

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

Definition at line 343 of file QuadraticBasisFunction.cpp.

◆ ComputeBasisFunctions()

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

◆ ComputeTransformedBasisFunctionDerivatives()

template<unsigned ELEMENT_DIM>
void QuadraticBasisFunction< ELEMENT_DIM >::ComputeTransformedBasisFunctionDerivatives ( const ChastePoint< ELEMENT_DIM > &  rPoint,
const c_matrix< double, ELEMENT_DIM, ELEMENT_DIM > &  rInverseJacobian,
c_matrix< double, ELEMENT_DIM,(ELEMENT_DIM+1) *(ELEMENT_DIM+2)/2 > &  rReturnValue 
)
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
rPointThe point at which to compute the basis functions. The results are undefined if this is not within the canonical element.
rInverseJacobianThe inverse of the Jacobian matrix mapping the real element into the canonical element.
rReturnValueThe 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 368 of file QuadraticBasisFunction.cpp.

Referenced by AbstractNonlinearElasticitySolver< DIM >::AssembleOnBoundaryElementForPressureOnDeformedBc(), CompressibleNonlinearElasticitySolver< DIM >::AssembleOnElement(), IncompressibleNonlinearElasticitySolver< DIM >::AssembleOnElement(), AbstractContinuumMechanicsAssembler< DIM, CAN_ASSEMBLE_VECTOR, CAN_ASSEMBLE_MATRIX >::AssembleOnElement(), and AbstractNonlinearElasticitySolver< DIM >::GetElementCentroidStrain().


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