expand_grid_model#
- emg3d.models.expand_grid_model(model, expand, interface)[source]#
Expand model and grid according to provided parameters.
Expand the grid and corresponding model in positive z-direction from the edge of the grid to the interface with property
expand[0], and a 100 m thick layer above the interface with propertyexpand[1].The provided properties are taken as isotropic (as is the case in water and air);
mu_randepsilon_rare expanded with ones, if necessary.The
interfaceis usually the sea-surface, andexpandis therefore[property_sea, property_air].- Parameters:
- modelModel
The model; a
emg3d.models.Modelinstance.- expandlist
The two properties below and above the interface:
[below_interface, above_interface].- interfacefloat
Interface between the two properties in
expand.
- Returns:
- exp_gridTensorMesh
Expanded grid; a
emg3d.meshes.TensorMeshinstance.- exp_modelModel
The expanded model; a
emg3d.models.Modelinstance.