Skip to content

Commit

Permalink
replace tabs with whitespace to confirm with c++ coding norms (#1362)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Nov 13, 2024
1 parent 937c3be commit d908c1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/soca/gdas_soca_diagb.h
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ namespace gdasapp {
// Loops through nodes and levels
for (atlas::idx_t level = 0; level < xbFs[var].shape(1); ++level) {
for (atlas::idx_t jnode = 0;
jnode < xbFs["sea_water_potential_temperature"].shape(0); ++jnode) {
jnode < xbFs["sea_water_potential_temperature"].shape(0); ++jnode) {
// Early exit if on a ghost cell
if (ghostView(jnode) > 0) {
continue;
Expand Down Expand Up @@ -405,7 +405,7 @@ namespace gdasapp {
auto tmpArray(stdDevBkg);
for (int iter = 0; iter < configD.niterVert; ++iter) {
for (atlas::idx_t jnode = 0;
jnode < xbFs["sea_water_potential_temperature"].shape(0); ++jnode) {
jnode < xbFs["sea_water_potential_temperature"].shape(0); ++jnode) {
for (atlas::idx_t level = 1; level < xbFs[var].shape(1)-1; ++level) {
stdDevBkg(jnode, level) = (tmpArray(jnode, level-1) +
tmpArray(jnode, level) +
Expand All @@ -427,7 +427,7 @@ namespace gdasapp {
// Create the diffusion object
oops::GeometryData geometryData(geom.functionSpace(),
bkgErrFs["sea_water_potential_temperature"],
true, this->getComm());
true, this->getComm());
oops::Diffusion diffuse(geometryData);
diffuse.calculateDerivedGeom(geometryData);

Expand Down

0 comments on commit d908c1f

Please sign in to comment.