Skip to content

Commit

Permalink
Interpolate from cubedsphere mesh to structured columns (#146)
Browse files Browse the repository at this point in the history
* Added test fixture.

* Added Cubedsphere to StructuredColumns interpolation test.

* Added halo exchange.

* Changed cubedsphere partitioner "magic number" to match interpolation default.
  • Loading branch information
odlomax authored Jun 22, 2023
1 parent 78e798b commit 5437eb2
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 89 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void MatchingMeshPartitionerCubedSphere::partition(const Grid& grid, int partiti
const auto N = CubedSphereGrid(prePartitionedMesh_.grid()).N();
const auto epsilon = 2. * std::numeric_limits<double>::epsilon() * N;
const auto edgeEpsilon = epsilon;
const size_t listSize = 4;
const size_t listSize = 8;

// Loop over grid and set partioning[].
auto lonlatIt = grid.lonlat().begin();
Expand Down
Loading

0 comments on commit 5437eb2

Please sign in to comment.