PrincetonUniversity / SPECFEMPP

SPECFEM++ is a complete re-write of SPECFEM suite of packages (SPECFEM2D, SPECFEM3D, SPECFEM3D_GLOBE) using C++
https://specfem2d-kokkos.readthedocs.io/en/latest/
GNU General Public License v3.0
16 stars 9 forks source link

Composite boundaries #96

Closed Rohit-Kakodkar closed 9 months ago

Rohit-Kakodkar commented 9 months ago

Description

Implements composite boundaries for corner elements. Composite boundaries are implemented as variadic templated class which call the underlying boundaries.

Implementation details

    template <typename... BC>
    class composite_boundary;

The templated types could be any of 2 or more boundary conditions. The methods for this class call the underlying BC implementation for enforcing the BCs.

Issue Number

If there is an issue created for these changes, link it here

Checklist

Please make sure to check developer documentation on specfem docs.