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"
67friend class TestBidomainWithBathProblem;
68friend 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()
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
bool SwitchOn(double time)
bool HasGroundedElectrode()
void ComputeElectrodesAreasAndCheckEquality(unsigned index, double lowerValue, double upperValue)
double GetSwitchOffTime()
bool SwitchOff(double time)
double mLeftElectrodeArea
void save(Archive &archive, const unsigned int version) const
void load(Archive &archive, const unsigned int version)
boost::shared_ptr< BoundaryConditionsContainer< DIM, DIM, 2 > > mpBoundaryConditionsContainer
double mRightElectrodeArea
friend class boost::serialization::access
boost::shared_ptr< BoundaryConditionsContainer< DIM, DIM, 2 > > GetBoundaryConditionsContainer()
AbstractTetrahedralMesh< DIM, DIM > * mpMesh
bool mGroundSecondElectrode
static Archive * Get(void)