specfem::kokkos_kernels::impl::divide_mass_matrix

template<specfem::dimension::type DimensionTag, specfem::wavefield::simulation_field WavefieldType, specfem::element::medium_tag MediumTag>
void specfem::kokkos_kernels::impl::divide_mass_matrix(const specfem::assembly::assembly<DimensionTag> &assembly)

Compute the invese of the mass matrix for a given medium type.

This function computes the inverse of the mass matrix for a given medium type. It calls the specialized implementation for different medium types and properties.

Template Parameters:
  • DimensionTag – Dimension of the problem

  • WavefieldType – Type of the wavefield (e.g., elastic, acoustic)

  • MediumTag – Medium tag (e.g., elastic, acoustic)

  • PropertyTag – Property tag (e.g., isotropic, anisotropic)

  • BoundaryTag – Boundary tag (e.g., none, stacey)