main
| Line | |
|---|
| 1 | !!****if* source/physics/sourceTerms/Heat/HeatMain/Neutrino/Heat_init
|
|---|
| 2 | !!
|
|---|
| 3 | !! NAME
|
|---|
| 4 | !!
|
|---|
| 5 | !! Heat_init
|
|---|
| 6 | !!
|
|---|
| 7 | !!
|
|---|
| 8 | !! SYNOPSIS
|
|---|
| 9 | !!
|
|---|
| 10 | !! call Heat_init()
|
|---|
| 11 | !!
|
|---|
| 12 | !!
|
|---|
| 13 | !! DESCRIPTION
|
|---|
| 14 | !!
|
|---|
| 15 | !! Perform various initializations (apart from the problem-dependent ones)
|
|---|
| 16 | !! for the heat module.
|
|---|
| 17 | !!
|
|---|
| 18 | !!
|
|---|
| 19 | !! ARGUMENTS
|
|---|
| 20 | !!
|
|---|
| 21 | !!
|
|---|
| 22 | !!
|
|---|
| 23 | !!***
|
|---|
| 24 | subroutine Heat_init()
|
|---|
| 25 |
|
|---|
| 26 | use Heat_data
|
|---|
| 27 |
|
|---|
| 28 | use RuntimeParameters_interface, ONLY : RuntimeParameters_get
|
|---|
| 29 | use Driver_interface, ONLY : Driver_getMype,Driver_getNumProcs
|
|---|
| 30 |
|
|---|
| 31 | implicit none
|
|---|
| 32 |
|
|---|
| 33 | #include "constants.h"
|
|---|
| 34 |
|
|---|
| 35 | ! Everybody should know these
|
|---|
| 36 |
|
|---|
| 37 | call Driver_getMype(MESH_COMM,ht_meshMe)
|
|---|
| 38 | call Driver_getNumProcs(MESH_COMM, ht_numProcs)
|
|---|
| 39 |
|
|---|
| 40 | call RuntimeParameters_get("useHeat", useHeat)
|
|---|
| 41 | call RuntimeParameters_get("Lneut", ht_Lneut)
|
|---|
| 42 | call RuntimeParameters_get("Tneut", ht_Tneut)
|
|---|
| 43 | call RuntimeParameters_get("postBounce", ht_postBounce)
|
|---|
| 44 | call RuntimeParameters_get("useEntr", ht_useEntr)
|
|---|
| 45 | call RuntimeParameters_get("heatTimeFac", ht_heatTimeFac)
|
|---|
| 46 |
|
|---|
| 47 | return
|
|---|
| 48 | end subroutine Heat_init
|
|---|
| 49 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.