-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename functions in scripts and add docs, according to #99
- Loading branch information
1 parent
b08bdff
commit 23bfcae
Showing
7 changed files
with
43 additions
and
17 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
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,13 +1,18 @@ | ||
function [RHS, SAVE, P_gg] = Air_sub(SoilVariables, GasDispersivity, TransportCoefficient, InitialValues, GasDispersivity,... | ||
BoundaryCondition, P_gg, Xah, XaT, Xaa, RHODA, KT, Delt_t) | ||
function [RHS, SAVE, P_gg] = solveDryAirEquations(SoilVariables, GasDispersivity, TransportCoefficient, InitialValues, GasDispersivity,... | ||
BoundaryCondition, P_gg, Xah, XaT, Xaa, RHODA, KT, Delt_t) | ||
%{ | ||
Solve the dry air equation with the Thomas algorithm to update the soil | ||
air pressure 'P_gg', the finite difference time-stepping scheme is | ||
exampled as for the soil moisture equation, which derived in 'STEMMUS | ||
Technical Notes' section 4, Equation 4.32. | ||
%} | ||
AirVariabes = dryair.calculateDryAirParameters(SoilVariables, GasDispersivity, TransportCoefficient, InitialValues, GasDispersivity,... | ||
P_gg, Xah, XaT, Xaa, RHODA); | ||
|
||
AirVariabes = AirPARM(SoilVariables, GasDispersivity, TransportCoefficient, InitialValues, GasDispersivity,... | ||
P_gg, Xah, XaT, Xaa, RHODA); | ||
AirMatrices = dryair.calculateMatricCoefficients(AirVariabes, InitialValues); | ||
|
||
AirMatrices = Air_MAT(AirVariabes, InitialValues); | ||
[RHS, AirMatrices, SAVE] = dryair.assembleCoefficientMatrices(AirMatrices, Delt_t, P_g); | ||
|
||
[RHS, AirMatrices, SAVE] = Air_EQ(AirMatrices, Delt_t, P_g); | ||
[RHS, AirMatrices] = dryair.calculateBoundaryConditions(BoundaryCondition, AirMatrices, ForcingData, RHS, KT); | ||
|
||
[RHS, AirMatrices] = Air_BC(BoundaryCondition, AirMatrices, ForcingData, RHS, KT); | ||
|
||
[AirMatrices, P_gg, RHS] = Air_Solve(RHS, AirMatrices); | ||
[AirMatrices, P_gg, RHS] = dryair.solveTridiagonalMatrixEquations(RHS, AirMatrices); |
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