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 63 of file QuadraticBasisFunction.hpp.


Member Function Documentation

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

Specialization for 0d.

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

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

Specialization for 0d.

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

Definition at line 56 of file QuadraticBasisFunction.cpp.

References QuadraticBasisFunction< ELEMENT_DIM >::ComputeBasisFunction().


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

Generated on Mon Apr 18 11:37:46 2011 for Chaste by  doxygen 1.5.5