36#ifndef CELLWISESOURCEELLIPTICPDE_HPP_
37#define CELLWISESOURCEELLIPTICPDE_HPP_
40#include <boost/serialization/base_object.hpp>
42#include "AbstractCellPopulation.hpp"
43#include "AbstractLinearEllipticPde.hpp"
67 friend class TestCellBasedEllipticPdes;
79 template<
class Archive>
80 void serialize(Archive & archive,
const unsigned int version)
82 archive & boost::serialization::base_object<AbstractLinearEllipticPde<DIM, DIM> >(*this);
80 void serialize(Archive & archive,
const unsigned int version) {
…}
119 double constantSourceCoefficient=0.0,
120 double linearSourceCoefficient=0.0,
121 double diffusionCoefficient=1.0,
122 bool scaleByCellVolume=
false);
204namespace serialization
209template<
class Archive,
unsigned DIM>
210inline void save_construct_data(
215 ar & p_cell_population;
221template<
class Archive,
unsigned DIM>
222inline void load_construct_data(
227 ar >> p_cell_population;
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
double GetLinearCoefficient() const
double mLinearSourceCoefficient
const AbstractCellPopulation< DIM > & rGetCellPopulation() const
AbstractCellPopulation< DIM, DIM > & mrCellPopulation
double ComputeConstantInUSourceTermAtNode(const Node< DIM > &rNode) override
double GetDiffusionCoefficient() const
double GetConstantCoefficient() const
double ComputeConstantInUSourceTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement) override
double ComputeLinearInUCoeffInSourceTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement) override
c_matrix< double, DIM, DIM > ComputeDiffusionTerm(const ChastePoint< DIM > &rX) override
double mDiffusionCoefficient
double mConstantSourceCoefficient
double ComputeLinearInUCoeffInSourceTermAtNode(const Node< DIM > &rNode) override
friend class boost::serialization::access
void serialize(Archive &archive, const unsigned int version)
bool GetScaleByCellVolume() const