Skip to content

Commit 51dee79

Browse files
committed
Update sanity check message
1 parent ddbbb0c commit 51dee79

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/base/dof_map.C

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3166,10 +3166,11 @@ void discontinuity_sanity_check(const System & sys,
31663166
for (const auto dim : sub_elem_dims)
31673167
var_elem_dims.insert(dim);
31683168
}
3169-
libmesh_assert_msg(var_elem_dims.size() <= 1,
3170-
"Discontinuous finite element families cannot live on elements with "
3171-
"different dimensions because this violates the idea that the family is "
3172-
"discontinuous (undefined) at the interface between elements");
3169+
libmesh_assert_msg(
3170+
var_elem_dims.size() <= 1,
3171+
"Discontinuous finite element families are typically associated with discontinuous Galerkin "
3172+
"methods. If degrees of freedom are associated with different values of element dimension, "
3173+
"then generally this will result in a singular system after application of the DG method.");
31733174
}
31743175
}
31753176
#endif

0 commit comments

Comments
 (0)