Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
amrueda and ranocha authored Oct 12, 2023
1 parent 86884e8 commit 0d61cfd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/equations/equations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -208,17 +208,19 @@ struct BoundaryConditionNeumann{B}
boundary_normal_flux_function::B
end
"""
NonConservativeLocal
NonConservativeLocal()
Struct used for multiple dispatch on non-conservative flux functions in the format of "local * symmetric".
When the argument nonconservative_type is of type `NonConservativeLocal`, the function returns the local part of the non-conservative term.
When the argument `nonconservative_type` is of type `NonConservativeLocal`,
the function returns the local part of the non-conservative term.
"""
struct NonConservativeLocal end
"""
NonConservativeSymmetric
NonConservativeSymmetric()
Struct used for multiple dispatch on non-conservative flux functions in the format of "local * symmetric".
When the argument nonconservative_type is of type `NonConservativeSymmetric`, the function returns the symmetric part of the non-conservative term.
When the argument `nonconservative_type` is of type `NonConservativeSymmetric`,
the function returns the symmetric part of the non-conservative term.
"""
struct NonConservativeSymmetric end
# set sensible default values that may be overwritten by specific equations
Expand Down

0 comments on commit 0d61cfd

Please sign in to comment.