paintEntity (1d, 2d, 3d)

Sets the output variable to 0 everywhere the entity is not defined and 1 everywhere it is defined. This is useful for debugging boundary conditions.

Data

out (string vector)
A nodalArray where the domain of the entity is stored. If you are looking at boundary conditions make sure to set writeHalos=true in the grid.

Example

<Updater init>
  kind = paintEntity2d
  onGrid = domain
  out = [q]
  entity = ghost
</Updater>