Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Namespaces | Typedefs | Functions
ProgramOptions.hpp File Reference
#include "fub/Direction.hpp"
#include <map>
#include <optional>
#include <string>
#include <boost/filesystem.hpp>
#include <mpi.h>
#include <pybind11/embed.h>
#include <pybind11/stl.h>

Go to the source code of this file.

Namespaces

 fub
 The fub namespace.
 

Typedefs

using fub::ProgramOptions = std::map< std::string, pybind11::object >
 

Functions

ProgramOptions fub::ParsePythonScript (const boost::filesystem::path &path, MPI_Comm comm)
 
ProgramOptions fub::ToMap (const pybind11::dict &dict)
 
template<typename T >
fub::GetOptionOr (const ProgramOptions &map, const std::string &name, const T &value)
 
template<>
Direction fub::GetOptionOr (const ProgramOptions &map, const std::string &name, const Direction &value)
 
ProgramOptions fub::GetOptions (const ProgramOptions &options, const std::string &name)
 
std::optional< ProgramOptions > fub::ParseCommandLine (int argc, char **argv)