|
10 | 10 | #include "VertCoord.h" |
11 | 11 | #include "Dimension.h" |
12 | 12 | #include "Field.h" |
| 13 | +#include "GlobalConstants.h" |
13 | 14 | #include "IO.h" |
14 | 15 | #include "IOStream.h" |
15 | 16 | #include "OmegaKokkos.h" |
@@ -656,8 +657,6 @@ void VertCoord::computePressure( |
656 | 657 | const Array1DReal &SurfacePressure // [in] surface pressure |
657 | 658 | ) { |
658 | 659 |
|
659 | | - Real Gravity = 9.80616_Real; // gravitationl acceleration |
660 | | - |
661 | 660 | OMEGA_SCOPE(LocRho0, Rho0); |
662 | 661 | OMEGA_SCOPE(LocMinLayerCell, MinLayerCell); |
663 | 662 | OMEGA_SCOPE(LocMaxLayerCell, MaxLayerCell); |
@@ -745,8 +744,6 @@ void VertCoord::computeGeopotential( |
745 | 744 | const Array1DReal &SelfAttractionLoading // [in] self attraction and loading |
746 | 745 | ) { |
747 | 746 |
|
748 | | - Real Gravity = 9.80616_Real; // gravitationl acceleration |
749 | | - |
750 | 747 | OMEGA_SCOPE(LocMinLayerCell, MinLayerCell); |
751 | 748 | OMEGA_SCOPE(LocMaxLayerCell, MaxLayerCell); |
752 | 749 | OMEGA_SCOPE(LocGeopotMid, GeopotentialMid); |
@@ -784,8 +781,6 @@ void VertCoord::computeGeopotential( |
784 | 781 | // reductions and a parallel_for over the active layers within a column. |
785 | 782 | void VertCoord::computeTargetThickness() { |
786 | 783 |
|
787 | | - Real Gravity = 9.80616_Real; // gravitationl acceleration |
788 | | - |
789 | 784 | OMEGA_SCOPE(LocRho0, Rho0); |
790 | 785 | OMEGA_SCOPE(LocMinLayerCell, MinLayerCell); |
791 | 786 | OMEGA_SCOPE(LocMaxLayerCell, MaxLayerCell); |
|
0 commit comments