FLASH4.6.1 API

Generated from /asc/asci2/site/flashcode/secure/release_4p6/source/physics/Gravity/Gravity_bhInitFieldVar.F90 with ROBODoc v4.99.8 on Fri Sep 20 16:16:02 2019

TABLE OF CONTENTS


[Functions] source/physics/Gravity/Gravity_bhInitFieldVar

[top][index]

NAME

  Gravity_bhInitFieldVar

SYNOPSIS

  call Gravity_bhInitFieldVar(
                 integer(in) :: gpotVar
  )

DESCRIPTION

  Called before the tree walk. Initializes fiels variables befor the potential
  is calculated. Sets index of the grid variable where the gravitational 
  potential is stored (passed from Grid_solvePoisson - ipotvar. Calculate
  gravitational acceleration at each grid cell (inverted maximum allowed error
  in acceleration stored in field variable ACEI) - needed for normalization of 
  the error.

ARGUMENTS

  gpotVar : index of the grid variable where the gravitational potential is
            stored. Passed from Grid_solvePoisson.