Skip to content

Commit

Permalink
Update Geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
luraess committed Mar 7, 2024
1 parent 8335ff8 commit 0d5cd5b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Geometry.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Geometry

export AbstractElevation, DataElevation, AABB
export AbstractElevation, DataElevation, SyntheticElevation, AABB

abstract type AbstractElevation{T<:Real} end

Expand All @@ -24,4 +24,10 @@ struct DataElevation{T,V<:AbstractArray{T},R<:AbstractRange{T},M<:AbstractMatrix
rotated_domain::AABB{T}
end

struct SyntheticElevation{T,B,S} <: AbstractElevation{T}
z_bed::B
z_surf::S
domain::AABB{T}
end

end

0 comments on commit 0d5cd5b

Please sign in to comment.