specfem::point::interface_index

template<specfem::dimension::type DimensionTag>
class interface_index

Index pair for coupled interface points.

Contains edge indices for both sides of a coupled interface between different physical media. Used to locate corresponding points on interfaces between acoustic and elastic domains.

Template Parameters:

DimensionTag – Spatial dimension (dim2 or dim3)

Public Functions

interface_index() = default

Default constructor.

inline interface_index(const specfem::point::edge_index<DimensionTag> &self_index, const specfem::point::edge_index<DimensionTag> &coupled_index)

Constructs interface index from self and coupled edge indices.

Parameters:
  • self_index – Edge index on the self side of interface

  • coupled_index – Edge index on the coupled side of interface

Public Members

specfem::point::edge_index<DimensionTag> self_index

Edge index on the self side of the interface.

specfem::point::edge_index<DimensionTag> coupled_index

Edge index on the coupled side of the interface.