Skip to content
Snippets Groups Projects
Commit e40c79e9 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[T] DOF: document test code assumptions.

parent 8795a760
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,10 @@ void NumLibLocalToGlobalIndexMapMultiDOFTest::test(
ASSERT_EQ(2, global_idcs.size()); // boundary of quad is line with two nodes
for (unsigned n=0; n<2; ++n) // boundary of quad is line with two nodes
// e is the number of a boundary element (which is a line, so two
// nodes) from 0 to something. e+n must be the node ids along the
// x-axis of the mesh;
for (unsigned n = 0; n < 2; ++n)
{
auto const node = e + n;
auto const glob_idx =
......@@ -286,8 +289,10 @@ void NumLibLocalToGlobalIndexMapMultiDOFTest::test(
2,
global_idcs.size()); // boundary of quad is line with two nodes
for (unsigned n = 0; n < 2;
++n) // boundary of quad is line with two nodes
// e is the number of a boundary element (which is a line, so two
// nodes) from 0 to something. e+n must be the node ids along the
// x-axis of the mesh;
for (unsigned n = 0; n < 2; ++n)
{
auto const node = e + n;
auto const glob_idx =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment