FLASH3.3 Release API

ROBODoc 4.99 manual

Generated from /asc/home/flashdocs/FLASH3_33/source/Simulation/Simulation_customizeProlong.F90 with ROBODoc v4.99.8 on Wed Oct 20 17:16:47 2010

TABLE OF CONTENTS


[Functions] source/Simulation/Simulation_customizeProlong

[top][index]

NAME

  Simulation_customizeProlong

SYNOPSIS

  call Simulation_customizeProlong(integer(IN)  :: beforeOrAfter)

DESCRIPTION

  The Simulation_customizeProlong interface provides a way to
  customize the prolongation of Grid data that normally happens
  after an AMR Grid has changed - in particular, the interpolation
  of data into blocks that were newly created by refining existing
  blocks.

  The interface is called twice for each time that the global
  prolongation operation is applied: once just before prolongation
  gets applied, and then again after prolongation is done.
  The single arguments is used to distinguish the calls.

  After the refinement, apply the user-defined routine for a 
  special prolongation routine from the coarse parents to 
  the newly created child blocks.

  Generally, this routine is only present as a stub and does
  nothing.

ARGUMENTS

   beforeOrAfter : BEFORE when called before prolongation,
                   AFTER when called after prolongation.

NOTES

   The constants BEFORE and AFTER are defined in constants.h.

   As of FLASH 3.1.1, a non-stub implementation for use by
   MHD simulations is provided in the directory tree location
   source/Simulation/SimulationMain/magnetoHD . All simulations
   placed under the magnetoHD directory will therefore this
   implementation by default.  This is usually desired for
   simulations using MHD.  For this reason, simulations using
   MHD should be placed under the magnetoHD directory.

   See documentation headers in the magnetoHD implementation for
   details about that implementation.