# FLASH4.2.2 API

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

## [Functions] source/physics/Gravity/Gravity_bhNodeContrib

[top][index]

NAME

```  Gravity_bhNodeContrib
```

SYNOPSIS

```   call Gravity_bhNodeContrib(
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 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
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
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
```
{"ft_lang_label":"__label__en","ft_lang_prob":0.6930318,"math_prob":0.9523031,"size":960,"snap":"2020-24-2020-29","text_gpt3_token_len":245,"char_repetition_ratio":0.16004184,"word_repetition_ratio":0.014492754,"special_character_ratio":0.24479167,"punctuation_ratio":0.21621622,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96782726,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-07-03T17:00:07Z\",\"WARC-Record-ID\":\"<urn:uuid:6a7e1e3f-4f74-48c9-9c38-d42aff742289>\",\"Content-Length\":\"7019\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d0f7de27-cd07-4935-8cd9-a6184460c971>\",\"WARC-Concurrent-To\":\"<urn:uuid:1c0170f9-bb6d-4954-b392-a4123f4d911b>\",\"WARC-IP-Address\":\"128.135.10.200\",\"WARC-Target-URI\":\"http://flash.uchicago.edu/site/flashcode/user_support/robodoc-FLASH4_4p22/home.py?submit=docs/source/physics/Gravity/Gravity_bhNodeContrib_F90.html\",\"WARC-Payload-Digest\":\"sha1:UGCNRKNOZ42OYTSPDL47TKJKESLJ7QHO\",\"WARC-Block-Digest\":\"sha1:6XYUD5YFR325KNDJDJ2EWIILGJJQBUY4\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593655882634.5_warc_CC-MAIN-20200703153451-20200703183451-00070.warc.gz\"}"}