mutex protecting hprefinement

This commit is contained in:
Joachim Schoeberl 2011-01-13 18:21:27 +00:00
parent f3c60f0e04
commit f31ac31e1d

View File

@ -1143,6 +1143,7 @@ void Ng_HPRefinement (int levels, double parameter)
void Ng_HPRefinement (int levels, double parameter, bool setorders,
bool ref_level)
{
NgLock meshlock (mesh->MajorMutex(), true);
Refinement & ref = const_cast<Refinement&> (ng_geometry -> GetRefinement());
HPRefinement (*mesh, &ref, levels);
/*