#include <ChemotacticForce.hpp>


Public Member Functions | |
| ChemotacticForce () | |
| ~ChemotacticForce () | |
| void | AddForceContribution (std::vector< c_vector< double, DIM > > &rForces, AbstractCellPopulation< DIM > &rCellPopulation) |
| void | OutputForceParameters (out_stream &rParamsFile) |
Private Member Functions | |
| double | GetChemotacticForceMagnitude (const double concentration, const double concentrationGradientMagnitude) |
| template<class Archive> | |
| void | serialize (Archive &archive, const unsigned int version) |
Friends | |
| class | TestForces |
| class | boost::serialization::access |
Definition at line 43 of file ChemotacticForce.hpp.
| ChemotacticForce< DIM >::ChemotacticForce | ( | ) | [inline] |
Constructor.
Definition at line 34 of file ChemotacticForce.cpp.
| ChemotacticForce< DIM >::~ChemotacticForce | ( | ) | [inline] |
Destructor.
Definition at line 40 of file ChemotacticForce.cpp.
| double ChemotacticForce< DIM >::GetChemotacticForceMagnitude | ( | const double | concentration, | |
| const double | concentrationGradientMagnitude | |||
| ) | [inline, private] |
Get the magnitude of the chemotactic force.
| concentration | the local nutrient concentration | |
| concentrationGradientMagnitude | the magnitude of the local nutrient concentration gradient |
Definition at line 45 of file ChemotacticForce.cpp.
Referenced by ChemotacticForce< DIM >::AddForceContribution().
| void ChemotacticForce< DIM >::serialize | ( | Archive & | archive, | |
| const unsigned int | version | |||
| ) | [inline, private] |
Serialize the object and its member variables.
Serialization of singleton objects must be done with care. Before the object is serialized via a pointer, it *MUST* be serialized directly, or an assertion will trip when a second instance of the class is created on de-serialization.
| archive | the archive | |
| version | the current version of this class |
Reimplemented from AbstractForce< DIM >.
Definition at line 59 of file ChemotacticForce.hpp.
| void ChemotacticForce< DIM >::AddForceContribution | ( | std::vector< c_vector< double, DIM > > & | rForces, | |
| AbstractCellPopulation< DIM > & | rCellPopulation | |||
| ) | [inline, virtual] |
Overridden AddForceContribution() method.
| rForces | reference to vector of forces on nodes | |
| rCellPopulation | reference to the cell population |
Implements AbstractForce< DIM >.
Definition at line 52 of file ChemotacticForce.cpp.
References AbstractCellPopulation< DIM >::Begin(), AbstractCellPopulation< DIM >::End(), ChemotacticForce< DIM >::GetChemotacticForceMagnitude(), AbstractCellPopulation< DIM >::GetLocationIndexUsingCell(), CellwiseData< DIM >::GetValue(), CellwiseData< DIM >::Instance(), CellwiseDataGradient< DIM >::rGetGradient(), and CellwiseDataGradient< DIM >::SetupGradients().
| void ChemotacticForce< DIM >::OutputForceParameters | ( | out_stream & | rParamsFile | ) | [inline, virtual] |
Overridden OutputForceParameters() method.
| rParamsFile | the file stream to which the parameters are output |
Implements AbstractForce< DIM >.
Definition at line 84 of file ChemotacticForce.cpp.
References AbstractForce< DIM >::OutputForceParameters().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractForce< DIM >.
Definition at line 57 of file ChemotacticForce.hpp.
1.5.5