openmc.deplete.abc.DepSystemSolver¶
-
class
openmc.deplete.abc.
DepSystemSolver
[source]¶ Abstract class for solving depletion equations
Responsible for solving
\[\frac{\partial \vec{N}}{\partial t} = \bar{A}\vec{N}(t),\]for \(0< t\leq t +\Delta t\), given \(\vec{N}(0) = \vec{N}_0\)
-
__call__
(A, n0, dt)[source]¶ Solve the linear system of equations for depletion
Parameters: - A (scipy.sparse.csr_matrix) – Sparse transmutation matrix
A[j, i]
desribing rates at which isotopei
transmutes to isotopej
- n0 (numpy.ndarray) – Initial compositions, typically given in number of atoms in some material or an atom density
- dt (float) – Time [s] of the specific interval to be solved
Returns: Final compositions after
dt
. Should be of identical shape ton0
.Return type: - A (scipy.sparse.csr_matrix) – Sparse transmutation matrix
-