FLASH4.6.1 API

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

TABLE OF CONTENTS


[Functions] source/physics/Gravity/Gravity_bhPartErr

[top][index]

NAME

  Gravity_bhPartErr

SYNOPSIS

  call Gravity_bhPartErr(
             real(in)                       :: node(:),
             real(in)                       :: ndSize,
             real(in)                       :: dr(MDIM+2),
             real(out)                      :: perr
             )

DESCRIPTION

  Calculates error made at a contribution of the node to the gravitational
  potential according to Eq. 9 in Salmon & Warren (1994, J.Comp.Phys., 136, 155).
  Used by the SumSquare MAC which is not fully implemented in this version.

ARGUMENTS

  node        : array of the node of the tree, whose
                contribution is added to the gravitational potential
  ndSize      : physical size of the node (the largest extent of the node)
  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
  perr        : calculated error