Skip to content

Commit

Permalink
Merge pull request #423 from CliMA/aj/p3_remodel
Browse files Browse the repository at this point in the history
breakup the P3 scheme file
  • Loading branch information
trontrytel authored Jul 12, 2024
2 parents ba4d8e0 + 9cf787d commit 22660e0
Show file tree
Hide file tree
Showing 8 changed files with 812 additions and 814 deletions.
2 changes: 1 addition & 1 deletion src/CloudMicrophysics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ include("Microphysics0M.jl")
include("Microphysics1M.jl")
include("Microphysics2M.jl")
include("TerminalVelocity.jl")
include("P3Scheme.jl")
include("P3.jl")
include("MicrophysicsNonEq.jl")
include("AerosolModel.jl")
include("AerosolActivation.jl")
Expand Down
29 changes: 29 additions & 0 deletions src/P3.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"""
Predicted particle properties scheme P3 for ice.
Implementation of Morrison and Milbrandt 2015 doi: 10.1175/JAS-D-14-0065.1
Note: Particle size is defined as its maximum length (i.e. max dimesion).
"""
module P3Scheme

import SpecialFunctions as SF
import QuadGK as QGK
import RootSolvers as RS
import HCubature as HC

import ClimaParams as CP
import CloudMicrophysics.Parameters as CMP
import CloudMicrophysics.Common as CO
import CloudMicrophysics.TerminalVelocity as TV

const PSP3 = CMP.ParametersP3

export thresholds, distribution_parameter_solver

include("P3_helpers.jl")
include("P3_particle_properties.jl")
include("P3_size_distribution.jl")
include("P3_terminal_velocity.jl")
include("P3_processes.jl")

end
Loading

0 comments on commit 22660e0

Please sign in to comment.