Skip to content

Commit

Permalink
Improved error message from Yaqi
Browse files Browse the repository at this point in the history
  • Loading branch information
roystgnr committed Apr 4, 2024
1 parent f09faa7 commit 741e790
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion framework/src/kernels/EigenKernel.C
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,11 @@ EigenKernel::enabled() const
if (_eigen)
{
if (!_eigen_sys)
mooseError("EigenKernel has eigen=true, but system is not a MooseEigenSystem.");
mooseError("Eigen kernel ",
name(),
" requires a MooseEigenSystem and was designed to work with old eigenvalue",
" executioners such as 'NonlinearEigen'. It is suggested to use the new",
" eigenvalue executioner 'Eigenvalue' along with kernel tagging");

if (_is_implicit)
return flag && (!_eigen_sys->activeOnOld());
Expand Down

0 comments on commit 741e790

Please sign in to comment.