Skip to content

Commit

Permalink
Merge #2088
Browse files Browse the repository at this point in the history
2088: Remove explicit reference to ClimaAtmos in imports r=Sbozzolo a=Sbozzolo

https://github.com/CliMA/policies/wiki/Software-Design-Patterns-(SDPs)#avoid-using-somepkg--import-somepkg-in-src


Co-authored-by: Gabriele Bozzola <gbozzola@caltech.edu>
  • Loading branch information
bors[bot] and Sbozzolo authored Sep 18, 2023
2 parents 64fd7d6 + bb8c050 commit 44796a8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/cache/cache.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using LinearAlgebra: ×, norm, dot

import ClimaAtmos.Parameters as CAP
import .Parameters as CAP
using ClimaCore: Operators, Fields, Limiters, Geometry, Spaces

import ClimaComms
Expand Down
2 changes: 1 addition & 1 deletion src/cache/temporary_quantities.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using LinearAlgebra: ×, norm, dot

import ClimaAtmos.Parameters as CAP
import .Parameters as CAP
using ClimaCore: Operators, Fields, Limiters, Geometry, Spaces

import ClimaComms
Expand Down
4 changes: 2 additions & 2 deletions src/callbacks/callbacks.jl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import ClimaCore.DataLayouts as DL
import ClimaAtmos.RRTMGPInterface as RRTMGPI
import .RRTMGPInterface as RRTMGPI
import Thermodynamics as TD
import LinearAlgebra
import ClimaCore.Fields
import ClimaComms
import ClimaCore as CC
import ClimaCore.Spaces
import SciMLBase
import ClimaAtmos.Parameters as CAP
import .Parameters as CAP
import DiffEqCallbacks as DECB
import ClimaCore: InputOutput
import Dates
Expand Down
2 changes: 1 addition & 1 deletion src/prognostic_equations/dss.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using LinearAlgebra: ×, norm, dot

import ClimaAtmos.Parameters as CAP
import .Parameters as CAP
using ClimaCore: Operators, Fields, Limiters, Geometry, Spaces

import ClimaComms
Expand Down
2 changes: 1 addition & 1 deletion src/prognostic_equations/limited_tendencies.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using LinearAlgebra: ×, norm, dot

import ClimaAtmos.Parameters as CAP
import .Parameters as CAP
using ClimaCore: Operators, Fields, Limiters, Geometry, Spaces

import ClimaComms
Expand Down
2 changes: 1 addition & 1 deletion src/utils/discrete_hydrostatic_balance.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Thermodynamics as TD
import ClimaCore.Geometry as Geometry
import ClimaCore.Fields as Fields
import ClimaCore.Spaces as Spaces
import ClimaAtmos.InitialConditions as ICs
import .InitialConditions as ICs

"""
set_discrete_hydrostatic_balanced_state!(Y, p)
Expand Down

0 comments on commit 44796a8

Please sign in to comment.