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

salvus.material.utils

Utils for SalvusMaterial.

Functions

is_acoustic()

def is_acoustic(material: types) -> types: ...

Determine if a (list of) material(s) is acoustic.

Parameters
  • material types — The material or list of materials to check.
Returns types — A boolean or list of booleans.

is_anisotropic()

def is_anisotropic(material: types) -> types: ...

Determine if a (list of) material(s) is anisotropic.

Parameters
  • material types — The material or list of materials to check.
Returns types — A boolean or list of booleans.

is_attenuating()

def is_attenuating(material: types) -> types: ...

Determine if a (list of) material(s) is attenuating.

Parameters
  • material types — The material or list of materials to check.
Returns types — A boolean or list of booleans.

is_elastic()

def is_elastic(material: types) -> types: ...

Determine if a (list of) material(s) is elastic.

Parameters
  • material types — The material or list of materials to check.
Returns types — A boolean or list of booleans.

is_homogeneous()

def is_homogeneous(material: types) -> types: ...

Determine if a (list of) material(s) is homogeneous.

Parameters
  • material types — The material or list of materials to check.
Returns types — A boolean or list of booleans.

is_isotropic()

def is_isotropic(material: types) -> types: ...

Determine if a (list of) material(s) is isotropic.

Parameters
  • material types — The material or list of materials to check.
Returns types — A boolean or list of booleans.