Skip to content
Snippets Groups Projects
Commit ae949485 authored by wenqing's avatar wenqing
Browse files

[AssmLib] Split some long comment lines.

parent 8e2e11ab
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,8 @@ MeshComponentMap::MeshComponentMap(
comp_id, signed_global_id) );
}
// Note: If the cells are really used (e.g. for the mixed FEM), the following global cell index must be reconsidered
// Note: If the cells are really used (e.g. for the mixed FEM),
// the following global cell index must be reconsidered
// according to the employed cell indexing method.
for (std::size_t j=0; j<mesh_subset.getNElements(); j++)
_dict.insert(Line(Location(mesh_id, MeshLib::MeshItemType::Cell, j),
......@@ -79,13 +80,14 @@ MeshComponentMap::MeshComponentMap(
comp_id, signed_global_id) );
}
// Note: If the cells are really used (e.g. for the mixed FEM), the following global cell index must be reconsidered
// Note: If the cells are really used (e.g. for the mixed FEM),
// the following global cell index must be reconsidered
// according to the employed cell indexing method.
for (std::size_t j=0; j<mesh_subset.getNElements(); j++)
_dict.insert(Line(Location(mesh_id, MeshLib::MeshItemType::Cell, j),
comp_id, cell_index++));
global_index_offset += mesh.getNGlobalNodes(); // Include base nodes. Should be considered again for a general case.
// Include base nodes.
global_index_offset += mesh.getNGlobalNodes();
}
_num_global_dof += mesh.getNGlobalNodes();
......
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