FLASH4.5 API

Generated from /asc/asci2/site/flashcode/secure/release_4p5/source/Grid/Grid_getMaxCommonRefinement.F90 with ROBODoc v4.99.8 on Tue Mar 05 16:16:16 2019

TABLE OF CONTENTS


[Functions] source/Grid/Grid_getMaxCommonRefinement

[top][index]

NAME

  Grid_getMaxCommonRefinement

SYNOPSIS

  Grid_getMaxCommonRefinement(integer(IN) :: inputComm, &
                              integer(OUT) :: maxRefinement)

DESCRIPTION

  This is a simple routine to find the maximum common block refinement 
  level in the grid.  We may have an AMR grid in which one portion of 
  the grid is highly refined.  Here, it may be useful to determine the 
  highest block refinement level such that blocks of this level 
  completely cover the computational domain.

ARGUMENTS

  inputComm - Input MPI communicator.
  maxRefinement - Max common refinement level of blocks in the 
                  inputComm communicator.

NOTES

  Communicator argument allows us to compare a subset of processes.
  It also makes it explicit to the user that this routine must be 
  called by all processes in the passed communicator ...otherwise
  deadlock.