Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Classes | Namespaces | Enumerations | Functions
input.hpp File Reference

This file contains the all the necessary functions for reading input files. More...

#include <string>
#include <variant>
#include <optional>
#include "mfem.hpp"
#include "axom/inlet.hpp"
#include "axom/sidre.hpp"
Include dependency graph for input.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  serac::input::CoefficientInputOptions
 The information required from the input file for an mfem::(Vector)(Function)Coefficient. More...
 
struct  serac::input::BoundaryConditionInputOptions
 The information required from the input file for a boundary condition. More...
 
struct  FromInlet< mfem::Vector >
 Prototype the specialization for Inlet parsing. More...
 
struct  FromInlet< serac::input::CoefficientInputOptions >
 Prototype the specialization for Inlet parsing. More...
 
struct  FromInlet< serac::input::BoundaryConditionInputOptions >
 Prototype the specialization for Inlet parsing. More...
 

Namespaces

 serac
 Accelerator functionality.
 
 serac::input
 The input related helper functions and objects.
 

Enumerations

enum class  serac::input::Language { Lua , JSON , YAML }
 The input file languages supported by Inlet.
 

Functions

axom::inlet::Inlet serac::input::initialize (axom::sidre::DataStore &datastore, const std::string &input_file_path, const Language language=Language::Lua, const std::string &sidre_path="input_file")
 Initializes Inlet with the given datastore and input file. More...
 
std::string serac::input::findMeshFilePath (const std::string &mesh_path, const std::string &input_file_path)
 Returns the absolute path of the given mesh either relative to CWD or the input file. More...
 
std::string serac::input::fullDirectoryFromPath (const std::string &file_path)
 Returns the absolute directory of the given file path. More...
 
std::string serac::input::getInputFileName (const std::string &file_path)
 Returns the name of the input file (base name with file extension removed). More...
 
void serac::input::defineVectorInputFileSchema (axom::inlet::Container &container)
 Defines the schema for a vector in R^{1,2,3} space. More...
 

Detailed Description

This file contains the all the necessary functions for reading input files.

Definition in file input.hpp.