ABLATE Source Documentation  0.12.34
ablate::environment::RunEnvironment::Parameters Class Reference

#include <runEnvironment.hpp>

+ Inheritance diagram for ablate::environment::RunEnvironment::Parameters:

Public Member Functions

ParametersOutputDirectory (const std::filesystem::path &path)
 
ParametersTagDirectory (bool tag)
 
ParametersTitle (std::string simulationTitle)
 
- Public Member Functions inherited from ablate::parameters::MapParameters
 MapParameters (std::initializer_list< Parameter >)
 
 MapParameters (std::map< std::string, std::string > values={})
 
std::optional< std::string > GetString (std::string paramName) const override
 
std::unordered_set< std::string > GetKeys () const override
 
const std::map< std::string, std::string > & GetMap () const
 
template<class T >
void Insert (std::string key, T value)
 
- Public Member Functions inherited from ablate::parameters::Parameters
template<typename T >
std::optional< T > Get (std::string paramName) const
 
template<typename T >
Get (std::string paramName, T defaultValue) const
 
template<typename T >
GetExpect (std::string paramName) const
 
template<typename T >
std::map< std::string, T > ToMap () const
 
void Fill (PetscOptions options) const
 
template<typename T >
void Fill (int numberValues, const char *const *valueNames, T *constantArray) const
 
template<typename T >
void Fill (int numberValues, const char *const *valueNames, T *constantArray, std::map< std::string, T > defaultValues) const
 

Additional Inherited Members

- Static Public Member Functions inherited from ablate::parameters::MapParameters
static std::shared_ptr< MapParametersCreate (std::initializer_list< Parameter >)
 
static std::shared_ptr< MapParametersCreate (const std::map< std::string, std::string > &values)
 
- Protected Attributes inherited from ablate::parameters::MapParameters
std::map< std::string, std::string > values
 

Detailed Description

Run time parameters is a simple class that helps set RunEnvironmentParameters when not using an input file

Member Function Documentation

◆ OutputDirectory()

Parameters& ablate::environment::RunEnvironment::Parameters::OutputDirectory ( const std::filesystem::path &  path)
inline

directly set the output directory for the parameters

Returns

◆ TagDirectory()

Parameters& ablate::environment::RunEnvironment::Parameters::TagDirectory ( bool  tag)
inline

turn on directory tagging

Returns

◆ Title()

Parameters& ablate::environment::RunEnvironment::Parameters::Title ( std::string  simulationTitle)
inline

set the name for the simulation

Returns

The documentation for this class was generated from the following file: