CSDMNSolver
Continuous slowing-down MN solver.
Source:
include/solvers/csdmnsolver.hpp
src/solvers/csdmnsolver.cpp
-
class CSDMNSolver : public MNSolver
Public Functions
-
CSDMNSolver(Config *settings)
CSDMNSolver constructor.
- Parameters:
settings – stores all needed information
Private Functions
-
virtual void SolverPreprocessing() override
Performs preprocessing steps before the pseudo time iteration is started.
-
virtual void IterPreprocessing(unsigned) override
Performs preprocessing for the current solver iteration.
- Parameters:
idx_iter – current (peudo) time iteration
-
virtual void IterPostprocessing(unsigned) override
Performs postprocessing for the current solver iteration.
-
virtual void FluxUpdate() override
Constructs the flux update for the current iteration and stores it in psiNew.
-
virtual void FVMUpdate(unsigned idx_energy) override
Computes the finite Volume update step for the current iteration.
- Parameters:
idx_iter – current (peudo) time iteration
-
virtual void PrepareVolumeOutput() override
Initializes the output groups and fields of this solver and names the fields.
-
virtual 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
-
CSDMNSolver(Config *settings)