valueCorrector (1d, 2d, 3d)

Cleans a nodalArray of “bad” values. If a value in the array is below a basment value or is undefined (nan,inf etc), the value corrector sets the value to the basement value. Cleans every value in the output vector so if your output is length 6 it cleans all 6 components.


out (string vector)
The variable that will be modified


basementValue (float)
Minimum value the nodalArray is allowed to have. If the value drops below this then it will be reset to basementValue


<Updater init>
  kind = valueCorrector1d
  onGrid = domain
  out = [q]
  basementValue = 1.0