36#ifndef _PSEUDOECGALCALCULATOR_HPP_
37#define _PSEUDOECGALCALCULATOR_HPP_
39#include "AbstractFunctionalCalculator.hpp"
40#include "AbstractTetrahedralMesh.hpp"
41#include "ChastePoint.hpp"
43#include "Hdf5DataReader.hpp"
70template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM,
unsigned PROBLEM_DIM>
75 friend class TestPseudoEcgCalculator;
96 c_vector<double,PROBLEM_DIM>& rU,
97 c_matrix<double,PROBLEM_DIM,SPACE_DIM>& rGradU);
137 const std::string& rHdf5FileName,
138 const std::string& rVariableName =
"V",
139 unsigned timestepStride = 1);
std::string mVariableName
ChastePoint< SPACE_DIM > mProbeElectrode
void SetDiffusionCoefficient(double diffusionCoefficient)
bool ShouldSkipThisElement(Element< ELEMENT_DIM, SPACE_DIM > &rElement)
double GetIntegrand(ChastePoint< SPACE_DIM > &rX, c_vector< double, PROBLEM_DIM > &rU, c_matrix< double, PROBLEM_DIM, SPACE_DIM > &rGradU)
double ComputePseudoEcgAtOneTimeStep(unsigned timeStep)
Hdf5DataReader * mpDataReader
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > & mrMesh
double mDiffusionCoefficient