Skip to content

Commit 43a3c67

Browse files
committed
BUG: need to pass all densities
1 parent dba20a0 commit 43a3c67

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/exchange_messages.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ bool Neutrals::exchange_old(Grid &grid) {
1818
int64_t nGCs = grid.get_nGCs();
1919

2020
for (int iSpecies = 0; iSpecies < nSpecies; iSpecies++) {
21-
if (species[iSpecies].DoAdvect)
22-
DidWork = exchange_one_var(grid, species[iSpecies].density_scgc, false);
21+
//if (species[iSpecies].DoAdvect)
22+
DidWork = exchange_one_var(grid, species[iSpecies].density_scgc, false);
2323
}
2424

2525
DidWork = exchange_one_var(grid, temperature_scgc, false);
@@ -1033,14 +1033,14 @@ bool exchange_one_var(Grid &grid,
10331033
MPI_Barrier(aether_comm);
10341034

10351035
// If this is a cubesphere grid, interpolate ghostcells to their proper location
1036-
if (grid.IsCubeSphereGrid & grid.gcInterpolationSet) {
1037-
report.print(3, "Interpolating Ghostcells to Proper Location");
1038-
var_scgc = interpolate_ghostcells(var_to_pass, grid);
1039-
var_to_pass = var_scgc;
1040-
}
1036+
//if (grid.IsCubeSphereGrid & grid.gcInterpolationSet) {
1037+
// report.print(3, "Interpolating Ghostcells to Proper Location");
1038+
// var_scgc = interpolate_ghostcells(var_to_pass, grid);
1039+
// var_to_pass = var_scgc;
1040+
//}
10411041

10421042
// Now we fill in the corners so that we don't have zero values there:
1043-
fill_corners(var_to_pass, nG);
1043+
//fill_corners(var_to_pass, nG);
10441044

10451045
report.exit(function);
10461046
return DidWork;

0 commit comments

Comments
 (0)