SpinParser  1.0
EffectiveAction.hpp
Go to the documentation of this file.
1 
9 #pragma once
10 #include <hdf5.h>
11 #include "lib/Log.hpp"
12 #include "lib/Exception.hpp"
13 
20 {
21 public:
25  EffectiveAction() : cutoff(0.0f) {};
26 
30  virtual ~EffectiveAction() {};
31 
40  virtual int writeCheckpoint(const std::string &dataFilePath, const bool append = false) const = 0;
41 
50  virtual bool readCheckpoint(const std::string &datafilePath, const int checkpointId = -1) = 0;
51 
57  virtual bool isDiverged() const = 0;
58 
59  float cutoff;
60 };
EffectiveAction::~EffectiveAction
virtual ~EffectiveAction()
Virtual destructor.
Definition: EffectiveAction.hpp:30
EffectiveAction::isDiverged
virtual bool isDiverged() const =0
Indicate whether the vertex has diverged to NaN.
EffectiveAction
Virtual implementation of a flowing effective action.
Definition: EffectiveAction.hpp:19
EffectiveAction::EffectiveAction
EffectiveAction()
Construct a new EffectiveAction object.
Definition: EffectiveAction.hpp:25
EffectiveAction::readCheckpoint
virtual bool readCheckpoint(const std::string &datafilePath, const int checkpointId=-1)=0
Read internal data from a checkpoint with the specified checkpoint identifier at the specified file p...
EffectiveAction::writeCheckpoint
virtual int writeCheckpoint(const std::string &dataFilePath, const bool append=false) const =0
Write all internal data to a checkpoint at the specified file path and return the identifier of the c...
EffectiveAction::cutoff
float cutoff
Value of the RG cutoff.
Definition: EffectiveAction.hpp:59
Exception.hpp
Descriptor object for exceptions.
Log.hpp
Lightweight logging interface with output filtering.