pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Allow the TPS driver to handle the time stepping #217

Closed uvilla closed 1 year ago

uvilla commented 1 year ago

This PR allows to perform time stepping directly from the TPS driver. It is needed to couple with other external solvers such as Bolzmann.

New interfaces in TPS::Solver and children classes:

Refactor TPS::CycleAvgJouleCoupling:

New interfaces in TPS::Tps:

Example of ini file for refactored TPS::CycleAvgJouleCoupling:

[cycle-avg-joule-coupled]
max-iters = 10
solve-em-every-n = 10
axisymmetric = False
input-power = -1.
initial-input-power = -1.