Skip to content

Commit b619eec

Browse files
authored
Merge pull request #3593 from lindsayad/error-to-warning-for-eigen
Change error to warning for constraints in EigenSystem
2 parents 797bc20 + 109f8c7 commit b619eec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/systems/eigen_system.C

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,10 @@ void EigenSystem::reinit ()
209209
void EigenSystem::solve ()
210210
{
211211
if (get_dof_map().n_constrained_dofs())
212-
libmesh_error_msg("EigenSystem does not support constrained degrees of freedom. If you wish to "
213-
"perform a solve on a system with constraints, then please use the "
214-
"CondensedEigenSystem class instead");
212+
libmesh_warning("EigenSystem does not have first-class support for constrained degrees of "
213+
"freedom. You may see spurious effects of the constrained degrees of freedom "
214+
"in a given eigenvector. If you wish to perform a reliable solve on a system "
215+
"with constraints, please use the CondensedEigenSystem class instead");
215216

216217
// A reference to the EquationSystems
217218
EquationSystems & es = this->get_equation_systems();

0 commit comments

Comments
 (0)