hummingbird
Solving the self-adjoint angular flux transport equation using spectral elements on Cartesian geometry
Loading...
Searching...
No Matches
hummingbird::SEMProblem Class Reference

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.

Detailed Description

Wrapper class that owns a ProblemBase of the type corresponding to the given FEFormulation.

Definition at line 18 of file sem_problem.h.

Constructor & Destructor Documentation

◆ SEMProblem()

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.

Parameters
fe_formulationFinite element formulation to use
meshMesh
n_ordinatesNumber of ordinates in angular quadrature
Exceptions
std::runtime_errorif fe_formulation is not supported

Definition at line 6 of file sem_problem.cc.

Member Function Documentation

◆ get()

ProblemBase * hummingbird::SEMProblem::get ( ) const
inline

Get the underlying ProblemBase object.

Returns
ProblemBase*

Definition at line 37 of file sem_problem.h.

Member Data Documentation

◆ sem_problem_

std::unique_ptr<ProblemBase> hummingbird::SEMProblem::sem_problem_
private

Concrete ProblemBase implementation for the chosen formulation.

Definition at line 41 of file sem_problem.h.


The documentation for this class was generated from the following files:
  • /home/runner/work/hummingbird/hummingbird/include/problem/sem_problem.h
  • /home/runner/work/hummingbird/hummingbird/src/problem/sem_problem.cc