Skip to content

Commit 8049c5b

Browse files
committed
more PR clean-up
1 parent 27b6b0c commit 8049c5b

2 files changed

Lines changed: 1 addition & 23 deletions

File tree

components/omega/doc/userGuide/TendencyTerms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tendency terms are currently implemented:
1818
| TracerHighOrderHorzAdvOnCell | second order horizontal advection of thickness-weighted tracers
1919
| TracerDiffOnCell | horizontal diffusion of thickness-weighted tracers
2020
| TracerHyperDiffOnCell | biharmonic horizontal mixing of thickness-weighted tracers
21-
| SfcStressForcingOnEdge | forcing by wind stress, defined on edges
21+
| SfcStressForcingOnEdge | forcing by surface stress (e.g. wind), defined on edges
2222
| BottomDragOnEdge | bottom drag, defined on edges
2323
| SurfaceTracerRestoringOnCell | surface tracer restoring, defined on cells
2424

components/omega/test/ocn/AuxiliaryVarsTest.cpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ struct TestSetupPlane {
6565
ErrorMeasures ExpectedDel2TracerErrors = {0.0033346711042859123,
6666
0.0029202923731303323};
6767

68-
ErrorMeasures ExpectedNormalStressErrors = {0.0033910709836867704,
69-
0.0039954090464502795};
70-
7168
KOKKOS_FUNCTION Real pseudoThickness(Real X, Real Y) const {
7269
return 2 + std::cos(TwoPi * X / Lx) * std::cos(TwoPi * Y / Ly);
7370
}
@@ -80,14 +77,6 @@ struct TestSetupPlane {
8077
return std::cos(TwoPi * X / Lx) * std::sin(TwoPi * Y / Ly);
8178
}
8279

83-
KOKKOS_FUNCTION Real sfcStressX(Real X, Real Y) const {
84-
return std::cos(TwoPi * X / Lx) * std::sin(TwoPi * Y / Ly);
85-
}
86-
87-
KOKKOS_FUNCTION Real sfcStressY(Real X, Real Y) const {
88-
return std::sin(TwoPi * X / Lx) * std::cos(TwoPi * Y / Ly);
89-
}
90-
9180
KOKKOS_FUNCTION Real divergence(Real X, Real Y) const {
9281
return TwoPi * (1. / Lx + 1. / Ly) * std::cos(TwoPi * X / Lx) *
9382
std::cos(TwoPi * Y / Ly);
@@ -193,9 +182,6 @@ struct TestSetupSphere {
193182
ErrorMeasures ExpectedDel2TracerErrors = {0.0081206665417422382,
194183
0.004969575978774801};
195184

196-
ErrorMeasures ExpectedNormalStressErrors = {0.0038588958862868362,
197-
0.003813760171030077};
198-
199185
KOKKOS_FUNCTION Real pseudoThickness(Real Lon, Real Lat) const {
200186
return (2 + std::cos(Lon) * std::pow(std::cos(Lat), 4));
201187
}
@@ -208,14 +194,6 @@ struct TestSetupSphere {
208194
return -4 * std::sin(Lon) * std::cos(Lon) * std::pow(std::cos(Lat), 3) *
209195
std::sin(Lat);
210196
}
211-
KOKKOS_FUNCTION Real sfcStressX(Real Lon, Real Lat) const {
212-
return -4 * std::sin(Lon) * std::cos(Lon) * std::pow(std::cos(Lat), 3) *
213-
std::sin(Lat);
214-
}
215-
216-
KOKKOS_FUNCTION Real sfcStressY(Real Lon, Real Lat) const {
217-
return -std::pow(std::sin(Lon), 2) * std::pow(std::cos(Lat), 3);
218-
}
219197

220198
KOKKOS_FUNCTION Real relativeVorticity(Real Lon, Real Lat) const {
221199
return -4 * std::pow(std::cos(Lon), 2) * std::pow(std::cos(Lat), 2) *

0 commit comments

Comments
 (0)