wiki:CoarseFine

Version 2 (modified by trac, 12 years ago) ( diff )

The !CoarseFine1D Subroutine

The !CoarseFine1D subroutine in FixUp sets the Info%!ChildSign1D to -1 at coarse/fine interfaces, 1 at fine/coarse interfaces, and 0 elsewhere

Input Parameters

  • n: Refers to the direction of the current slice
  • indx: contains the indices for the slice in the n-direction
  • extlow: contains the lower index in the n-direction
  • exthigh: contains the upper index in the n-direction
  • Info%ChildMask: contains an integer that is 1 if a cell is refined and 0 if not.

Output Parameters

  • Info%ChildSign1D: an integer that is -1 at coarse/fine interfaces, 1 at fine/coarse interfaces, and 0 elsewhere
Note: See TracWiki for help on using the wiki.