<div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">Hi everyone</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">&nbsp;&nbsp; I have developed my application based on the sieve mesh object in the Pestc. And now,&nbsp;I encountered some &nbsp;serious problems.&nbsp;</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">&nbsp;1. The generation of mesh&nbsp;takes a lot of time, run very slowly. The following code is used:</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;double lower[2] = {-1.0, -1.0};</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;double upper[2] = {1.0, 1.0};</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;int &nbsp; &nbsp;edges[2] = {256,256};</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;mB = ALE::MeshBuilder&lt;ALE::Mesh&gt;::createSquareBoundary(comm, lower, upper, edges, debug);</div><div><div>&nbsp;&nbsp;ALE::ISieveConverter::convertMesh(*mB, *meshBd, renumbering, false);</div><div>&nbsp;&nbsp; &nbsp; &nbsp;ierr = PetscPrintf(PETSC_COMM_WORLD," End build convertMesh &nbsp;\n");CHKERRQ(ierr);</div><div>&nbsp;&nbsp; &nbsp; &nbsp;ierr = MeshSetMesh(boundary, meshBd);CHKERRQ(ierr);</div><div>&nbsp;&nbsp; &nbsp; &nbsp;ierr = PetscPrintf(PETSC_COMM_WORLD," Begin build MeshGenerate &nbsp;\n");CHKERRQ(ierr);</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;ierr = MeshGenerate(boundary,interpolate, &amp;mesh);CHKERRQ(ierr);</div></div><div>&nbsp;&nbsp;&nbsp;</div><div>&nbsp;&nbsp; 2. The refinement of mesh is also very slow. Th code:</div><div>&nbsp;&nbsp; &nbsp;&nbsp;refinementLimit=0.0001;</div><div>&nbsp;&nbsp; &nbsp;if (refinementLimit &gt; 0.0)&nbsp;</div><div>&nbsp;&nbsp; &nbsp;{</div><div>&nbsp;&nbsp; &nbsp; &nbsp;Mesh refinedMesh;</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;ierr = MeshRefine(mesh, refinementLimit,interpolate, &amp;refinedMesh);CHKERRQ(ierr);</div><div>&nbsp;&nbsp; &nbsp; &nbsp;ierr = MeshDestroy(mesh);CHKERRQ(ierr);</div><div>&nbsp;&nbsp; &nbsp; &nbsp;mesh = refinedMesh;</div><div>&nbsp;&nbsp; &nbsp;}</div><div><br></div><div>&nbsp;&nbsp; &nbsp;3. The distribution of mesh is also very slow. The code:</div><div>&nbsp;&nbsp; &nbsp;&nbsp;if (size &gt; 1)&nbsp;</div><div>&nbsp;&nbsp; &nbsp;{</div><div>&nbsp;&nbsp; &nbsp; &nbsp;Mesh parallelMesh;</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;//ierr = DistributeMeshnew(mesh, "chao", &amp;parallelMesh);CHKERRQ(ierr);</div><div>&nbsp;&nbsp; &nbsp; &nbsp;ierr = DistributeMeshnew(mesh, "parmetis", &amp;parallelMesh);CHKERRQ(ierr);</div><div>&nbsp;&nbsp; &nbsp; &nbsp;ierr = MeshDestroy(mesh);CHKERRQ(ierr);</div><div>&nbsp;&nbsp; &nbsp; &nbsp;mesh = parallelMesh;</div><div>&nbsp;&nbsp; &nbsp;}.</div><div>&nbsp;&nbsp;&nbsp;</div><div>&nbsp;&nbsp; &nbsp;Does anyone encounter these similar problem? If anyone can help, thank you very much! &nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp; And I wonder to consult which parallel mesh can work &nbsp;with Petsc very well, when we develop some complex problem?&nbsp;</div><div>&nbsp;&nbsp;&nbsp;</div><div>&nbsp;&nbsp; &nbsp;&nbsp;</div><div style="font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); "><sign signid="2"><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div>Fande Kong</div><div>ShenZhen Institutes of Advanced Technology</div><div>Chinese Academy of Sciences</div>
</div></sign></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">&nbsp;</div>