Muscat.MeshTools.RemeshBackEnds.ParMmgRemeshing module¶
- class ParMmgRemeshing(mesh: Mesh, solution=None, levelset=None, metric=None)[source]¶
Bases:
object- Runner(remesher_options: dict, backEndOptions: dict)[source]¶
Run the process to write mesh in an inria mesh file, launch parmmg and read the resulting mesh
Notes
The inria mesh file (called temp_name) will be writen in a temporary directory
- Parameters:
remesher_options (dict) – keys corresponding to parmmg option name and value corresponding to value if applicable
backEndOptions (dict) –
Extra option for the “by file” parmmg communication “temp_name” : str
name of the output mesh file (without extension) default : “temp_file”
- ”binary”bool
defaults to True
- ”prefix”str
defaults to “parmmg”
- ”keep_temp_files”bool
defaults to False
- ”temp_dir”str
directory to store temporary files if none a Temporary Directory is used for temporary file, default None
- Returns:
mesh – parmmg resulting mesh from adaption
- Return type: