26 #ifndef GRINS_NBC_CONTAINER_H
27 #define GRINS_NBC_CONTAINER_H
52 std::tr1::shared_ptr<NeumannFuncObj> func );
61 std::map<VariableIndex,std::tr1::shared_ptr<NeumannFuncObj> >
_funcs;
67 #endif // GRINS_NBC_CONTAINER_H
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
std::tr1::shared_ptr< NeumannFuncObj > get_func(VariableIndex var) const
libMesh::boundary_id_type BoundaryID
More descriptive name of the type used for boundary ids.
std::map< VariableIndex, std::tr1::shared_ptr< NeumannFuncObj > > _funcs
void add_var_func_pair(VariableIndex var, std::tr1::shared_ptr< NeumannFuncObj > func)
Add boundary id and corresponding functor object to be applied on that boundary.
Simple helper class to setup general Neumann boundary conditions.
BoundaryID get_bc_id() const
void set_bc_id(BoundaryID bc_id)
Add variable for which this boundary condition is to be applied.