FLASH4.6.1 API

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

TABLE OF CONTENTS


[Functions] source/physics/Gravity/Gravity_unitTest

[top][index]

NAME

  Gravity_unitTest

SYNOPSIS

  call Gravity_unitTest()
                    integer(IN) :: fileUnit,
                    logical(OUT) :: perfect

DESCRIPTION

 This function is the unit test for the Gravity unit. It is invoked in
 the setup unitTest/Gravity. The Config file for Gravity unit test setup
 requests an extra variable in the main grid data structure for
 storing the analytical solution

ARGUMENTS

   fileUnit : unit number for file opened by the unitTest/Gravity setup
              in which to write results of the test

   perfect : indicates test ran without error is true.

PARAMETERS

  eintSwitch  a rarely used switch which ensures that internal energy calculations 
        maintain sufficient precision. Important only if energyTotal is dominated 
        by energyKinetic.