refinementLevel.C File Reference

Attempt to determine the refinement levels of a refined cartesian mesh. Run BEFORE snapping. More...

Go to the source code of this file.

Detailed Description

Attempt to determine the refinement levels of a refined cartesian mesh. 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.