CellwiseDataGradient< DIM > Class Template Reference

#include <CellwiseDataGradient.hpp>

Collaboration diagram for CellwiseDataGradient< DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetupGradients ()
c_vector< double, DIM > & rGetGradient (unsigned nodeIndex)

Private Attributes

std::vector< c_vector< double,
DIM > > 
mGradients

Detailed Description

template<unsigned DIM>
class CellwiseDataGradient< DIM >

A class for calculating the gradients of the CellwiseData.

Definition at line 38 of file CellwiseDataGradient.hpp.


Member Function Documentation

template<unsigned DIM>
c_vector< double, DIM > & CellwiseDataGradient< DIM >::rGetGradient ( unsigned  nodeIndex  )  [inline]

Get the gradient at a given node. Not set up for ghost nodes.

Parameters:
nodeIndex 
Returns:
the gradient at the node.

Definition at line 33 of file CellwiseDataGradient.cpp.

References CellwiseDataGradient< DIM >::mGradients.

Referenced by ChemotacticForce< DIM >::AddForceContribution().

template<unsigned DIM>
void CellwiseDataGradient< DIM >::SetupGradients (  )  [inline]

Member Data Documentation

template<unsigned DIM>
std::vector<c_vector<double, DIM> > CellwiseDataGradient< DIM >::mGradients [private]

The final gradients at the nodes

Definition at line 45 of file CellwiseDataGradient.hpp.

Referenced by CellwiseDataGradient< DIM >::rGetGradient(), and CellwiseDataGradient< DIM >::SetupGradients().


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