Skip to content

Commit 35206d4

Browse files
committed
Remove broken code
Likely this is not needed.
1 parent d05e733 commit 35206d4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/mesh/coordinates.cxx

-8
Original file line numberDiff line numberDiff line change
@@ -1512,14 +1512,6 @@ Coordinates::FieldMetric Coordinates::DDY(const Field2D& f, CELL_LOC loc,
15121512

15131513
Field3D Coordinates::DDY(const Field3D& f, CELL_LOC outloc, const std::string& method,
15141514
const std::string& region) const {
1515-
#if BOUT_USE_METRIC_3D
1516-
if (!f.hasParallelSlices() and !transform->canToFromFieldAligned()) {
1517-
Field3D f_parallel = f;
1518-
transform->calcParallelSlices(f_parallel);
1519-
f_parallel.applyParallelBoundary("parallel_neumann_o2");
1520-
return bout::derivatives::index::DDY(f_parallel, outloc, method, region);
1521-
}
1522-
#endif
15231515
return bout::derivatives::index::DDY(f, outloc, method, region) / dy;
15241516
};
15251517

0 commit comments

Comments
 (0)