Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
LinearBasisFunction< 0 > Class Reference

#include <LinearBasisFunction.hpp>

+ Collaboration diagram for LinearBasisFunction< 0 >:

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

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

Definition at line 88 of file LinearBasisFunction.hpp.

Member Function Documentation

◆ ComputeBasisFunction()

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

◆ ComputeBasisFunctions()

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


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