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

#include <LinearBasisFunction.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 LinearBasisFunction< 0 >

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

Definition at line 87 of file LinearBasisFunction.hpp.


Member Function Documentation

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

Compute a basis function at a point within an element (0d case).

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 149 of file LinearBasisFunction.cpp.

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

Compute 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.
rReturnValueA reference to a vector, to be filled in

Definition at line 304 of file LinearBasisFunction.cpp.

References LinearBasisFunction< ELEMENT_DIM >::ComputeBasisFunction().


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