sandialabs / compadre

Compadre (Compatible Particle Discretization and Remap)
Other
22 stars 6 forks source link

Potential bug in normal calculation for certain points in a cube-sphere grid #290

Open kuberry opened 2 years ago

kuberry commented 2 years ago
cubed_sphere_N6146_err_nrmls

sphere_cubedsph_N6146.csv normals_N6146_l4.csv

kuberry commented 2 years ago

Note: Indices 4 and 7 (fortran indexing) have errors in their normal calculation 10^7 times larger than other entries. Points are antipodal, and have exact normals of +-<sqrt(2), sqrt(2), sqrt(2)>.