Muscat.MeshTools.RemeshBackEnds.FefloRemeshing module¶
- class FefloRemeshing(mesh: Mesh, solution=None, levelset=None, metric=None)[source]¶
Bases:
object- Prepro(hmin: float64 = 0.0001, geotol: float64 = 0.0001, rmax: float64 = 1)[source]¶
Method to preprocess mesh before adaption and get a background surface mesh well oriented using INRIA Gamma3 tool feflo
- Parameters:
hmin (MuscatFloat) – Minimum mesh size allowed
geotol (MuscatFloat) – Geometric tolerance to compute surface mesh
rmax (MuscatFloat) – Maximum anisotropic ratio allowed
- Returns:
backupMeshName – name of the file (without extension) of feflo resulting surface mesh to ensure geometry accuracy during adaptation
- Return type:
str
- Runner(remesher_options: dict, backEndOptions: dict)[source]¶
Run the process to write mesh in an inria mesh file, launch feflo and read the resulting mesh
Notes
The inria mesh file (called temp_name) will be written in a temporary directory
- Parameters:
remesher_options (dict) – keys corresponding to feflo option name and value corresponding to value if applicable
backEndOptions (dict) –
Extra option for the “by file” feflo communication “temp_name” : str
name of the output mesh file (without extension) default : “temp_file”
- ”binary”bool
defaults to True
- ”prefix”str
defaults to “feflo”
- ”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 – feflo resulting mesh from adaption
- Return type: