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 80 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:
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 142 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:
rPoint The point at which to compute the basis functions. The results are undefined if this is not within the canonical element.
rReturnValue A reference to a vector, to be filled in

Definition at line 297 of file LinearBasisFunction.cpp.

References LinearBasisFunction< ELEMENT_DIM >::ComputeBasisFunction().


The documentation for this class was generated from the following files:
Generated on Thu Dec 22 13:05:41 2011 for Chaste by  doxygen 1.6.3