36 #ifndef PDEANDBOUNDARYCONDITIONS_HPP_
37 #define PDEANDBOUNDARYCONDITIONS_HPP_
40 #include "AbstractBoundaryCondition.hpp"
41 #include "ArchiveLocationInfo.hpp"
42 #include "AbstractLinearEllipticPde.hpp"
43 #include "AveragedSourcePde.hpp"
45 #include "FileFinder.hpp"
58 template<
unsigned DIM>
61 friend class TestPdeAndBoundaryConditions;
73 template<
class Archive>
74 void serialize(Archive & archive,
const unsigned int version)
119 bool isNeumannBoundaryCondition=
true,
121 bool deleteMemberPointersInDestructor=
false);
200 namespace serialization
202 template<
class Archive,
unsigned DIM>
203 inline void save_construct_data(
213 template<
class Archive,
unsigned DIM>
214 inline void load_construct_data(
222 if (file_finder.Exists())
AbstractLinearEllipticPde< DIM, DIM > * mpPde
void SetDependentVariableName(const std::string &rName)
bool IsNeumannBoundaryCondition()
void SetSolution(Vec solution)
std::string mDependentVariableName
void serialize(Archive &archive, const unsigned int version)
~PdeAndBoundaryConditions()
bool HasAveragedSourcePde()
bool mDeleteMemberPointersInDestructor
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
std::string & rGetDependentVariableName()
friend class boost::serialization::access
PdeAndBoundaryConditions(AbstractLinearEllipticPde< DIM, DIM > *pPde=NULL, AbstractBoundaryCondition< DIM > *pBoundaryCondition=NULL, bool isNeumannBoundaryCondition=true, Vec solution=NULL, bool deleteMemberPointersInDestructor=false)
AbstractBoundaryCondition< DIM > * GetBoundaryCondition() const
AbstractLinearEllipticPde< DIM, DIM > * GetPde()
bool mIsNeumannBoundaryCondition
AbstractBoundaryCondition< DIM > * mpBoundaryCondition
static std::string GetArchiveDirectory()
void SetUpSourceTermsForAveragedSourcePde(TetrahedralMesh< DIM, DIM > *pMesh, std::map< CellPtr, unsigned > *pCellPdeElementMap=NULL)