You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/eamxx/src/physics/gw/tests/infra/gw_test_data.hpp
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ struct GwInit : public PhysicsTestData {
29
29
30
30
GwInit(Int pver_, Int pgwv_, Real dc_, bool orographic_only_, bool do_molec_diff_, bool tau_0_ubc_, Int nbot_molec_, Int ktop_, Int kbotbg_, Real fcrit2_, Real kwv_) :
31
31
PhysicsTestData({
32
-
{pgwv_ * 2},
32
+
{pgwv_*2 + 1},
33
33
{pver_ + 1}
34
34
},
35
35
{
@@ -69,9 +69,9 @@ struct GwdComputeTendenciesFromStressDivergenceData : public PhysicsTestData {
69
69
PhysicsTestData({
70
70
{ncol_},
71
71
{ncol_, init_.pver},
72
-
{ncol_, 2*init_.pgwv},
73
-
{ncol_, 2*init_.pgwv, init_.pver + 1},
74
-
{ncol_, init_.pver, 2*ngwv_},
72
+
{ncol_, 2*init_.pgwv + 1},
73
+
{ncol_, 2*init_.pgwv + 1, init_.pver + 1},
74
+
{ncol_, init_.pver, 2*ngwv_ + 1},
75
75
{ncol_}
76
76
},
77
77
{
@@ -160,9 +160,9 @@ struct GwdComputeStressProfilesAndDiffusivitiesData : public PhysicsTestData {
160
160
GwdComputeStressProfilesAndDiffusivitiesData(Int ncol_, Int ngwv_, GwInit init_) :
161
161
PhysicsTestData({
162
162
{ncol_, init_.pver + 1},
163
-
{ncol_, init_.pgwv*2},
163
+
{ncol_, init_.pgwv*2 + 1},
164
164
{ncol_, init_.pver},
165
-
{ncol_, init_.pgwv*2, init_.pver + 1},
165
+
{ncol_, init_.pgwv*2 + 1, init_.pver + 1},
166
166
{ncol_}
167
167
},
168
168
{
@@ -192,9 +192,9 @@ struct GwdProjectTauData : public PhysicsTestData {
192
192
193
193
GwdProjectTauData(Int ncol_, Int ngwv_, GwInit init_) :
194
194
PhysicsTestData({
195
-
{ncol_, init_.pgwv*2, init_.pver + 1},
195
+
{ncol_, init_.pgwv*2 + 1, init_.pver + 1},
196
196
{ncol_, init_.pver + 1},
197
-
{ncol_, init_.pgwv*2},
197
+
{ncol_, init_.pgwv*2 + 1},
198
198
{ncol_},
199
199
{ncol_, init_.pver + 1, 4},
200
200
{ncol_}
@@ -230,8 +230,8 @@ struct GwdPrecalcRhoiData : public PhysicsTestData {
230
230
PhysicsTestData({
231
231
{ncol_, init_.pver},
232
232
{ncol_, init_.pver + 1},
233
-
{ncol_, init_.pver, ngwv_*2},
234
-
{ncol_, init_.pgwv*2},
233
+
{ncol_, init_.pver, ngwv_*2 + 1},
234
+
{ncol_, init_.pgwv*2 + 1},
235
235
{ncol_, init_.pver, pcnst_},
236
236
{ncol_}
237
237
},
@@ -271,11 +271,11 @@ struct GwDragProfData : public PhysicsTestData {
271
271
{ncol_},
272
272
{ncol_, init_.pver},
273
273
{ncol_, init_.pver + 1},
274
-
{ncol_, init_.pgwv*2},
274
+
{ncol_, init_.pgwv*2 + 1},
275
275
{ncol_, init_.pver, pcnst_},
276
-
{ncol_, init_.pgwv*2, init_.pver + 1},
276
+
{ncol_, init_.pgwv*2 + 1, init_.pver + 1},
277
277
{ncol_, init_.pver + 1, 4},
278
-
{ncol_, init_.pver, ngwv_*2},
278
+
{ncol_, init_.pver, ngwv_*2 + 1},
279
279
{ncol_}
280
280
},
281
281
{
@@ -352,7 +352,7 @@ struct GwFrontGwSourcesData : public PhysicsTestData {
352
352
GwFrontGwSourcesData(Int ncol_, Int ngwv_, Int kbot_, GwFrontInitData init_) :
0 commit comments