Skip to content
Snippets Groups Projects
Commit 875817d3 authored by Tom Fischer's avatar Tom Fischer Committed by Dmitri Naumov
Browse files

[NL/DOF] Forward returned nop value instead of modifying

parent 9529d343
No related branches found
No related tags found
No related merge requests found
......@@ -250,6 +250,13 @@ GlobalIndexType MeshComponentMap::getLocalIndex(
std::size_t const range_end) const
{
GlobalIndexType const global_index = getGlobalIndex(l, comp_id);
// request for index of linear quantities at higher order nodes
// results in returning nop
// That index shall not be modified like a usual global index.
if (global_index == nop)
{
return nop;
}
#ifndef USE_PETSC
(void)range_begin;
(void)range_end;
......
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