optimus.geometry.load
Load geometry shapes.
Module Contents
Functions
|
Import a grid from a file as geometry. |
|
Import a BEMPP grid as geometry. |
- optimus.geometry.load.import_grid(filename, label='imported_grid')
Import a grid from a file as geometry.
- Parameters
- filenamestr
The full file name, including path and extension.
- labelstr
The label of the goemetry.
- Returns
- geometryoptimus.geometry.Geometry
The geometry based on the imported grid.
- optimus.geometry.load.bempp_grid(grid, label='bempp_grid')
Import a BEMPP grid as geometry.
- Parameters
- gridbempp.api.Grid
The BEMPP grid.
- labelstr
The label of the goemetry.
- Returns
- geometryoptimus.geometry.Geometry
The geometry based on the imported grid.