Running Gmsh¶
- class gmsh_interop.runner.ScriptSource(source: str, extension: str)[source]¶
Added in version 2016.1.
- class gmsh_interop.runner.ScriptWithFilesSource(source: str, filenames: Iterable[str], source_name: str = 'temp.geo')[source]¶
Added in version 2016.1.
- source¶
The script code to be fed to gmsh.
- filenames¶
The names of files to be copied to the temporary directory where gmsh is run.
- class gmsh_interop.runner.GmshRunner(source: str | ScriptSource | FileSource | ScriptWithFilesSource, dimensions: int | None = None, order: int | None = None, incomplete_elements: bool | None = None, other_options: tuple[str, ...] = (), extension: str = 'geo', gmsh_executable: str = 'gmsh', output_file_name: str | None = None, target_unit: Literal['M', 'MM'] | None = None, save_tmp_files_in: str | None = None)[source]¶