Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public, | parameter | :: | tagns | = | 2 | NOW A LIST OF TAGS SO THESE DO NOT NEED TO BE EMBEDDED IN EACH SUBROUTINE root/workers input routines. also output routines for root/worker |
integer, | public, | parameter | :: | tagvs1 | = | 3 | NOW A LIST OF TAGS SO THESE DO NOT NEED TO BE EMBEDDED IN EACH SUBROUTINE root/workers input routines. also output routines for root/worker |
integer, | public, | parameter | :: | tagTs | = | 4 | NOW A LIST OF TAGS SO THESE DO NOT NEED TO BE EMBEDDED IN EACH SUBROUTINE root/workers input routines. also output routines for root/worker |
integer, | public, | parameter | :: | tagJ1 | = | 6 | output root/worker routines, main program, potential_comm |
integer, | public, | parameter | :: | tagJ2 | = | 7 | output root/worker routines, main program, potential_comm |
integer, | public, | parameter | :: | tagJ3 | = | 8 | output root/worker routines, main program, potential_comm |
integer, | public, | parameter | :: | tagv2 | = | 9 | output root/worker routines, main program, potential_comm |
integer, | public, | parameter | :: | tagv3 | = | 10 | output root/worker routines, main program, potential_comm |
integer, | public, | parameter | :: | tagvs3BC | = | 100 | used in the advection boundary conditions |
integer, | public, | parameter | :: | tagnsBC | = | 101 | used in the advection boundary conditions |
integer, | public, | parameter | :: | tagrhovs1BC | = | 102 | used in the advection boundary conditions |
integer, | public, | parameter | :: | tagrhoesBC | = | 103 | used in the advection boundary conditions |
integer, | public, | parameter | :: | tagvs1BC | = | 1000 | |
integer, | public, | parameter | :: | tagvs2BC | = | 1001 | |
integer, | public, | parameter | :: | tagE1 | = | 11 | THESE MESSAGES ARE USED IN ELECTRODYNAMICS MODULE |
integer, | public, | parameter | :: | tagE2 | = | 12 | THESE MESSAGES ARE USED IN ELECTRODYNAMICS MODULE |
integer, | public, | parameter | :: | tagE3 | = | 13 | THESE MESSAGES ARE USED IN ELECTRODYNAMICS MODULE |
integer, | public, | parameter | :: | tagsigP | = | 16 | |
integer, | public, | parameter | :: | tagsigH | = | 17 | |
integer, | public, | parameter | :: | tagsig0 | = | 18 | |
integer, | public, | parameter | :: | tagincap | = | 19 | |
integer, | public, | parameter | :: | tagv2pol | = | 20 | |
integer, | public, | parameter | :: | tagv3pol | = | 21 | |
integer, | public, | parameter | :: | tagDE2Dt | = | 22 | |
integer, | public, | parameter | :: | tagDE3Dt | = | 23 | |
integer, | public, | parameter | :: | tagflagdirich | = | 24 | |
integer, | public, | parameter | :: | tagvn2 | = | 25 | |
integer, | public, | parameter | :: | tagvn3 | = | 26 | |
integer, | public, | parameter | :: | tagB1 | = | 27 | |
integer, | public, | parameter | :: | tagx3 | = | 1 | IN THE MAIN PROGRAM |
integer, | public, | parameter | :: | tagdt | = | 5 | IN THE MAIN PROGRAM |
integer, | public, | parameter | :: | tagx1 | = | 27 | |
integer, | public, | parameter | :: | tagx2 | = | 28 | |
integer, | public, | parameter | :: | tagh1 | = | 29 | IN THE GRID MODULE |
integer, | public, | parameter | :: | tagh2 | = | 30 | IN THE GRID MODULE |
integer, | public, | parameter | :: | tagh3 | = | 31 | IN THE GRID MODULE |
integer, | public, | parameter | :: | tagglat | = | 32 | |
integer, | public, | parameter | :: | tagglon | = | 33 | |
integer, | public, | parameter | :: | tagalt | = | 34 | |
integer, | public, | parameter | :: | taglx1 | = | 35 | |
integer, | public, | parameter | :: | taglx2 | = | 36 | |
integer, | public, | parameter | :: | taglx3 | = | 37 | |
integer, | public, | parameter | :: | taglx3all | = | 38 | |
integer, | public, | parameter | :: | tagBmag | = | 39 | |
integer, | public, | parameter | :: | taginc | = | 40 | |
integer, | public, | parameter | :: | tagnull | = | 41 | |
integer, | public, | parameter | :: | tageunit1 | = | 42 | |
integer, | public, | parameter | :: | tageunit2 | = | 43 | |
integer, | public, | parameter | :: | tageunit3 | = | 44 | |
integer, | public, | parameter | :: | tager | = | 45 | |
integer, | public, | parameter | :: | tagetheta | = | 46 | |
integer, | public, | parameter | :: | tagephi | = | 47 | |
integer, | public, | parameter | :: | tagr | = | 56 | |
integer, | public, | parameter | :: | tagtheta | = | 57 | |
integer, | public, | parameter | :: | tagphi | = | 58 | |
integer, | public, | parameter | :: | taglrho | = | 48 | IN THE NEUTRAL MODULE |
integer, | public, | parameter | :: | taglz | = | 49 | IN THE NEUTRAL MODULE |
integer, | public, | parameter | :: | tagdnO | = | 50 | |
integer, | public, | parameter | :: | tagdnN2 | = | 51 | |
integer, | public, | parameter | :: | tagdnO2 | = | 52 | |
integer, | public, | parameter | :: | tagdTn | = | 53 | |
integer, | public, | parameter | :: | tagdvnrho | = | 54 | |
integer, | public, | parameter | :: | tagdvnz | = | 55 | |
integer, | public, | parameter | :: | tagly | = | 69 | |
integer, | public, | parameter | :: | tagllat | = | 59 | FOR DEALING WITH PRECIPITATION BOUNDARY CONDITIONS MODULE |
integer, | public, | parameter | :: | tagllon | = | 60 | FOR DEALING WITH PRECIPITATION BOUNDARY CONDITIONS MODULE |
integer, | public, | parameter | :: | tagmlat | = | 61 | FOR DEALING WITH PRECIPITATION BOUNDARY CONDITIONS MODULE |
integer, | public, | parameter | :: | tagmlon | = | 62 | FOR DEALING WITH PRECIPITATION BOUNDARY CONDITIONS MODULE |
integer, | public, | parameter | :: | tagQp | = | 63 | FOR DEALING WITH PRECIPITATION BOUNDARY CONDITIONS MODULE |
integer, | public, | parameter | :: | tagE0p | = | 64 | FOR DEALING WITH PRECIPITATION BOUNDARY CONDITIONS MODULE |
integer, | public, | parameter | :: | tagE0xp | = | 65 | FOR DEALING WITH THE ELECTRIC FIELD BOUNDARY CONDITIONS |
integer, | public, | parameter | :: | tagE0yp | = | 66 | FOR DEALING WITH THE ELECTRIC FIELD BOUNDARY CONDITIONS |
integer, | public, | parameter | :: | tagE0xi | = | 67 | FOR DEALING WITH THE ELECTRIC FIELD BOUNDARY CONDITIONS |
integer, | public, | parameter | :: | tagE0yi | = | 68 | FOR DEALING WITH THE ELECTRIC FIELD BOUNDARY CONDITIONS |
integer, | public, | parameter | :: | tagsrc | = | 69 | FOR DISTRIBUTING PART OF THE ELECTRODYNAMICS CALCULATIONS |
integer, | public, | parameter | :: | tagSigPint2 | = | 70 | FOR DISTRIBUTING PART OF THE ELECTRODYNAMICS CALCULATIONS |
integer, | public, | parameter | :: | tagSigPint3 | = | 71 | FOR DISTRIBUTING PART OF THE ELECTRODYNAMICS CALCULATIONS |
integer, | public, | parameter | :: | tagSigHint | = | 72 | FOR DISTRIBUTING PART OF THE ELECTRODYNAMICS CALCULATIONS |
integer, | public, | parameter | :: | tagincapint | = | 73 | FOR DISTRIBUTING PART OF THE ELECTRODYNAMICS CALCULATIONS |
integer, | public, | parameter | :: | tagv2electro | = | 74 | FOR DISTRIBUTING PART OF THE ELECTRODYNAMICS CALCULATIONS |
integer, | public, | parameter | :: | tagv3electro | = | 75 | FOR DISTRIBUTING PART OF THE ELECTRODYNAMICS CALCULATIONS |
integer, | public, | parameter | :: | tagE01 | = | 76 | |
integer, | public, | parameter | :: | tagE02 | = | 77 | |
integer, | public, | parameter | :: | tagE03 | = | 78 | |
integer, | public, | parameter | :: | tagVminx1 | = | 79 | |
integer, | public, | parameter | :: | tagVmaxx1 | = | 80 | |
integer, | public, | parameter | :: | tagBr | = | 81 | THESE ARE USED IN MAGCALC.F90 PROGRAM |
integer, | public, | parameter | :: | tagBtheta | = | 82 | THESE ARE USED IN MAGCALC.F90 PROGRAM |
integer, | public, | parameter | :: | tagBphi | = | 83 | THESE ARE USED IN MAGCALC.F90 PROGRAM |
integer, | public, | parameter | :: | tagdV | = | 84 | |
integer, | public, | parameter | :: | tagJx | = | 85 | |
integer, | public, | parameter | :: | tagJy | = | 86 | |
integer, | public, | parameter | :: | tagRx | = | 87 | |
integer, | public, | parameter | :: | tagRy | = | 88 | |
integer, | public, | parameter | :: | tagRz | = | 89 | |
integer, | public, | parameter | :: | tagRcubed | = | 90 | |
integer, | public, | parameter | :: | tagJz | = | 91 | |
integer, | public, | parameter | :: | tagswap | = | 92 | FOR COMMUNICATING IF THE GRID DIMENSIONS HAVE BEEN SWAPPED |
integer, | public, | parameter | :: | taglx2all | = | 93 | FOR SENDING THE FULL X2 GRID SIZE |
integer, | public, | parameter | :: | tagx2all | = | 94 | |
integer, | public, | parameter | :: | tagx3all | = | 95 | |
integer, | public, | parameter | :: | tagAur | = | 96 | AURORAL TAG(S)
|
integer, | public, | parameter | :: | tagTninf | = | 98 | |
integer, | public, | parameter | :: | tagxnrange | = | 99 | |
integer, | public, | parameter | :: | tagynrange | = | 104 | |
integer, | public, | parameter | :: | taglx | = | 105 | |
integer, | public, | parameter | :: | tagxn | = | 106 | |
integer, | public, | parameter | :: | tagyn | = | 107 | |
integer, | public, | parameter | :: | tagzn | = | 108 | |
integer, | public, | parameter | :: | tagdvnx | = | 109 | |
integer, | protected | :: | myid | VARIABLES REUSED BY ALL WORKERS AND USING MODULES no external procedure should mess with these (but they need to be able to read them) |
|||
integer, | protected | :: | lid | VARIABLES REUSED BY ALL WORKERS AND USING MODULES no external procedure should mess with these (but they need to be able to read them) |
|||
integer, | private | :: | ierr | = | 0 | ||
integer, | protected | :: | lid2 | using procedures need to be able to overwrite this to prevent seg. faults (or something) VARIABLES RELATED TO PROCESS GRID (IF USED) |
|||
integer, | protected | :: | lid3 | using procedures need to be able to overwrite this to prevent seg. faults (or something) VARIABLES RELATED TO PROCESS GRID (IF USED) |
|||
integer, | protected | :: | myid2 | using procedures need to be able to overwrite this to prevent seg. faults (or something) VARIABLES RELATED TO PROCESS GRID (IF USED) |
|||
integer, | protected | :: | myid3 | using procedures need to be able to overwrite this to prevent seg. faults (or something) VARIABLES RELATED TO PROCESS GRID (IF USED) |
Some explanation as the the naming convention used in this module is in order at this point.
Generally it is:
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(-1:) | :: | paramall | ||
integer, | intent(in) | :: | tag | |||
real(kind=wp), | intent(out), | dimension(-1:) | :: | param |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(out), | dimension(-1:) | :: | param | ||
integer, | intent(in) | :: | tag |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(out), | dimension(:,:) | :: | paramtrim | ||
integer, | intent(in) | :: | tag |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(inout), | dimension(:,:,:) | :: | param | ||
real(kind=wp), | intent(out), | dimension(:,:) | :: | paramend | ||
real(kind=wp), | intent(out), | dimension(:,:) | :: | paramtop | ||
integer, | intent(in) | :: | tag |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | i2 | |||
integer, | intent(in) | :: | i3 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ID |
GET THE MIN AND MAX X2,X3 INDICES REFERENCING FULL GRID VARIABLE FOR A GIVEN PROCESS ID
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ID | |||
integer, | intent(in) | :: | lx2 | |||
integer, | intent(in) | :: | lx3 |
SHUTS DOWN MPI
INITIALIZES MODULE MPI VARIABLES FOR A WORKER. THIS CURRENTLY IS UNUSED AS IT HAS NOT BEEN FULLY IMPLEMENTED IN THIS VERSINO OF THE CODE.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | lx2all | |||
integer, | intent(in) | :: | lx3all | |||
integer, | intent(in) | :: | lid2in | |||
integer, | intent(in) | :: | lid3in |
THIS SUBROUTINE DEFINES A PROCESS GRID, IF REQUIRED
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | lx2all | |||
integer, | intent(in) | :: | lx3all |