Mondaic
This API reference is not for the latest stable Salvus version.

salvus.mesh.layered_meshing.material.acoustic.isotropic

Acoustic materials.

Classes

Canonical

class Canonical(
    salvus.mesh.layered_meshing.material.acoustic._AcousticMaterial
):
    def __init__(
        self,
        M0: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
        M1: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
    ) -> None:
        ...

An acoustic material parameterized by M0 and M1.

Parameters
  • M0 Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — M0 in SI units.
  • M1 Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — M1 in SI units.
Attributes
ds Mapping

Material’s xarray representation.

flatten Dict

Get all parameters as a dict.

viscosity Optional[salvus.mesh.layered_meshing.material._material.Material]

Get the optional attenuation.

Velocity

class Velocity(
    salvus.mesh.layered_meshing.material.acoustic._AcousticMaterial
):
    def __init__(
        self,
        RHO: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
        VP: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
    ) -> None:
        ...

An acoustic material parameterized by density and p-wave velocity.

Parameters
  • RHO Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — Density in kg / m^3.
  • VP Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — P-wave velocity in m / s.
Attributes
ds Mapping

Material’s xarray representation.

flatten Dict

Get all parameters as a dict.

viscosity Optional[salvus.mesh.layered_meshing.material._material.Material]

Get the optional attenuation.