Function opensn::NLKEigenResidualFunction

Function Documentation

PetscErrorCode opensn::NLKEigenResidualFunction(SNES snes, Vec phi, Vec r, void *ctx)

This function evaluates the flux moments based k-eigenvalue transport residual of the form \( r(\phi) = DL^{-1} (\frac{1}{k} F\phi + MS \phi) - \phi \).