refinementLevel.C File Reference

Tries to figure out what the refinement level is on refined cartesian meshes. Run BEFORE snapping. More...

Go to the source code of this file.

Detailed Description

Tries to figure out what the refinement level is on refined cartesian meshes. Run BEFORE snapping.

Original source file refinementLevel.C

Writes

  • volScalarField 'refinementLevel' with current refinement level.
  • cellSet 'refCells' which are the cells that need to be refined to satisfy 2:1 refinement.

Works by dividing cells into volume bins.

Definition in file refinementLevel.C.