CSDPNSolver

class CSDPNSolver : public PNSolver

Public Functions

CSDPNSolver(Config *settings)

CSDPNSolver constructor.

Parameters
  • settings: stores all needed information

Private Functions

void SolverPreprocessing() override

Performs preprocessing steps before the pseudo time iteration is started.

void IterPreprocessing(unsigned idx_iter) override

Performs preprocessing for the current solver iteration.

Parameters
  • idx_iter: current (peudo) time iteration

void IterPostprocessing(unsigned idx_iter) override

Performs postprocessing for the current solver iteration.

void FluxUpdate() override

Constructs the flux update for the current iteration and stores it in psiNew.

void FVMUpdate(unsigned idx_energy) override

Computes the finite Volume update step for the current iteration.

Parameters
  • idx_iter: current (peudo) time iteration

void PrepareVolumeOutput() override

Initializes the output groups and fields of this solver and names the fields.

void WriteVolumeOutput(unsigned idx_pseudoTime) override

Function that prepares VTK export and csv export of the current solver iteration.

Parameters
  • idx_iter: current (pseudo) time iteration

Private Members

std::vector<double> _dose

Radiation Dose.

Vector _eTrafo

Transformed energy grid.

Vector _sigmaTAtEnergy

Scattercoefficient at energy grid.