Hi,
I am using slightly modified nglib interface for meshing. However, remeshing does not work as expected.
First I mark elements I need to be refined by passing true or false to function:
Code:
mesh->VolumeElement(el_index).SetRefinementFlag(flag)
then I use Bisect:
Code:
BisectionOptions bo;
bo.usemarkedelements = 1;
bo.refine_p = 1;
mesh->GetGeometry()->GetRefinement().Bisect(*mesh, bo);
me->UpdateTopology();
The result is that nothing gets refined. I suspect that function Bisect works only with
refinfofile is passed, otherwise, all marked elements are reset. Is there a way to bisect marked elements without passing the file?
Thank you!