Wrapper class that owns a ProblemBase of the type corresponding to the given FEFormulation. More...
#include <sem_problem.h>
Public Member Functions | |
| SEMProblem (const FEFormulation fe_formulation, const Mesh &mesh, const size_t n_ordinates) | |
| Construct a new SEMProblem object, creating the concrete ProblemBase implementation matching fe_formulation. | |
| ProblemBase * | get () const |
| Get the underlying ProblemBase object. | |
Private Attributes | |
| std::unique_ptr< ProblemBase > | sem_problem_ |
| Concrete ProblemBase implementation for the chosen formulation. | |
Wrapper class that owns a ProblemBase of the type corresponding to the given FEFormulation.
Definition at line 18 of file sem_problem.h.
| hummingbird::SEMProblem::SEMProblem | ( | const FEFormulation | fe_formulation, |
| const Mesh & | mesh, | ||
| const size_t | n_ordinates ) |
Construct a new SEMProblem object, creating the concrete ProblemBase implementation matching fe_formulation.
| fe_formulation | Finite element formulation to use |
| mesh | Mesh |
| n_ordinates | Number of ordinates in angular quadrature |
| std::runtime_error | if fe_formulation is not supported |
Definition at line 6 of file sem_problem.cc.
|
inline |
Get the underlying ProblemBase object.
Definition at line 37 of file sem_problem.h.
|
private |
Concrete ProblemBase implementation for the chosen formulation.
Definition at line 41 of file sem_problem.h.