1#ifndef NGEN_REALIZATION_CONFIG_H 
    2#define NGEN_REALIZATION_CONFIG_H 
    4#include <boost/property_tree/ptree.hpp> 
    6#include "formulation.hpp" 
   29        Config(
const boost::property_tree::ptree& tree){
 
   31            auto possible_forcing = tree.get_child_optional(
"forcing");
 
   33            if (possible_forcing) {
 
   37            auto possible_formulation_tree = tree.get_child_optional(
"formulations..");
 
   38            if(possible_formulation_tree){
 
 
 
 
Definition Bmi_C_Formulation.hpp:11
 
Structure representing the configuration for a general Formulation.
Definition config.hpp:16
 
bool has_formulation()
Determine if the config has a formulation.
Definition config.hpp:49
 
Forcing forcing
Definition config.hpp:54
 
Config()=default
Construct a new Config object.
 
Formulation formulation
Definition config.hpp:53
 
Config(const boost::property_tree::ptree &tree)
Construct a new Config object from a property tree.
Definition config.hpp:29
 
Structure for holding forcing configuration information.
Definition forcing.hpp:15