Skip to content

Commit

Permalink
Removed leftover code missed in PR #175
Browse files Browse the repository at this point in the history
  • Loading branch information
odlomax authored Mar 6, 2024
1 parent c3333e9 commit 4d58138
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,9 @@ void SphericalVector::do_setup(const FunctionSpace& source,
// whereas eckit does not.
auto complexTriplets = ComplexTriplets(nNonZeros);
auto realTriplets = RealTriplets(nNonZeros);

// Make sure halo lonlats are same as owned points.
auto sourceLonLats = source_.createField<double>(option::name("lonlat") |
option::variables(2));
auto targetLonLats = target_.createField<double>(option::name("lonlat") |
option::variables(2));

const auto sourceLonLatsView = array::make_view<double, 2>(source_.lonlat());
const auto targetLonLatsView = array::make_view<double, 2>(target_.lonlat());

const auto unitSphere = geometry::UnitSphere{};

atlas_omp_parallel_for(auto rowIndex = Index{0}; rowIndex < nRows;
Expand Down

0 comments on commit 4d58138

Please sign in to comment.