29 #ifndef NEMOSYS_EP16PREP_H_ 30 #define NEMOSYS_EP16PREP_H_ 35 #include "nemosys_export.h" 47 class NEMOSYS_EXPORT ep16Prep :
public inputGen {
49 explicit ep16Prep(
const jsoncons::json &inputjson)
50 :
inputGen(inputjson), _shortForm(false), _mdb(nullptr) {};
54 static ep16Prep *readJSON(
const std::string &jsonFName);
55 static ep16Prep *readJSON(
const jsoncons::json &inputjson);
61 void read(
const std::string &fname)
override;
62 void close(
const std::string &fname)
override;
72 void addBC()
override {};
73 void addIC()
override {};
74 bool addMisc()
override {
return false; };
78 void wrtPre(
const std::string &_tsk,
const std::string &__tsk)
override;
79 void wrtCmnt(
const std::string &cmnt)
override;
80 void wrtMsh(
const std::string &_tsk,
const std::string &__tsk)
override;
86 void wrtMisc(
const std::string &_tsk,
const std::string &__tsk)
override;
87 void edit(
const std::string &_tsk,
const std::string &__tsk)
override;
93 std::map<std::string, int> _mat;
94 std::map<std::string, std::string> _bcs;
95 std::stringstream _buffer;
100 #endif // NEMOSYS_EP16PREP_H_
A complete I/O class for EXODUS II file format.