FLASH4.6.1 API

Generated from /asc/asci2/site/flashcode/secure/release_4p6/source/physics/Gravity/Gravity_bhSelfContrib.F90 with ROBODoc v4.99.8 on Sun Sep 15 01:16:48 2019

TABLE OF CONTENTS


[Functions] source/physics/Gravity/Gravity_bhSelfContrib

[top][index]

NAME

  Gravity_bhSelfContrib

SYNOPSIS

   call Gravity_bhSelfContrib(
                          real(in)       :: node(:),
                          real(in)       :: cellsize(MDIM),
                          integer(in)    :: blockno,
                          integer(in)    :: point(MDIM),
                          integer(in)    :: blkLimits(2,MDIM),
                          real,pointer   :: solnData(:,:,:,:)
        )

DESCRIPTION

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

ARGUMENTS

  node        : array of the node of the tree, whose
                contribution is added to the gravitational potential
  cellsize    : physical size of the cell (in each dimension)
  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