specfem::kokkos_kernels::impl::compute_coupling¶
-
template<specfem::dimension::type DimensionTag, specfem::connections::type ConnectionTag, specfem::wavefield::simulation_field WavefieldType, int NGLL, int NQuad_interface, specfem::interface::interface_tag InterfaceTag, specfem::element::boundary_tag BoundaryTag, specfem::interface::flux_scheme_tag FluxSchemeTag>
void specfem::kokkos_kernels::impl::compute_coupling(const specfem::assembly::assembly<DimensionTag> &assembly)¶ Compute coupling between different media.
This function computes the coupling between different media specified by the template parameters.
- Template Parameters:
DimensionTag – Spatial dimension (2D/3D)
ConnectionTag – Interface connection type to consider (weakly_conforming/nonconforming)
WavefieldType – Simulation wavefield type (e.g., forward, adjoint, backward)
InterfaceTag – Interface coupling type (elastic_acoustic/acoustic_elastic)
BoundaryTag – Boundary condition type (e.g., free_surface, absorbing)
- Parameters:
assembly – SPECFEM++ assembly object.