36 #ifndef VOLUMEDEPENDENTAVERAGEDSOURCEPDE_HPP_
37 #define VOLUMEDEPENDENTAVERAGEDSOURCEPDE_HPP_
40 #include <boost/serialization/base_object.hpp>
42 #include "NodeBasedCellPopulation.hpp"
43 #include "AveragedSourcePde.hpp"
44 #include "TetrahedralMesh.hpp"
45 #include "AbstractLinearEllipticPde.hpp"
51 template<
unsigned DIM>
54 friend class TestCellBasedPdes;
66 template<
class Archive>
67 void serialize(Archive & archive,
const unsigned int version)
69 archive & boost::serialization::base_object<AveragedSourcePde<DIM> >(*this);
99 namespace serialization
104 template<
class Archive,
unsigned DIM>
105 inline void save_construct_data(
110 ar & p_cell_population;
116 template<
class Archive,
unsigned DIM>
117 inline void load_construct_data(
122 ar >> p_cell_population;
const AbstractCellPopulation< DIM > & rGetCellPopulation() const
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
VolumeDependentAveragedSourcePde(AbstractCellPopulation< DIM > &rCellPopulation, double coefficient=0.0)
NodeBasedCellPopulation< DIM > * mpStaticCastCellPopulation
void serialize(Archive &archive, const unsigned int version)
void SetupSourceTerms(TetrahedralMesh< DIM, DIM > &rCoarseMesh, std::map< CellPtr, unsigned > *pCellPdeElementMap=NULL)
friend class boost::serialization::access