dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18813
[Question #119492]: Mesh Refinement Error
New question #119492 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/119492
Hello,
I get an error if I try to do mesh refinement. I am trying to refine the mesh "aneurysm.xml", which comes with dolfin. My requirement is that I need to refine all cells using Rivara bisection. My code is,
Mesh m1("./aneurysm.xml");
MeshFunction<bool> indicators(m1, m1.topology().dim());
indicators = true;
m1.refine(indicators);
The error I get is,
dolfin/mesh/MeshFunction.h:136: const T& dolfin::MeshFunction<T>::operator[](dolfin::uint) const [with T = unsigned int]: Assertion `index < _size' failed.
Can someone please tell me what could be wrong?
Thanks,
-Jehanzeb
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.