FLASH-X
Doxygen Generated Documentation From Interface Source Code
Functions/Subroutines
Gravity_unitTest.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine Gravity_unitTest (fileUnit, perfect)
 

Function/Subroutine Documentation

◆ Gravity_unitTest()

subroutine Gravity_unitTest ( integer  fileUnit,
logical, intent(out)  perfect 
)

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

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.

Definition at line 37 of file Gravity_unitTest.F90.