specfem::kokkos_kernels::impl::compute_material_derivatives

template<specfem::dimension::type DimensionTag, int NGLL, specfem::element::medium_tag MediumTag, specfem::element::property_tag PropertyTag>
void specfem::kokkos_kernels::impl::compute_material_derivatives(const specfem::assembly::assembly<DimensionTag> &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)