36#include "SingleTraceOutputModifier.hpp"
37#include "HeartConfig.hpp"
46 if (!rNodePermutation.empty()){
78 VecGetArray(solution, &p_solution);
79 (*mFileStream) << time;
80 for (
unsigned i=0; i<problemDim; ++i)
82 (*mFileStream) <<
"\t" << p_solution[
mLocalIndex*problemDim+i];
84 (*mFileStream) <<
"\n";
85 VecRestoreArray(solution, &p_solution);
#define CHASTE_CLASS_EXPORT(T)
bool IsGlobalIndexLocal(unsigned globalIndex)
static HeartConfig * Instance()
out_stream OpenOutputFile(const std::string &rFileName, std::ios_base::openmode mode=std::ios::out|std::ios::trunc) const
virtual void InitialiseAtStart(DistributedVectorFactory *pVectorFactory, const std::vector< unsigned > &rNodePermutation)
virtual void FinaliseAtEnd()
virtual void ProcessSolutionAtTimeStep(double time, Vec solution, unsigned problemDim)