22#include <unordered_map>
25 static std::istringstream
clean(std::string);
26 static std::string
extract_name(
const std::string&,
const std::string& =
"");
45 int process(std::ifstream&, std::ofstream&);
47 int process_amplitude(std::ifstream&, std::ofstream&,
const std::string&,
const std::string&);
48 int process_boundary(std::ifstream&, std::ofstream&,
const std::string&,
const std::string&);
49 int process_cload(std::ifstream&, std::ofstream&,
const std::string&);
50 int process_element(std::ifstream&, std::ofstream&,
const std::string&)
const;
52 int process_node_set(std::ifstream&, std::ofstream&,
const std::string&,
bool);
54 int process_step(std::ifstream&, std::ofstream&,
const std::string&);
58 bool getline(std::istream&, std::string&)
const;
Definition: Converter.h:24
int step_tag
Definition: Converter.h:32
int load_tag
Definition: Converter.h:31
std::unordered_map< std::string, int > step_pool
Definition: Converter.h:41
int process_cload(std::ifstream &, std::ofstream &, const std::string &)
Definition: Converter.cpp:208
int converger_tag
Definition: Converter.h:34
std::string output_path
Definition: Converter.h:36
static std::istringstream clean(std::string)
Definition: Converter.cpp:380
std::string extract_element_type(const std::string &) const
Definition: Converter.cpp:235
int process_node_set(std::ifstream &, std::ofstream &, const std::string &, bool)
Definition: Converter.cpp:271
int integrator_tag
Definition: Converter.h:33
int process(std::ifstream &, std::ofstream &)
Definition: Converter.cpp:26
std::unordered_map< std::string, int > node_set_pool
Definition: Converter.h:38
int process_step(std::ifstream &, std::ofstream &, const std::string &)
Definition: Converter.cpp:327
std::unordered_map< std::string, int > amplitude_pool
Definition: Converter.h:40
static std::string extract_name(const std::string &, const std::string &="")
Definition: Converter.cpp:386
int set_tag
Definition: Converter.h:29
int process_node(std::ifstream &, std::ofstream &) const
Definition: Converter.cpp:254
int boundary_tag
Definition: Converter.h:28
std::unordered_map< std::string, int > element_set_pool
Definition: Converter.h:39
int process_element(std::ifstream &, std::ofstream &, const std::string &) const
Definition: Converter.cpp:220
int amplitude_tag
Definition: Converter.h:30
bool getline(std::istream &, std::string &) const
Definition: Converter.cpp:368
int process_element_set(std::ifstream &, std::ofstream &, const std::string &, bool)
Definition: Converter.cpp:299
int process_boundary(std::ifstream &, std::ofstream &, const std::string &, const std::string &)
Definition: Converter.cpp:132
int process_amplitude(std::ifstream &, std::ofstream &, const std::string &, const std::string &)
Definition: Converter.cpp:71
Converter(std::string &&)
Definition: Converter.cpp:23