view src/SbpOperators/SbpOperators.jl @ 1596:84dc3b9b449b feature/boundary_conditions

Add positivity properties (the borrowing capacity) of the D2 operators to the operator toml as well as methods to parse them
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Sun, 26 May 2024 18:13:58 -0700
parents bdcdbd4ea9cd
children fca4a01d60c9
line wrap: on
line source

module SbpOperators

# Stencil set
export StencilSet
export read_stencil_set
export get_stencil_set
export parse_stencil
export parse_nested_stencil
export parse_scalar
export parse_tuple
export parse_named_tuple
export sbp_operators_path

# Operators
export boundary_quadrature
export boundary_restriction
export inner_product
export inverse_inner_product
export Laplace
export laplace
export normal_derivative
export first_derivative
export second_derivative
export second_derivative_variable
export undivided_skewed04

using Sbplib.RegionIndices
using Sbplib.LazyTensors
using Sbplib.Grids
using Sbplib.BoundaryConditions

@enum Parity begin
    odd = -1
    even = 1
end

export closure_size

include("stencil.jl")
include("stencil_set.jl")
include("volumeops/volume_operator.jl")
include("volumeops/stencil_operator_distinct_closures.jl")
include("volumeops/constant_interior_scaling_operator.jl")
include("volumeops/derivatives/first_derivative.jl")
include("volumeops/derivatives/second_derivative.jl")
include("volumeops/derivatives/second_derivative_variable.jl")
include("volumeops/derivatives/dissipation.jl")
include("volumeops/laplace/laplace.jl")
include("volumeops/inner_products/inner_product.jl")
include("volumeops/inner_products/inverse_inner_product.jl")
include("boundaryops/boundary_operator.jl")
include("boundaryops/boundary_restriction.jl")
include("boundaryops/normal_derivative.jl")

end # module