specfem::kokkos_kernels::impl::compute_source_interaction¶
-
template<specfem::dimension::type DimensionTag, specfem::wavefield::simulation_field WavefieldType, int NGLL, specfem::element::medium_tag MediumTag, specfem::element::property_tag PropertyTag, specfem::element::boundary_tag BoundaryTag>
void specfem::kokkos_kernels::impl::compute_source_interaction(specfem::assembly::assembly<DimensionTag> &assembly, const int ×tep)¶ Compute the source interaction for the given medium.
This function computes the source interaction for the specified medium type and properties. It is specialized for different dimension tags, medium tags, property tags, and boundary tags.
- Template Parameters:
DimensionTag – Spatial dimension (2D/3D)
WavefieldType – Simulation wavefield type (e.g., forward, adjoint, backward)
NGLL – Number of GLL points
MediumTag – Medium type (e.g., elastic, acoustic)
PropertyTag – Material property type (e.g., isotropic, anisotropic)
BoundaryTag – Boundary condition type (e.g., free_surface, absorbing)
- Parameters:
assembly – SPECFEM++ assembly object.
timestep – Time step for which the source interaction is computed