InputFile
-
class InputFile : public godzilla::PrintInterface, public godzilla::LoggingInterface
Base class for input files.
Subclassed by godzilla::GYMLFile
Public Functions
-
const std::string &get_file_name() const
Get the file name of this input file.
- Returns:
File name of this input file
-
virtual bool parse(const std::string &file_name)
Parse the YML file.
- Returns:
true
if successful, otherwisefalse
-
virtual void create_objects()
Create objects.
-
virtual void check()
Check objects.
-
virtual void build() = 0
build the simulation objects
-
MeshObject *get_mesh_object() const
Get the mesh object specified in the input file.
-
const std::string &get_file_name() const