25 #ifndef GRINS_PARSED_FUNCTION_NEUMANN_OLD_STYLE_BC_FACTORY_H
26 #define GRINS_PARSED_FUNCTION_NEUMANN_OLD_STYLE_BC_FACTORY_H
36 template<
typename FunctionType>
51 virtual SharedPtr<NeumannBCAbstract>
55 const std::string& section );
61 template<
typename FunctionType>
63 SharedPtr<NeumannBCAbstract>
67 const std::string& section )
69 libmesh_assert_equal_to( this->_bc_ids->size(), 1 );
71 std::string flux_input = section+
"/"+this->flux_input()+
"_"+
72 StringUtilities::T_to_string<unsigned int>( *(this->_bc_ids->begin()) );
77 return this->build_neumman_func_common( input, system, fe_var, flux_input );
80 template<
typename FunctionType>
94 {
return "traction"; }
99 #endif // GRINS_PARSED_FUNCTION_NEUMANN_OLD_STYLE_BC_FACTORY_H
~ParsedFunctionNeumannOldStyleBCFactory()
virtual std::string flux_input() const
ParsedFunctionNeumannOldStyleBCFactory(const std::string &bc_type_name)
~TractionOldStyleBCFactory()
Interface with libMesh for solving Multiphysics problems.
const std::vector< std::string > & active_var_names() const
Return the var names that are active from this class.
virtual std::string flux_input() const =0
virtual SharedPtr< NeumannBCAbstract > build_neumann_func(const GetPot &input, MultiphysicsSystem &system, const FEVariablesBase &fe_var, const std::string §ion)
Builds the NeumannBCAbstract object for Neumann boundary conditions.
TractionOldStyleBCFactory(const std::string &bc_type_name)