29 #include "libmesh/composite_function.h"
30 #include "libmesh/composite_fem_function.h"
31 #include "libmesh/parsed_function.h"
32 #include "libmesh/parsed_fem_function.h"
36 template<
typename FunctionType>
37 libMesh::UniquePtr<FunctionType>
40 std::vector<std::string>& var_names,
41 const std::string& section )
43 libmesh_assert_equal_to( var_names.size(), 1 );
45 std::vector<VariableIndex> dbc_vars(1,system.variable_number(var_names[0]));
50 libMesh::UniquePtr<FunctionType> all_funcs = this->build_composite_func();
53 composite_type * composite_func =
54 libMesh::cast_ptr<composite_type *>(all_funcs.get());
56 composite_func->attach_subfunction
virtual libMesh::UniquePtr< FunctionType > build_func(const GetPot &input, MultiphysicsSystem &system, std::vector< std::string > &var_names, const std::string §ion)
Builds the FunctionBase object for boundary condition.
Interface with libMesh for solving Multiphysics problems.