SymmetricHohlraum Family
-
class SymmetricHohlraum : public ProblemBase
Subclassed by SymmetricHohlraum_Moment
Public Functions
-
virtual std::vector<VectorVector> GetExternalSource(const Vector &energies) override
GetExternalSource gives back vector of vectors of source terms for each energy, cell and angle.
- Parameters:
energies – is the energy the cross section is queried for
-
virtual VectorVector SetupIC() override
Setup the initial condition for the flux psi.
-
virtual VectorVector GetScatteringXS(const Vector &energies) final override
GetScatteringXS gives back vector (each energy) of vectors (each grid cell) of scattering cross sections for materials defined by density and energies in vector energy.
- Parameters:
energies – is the energy the cross section is queried for
-
virtual VectorVector GetTotalXS(const Vector &energies) final override
GetTotalXS gives back vector of vectors of total cross sections for materials defined by density and energies in vector energy.
- Parameters:
energies – is the energy the cross section is queried for
-
virtual const Vector &GetGhostCellValue(int idx_cell, const Vector &cell_sol) final override
Returns the Value of the ghost cell with index idx_cell.
-
virtual void ComputeCurrentAbsorptionHohlraum(const Vector &scalarFlux) override
Computes Problemspecific Scalar QOI.
-
virtual void ComputeTotalAbsorptionHohlraum(double dT) override
Computes Problemspecific Scalar QOI.
-
virtual void ComputeCurrentProbeMoment(const VectorVector &solution) override
Computes Problemspecific Scalar QOI.
-
virtual void ComputeVarAbsorptionGreen(const Vector &scalarFlux) override
Computes Problemspecific Scalar QOI.
-
virtual void ComputeQOIsGreenProbingLine(const Vector &scalarFlux) override
Computes Problemspecific Scalar QOI.
Protected Functions
-
virtual void SetGhostCells() override
Sets vector of ghost cells for boundary conditions.
-
void SetProbingCellsLineGreen()
Sets cell ids for probing cells on the green line of the hohlraum.
Protected Attributes
-
Vector _sigmaS
Vector of scattering crosssections.
-
Vector _sigmaT
Vector of total crosssections.
-
std::vector<double> _cornerUpperLeftGreen
Coord of corner of the green area (minus thickness/2 of it) relative to the green center.
-
std::vector<double> _cornerLowerLeftGreen
Coord of corner of the green area (minus thickness/2 of it) relative to the green center.
-
std::vector<double> _cornerUpperRightGreen
Coord of corner of the green area (minus thickness/2 of it) relative to the green center.
-
std::vector<double> _cornerLowerRightGreen
Coord of corner of the green area (minus thickness/2 of it) relative to the green center.
-
double _widthGreen
width of the green area
-
double _heightGreen
height of the green area
-
double _thicknessGreen
thickness of the green area
-
double _redLeftTop
y coord of the top of the left red area
-
double _redLeftBottom
y coord of the bottom of the left red area
-
double _redRightTop
y coord of the top of the right red area
-
double _redRightBottom
y coord of the bottom of the right red area
-
double _posRedLeftBorder
thickness of the left red area
-
double _posRedRightBorder
thickness of the right red area
-
double _curAbsorptionHohlraumCenter
Absorption of particles at Hohlraum center at current time step
-
double _curAbsorptionHohlraumVertical
Absorption of particles at Hohlraum vertical walls at current time step.
-
double _curAbsorptionHohlraumHorizontal
Absorption of particles at Hohlraum horizontal walls at current time step.
-
double _totalAbsorptionHohlraumCenter
Absorption of particles at Hohlraum center integrated until current time step
-
double _totalAbsorptionHohlraumVertical
Absorption of particles at Hohlraum vertical walls integrated until current time step.
-
double _totalAbsorptionHohlraumHorizontal
Absorption of particles at Hohlraum horizontal walls integrated until current time step.
-
double _varAbsorptionHohlraumGreen
Absorption of particles at Hohlraum green center cells integrated at current time step.
-
std::vector<unsigned> _probingCells
Indices of cells that contain a probing sensor.
-
VectorVector _probingMoments
Solution Momnets at the probing cells that contain a probing sensor.
-
unsigned _nProbingCellsLineGreen
Number of sampling cells that contain a probing sensor for the sliding window.
-
std::vector<unsigned> _probingCellsLineGreen
Indices of cells that contain a probing sensor for the sliding window.
-
std::vector<double> _absorptionValsIntegrated
Avg Absorption value at the sampleing points of lineGreen.
-
std::vector<double> _varAbsorptionValsIntegrated
Var in Avg Absorption value at the sampleing points of lineGreen.
-
virtual std::vector<VectorVector> GetExternalSource(const Vector &energies) override
-
class SymmetricHohlraum_Moment : public SymmetricHohlraum
Public Functions
-
virtual std::vector<VectorVector> GetExternalSource(const Vector &energies) final override
GetExternalSource gives back vector of vectors of source terms for each energy, cell and angle.
- Parameters:
energies – is the energy the cross section is queried for
-
virtual VectorVector SetupIC() final override
Setup the initial condition for the flux psi.
-
virtual void ComputeCurrentProbeMoment(const VectorVector &solution) final override
Computes Problemspecific Scalar QOI.
-
virtual std::vector<VectorVector> GetExternalSource(const Vector &energies) final override