FLASH4.2.2 API

Generated from /asc/asci2/site/flashcode/secure/release_4p22/source/physics/Gravity/Gravity_bhBotNodeContrib.F90 with ROBODoc v4.99.8 on Wed Jun 18 16:00:22 2014

TABLE OF CONTENTS


[Functions] source/physics/Gravity/Gravity_bhBotNodeContrib

[top][index]

NAME

  Gravity_bhBotNodeContrib

SYNOPSIS

   call Gravity_bhBotNodeContrib(
                          real(in)       :: node(:),
                          real(in)       :: ndSize,
                          real(in)       :: dr(MDIM+2),
                          integer(in)    :: blockno,
                          integer(in)    :: point(MDIM),
                          integer(in)    :: blkLimits(2,MDIM),
                          real,pointer   :: solnData(:,:,:,:)
        )

DESCRIPTION

  Calculates contribution of the bottom-most node to the gravitational
  potential and adds it to the solnData array (with index grv_bhGpotVar).

ARGUMENTS

  node        : array of the bottom-most (leaf) node of the tree, whose
                contribution is added to the gravitational potential
  ndSize      : physical size of the node (the largest extent of the grid cell)
  dr          : (1:MDIM) - position vector from the point-of-calculation to the node
                (MDIM+1) - square of the magnitude of the position vector
                (MDIM+2) - inverted magnitude of the position vector
  blockno     : number of block into which the point-of-calculation belongs
  point       : indeces of the point-of-calculation in the block
  blkLimits   : limits of indeces in the block
  solnData    : solution data from the grid