From 09af7e7a6805dc632fb7b96ffb4aeafd7edb6b7f Mon Sep 17 00:00:00 2001 From: Willem Deconinck Date: Tue, 12 Dec 2023 15:10:08 +0100 Subject: [PATCH] Revert whitespace changes --- src/atlas/CMakeLists.txt | 8 ++++---- src/atlas/interpolation/method/Method.cc | 2 +- src/atlas/interpolation/method/MethodFactory.cc | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/atlas/CMakeLists.txt b/src/atlas/CMakeLists.txt index 1aeccbd62..3636d74d6 100644 --- a/src/atlas/CMakeLists.txt +++ b/src/atlas/CMakeLists.txt @@ -524,7 +524,7 @@ functionspace/detail/PointCloudInterface.cc functionspace/detail/CubedSphereStructure.h functionspace/detail/CubedSphereStructure.cc -# for cubedsphere matching mesh partitioner +# for cubedsphere matching mesh partitioner interpolation/method/cubedsphere/CellFinder.cc interpolation/method/cubedsphere/CellFinder.h interpolation/Vector2D.cc @@ -541,8 +541,8 @@ interpolation/element/Triag3D.cc interpolation/element/Triag3D.h interpolation/method/Intersect.cc interpolation/method/Intersect.h -interpolation/method/Ray.cc # For testing Quad -interpolation/method/Ray.h # For testing Quad +interpolation/method/Ray.cc # For testing Quad +interpolation/method/Ray.h # For testing Quad # for BuildConvexHull3D @@ -868,7 +868,7 @@ if( NOT atlas_HAVE_ATLAS_FUNCTIONSPACE ) unset( atlas_parallel_srcs ) unset( atlas_output_srcs ) unset( atlas_redistribution_srcs ) - unset( atlas_linalg_srcs ) # only depends on array + unset( atlas_linalg_srcs ) # only depends on array endif() if( NOT atlas_HAVE_ATLAS_INTERPOLATION ) diff --git a/src/atlas/interpolation/method/Method.cc b/src/atlas/interpolation/method/Method.cc index 25701dbe6..fb7f90221 100644 --- a/src/atlas/interpolation/method/Method.cc +++ b/src/atlas/interpolation/method/Method.cc @@ -374,7 +374,7 @@ void Method::do_execute(const FieldSet& fieldsSource, FieldSet& fieldsTarget, Me ATLAS_ASSERT(N == fieldsTarget.size()); for (idx_t i = 0; i < fieldsSource.size(); ++i) { - Method::do_execute(fieldsSource[i], fieldsTarget[i], metadata); + Method::do_execute(fieldsSource[i], fieldsTarget[i], metadata); } } diff --git a/src/atlas/interpolation/method/MethodFactory.cc b/src/atlas/interpolation/method/MethodFactory.cc index e666e2bf2..4baa44c37 100644 --- a/src/atlas/interpolation/method/MethodFactory.cc +++ b/src/atlas/interpolation/method/MethodFactory.cc @@ -26,6 +26,7 @@ #include "unstructured/FiniteElement.h" #include "unstructured/UnstructuredBilinearLonLat.h" + namespace atlas { namespace interpolation {