-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Refactored flux calculation module (src/flux.jl) - Optimized main module structure (src/HydroModels.jl) - Improved code organization and structure - Enhanced type stability in core calculations - Standardized function signatures across modules
- Loading branch information
Showing
48 changed files
with
1,473 additions
and
1,703 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.vscode | ||
*.cursorrules | ||
project | ||
.gitignore | ||
.cursorrules | ||
|
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,7 +1,7 @@ | ||
name = "HydroModels" | ||
uuid = "7e3cde01-c141-467b-bff6-5350a0af19fc" | ||
authors = ["jingx <[email protected]>"] | ||
version = "0.1.4" | ||
version = "0.1.5" | ||
|
||
[deps] | ||
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" | ||
|
@@ -26,6 +26,7 @@ TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76" | |
Accessors = "0.1" | ||
Aqua = "0.8" | ||
ComponentArrays = "0.15" | ||
CSV = "0.10" | ||
DataFrames = "1" | ||
DataInterpolations = "6" | ||
Graphs = "1" | ||
|
@@ -41,6 +42,7 @@ SparseArrays = "1" | |
StableRNGs = "1" | ||
SymbolicUtils = "3" | ||
Symbolics = "6" | ||
Statistics = "1" | ||
TOML = "1" | ||
Test = "1" | ||
julia = "1" | ||
|
@@ -53,4 +55,4 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | |
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test", "Aqua", "CSV", "DataFrames", "Statistics"] | ||
test = ["Test", "Aqua", "CSV", "DataFrames", "Statistics"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# 导入模块 | ||
using CSV | ||
using DataFrames | ||
using ComponentArrays | ||
using ModelingToolkit | ||
using Plots | ||
using Lux | ||
using StableRNGs | ||
|
||
include("../src/HydroModels.jl") | ||
HydroFlux = HydroModels.HydroFlux | ||
StateFlux = HydroModels.StateFlux | ||
NeuralFlux = HydroModels.NeuralFlux | ||
HydroBucket = HydroModels.HydroBucket | ||
HydroModel = HydroModels.HydroModel | ||
include("../models/m50.jl") |
Oops, something went wrong.