Review comments.

This commit is contained in:
Vladimir Z Tomov
2025-03-23 23:02:13 -07:00
parent fd451123c9
commit beb78bfddd
8 changed files with 37 additions and 25 deletions
+1
View File
@@ -976,6 +976,7 @@ void NodalFiniteElement::ProjectDiv(
void NodalFiniteElement::ReorderLexToNative(int ncomp,
Vector &dofs) const
{
MFEM_ASSERT(lex_ordering.Size() == dof, "Permutation is not defined by FE.");
MFEM_ASSERT(dofs.Size() == ncomp * dof, "Wrong input size.");
Vector dofs_native(ncomp * dof);