specfem::kokkos_kernels::impl::invert_mass_matrix¶
-
template<specfem::dimension::type DimensionTag, specfem::wavefield::simulation_field WavefieldType, specfem::element::medium_tag MediumTag>
void specfem::kokkos_kernels::impl::invert_mass_matrix(const specfem::assembly::assembly<DimensionTag> &assembly)¶ Compute the inverse 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)