29 #include "libmesh/getpot.h"
48 virtual SharedPtr<CompositeQoI>
build(
const GetPot& input);
52 virtual void add_qoi(
const GetPot& input,
53 const std::string& qoi_name,
54 SharedPtr<CompositeQoI>& qois );
57 const std::string& qoi_name );
62 const std::set<std::string>& required_physics,
63 const std::string& qoi_name );
65 void consistency_error_msg(
const std::string& qoi_name,
const std::set<std::string>& required_physics );
70 void get_var_value(
const GetPot & input, T & value, std::string input_var, T default_value);
73 #endif // QOI_FACTORY_H
virtual SharedPtr< CompositeQoI > build(const GetPot &input)
virtual void check_qoi_physics_consistency(const GetPot &input, const std::string &qoi_name)
void consistency_error_msg(const std::string &qoi_name, const std::set< std::string > &required_physics)
void get_var_value(const GetPot &input, T &value, std::string input_var, T default_value)
Helper function to read a required value from the input file, or error if value is missing...
virtual void echo_qoi_list(SharedPtr< CompositeQoI > &qois)
void consistency_helper(const std::set< std::string > &requested_physics, const std::set< std::string > &required_physics, const std::string &qoi_name)
virtual void add_qoi(const GetPot &input, const std::string &qoi_name, SharedPtr< CompositeQoI > &qois)