36#include "ActivationOutputModifier.hpp"
37#include "OutputFileHandler.hpp"
38#include "HeartConfig.hpp"
55 std::stringstream filepath_process_specific;
57 out_stream file_stream_process_specific = output_handler.
OpenOutputFile(filepath_process_specific.str().c_str());
65 file_stream_process_specific->close();
69 out_stream file_stream = out_stream(NULL);
94 VecGetArray(solution, &p_solution);
95 for (
unsigned local_index=0; local_index <
mLocalSize; local_index++)
97 double v = p_solution[local_index*problemDim];
118 VecRestoreArray(solution, &p_solution);
#define CHASTE_CLASS_EXPORT(T)
virtual void InitialiseAtStart(DistributedVectorFactory *pVectorFactory, const std::vector< unsigned > &rNodePermutation)
virtual void ProcessSolutionAtTimeStep(double time, Vec solution, unsigned problemDim)
virtual void FinaliseAtEnd()
std::vector< double > mSecondRecoveryTimes
std::vector< double > mSecondActivitationTimes
std::vector< double > mFirstRecoveryTimes
std::vector< double > mFirstActivitationTimes
unsigned GetLocalOwnership() const
static HeartConfig * Instance()
out_stream OpenOutputFile(const std::string &rFileName, std::ios_base::openmode mode=std::ios::out|std::ios::trunc) const