Skip to content

Commit

Permalink
Fix out-of-bounds error
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Aug 21, 2024
1 parent e47c7af commit f62b174
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ class ConservativeSphericalPolygonInterpolation : public Method {
SRCTGT_INTERSECTPLG_DIFF, // index, 1/(unit_sphere.area) ( \sum_{scell} scell.area - \sum{tcell} tcell.area )
REMAP_CONS, // index, error in mass conservation
REMAP_L2, // index, error accuracy for given analytical function
REMAP_LINF // index, like REMAP_L2 but in L_infinity norm
REMAP_LINF, // index, like REMAP_L2 but in L_infinity norm
ERRORS_ENUM_SIZE
};
std::array<double, 11> errors;
std::array<double, ERRORS_ENUM_SIZE> errors;

double tgt_area_sum;
double src_area_sum;
Expand Down

0 comments on commit f62b174

Please sign in to comment.