Core dumped when using MMG3D with Coherence
Dear gmsh support,
I get the following error
## memory alloc problem (hash)
*** Error in `gmsh': free(): invalid next size (normal): 0x00000000073b61d0 ***
## ABNORMAL END. STOP
*** Error in `gmsh': free(): corrupted unsorted chunks: 0x0000000007010990 ***
Aborted (core dumped)
when 3d-meshing this .geo file
SetFactory("OpenCASCADE");
Mesh.Algorithm = 7; // BAMG
Mesh.Algorithm3D = 7; // MMG3D
Box(1) = {0.0, 0.0, 0.0, 0.5, 1.0, 1.0};
Box(2) = {0.5, 0.5, 0.0, 0.5, 1.0, 1.0};
Coherence;
Field[1] = MathEvalAniso;
Field[1].m11 = "1.0/(0.05)^2";
Field[1].m12 = "0.0";
Field[1].m13 = "0.0";
Field[1].m22 = "1.0/(0.2)^2";
Field[1].m23 = "0.0";
Field[1].m33 = "1.0/(0.2)^2";
Background Field = 1;
However, everything goes fine if I remove/comment the Coherence
or one of the Box
es.
Best regards