diff src/SbpOperators/SbpOperators.jl @ 963:52a0ebad0778 feature/laplace_opset

Review: Address review comment on placement of exports. Export statements should be placed at the top of the module file. Add todo.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Mon, 14 Mar 2022 10:16:03 +0100
parents 66e8faf4bb4b
children ba023fc09961 f885e1de6dc4
line wrap: on
line diff
--- a/src/SbpOperators/SbpOperators.jl	Mon Mar 14 10:00:25 2022 +0100
+++ b/src/SbpOperators/SbpOperators.jl	Mon Mar 14 10:16:03 2022 +0100
@@ -1,5 +1,14 @@
 module SbpOperators
 
+export boundary_quadrature
+export boundary_restriction
+export inner_product
+export inverse_inner_product
+export Laplace
+export laplace
+export normal_derivative
+export second_derivative
+
 using Sbplib.RegionIndices
 using Sbplib.LazyTensors
 using Sbplib.Grids
@@ -21,16 +30,4 @@
 include("boundaryops/boundary_restriction.jl")
 include("boundaryops/normal_derivative.jl")
 
-
-export boundary_quadrature
-export boundary_restriction
-export inner_product
-export inverse_inner_product
-export Laplace
-export laplace
-export normal_derivative
-export second_derivative
-# REVIEW: Should the exports be placed here or at the top of each file where the thing is defined?
-# We currently have a mix of placing it at the place of definition and at the top of each file. This is a "new" way of doing it.
-
 end # module