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

salvus.mesh.layered_meshing.material.elastic.isotropic

Elastic materials.

Classes

LameParameters

class LameParameters(
    salvus.mesh.layered_meshing.material.elastic.isotropic._Isotropic
):
    def __init__(
        self,
        LAM: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
        MU: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
        RHO: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
    ) -> None:
        ...

An elastic material parameterized by lambda and mu.

Parameters
  • LAM Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — Lame’s first parameter (lambda) in SI units.
  • MU Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — Lame’s second parameter (mu) in SI units.
  • RHO Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — Density in kg / m^3.
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.

TensorComponents

class TensorComponents(
    salvus.mesh.layered_meshing.material.elastic.isotropic._Isotropic,
    salvus.mesh.layered_meshing.material.elastic._TensorComponents,
):
    def __init__(
        self,
        RHO: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
        C11: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
        C12: Union[
            salvus.mesh.layered_meshing.material.parameter.ConstantParameter,
            ~F,
        ],
    ) -> None:
        ...

Hexagonal anisotropic elastic material parametrized by elastic constants.

Parameters
  • RHO Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — The density in kg / m^3.
  • C11 Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — The c_11 component of the stiffness tensor in Pa.
  • C12 Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — The c_12 component of the stiffness tensor in Pa.
Attributes
ds Mapping

Material’s xarray representation.

flatten Dict

Get all parameters as a dict.

halfC11minC12 salvus.mesh.layered_meshing.material.parameter.F

Material property that might be accessed in checking symmetry.

Used in from_canonical in the base class. Note that this approach does fully expand the fields in the returned property

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

Get the optional attenuation.

Velocity

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

An elastic 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.
  • VS Union[salvus.mesh.layered_meshing.material.parameter.ConstantParameter, ~F] — S-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.