36 #ifndef ELECTRODES_HPP_
37 #define ELECTRODES_HPP_
39 #include <boost/shared_ptr.hpp>
41 #include <boost/serialization/split_member.hpp>
42 #include <boost/serialization/shared_ptr.hpp>
44 #include "AbstractTetrahedralMesh.hpp"
45 #include "DistributedVector.hpp"
46 #include "BoundaryConditionsContainer.hpp"
47 #include "ConstBoundaryCondition.hpp"
64 template<
unsigned DIM>
67 friend class TestBidomainWithBathProblem;
68 friend class TestElectrodes;
113 template<
class Archive>
114 void save(Archive & archive,
const unsigned int version)
const
129 template<
class Archive>
130 void load(Archive & archive,
const unsigned int version)
143 BOOST_SERIALIZATION_SPLIT_MEMBER()
bool mGroundSecondElectrode
double mLeftElectrodeArea
void save(Archive &archive, const unsigned int version) const
boost::shared_ptr< BoundaryConditionsContainer< DIM, DIM, 2 > > mpBoundaryConditionsContainer
AbstractTetrahedralMesh< DIM, DIM > * mpMesh
static Archive * Get(void)
friend class boost::serialization::access
boost::shared_ptr< BoundaryConditionsContainer< DIM, DIM, 2 > > GetBoundaryConditionsContainer()
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
double GetSwitchOffTime()
void load(Archive &archive, const unsigned int version)
bool HasGroundedElectrode()
double mRightElectrodeArea
bool SwitchOn(double time)
void ComputeElectrodesAreasAndCheckEquality(unsigned index, double lowerValue, double upperValue)
bool SwitchOff(double time)