Chaste  Release::3.4
CellwiseDataGradient< DIM > Class Template Reference

#include <CellwiseDataGradient.hpp>

+ Collaboration diagram for CellwiseDataGradient< DIM >:

Public Member Functions

void SetupGradients (AbstractCellPopulation< DIM > &rCellPopulation, const std::string &rItemName)
 
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 45 of file CellwiseDataGradient.hpp.

Member Function Documentation

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

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

Parameters
nodeIndex
Returns
the gradient at the node.

Definition at line 40 of file CellwiseDataGradient.cpp.

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

template<unsigned DIM>
void CellwiseDataGradient< DIM >::SetupGradients ( AbstractCellPopulation< DIM > &  rCellPopulation,
const std::string &  rItemName 
)

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 52 of file CellwiseDataGradient.hpp.


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