-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
F_r = 0 exception fixed, mass tests updated
- Loading branch information
1 parent
ae421a2
commit dc332ec
Showing
18 changed files
with
276 additions
and
55 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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
export Feldspar | ||
|
||
""" | ||
Feldspar{FT} | ||
Parameters for Feldspar from Alpert et al 2022 | ||
DOI: 10.1039/D1EA00077B | ||
# Fields | ||
$(DocStringExtensions.FIELDS) | ||
""" | ||
struct Feldspar{FT} <: AerosolType{FT} | ||
"m coefficient for deposition nucleation J [-]" | ||
deposition_m::FT | ||
"c coefficient for deposition nucleation J [-]" | ||
deposition_c::FT | ||
end | ||
|
||
function Feldspar( | ||
::Type{FT}, | ||
toml_dict::CP.AbstractTOMLDict = CP.create_toml_dict(FT), | ||
) where {FT} | ||
(; data) = toml_dict | ||
return Feldspar( | ||
FT(data["Alpert2022_J_deposition_m_Feldspar"]["value"]), | ||
FT(data["Alpert2022_J_deposition_c_Feldspar"]["value"]), | ||
) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
export Ferrihydrite | ||
|
||
""" | ||
Ferrihydrite{FT} | ||
Parameters for Ferrihydrite from Alpert et al 2022 | ||
DOI: 10.1039/D1EA00077B | ||
# Fields | ||
$(DocStringExtensions.FIELDS) | ||
""" | ||
struct Ferrihydrite{FT} <: AerosolType{FT} | ||
"m coefficient for deposition nucleation J [-]" | ||
deposition_m::FT | ||
"c coefficient for deposition nucleation J [-]" | ||
deposition_c::FT | ||
end | ||
|
||
function Ferrihydrite( | ||
::Type{FT}, | ||
toml_dict::CP.AbstractTOMLDict = CP.create_toml_dict(FT), | ||
) where {FT} | ||
(; data) = toml_dict | ||
return Ferrihydrite( | ||
FT(data["Alpert2022_J_deposition_m_Ferrihydrite"]["value"]), | ||
FT(data["Alpert2022_J_deposition_c_Ferrihydrite"]["value"]), | ||
) | ||
end |
Oops, something went wrong.