3.3 Running

In this paragraph, we suppose that you have a MESH file named c1.mesh 2 that you would remesh and optionnaly an associated metric named c1.sol 3. To launch the software, it is enough to type one of the following commands in terminal window:
mmg3d4.0 -O 1 c1
mmg3d -O 1 -in c1
You will obtain a new mesh named c1.o.meshb and the associated metric named c1.o.solb.

If you would modify the output name: mmg3d4.0 -O 1 c1 myoutname.mesh or mmg3d -O 1 -in cube -out myoutname.mesh
In this case, you will obtain the two following files : myoutname.mesh and myoutname.sol

To visualize this mesh, you could use the software Medit downloadable at the following url:
http://www.ann.jussieu.fr/~frey/logiciels/

Remark :in the case where there is no metric file, the software builds one starting from the initial mesh.

NB :if you do not give the file extension ( .mesh(b) ), Mmg3d first finds the binary file then if there is no meshb file, it tries to open ASCII file. In other words, if you have in the same directory the files toto.mesh and toto.meshb and that you type mmg3d -O 1 toto, the infile will be toto.meshb.
back to the content



Dobrzynski 2012-03-23