37#ifndef BIDOMAINPROBLEM_HPP_
38#define BIDOMAINPROBLEM_HPP_
41#include <boost/serialization/base_object.hpp>
44#include <boost/shared_ptr.hpp>
45#include <boost/serialization/shared_ptr.hpp>
47#include "AbstractCardiacProblem.hpp"
48#include "AbstractCardiacTissue.hpp"
49#include "AbstractBidomainSolver.hpp"
50#include "AbstractCardiacCellFactory.hpp"
51#include "Electrodes.hpp"
52#include "BidomainTissue.hpp"
53#include "HeartRegionCodes.hpp"
54#include "DistributedTetrahedralMesh.hpp"
71 friend class TestPCTwoLevelsBlockDiagonal;
79 template<
class Archive>
80 void save(Archive & archive,
const unsigned int version)
const
82 archive & boost::serialization::base_object<AbstractCardiacProblem<DIM, DIM, 2> >(*this);
96 template<
class Archive>
97 void load(Archive & archive,
const unsigned int version)
99 archive & boost::serialization::base_object<AbstractCardiacProblem<DIM, DIM, 2> >(*this);
112 BOOST_SERIALIZATION_SPLIT_MEMBER()
114 friend class TestBidomainWithBathProblem;
115 friend class TestCardiacSimulationArchiver;
278 template<class Archive>
293#include "SerializationExportWrapper.hpp"
297template<
unsigned DIM>
298template<
class Archive>
309 boost::shared_ptr<BoundaryConditionsContainer<DIM, DIM, 2> > p_bcc;
311 if (
mpElectrodes->GetBoundaryConditionsContainer() != this->mpBoundaryConditionsContainer)
317 mpElectrodes->GetBoundaryConditionsContainer()->MergeFromArchive(archive, this->
mpMesh);
322 p_bcc->LoadFromArchive(archive, this->
mpMesh);
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * mpMesh
void SetNodeForAverageOfPhiZeroed(unsigned node)
void AnalyseMeshForBath()
void SetUpAdditionalStoppingTimes(std::vector< double > &rAdditionalStoppingTimes)
BidomainTissue< DIM > * mpBidomainTissue
void AtBeginningOfTimestep(double time)
unsigned mExtracelluarColumnId
AbstractBidomainSolver< DIM, DIM > * mpSolver
virtual AbstractDynamicLinearPdeSolver< DIM, DIM, 2 > * CreateSolver()
unsigned mRowForAverageOfPhiZeroed
Vec CreateInitialCondition()
void LoadExtraArchiveForBidomain(Archive &archive, unsigned version)
boost::shared_ptr< Electrodes< DIM > > mpElectrodes
virtual void DefineWriterColumns(bool extending)
void load(Archive &archive, const unsigned int version)
std::vector< unsigned > mFixedExtracellularPotentialNodes
virtual AbstractCardiacTissue< DIM > * CreateCardiacTissue()
void OnEndOfTimestep(double time)
void SetFixedExtracellularPotentialNodes(std::vector< unsigned > nodes)
void WriteInfo(double time)
friend class boost::serialization::access
void save(Archive &archive, const unsigned int version) const
BidomainTissue< DIM > * GetBidomainTissue()
virtual void WriteOneStep(double time, Vec voltageVec)