pyopensn.solver.PRKSolver

class pyopensn.solver.PRKSolver

General transient solver for point kinetics.

Wrapper of opensn::PRKSolver.

Advance(self: pyopensn.solver.Solver) None

Advance time values function.

Execute(self: pyopensn.solver.Solver) None

Execute the solver.

GetPeriod(self: pyopensn.solver.PRKSolver) float

Get the period computed for the last time step.

GetPopulationNew(self: pyopensn.solver.PRKSolver) float

Get the population at the next time step.

GetPopulationPrev(self: pyopensn.solver.PRKSolver) float

Get the population at the previous time step.

GetSolutionNew(self: pyopensn.solver.PRKSolver) memoryview

Get the solution at the next time step.

GetSolutionPrev(self: pyopensn.solver.PRKSolver) memoryview

Get the solution at the previous time step.

GetTimeNew(self: pyopensn.solver.PRKSolver) float

Get the time computed for the next time step.

GetTimePrev(self: pyopensn.solver.PRKSolver) float

Get the time computed for the last time step.

Initialize(self: pyopensn.solver.Solver) None

Initialize the solver.

SetRho(self: pyopensn.solver.PRKSolver, rho: float) None

Set the value of rho. ??? (what is rho?)

Step(self: pyopensn.solver.Solver) None

Step the solver.

__init__(self: pyopensn.solver.PRKSolver, **kwargs) None

Construct a point reactor kineatic solver object.

Parameters:

???