Correct error in vertex-centred prolongation operators

Merged
#19 · Created  · Last updated

Merged pull request

CarpetLib: Correct error in vertex-centred prolongation operator

dd703e6·Author: ·Closed by: ·2017-08-25

Description

  • CarpetLib: Some reformatting

  • CarpetLib: Correct error in vertex-centred prolongation operator

    Adding a signed and an unsigned integer is always unsigned in C++, and a loop over the stencil terminated early for high order prolongation and small SIMD vector sizes. This has now been corrected.

    I salute the designers of languages such as Julia (where such errors can be caught, and where array sizes are signed to prevent such headaches) or Haskell (where such automatic conversions do not occur).

0 attachments

0 comments

Loading commits...