specfem::compute::impl::compute_material_derivatives

template<int NGLL, typename Tags>
void specfem::compute::impl::compute_material_derivatives(const specfem::assembly::assembly<Tags::dimension_tag> &assembly, const type_real &dt)

Compute material derivatives for the given medium.

This function computes the material derivatives for the specified medium type and properties. It is specialized for different dimension tags, medium tags, and property tags.

Template Parameters:
  • DimensionTag – Spatial dimension (2D/3D)

  • NGLL – Number of GLL points

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

  • PropertyTag – Material property type (e.g., isotropic, anisotropic)

Parameters:
  • assembly – SPECFEM++ assembly object.

  • dt – Time step size (used for time-dependent computations)