Option to reduce or completely hide the display in the terminal

I’m using MMG with FreeFEM on mac OSX.
What options do I have to remove the following from the terminal when I run MMG?

– MMG2D, Release 5.4.3 (Feb. 26, 2020)
Copyright © Bdx INP/CNRS/Inria/UPMC, 2004-
Feb 26 2020 15:06:59

– INPUT DATA
%% ./Temp/LvSet.mesh OPENED
%% ./Temp/LvSet.sol OPENED
– DATA READING COMPLETED. 0.025s

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
MODULE MMG2D: 5.4.3 (Feb. 26, 2020)
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

– MMG2DLS: INPUT DATA
– INPUT DATA COMPLETED. 0.000s

– PHASE 1 : ISOSURFACE DISCRETIZATION

– MESH QUALITY 10643
BEST 0.999997 AVRG. 0.963288 WRST. 0.740326 (3297)
HISTOGRAMM: 100.00 % > 0.12
*** Manifold implicit surface.
– PHASE 1 COMPLETED. 0.003s

– PHASE 2 : ANALYSIS
– PHASE 2 COMPLETED. 0.000s

– PHASE 3 : MESH IMPROVEMENT
10147 splitted, 0 collapsed, 2517 swapped, 3 iter.

– GRADATION : 1.300000 (2.300000)
669 splitted, 11373 collapsed, 1876 swapped, 27755 moved, 4 iter.
– PHASE 3 COMPLETED. 0.101s

– MESH QUALITY 10804
BEST 0.999998 AVRG. 0.964258 WRST. 0.766099 (10347)
HISTOGRAMM: 100.00 % > 0.12

– MESH PACKED UP
NUMBER OF VERTICES 5555 CORNERS 8
NUMBER OF TRIANGLES 10804
NUMBER OF EDGES 304

MMG2DLS: ELAPSED TIME 0.107s

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
END OF MODULE MMG2D
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Hi,

To remove the Mmg output entirely, you must tune the verbosity level and set it to -1.

From what I understand from this example of mmg call within freefem++ and from the plugin/seq/mmg.cpp file, you just need to add the verbose=-1 argument to your Mmg call:

- Th3 = mmg3d(ThBackup, metric = met, hgrad = 3.0, requiredTriangle = rt);
+ Th3 = mmg3d(ThBackup, metric = met, hgrad = 3.0, requiredTriangle = rt, verbose = -1 );

Regards,
Algiane

Hi,

Thank you very much.
My questions have been answered.

Best,
tky