36 #include "SingleTraceOutputModifier.hpp"
37 #include "HeartConfig.hpp"
72 VecGetArray(solution, &p_solution);
73 (*mFileStream) << time;
74 for (
unsigned i=0; i<problemDim; ++i)
76 (*mFileStream) <<
"\t" << p_solution[
mLocalIndex*problemDim+i];
78 (*mFileStream) <<
"\n";
79 VecRestoreArray(solution, &p_solution);
virtual void ProcessSolutionAtTimeStep(double time, Vec solution, unsigned problemDim)
bool Divides(double smallerNumber, double largerNumber)
bool IsGlobalIndexLocal(unsigned globalIndex)
out_stream OpenOutputFile(const std::string &rFileName, std::ios_base::openmode mode=std::ios::out|std::ios::trunc) const
#define CHASTE_CLASS_EXPORT(T)
virtual void InitialiseAtStart(DistributedVectorFactory *pVectorFactory)
static HeartConfig * Instance()
virtual void FinaliseAtEnd()