Closed xylar closed 3 years ago
@mgduda, @akturner and @matthewhoffman. This is an issue that is messing up compass when we run in debug mode. I'd like you all to review (either just by inspection or running some tests if you feel the need) since the mesh converter is one of the most important bits of infrastructure that we share.
@xylar: Looks good.
Thanks @matthewhoffman and @akturner for reviewing so quickly.
@mgduda, I'm guessing we'd have problems elsewhere too if meshes got that big. But worth having in mind. Thanks for the quick review!
Previously, the MPAS mesh converter was not initializing all values in the temporary buffer for writing out
kiteAreasOnVertex
, meaning some areas for nonexistent cells had garbage values. This can cause MPAS model to fail in debug mode with arithmetic errors.