specfem::compute::impl::divide_mass_matrix¶
-
template<int NGLL, typename Tags>
void specfem::compute::impl::divide_mass_matrix(const specfem::assembly::assembly<Tags::dimension_tag> &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)