Mercurial > repos > public > sbplib_julia
changeset 221:235f0a771c8f package_refactor
Make all packages load properly
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 26 Jun 2019 13:23:42 +0200 |
parents | 5bba704a89d8 |
children | 6e3cdf57f0a1 |
files | DiffOps/Manifest.toml DiffOps/Project.toml DiffOps/src/DiffOps.jl Grids/src/EquidistantGrid.jl Grids/src/Grids.jl Manifest.toml SbpOperators/src/SbpOperators.jl |
diffstat | 7 files changed, 24 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/DiffOps/Manifest.toml Wed Jun 26 13:13:56 2019 +0200 +++ b/DiffOps/Manifest.toml Wed Jun 26 13:23:42 2019 +0200 @@ -7,6 +7,12 @@ deps = ["Random", "Serialization", "Sockets"] uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" +[[Grids]] +deps = ["RegionIndices"] +path = "../Grids" +uuid = "960fdf28-97ed-11e9-2a74-bd90bf2fab5a" +version = "0.1.0" + [[InteractiveUtils]] deps = ["Markdown"] uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" @@ -32,6 +38,12 @@ uuid = "5d527584-97f1-11e9-084c-4540c7ecf219" version = "0.1.0" +[[SbpOperators]] +deps = ["RegionIndices"] +path = "../SbpOperators" +uuid = "204357d8-97fd-11e9-05e7-010897a14cd0" +version = "0.1.0" + [[Serialization]] uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
--- a/DiffOps/Project.toml Wed Jun 26 13:13:56 2019 +0200 +++ b/DiffOps/Project.toml Wed Jun 26 13:23:42 2019 +0200 @@ -4,7 +4,9 @@ version = "0.1.0" [deps] +Grids = "960fdf28-97ed-11e9-2a74-bd90bf2fab5a" RegionIndices = "5d527584-97f1-11e9-084c-4540c7ecf219" +SbpOperators = "204357d8-97fd-11e9-05e7-010897a14cd0" TiledIteration = "06e1c1a7-607b-532d-9fad-de7d9aa2abac" [extras]
--- a/DiffOps/src/DiffOps.jl Wed Jun 26 13:13:56 2019 +0200 +++ b/DiffOps/src/DiffOps.jl Wed Jun 26 13:23:42 2019 +0200 @@ -1,6 +1,8 @@ module DiffOps using RegionIndices +using SbpOperators +using Grids abstract type DiffOp end
--- a/Grids/src/EquidistantGrid.jl Wed Jun 26 13:13:56 2019 +0200 +++ b/Grids/src/EquidistantGrid.jl Wed Jun 26 13:23:42 2019 +0200 @@ -4,6 +4,8 @@ # the coordinate directions. E.g for a 2D grid with x̄₁=(-1,0) and x̄₂=(1,2) # the domain is defined as (-1,1)x(0,2). +export EquidistantGrid + struct EquidistantGrid{Dim,T<:Real} <: AbstractGrid size::NTuple{Dim, Int} # First coordinate direction stored first limit_lower::NTuple{Dim, T}
--- a/Grids/src/Grids.jl Wed Jun 26 13:13:56 2019 +0200 +++ b/Grids/src/Grids.jl Wed Jun 26 13:23:42 2019 +0200 @@ -2,6 +2,8 @@ using RegionIndices +export BoundaryIdentifier, CartesianBoundary + abstract type BoundaryIdentifier end struct CartesianBoundary{Dim, R<:Region} <: BoundaryIdentifier end dim(::CartesianBoundary{Dim, R}) where {Dim, R} = Dim
--- a/Manifest.toml Wed Jun 26 13:13:56 2019 +0200 +++ b/Manifest.toml Wed Jun 26 13:23:42 2019 +0200 @@ -4,7 +4,7 @@ uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" [[DiffOps]] -deps = ["RegionIndices", "TiledIteration"] +deps = ["Grids", "RegionIndices", "SbpOperators", "TiledIteration"] path = "DiffOps" uuid = "39474f48-97ec-11e9-01fc-6ddcbe5918df" version = "0.1.0" @@ -50,6 +50,7 @@ version = "0.1.0" [[SbpOperators]] +deps = ["RegionIndices"] path = "SbpOperators" uuid = "204357d8-97fd-11e9-05e7-010897a14cd0" version = "0.1.0"
--- a/SbpOperators/src/SbpOperators.jl Wed Jun 26 13:13:56 2019 +0200 +++ b/SbpOperators/src/SbpOperators.jl Wed Jun 26 13:23:42 2019 +0200 @@ -4,6 +4,8 @@ include("stencil.jl") +export D2, closureSize, apply, readOperator, apply_e, apply_d + abstract type ConstantStencilOperator end # Apply for different regions Lower/Interior/Upper or Unknown region