MappingQCache<dim, spacedim>::MappingQCache(
const unsigned int polynomial_degree)
: MappingQGeneric<dim, spacedim>(polynomial_degree)
+ , uses_level_info(false)
{}
const MappingQCache<dim, spacedim> &mapping)
: MappingQGeneric<dim, spacedim>(mapping)
, support_point_cache(mapping.support_point_cache)
+ , uses_level_info(mapping.uses_level_info)
{}
/* copy_data */ nullptr,
2 * MultithreadInfo::n_threads(),
/* chunk_size = */ 1);
+
+ uses_level_info = true;
}
return points;
});
+
+ uses_level_info = true;
}
return new_point;
},
function_describes_relative_displacement);
+
+ uses_level_info = true;
}
return result;
});
+
+ uses_level_info = false;
}
return result;
});
+
+ uses_level_info = true;
}
ExcMessage("Must call MappingQCache::initialize() before "
"using it or after mesh has changed!"));
+ Assert(uses_level_info || cell->is_active(), ExcInternalError());
+
AssertIndexRange(cell->level(), support_point_cache->size());
AssertIndexRange(cell->index(), (*support_point_cache)[cell->level()].size());
return (*support_point_cache)[cell->level()][cell->index()];