35#ifndef FIELDUTILS_OUTPUTFILEBASE
36#define FIELDUTILS_OUTPUTFILEBASE
53 void v_Process(po::variables_map &vm)
override;
57 return "OutputFileBase";
62 return "Writing file";
79 virtual fs::path
v_GetPath([[maybe_unused]] std::string &filename,
80 [[maybe_unused]] po::variables_map &vm)
85 fs::path
GetPath(std::string &filename, po::variables_map &vm)
91 [[maybe_unused]] po::variables_map &vm)
106 bool WriteFile(std::string &filename, po::variables_map &vm);
#define NEKERROR(type, msg)
Assert Level 0 – Fundamental assert which is used whether in FULLDEBUG, DEBUG or OPT compilation mode...
Converter from fld to vtk.
virtual fs::path v_GetFullOutName(std::string &filename, po::variables_map &vm)
virtual void v_OutputFromExp(po::variables_map &vm)=0
Write from m_exp to output file.
bool WriteFile(std::string &filename, po::variables_map &vm)
~OutputFileBase() override
fs::path GetFullOutName(std::string &filename, po::variables_map &vm)
std::string v_GetModuleDescription() override
virtual fs::path v_GetPath(std::string &filename, po::variables_map &vm)
std::string v_GetModuleName() override
void ConvertExpToEquispaced(po::variables_map &vm)
ModulePriority v_GetModulePriority() override
virtual void v_OutputFromData(po::variables_map &vm)=0
Write from data to output file.
virtual void v_OutputFromPts(po::variables_map &vm)=0
Write from pts to output file.
OutputFileBase(FieldSharedPtr f)
fs::path GetPath(std::string &filename, po::variables_map &vm)
void v_Process(po::variables_map &vm) override
Write fld to output file.
Abstract base class for output modules.
std::shared_ptr< Field > FieldSharedPtr