Smith  0.1
Smith is an implicit thermal structural 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 <functional>
#include <memory>
#include <set>
#include <unordered_map>
#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  smith::input::CoefficientInputOptions
 The information required from the input file for an mfem::(Vector)(Function)Coefficient. More...
 
struct  smith::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< smith::input::CoefficientInputOptions >
 Prototype the specialization for Inlet parsing. More...
 
struct  FromInlet< smith::input::BoundaryConditionInputOptions >
 Prototype the specialization for Inlet parsing. More...
 

Namespaces

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

Enumerations

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

Functions

axom::inlet::Inlet smith::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 smith::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 smith::input::fullDirectoryFromPath (const std::string &file_path)
 Returns the absolute directory of the given file path. More...
 
std::string smith::input::getInputFileName (const std::string &file_path)
 Returns the name of the input file (base name with file extension removed). More...
 
void smith::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.