Skip to content

Commit

Permalink
Add a comment to coupled boundary condition (trixi-framework#1990)
Browse files Browse the repository at this point in the history
* Add a comment to coupled boundary condition

* Update src/semidiscretization/semidiscretization_coupled.jl

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>

---------

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
  • Loading branch information
efaulhaber and sloede authored Jun 25, 2024
1 parent 0358146 commit def208b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/semidiscretization/semidiscretization_coupled.jl
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,12 @@ BoundaryConditionCoupled(2, (:j, :i_backwards, :end), Float64, fun)
!!! warning "Experimental code"
This is an experimental feature and can change any time.
"""
mutable struct BoundaryConditionCoupled{NDIMS, other_semi_index, NDIMST2M1,
mutable struct BoundaryConditionCoupled{NDIMS,
# Store the other semi index as type parameter,
# so that retrieving the other semidiscretization
# is type-stable.
# x-ref: https://github.com/trixi-framework/Trixi.jl/pull/1979
other_semi_index, NDIMST2M1,
uEltype <: Real, Indices, CouplingConverter}
# NDIMST2M1 == NDIMS * 2 - 1
# Buffer for boundary values: [variable, nodes_i, nodes_j, cell_i, cell_j]
Expand Down

0 comments on commit def208b

Please sign in to comment.