mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
mutex protecting hprefinement
This commit is contained in:
parent
f3c60f0e04
commit
f31ac31e1d
@ -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);
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user