QuarterHohlraum Family

class QuarterHohlraum : public ProblemBase

Subclassed by QuarterHohlraum_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.

virtual void ComputeCurrentOutflow(const VectorVector &solution) override

Computes Problemspeagnostic Scalar QOI.

virtual void ComputeMaxOrdinatewiseOutflow(const VectorVector &solution) override

Computes Problemspeagnostic 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)

std::vector<double> _cornerLowerLeftGreen

Coord of corner of the green area (minus thickness/2 of it)

std::vector<double> _cornerUpperRightGreen

Coord of corner of the green area (minus thickness/2 of it)

std::vector<double> _cornerLowerRightGreen

Coord of corner of the green area (minus thickness/2 of it)

double _thicknessGreen

thickness of the green area

double _redRightTop

x coord of the right top corner of the red area

double _posRedRightBorder

x coord of the left border 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.

Private Members

std::map<unsigned, bool> _ghostCellsReflectingX

map that indicates if a ghostcell has a fixed value or is a mirroring boundary

std::map<unsigned, bool> _ghostCellsReflectingY

map that indicates if a ghostcell has a fixed value or is a mirroring boundary

std::map<unsigned, unsigned> _quadratureXReflection

map that gives a Reflection against the x axis for the velocity ordinates

std::map<unsigned, unsigned> _quadratureYReflection

map that gives a Reflection against the y axis for the velocity ordinates

class QuarterHohlraum_Moment : public QuarterHohlraum

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.