Required
d| Type: | dict | _DeepSetter |
| Description: | The dictionary to set. |
class Cartesian2D(salvus.mesh.simple_mesh.config.BaseMesh):
def __init__(self) -> None: ...def apply(self, d: dict | _DeepSetter) -> None: ...| Type: | dict | _DeepSetter |
| Description: | The dictionary to set. |
def copy(self) -> _DeepSetter: ...def create_mesh(
self,
verbose: bool = False,
get_dictionary: bool = False,
processing_function: (
collections.abc.Callable
| SurfaceMaskGenerator
| RayMaskGenerator
| None
) = None,
) -> UnstructuredMesh: ...| Type: | bool |
| Default value: | False |
| Description: | Increase verbosity. |
| Type: | bool |
| Default value: | False |
| Description: | Return the dictionary defining the mesh. |
| Type: | collections.abc.Callable | SurfaceMaskGenerator | RayMaskGenerator | None |
| Default value: | None |
| Description: | optional call back function for mesh processing called directly after the mesh is finished to do efficient post processing, e.g. masking |
def get_dictionary(self) -> dict: ...def validate(self) -> None: ...class Cartesian2DHomogeneous(salvus.mesh.simple_mesh.config.BaseMesh):
def __init__(self) -> None: ...def apply(self, d: dict | _DeepSetter) -> None: ...| Type: | dict | _DeepSetter |
| Description: | The dictionary to set. |
def copy(self) -> _DeepSetter: ...def create_mesh(
self,
verbose: bool = False,
get_dictionary: bool = False,
processing_function: (
collections.abc.Callable
| SurfaceMaskGenerator
| RayMaskGenerator
| None
) = None,
) -> UnstructuredMesh: ...| Type: | bool |
| Default value: | False |
| Description: | Increase verbosity. |
| Type: | bool |
| Default value: | False |
| Description: | Return the dictionary defining the mesh. |
| Type: | collections.abc.Callable | SurfaceMaskGenerator | RayMaskGenerator | None |
| Default value: | None |
| Description: | optional call back function for mesh processing called directly after the mesh is finished to do efficient post processing, e.g. masking |
def get_dictionary(self) -> dict: ...def validate(self) -> None: ...class Cartesian3D(salvus.mesh.simple_mesh.config.BaseMesh):
def __init__(self) -> None: ...def apply(self, d: dict | _DeepSetter) -> None: ...| Type: | dict | _DeepSetter |
| Description: | The dictionary to set. |
def copy(self) -> _DeepSetter: ...def create_mesh(
self,
verbose: bool = False,
get_dictionary: bool = False,
processing_function: (
collections.abc.Callable
| SurfaceMaskGenerator
| RayMaskGenerator
| None
) = None,
) -> UnstructuredMesh: ...| Type: | bool |
| Default value: | False |
| Description: | Increase verbosity. |
| Type: | bool |
| Default value: | False |
| Description: | Return the dictionary defining the mesh. |
| Type: | collections.abc.Callable | SurfaceMaskGenerator | RayMaskGenerator | None |
| Default value: | None |
| Description: | optional call back function for mesh processing called directly after the mesh is finished to do efficient post processing, e.g. masking |
def get_dictionary(self) -> dict: ...def validate(self) -> None: ...class Cartesian3DHomogeneous(salvus.mesh.simple_mesh.config.BaseMesh):
def __init__(self) -> None: ...def apply(self, d: dict | _DeepSetter) -> None: ...| Type: | dict | _DeepSetter |
| Description: | The dictionary to set. |
def copy(self) -> _DeepSetter: ...def create_mesh(
self,
verbose: bool = False,
get_dictionary: bool = False,
processing_function: (
collections.abc.Callable
| SurfaceMaskGenerator
| RayMaskGenerator
| None
) = None,
) -> UnstructuredMesh: ...| Type: | bool |
| Default value: | False |
| Description: | Increase verbosity. |
| Type: | bool |
| Default value: | False |
| Description: | Return the dictionary defining the mesh. |
| Type: | collections.abc.Callable | SurfaceMaskGenerator | RayMaskGenerator | None |
| Default value: | None |
| Description: | optional call back function for mesh processing called directly after the mesh is finished to do efficient post processing, e.g. masking |
def get_dictionary(self) -> dict: ...def validate(self) -> None: ...class Globe3DAxialSymmetry(salvus.mesh.simple_mesh.config.BaseMesh):
def __init__(self) -> None: ...def apply(self, d: dict | _DeepSetter) -> None: ...| Type: | dict | _DeepSetter |
| Description: | The dictionary to set. |
def copy(self) -> _DeepSetter: ...def create_mesh(
self,
verbose: bool = False,
get_dictionary: bool = False,
processing_function: (
collections.abc.Callable
| SurfaceMaskGenerator
| RayMaskGenerator
| None
) = None,
) -> UnstructuredMesh: ...| Type: | bool |
| Default value: | False |
| Description: | Increase verbosity. |
| Type: | bool |
| Default value: | False |
| Description: | Return the dictionary defining the mesh. |
| Type: | collections.abc.Callable | SurfaceMaskGenerator | RayMaskGenerator | None |
| Default value: | None |
| Description: | optional call back function for mesh processing called directly after the mesh is finished to do efficient post processing, e.g. masking |
def get_dictionary(self) -> dict: ...def validate(self) -> None: ...class SmoothieSEM(salvus.mesh.simple_mesh.config.BaseMesh):
def __init__(self) -> None: ...def apply(self, d: dict | _DeepSetter) -> None: ...| Type: | dict | _DeepSetter |
| Description: | The dictionary to set. |
def copy(self) -> _DeepSetter: ...def create_mesh(
self,
verbose: bool = False,
get_dictionary: bool = False,
processing_function: (
collections.abc.Callable
| SurfaceMaskGenerator
| RayMaskGenerator
| None
) = None,
) -> UnstructuredMesh: ...| Type: | bool |
| Default value: | False |
| Description: | Increase verbosity. |
| Type: | bool |
| Default value: | False |
| Description: | Return the dictionary defining the mesh. |
| Type: | collections.abc.Callable | SurfaceMaskGenerator | RayMaskGenerator | None |
| Default value: | None |
| Description: | optional call back function for mesh processing called directly after the mesh is finished to do efficient post processing, e.g. masking |
def get_dictionary(self) -> dict: ...def validate(self) -> None: ...class SphericalChunk3D(
salvus.mesh.simple_mesh.basic_mesh.SphericalChunkBuiltIn3D
):
def __init__(
self,
model: str | typing.Callable = "prem_iso_no_crust",
period: float = 150.0,
latitude_extent: float = 45.0,
longitude_extent: float = 45.0,
tensor_order: int = 1,
latitude_center: float = 0.0,
longitude_center: float = 0.0,
elements_per_wavelength: float = 2.0,
minimum_radius_in_km: float = 3755.0,
ab_params: AbsorbingBoundaryParameters | None = None,
constant_q_frequency_band: tuple[float, float] | None = None,
use_lm: bool = True,
): ...| Type: | str | typing.Callable |
| Default value: | 'prem_iso_no_crust' |
| Description: | The name of the 1-D background model. |
| Type: | float |
| Default value: | 150.0 |
| Description: | The minimum seismic period for which to generate the mesh. This value is used in conjunction with elements_per_wavelength to control the accuracy of the simulation. |
| Type: | float |
| Default value: | 45.0 |
| Description: | The latitudinal extent of the mesh from its center in degrees. |
| Type: | float |
| Default value: | 45.0 |
| Description: | The longitudinal extent of the mesh from its center in degrees. |
| Type: | int |
| Default value: | 1 |
| Description: | The order of the model representation (1, 2, or 4). See the "Model Order" tutorial on the website for more details. |
| Type: | float |
| Default value: | 0.0 |
| Description: | The latitudinal center of the mesh in degrees. |
| Type: | float |
| Default value: | 0.0 |
| Description: | The longitudinal center of the mesh in degrees. elements_per_wavelength: Given the 1-D background model and period as specified, ensure that there are at least this many elements per minimum wavelength throughout the mesh volume. |
| Type: | float |
| Default value: | 2.0 |
| Description: | The desired elements per wavelength for the to be created mesh. |
| Type: | float |
| Default value: | 3755.0 |
| Description: | Minimum radius of the mesh in kilometers. |
| Type: | AbsorbingBoundaryParameters | None |
| Default value: | None |
| Description: | Parameters controlling the extrusion of the domain for the purposes of adding absorbing boundaries. |
| Type: | tuple[float, float] | None |
| Default value: | None |
| Description: | A tuple of frequencies (low, high) over which Q should be approximately constant. If not passed, the band will be estimated min_period_in_seconds. |
| Type: | bool |
| Default value: | True |
| Description: | Use the layered meshing backend. |
class SmoothieSEM(salvus.mesh.simple_mesh.config.BaseMesh):
def __init__(self) -> None: ...def apply(self, d: dict | _DeepSetter) -> None: ...| Type: | dict | _DeepSetter |
| Description: | The dictionary to set. |
def copy(self) -> _DeepSetter: ...def create_mesh(
self,
verbose: bool = False,
get_dictionary: bool = False,
processing_function: (
collections.abc.Callable
| SurfaceMaskGenerator
| RayMaskGenerator
| None
) = None,
) -> UnstructuredMesh: ...| Type: | bool |
| Default value: | False |
| Description: | Increase verbosity. |
| Type: | bool |
| Default value: | False |
| Description: | Return the dictionary defining the mesh. |
| Type: | collections.abc.Callable | SurfaceMaskGenerator | RayMaskGenerator | None |
| Default value: | None |
| Description: | optional call back function for mesh processing called directly after the mesh is finished to do efficient post processing, e.g. masking |
def get_dictionary(self) -> dict: ...def validate(self) -> None: ...