GRINS-0.8.0
List of all members | Public Member Functions | Private Attributes
GRINS::NeumannBCContainer Class Reference

#include <neumann_bc_container.h>

Collaboration diagram for GRINS::NeumannBCContainer:
Collaboration graph
[legend]

Public Member Functions

 NeumannBCContainer (const std::set< BoundaryID > &bc_ids, const FEVariablesBase &fe_var, SharedPtr< NeumannBCAbstract > &func)
 
 ~NeumannBCContainer ()
 
bool has_bc_id (BoundaryID bc_id)
 
const FEVariablesBaseget_fe_var ()
 
SharedPtr< NeumannBCAbstract > & get_func ()
 

Private Attributes

std::set< BoundaryID_bc_ids
 
const FEVariablesBase_fe_var
 
SharedPtr< NeumannBCAbstract_func
 

Detailed Description

Definition at line 39 of file neumann_bc_container.h.

Constructor & Destructor Documentation

GRINS::NeumannBCContainer::NeumannBCContainer ( const std::set< BoundaryID > &  bc_ids,
const FEVariablesBase fe_var,
SharedPtr< NeumannBCAbstract > &  func 
)
inline

Definition at line 42 of file neumann_bc_container.h.

44  : _bc_ids(bc_ids),
45  _fe_var(fe_var),
46  _func(func)
47  {}
SharedPtr< NeumannBCAbstract > _func
const FEVariablesBase & _fe_var
std::set< BoundaryID > _bc_ids
GRINS::NeumannBCContainer::~NeumannBCContainer ( )
inline

Definition at line 49 of file neumann_bc_container.h.

49 {};

Member Function Documentation

const FEVariablesBase& GRINS::NeumannBCContainer::get_fe_var ( )
inline

Definition at line 54 of file neumann_bc_container.h.

References _fe_var.

55  { return _fe_var; }
const FEVariablesBase & _fe_var
SharedPtr<NeumannBCAbstract>& GRINS::NeumannBCContainer::get_func ( )
inline

Definition at line 57 of file neumann_bc_container.h.

References _func.

58  { return _func; }
SharedPtr< NeumannBCAbstract > _func
bool GRINS::NeumannBCContainer::has_bc_id ( BoundaryID  bc_id)
inline

Definition at line 51 of file neumann_bc_container.h.

References _bc_ids.

52  { return (_bc_ids.find(bc_id) != _bc_ids.end()); }
std::set< BoundaryID > _bc_ids

Member Data Documentation

std::set<BoundaryID> GRINS::NeumannBCContainer::_bc_ids
private

Definition at line 62 of file neumann_bc_container.h.

Referenced by has_bc_id().

const FEVariablesBase& GRINS::NeumannBCContainer::_fe_var
private

Definition at line 64 of file neumann_bc_container.h.

Referenced by get_fe_var().

SharedPtr<NeumannBCAbstract> GRINS::NeumannBCContainer::_func
private

Definition at line 66 of file neumann_bc_container.h.

Referenced by get_func().


The documentation for this class was generated from the following file:

Generated on Tue Dec 19 2017 12:47:31 for GRINS-0.8.0 by  doxygen 1.8.9.1