25 #ifndef GRINS_DEFAULT_VARIABLE_BUILDER_H
26 #define GRINS_DEFAULT_VARIABLE_BUILDER_H
33 #include "libmesh/getpot.h"
51 const std::string& var_type,
52 const std::string& var_section,
53 std::vector<std::string>& var_names )
const;
58 const std::string& var_section,
59 const std::string& var_type )
const;
64 const std::string& var_section,
65 const std::string& var_type )
const;
73 const std::string& var_section )
const
75 return input(input_sec,var_section); }
79 const std::string& var_section,
80 std::set<libMesh::subdomain_id_type>& subdomain_ids );
85 #endif // GRINS_DEFAULT_VARIABLE_BUILDER_H
std::string parse_fe_order(const GetPot &input, const std::string &var_section, const std::string &var_type) const
Helper function to extract [Varaiable//order] from input.
static std::string variables_section()
Helper function to encapsualte the overall [Variables] section name.
std::string parse_var_type(const GetPot &input, const std::string &var_section) const
Parses the [Variable//var_type] option.
void parse_subdomain_ids(const std::set< libMesh::subdomain_id_type > &mesh_subdomain_ids, const GetPot &input, const std::string &var_section, std::set< libMesh::subdomain_id_type > &subdomain_ids)
This class contains common functions used by various Builders throughout GRINS.
Manages runtime construction of the FEVariableBase objects.
~DefaultVariableBuilder()
void parse_var_names(const GetPot &input, const std::string &var_type, const std::string &var_section, std::vector< std::string > &var_names) const
Parse [Variable//names].
virtual void build_variables_impl(const GetPot &input, MultiphysicsSystem &system)
Implementation of Variable construction done in subclasses.
Interface with libMesh for solving Multiphysics problems.
std::string parse_fe_family(const GetPot &input, const std::string &var_section, const std::string &var_type) const
Helper function to extract from input.