specfem::compute::impl::invert_mass_matrix

template<typename Tags>
void specfem::compute::impl::invert_mass_matrix(const specfem::assembly::assembly<Tags::dimension_tag> &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)