7#include <yaml-cpp/yaml.h>
31 if (sisi4s::Emitter::getRank() != 0) { \
32 } else sisi4s::Emitter::getEmitter()
33#define EMIT_FLUSH(...) \
34 if (sisi4s::Emitter::getRank() != 0) { \
35 } else sisi4s::Emitter::flush()
#define PTR(TYPE)
Definition SharedPointer.hpp:8
Class with static members offering control over yaml emitting. Entries are emitted with the macro EMI...
Definition Emitter.hpp:14
static void flush()
Definition Emitter.cxx:28
static void setFileName(const std::string &)
Definition Emitter.cxx:17
static std::shared_ptr< std::ofstream > yamlFile
Definition Emitter.hpp:25
static int getRank()
Definition Emitter.cxx:15
static std::shared_ptr< YAML::Emitter > yamlEmitter
Definition Emitter.hpp:26
static std::string fileName
Definition Emitter.hpp:24
static YAML::Emitter & getEmitter()
Definition Emitter.cxx:19
static void setRank(const int rank)
Definition Emitter.cxx:13
static int rank
Definition Emitter.hpp:23
Definition Algorithm.hpp:10