Chaste Release::3.1
QuadraticBasisFunction< 0 > Class Template Reference

#include <QuadraticBasisFunction.hpp>

List of all members.

Static Public Member Functions

static double ComputeBasisFunction (const ChastePoint< 0 > &rPoint, unsigned basisIndex)
static void ComputeBasisFunctions (const ChastePoint< 0 > &rPoint, c_vector< double, 1 > &rReturnValue)

Detailed Description

template<>
class QuadraticBasisFunction< 0 >

We need to specialise for the 0d case, because 0x0 matrices don't work.

Definition at line 67 of file QuadraticBasisFunction.hpp.


Member Function Documentation

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

Specialization for 0d.

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 51 of file QuadraticBasisFunction.cpp.

void QuadraticBasisFunction< 0 >::ComputeBasisFunctions ( const ChastePoint< 0 > &  rPoint,
c_vector< double, 1 > &  rReturnValue 
) [static]

Specialization for 0d.

Parameters:
rPointThe point at which to compute the basis functions. The results are undefined if this is not within the canonical element.
rReturnValueFilled in with the values of the basis functions.

Definition at line 64 of file QuadraticBasisFunction.cpp.

References QuadraticBasisFunction< ELEMENT_DIM >::ComputeBasisFunction().


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