36 #include "ZeroNetChargeElectrodes.hpp" 37 #include "ElectrodesStimulusFactory.hpp" 38 #include "RegularStimulusZeroNetCharge.hpp" 39 #include "DistributedTetrahedralMesh.hpp" 41 #include "HeartConfig.hpp" 43 template<
unsigned DIM>
45 std::vector<double>& rStimulusMagnitudes,
46 std::vector<double>& rDurations,
47 std::vector<double>& rPeriods,
48 std::vector<double>& rStarts,
49 std::vector<double>& rEnds)
54 template<
unsigned DIM>
59 template<
unsigned DIM>
62 boost::shared_ptr<RegularStimulusZeroNetCharge> p_stimulus;
63 for (
unsigned pair_index = 0; pair_index < this->
mrElectrodePairs.size(); pair_index++)
std::vector< double > & mrDurations
std::vector< double > mMagnitudesElectrode2
ZeroNetChargeElectrodes(std::vector< std::pair< AbstractChasteRegion< DIM > *, AbstractChasteRegion< DIM > * > > &rElectrodePairs, std::vector< double > &rStimulusMagnitudes, std::vector< double > &rDurations, std::vector< double > &rPeriods, std::vector< double > &rStarts, std::vector< double > &rEnds)
std::vector< double > & mrPeriods
std::vector< double > & mrStarts
std::vector< double > & mrEnds
~ZeroNetChargeElectrodes()
boost::shared_ptr< AbstractStimulusFunction > CreateStimulusForNode(Node< DIM > *pNode)
std::vector< double > mMagnitudesElectrode1
std::vector< std::pair< AbstractChasteRegion< DIM > *, AbstractChasteRegion< DIM > * > > & mrElectrodePairs
ChastePoint< SPACE_DIM > GetPoint() const