-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from facusapienza21/main
Changes in code API and structs to be compatible with Halfar tests
- Loading branch information
Showing
11 changed files
with
312 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,26 @@ | ||
|
||
export Model | ||
|
||
# Abstract type as a parent type for ice flow models | ||
abstract type IceflowModel end | ||
abstract type IceflowModel <: AbstractModel end | ||
|
||
# Subtype structure for Shallow Ice Approximation models | ||
abstract type SIAmodel <: IceflowModel end | ||
|
||
include("SIA2D/SIA2D.jl") | ||
include("iceflow_utils.jl") | ||
include("SIA2D/SIA2D.jl") | ||
|
||
""" | ||
function Model(; | ||
iceflow::IceflowModel | ||
) | ||
Initialize Huginn flow model | ||
""" | ||
function Model(; | ||
iceflow::IceflowModel | ||
) | ||
|
||
model = Sleipnir.Model(iceflow, nothing, nothing) | ||
|
||
return model | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.