specfem::point::conforming_interface

template<specfem::dimension::type DimensionTag, specfem::interface::interface_tag InterfaceTag, specfem::element::boundary_tag BoundaryTag>
struct conforming_interface

Primary template for coupled interface points.

Template Parameters:
  • DimensionTag – Spatial dimension

  • InterfaceTag – Interface type (elastic-acoustic, acoustic-elastic)

  • BoundaryTag – Boundary condition type

2D Specialization

template<specfem::interface::interface_tag InterfaceTag, specfem::element::boundary_tag BoundaryTag>
struct conforming_interface<specfem::dimension::type::dim2, InterfaceTag, BoundaryTag> : public specfem::data_access::Accessor<specfem::data_access::AccessorType::point, specfem::data_access::DataClassType::conforming_interface, specfem::dimension::type::dim2, false>

2D coupled interface point data structure

Represents a point on a coupled interface between different physical media in 2D spectral element simulations. Contains geometric data (edge factor and normal vector) needed for interface computations.

Template Parameters:
  • InterfaceTag – Type of interface (elastic-acoustic or acoustic-elastic)

  • BoundaryTag – Boundary condition applied to the interface

Public Functions

inline conforming_interface(const scalar_type<type_real> &edge_factor, const vector_type<type_real, 2> &edge_normal_)

Constructs coupled interface point with geometric data.

Parameters:
  • edge_factor – Scaling factor for the interface edge.

  • edge_normal_ – Normal vector at the interface edge.

conforming_interface() = default

Default constructor.

Public Members

scalar_type<type_real> edge_factor

Edge scaling factor for interface computations.

vector_type<type_real, 2> edge_normal

Edge normal vector (2D).

Public Static Attributes

static constexpr auto dimension_tag = specfem::dimension::type::dim2

Dimension tag for 2D specialization.

static constexpr auto connection_tag = specfem::connections::type::weakly_conforming

Connection type between elements.

static constexpr auto interface_tag = InterfaceTag

Interface type (elastic-acoustic or acoustic-elastic).

static constexpr auto boundary_tag = BoundaryTag

Boundary condition type.