77 #define F2H(k,p,q) (CDZ(k+p-1)*GSQRT(k+p-1,i,j)/(CDZ(k)*GSQRT(k,i,j)+CDZ(k+1)*GSQRT(k+1,i,j))) 79 #define F2H(k,p,q) 0.5_RP 86 real(RP),
parameter :: f2 = 0.5_rp
103 real(RP),
intent(out) :: valW (
ka)
104 real(RP),
intent(in) :: mflx (
ka)
105 real(RP),
intent(in) :: val (
ka)
106 real(RP),
intent(in) :: GSQRT(
ka)
107 real(RP),
intent(in) :: CDZ (
ka)
114 call check( __line__, mflx(k) )
116 call check( __line__, val(k) )
117 call check( __line__, val(k+1) )
120 valw(k) = f2 * ( val(k+1)+val(k) )
145 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
146 real(RP),
intent(in) :: mflx (
ka,
ia,
ja)
147 real(RP),
intent(in) :: val (
ka,
ia,
ja)
148 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
150 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
152 real(RP),
intent(in) :: CDZ (
ka)
153 integer,
intent(in) :: IIS, IIE, JJS, JJE
164 call check( __line__, mflx(k,i,j) )
166 call check( __line__, val(k,i,j) )
167 call check( __line__, val(k+1,i,j) )
172 * ( f2 * ( val(k+1,i,j)+val(k,i,j) ) ) &
173 + gsqrt(k,i,j) * num_diff(k,i,j)
178 k = iundef; i = iundef; j = iundef
187 flux(
ks-1,i,j) = 0.0_rp
189 flux(
ke ,i,j) = 0.0_rp
193 k = iundef; i = iundef; j = iundef
211 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
212 real(RP),
intent(in) :: mflx (
ka,
ia,
ja)
213 real(RP),
intent(in) :: val (
ka,
ia,
ja)
214 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
216 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
218 real(RP),
intent(in) :: CDZ(
ka)
219 integer,
intent(in) :: IIS, IIE, JJS, JJE
230 call check( __line__, mflx(k,i,j) )
232 call check( __line__, val(k,i,j) )
233 call check( __line__, val(k,i+1,j) )
238 * ( f2 * ( val(k,i+1,j)+val(k,i,j) ) ) &
239 + gsqrt(k,i,j) * num_diff(k,i,j)
244 k = iundef; i = iundef; j = iundef
262 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
263 real(RP),
intent(in) :: mflx (
ka,
ia,
ja)
264 real(RP),
intent(in) :: val (
ka,
ia,
ja)
265 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
267 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
269 real(RP),
intent(in) :: CDZ(
ka)
270 integer,
intent(in) :: IIS, IIE, JJS, JJE
281 call check( __line__, mflx(k,i,j) )
283 call check( __line__, val(k,i,j) )
284 call check( __line__, val(k,i,j+1) )
289 * ( f2 * ( val(k,i,j+1)+val(k,i,j) ) ) &
290 + gsqrt(k,i,j) * num_diff(k,i,j)
295 k = iundef; i = iundef; j = iundef
316 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
317 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
318 real(RP),
intent(in) :: val (
ka,
ia,
ja)
319 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
320 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
321 real(RP),
intent(in) :: J33G
323 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
325 real(RP),
intent(in) :: CDZ (
ka)
326 real(RP),
intent(in) :: FDZ (
ka-1)
327 real(RP),
intent(in) :: dtrk
328 integer,
intent(in) :: IIS, IIE, JJS, JJE
342 call check( __line__, mom(k-1,i,j) )
343 call check( __line__, mom(k ,i,j) )
345 call check( __line__, val(k-1,i,j) )
346 call check( __line__, val(k,i,j) )
349 vel = ( 0.5_rp * ( mom(k-1,i,j) &
352 flux(k-1,i,j) = j33g * vel &
353 * ( f2 * ( val(k,i,j)+val(k-1,i,j) ) ) &
354 + gsqrt(k,i,j) * num_diff(k,i,j)
359 k = iundef; i = iundef; j = iundef
368 flux(
ks-1,i,j) = 0.0_rp
372 sw = sign( 1.0_rp, mom(
ks,i,j) )
373 flux(
ks ,i,j) = sw * min( sw*flux(
ks,i,j), sw*val(
ks,i,j)*gsqrt(
ks,i,j)*fdz(
ks)/dtrk )
376 flux(
ke-1,i,j) = 0.0_rp
377 flux(
ke ,i,j) = 0.0_rp
395 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
396 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
397 real(RP),
intent(in) :: val (
ka,
ia,
ja)
398 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
399 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
400 real(RP),
intent(in) :: J13G (
ka,
ia,
ja)
401 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
402 real(RP),
intent(in) :: CDZ (
ka)
403 integer,
intent(in) :: IIS, IIE, JJS, JJE
413 vel = ( 0.5_rp * ( mom(k,i,j)+mom(k,i-1,j) ) ) &
415 flux(k-1,i,j) = j13g(k,i,j) / mapf(i,j,+2) * vel &
416 * ( f2 * ( val(k,i,j)+val(k-1,i,j) ) )
424 flux(
ks-1,i,j) = 0.0_rp
426 flux(
ke-1,i,j) = 0.0_rp
443 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
444 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
445 real(RP),
intent(in) :: val (
ka,
ia,
ja)
446 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
447 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
448 real(RP),
intent(in) :: J23G (
ka,
ia,
ja)
449 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
450 real(RP),
intent(in) :: CDZ (
ka)
451 integer,
intent(in) :: IIS, IIE, JJS, JJE
461 vel = ( 0.5_rp * ( mom(k,i,j)+mom(k,i,j-1) ) ) &
463 flux(k-1,i,j) = j23g(k,i,j) / mapf(i,j,+1) * vel &
464 * ( f2 * ( val(k,i,j)+val(k-1,i,j) ) )
472 flux(
ks-1,i,j) = 0.0_rp
474 flux(
ke-1,i,j) = 0.0_rp
495 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
496 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
497 real(RP),
intent(in) :: val (
ka,
ia,
ja)
498 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
499 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
500 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
502 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
504 real(RP),
intent(in) :: CDZ (
ka)
505 integer,
intent(in) :: IIS, IIE, JJS, JJE
516 call check( __line__, mom(k ,i,j) )
517 call check( __line__, mom(k+1,i,j) )
519 call check( __line__, val(k,i,j) )
520 call check( __line__, val(k,i+1,j) )
523 vel = ( f2h(k,1,i_uyz) &
528 * 0.5_rp * ( dens(k+1,i,j)+dens(k+1,i+1,j) ) &
530 * 0.5_rp * ( dens(k,i,j)+dens(k,i+1,j) ) )
531 flux(k,i,j) = gsqrt(k,i,j) / mapf(i,j,+2) * vel &
532 * ( f2 * ( val(k,i+1,j)+val(k,i,j) ) ) &
533 + gsqrt(k,i,j) * num_diff(k,i,j)
538 k = iundef; i = iundef; j = iundef
544 flux(
ke,i,j) = 0.0_rp
548 k = iundef; i = iundef; j = iundef
567 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
568 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
569 real(RP),
intent(in) :: val (
ka,
ia,
ja)
570 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
571 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
572 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
574 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
576 real(RP),
intent(in) :: CDZ (
ka)
577 integer,
intent(in) :: IIS, IIE, JJS, JJE
588 call check( __line__, mom(k ,i,j) )
589 call check( __line__, mom(k+1,i,j) )
591 call check( __line__, val(k,i,j) )
592 call check( __line__, val(k,i,j+1) )
595 vel = ( f2h(k,1,i_xvz) &
600 * 0.5_rp * ( dens(k+1,i,j)+dens(k+1,i,j+1) ) &
602 * 0.5_rp * ( dens(k,i,j)+dens(k,i,j+1) ) )
603 flux(k,i,j) = gsqrt(k,i,j) / mapf(i,j,+1) * vel &
604 * ( f2 * ( val(k,i,j+1)+val(k,i,j) ) ) &
605 + gsqrt(k,i,j) * num_diff(k,i,j)
610 k = iundef; i = iundef; j = iundef
616 flux(
ke,i,j) = 0.0_rp
620 k = iundef; i = iundef; j = iundef
640 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
641 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
642 real(RP),
intent(in) :: val (
ka,
ia,
ja)
643 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
644 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
645 real(RP),
intent(in) :: J33G
647 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
649 real(RP),
intent(in) :: CDZ (
ka)
650 integer,
intent(in) :: IIS, IIE, JJS, JJE
661 call check( __line__, mom(k,i,j) )
662 call check( __line__, mom(k,i+1,j) )
664 call check( __line__, val(k,i,j) )
665 call check( __line__, val(k+1,i,j) )
668 vel = ( 0.5_rp * ( mom(k,i,j)+mom(k,i+1,j) ) ) &
670 * 0.5_rp * ( dens(k+1,i,j)+dens(k+1,i+1,j) ) &
672 * 0.5_rp * ( dens(k,i,j)+dens(k,i+1,j) ) )
673 flux(k,i,j) = j33g * vel &
674 * ( f2 * ( val(k+1,i,j)+val(k,i,j) ) ) &
675 + gsqrt(k,i,j) * num_diff(k,i,j)
680 k = iundef; i = iundef; j = iundef
689 flux(
ks-1,i,j) = 0.0_rp
691 flux(
ke,i,j) = 0.0_rp
695 k = iundef; i = iundef; j = iundef
711 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
712 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
713 real(RP),
intent(in) :: val (
ka,
ia,
ja)
714 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
715 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
716 real(RP),
intent(in) :: J13G (
ka,
ia,
ja)
717 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
718 real(RP),
intent(in) :: CDZ (
ka)
719 integer,
intent(in) :: IIS, IIE, JJS, JJE
729 vel = ( f2h(k,1,i_uyz) &
734 * 0.5_rp * ( dens(k+1,i,j)+dens(k+1,i+1,j) ) &
736 * 0.5_rp * ( dens(k,i,j)+dens(k,i+1,j) ) )
737 flux(k,i,j) = j13g(k,i,j) / mapf(i,j,+2) * vel &
738 * ( f2 * ( val(k+1,i,j)+val(k,i,j) ) )
746 flux(
ks-1,i,j) = 0.0_rp
748 flux(
ke ,i,j) = 0.0_rp
765 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
766 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
767 real(RP),
intent(in) :: val (
ka,
ia,
ja)
768 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
769 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
770 real(RP),
intent(in) :: J23G (
ka,
ia,
ja)
771 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
772 real(RP),
intent(in) :: CDZ (
ka)
773 integer,
intent(in) :: IIS, IIE, JJS, JJE
783 vel = ( f2h(k,1,i_xvz) &
784 * 0.25_rp * ( mom(k+1,i,j)+mom(k+1,i+1,j)+mom(k+1,i,j-1)+mom(k+1,i+1,j-1) ) &
786 * 0.25_rp * ( mom(k,i,j)+mom(k,i+1,j)+mom(k,i,j-1)+mom(k,i+1,j-1) ) ) &
788 * 0.5_rp * ( dens(k+1,i,j)+dens(k+1,i+1,j) ) &
790 * 0.5_rp * ( dens(k,i,j)+dens(k,i+1,j) ) )
791 flux(k,i,j) = j23g(k,i,j) / mapf(i,j,+1) * vel &
792 * ( f2 * ( val(k+1,i,j)+val(k,i,j) ) )
800 flux(
ks-1,i,j) = 0.0_rp
802 flux(
ke ,i,j) = 0.0_rp
822 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
823 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
824 real(RP),
intent(in) :: val (
ka,
ia,
ja)
825 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
826 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
827 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
829 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
831 real(RP),
intent(in) :: CDZ (
ka)
832 integer,
intent(in) :: IIS, IIE, JJS, JJE
845 call check( __line__, mom(k,i ,j) )
846 call check( __line__, mom(k,i-1,j) )
848 call check( __line__, val(k,i-1,j) )
849 call check( __line__, val(k,i,j) )
852 vel = ( 0.5_rp * ( mom(k,i,j)+mom(k,i-1,j) ) ) &
854 flux(k,i-1,j) = gsqrt(k,i,j) / mapf(i,j,+2) * vel &
855 * ( f2 * ( val(k,i,j)+val(k,i-1,j) ) ) &
856 + gsqrt(k,i,j) * num_diff(k,i,j)
861 k = iundef; i = iundef; j = iundef
880 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
881 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
882 real(RP),
intent(in) :: val (
ka,
ia,
ja)
883 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
884 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
885 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
887 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
889 real(RP),
intent(in) :: CDZ (
ka)
890 integer,
intent(in) :: IIS, IIE, JJS, JJE
901 call check( __line__, mom(k,i ,j) )
902 call check( __line__, mom(k,i-1,j) )
904 call check( __line__, val(k,i,j) )
905 call check( __line__, val(k,i,j+1) )
908 vel = ( 0.5_rp * ( mom(k,i,j)+mom(k,i+1,j) ) ) &
909 / ( 0.25_rp * ( dens(k,i,j)+dens(k,i+1,j)+dens(k,i,j+1)+dens(k,i+1,j+1) ) )
910 flux(k,i,j) = gsqrt(k,i,j) / mapf(i,j,+1) * vel &
911 * ( f2 * ( val(k,i,j+1)+val(k,i,j) ) ) &
912 + gsqrt(k,i,j) * num_diff(k,i,j)
917 k = iundef; i = iundef; j = iundef
938 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
939 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
940 real(RP),
intent(in) :: val (
ka,
ia,
ja)
941 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
942 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
943 real(RP),
intent(in) :: J33G
945 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
947 real(RP),
intent(in) :: CDZ (
ka)
948 integer,
intent(in) :: IIS, IIE, JJS, JJE
959 call check( __line__, mom(k,i,j) )
960 call check( __line__, mom(k,i,j+1) )
962 call check( __line__, val(k,i,j) )
963 call check( __line__, val(k+1,i,j) )
966 vel = ( 0.5_rp * ( mom(k,i,j)+mom(k,i,j+1) ) ) &
968 * 0.5_rp * ( dens(k+1,i,j)+dens(k+1,i,j+1) ) &
970 * 0.5_rp * ( dens(k,i,j)+dens(k,i,j+1) ) )
971 flux(k,i,j) = j33g * vel &
972 * ( f2 * ( val(k+1,i,j)+val(k,i,j) ) ) &
973 + gsqrt(k,i,j) * num_diff(k,i,j)
978 k = iundef; i = iundef; j = iundef
987 flux(
ks-1,i,j) = 0.0_rp
989 flux(
ke,i,j) = 0.0_rp
993 k = iundef; i = iundef; j = iundef
1004 GSQRT, J13G, MAPF, &
1006 IIS, IIE, JJS, JJE )
1009 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
1010 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
1011 real(RP),
intent(in) :: val (
ka,
ia,
ja)
1012 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
1013 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
1014 real(RP),
intent(in) :: J13G (
ka,
ia,
ja)
1015 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
1016 real(RP),
intent(in) :: CDZ (
ka)
1017 integer,
intent(in) :: IIS, IIE, JJS, JJE
1027 vel = ( f2h(k,1,i_uyz) &
1028 * 0.25_rp * ( mom(k+1,i,j)+mom(k+1,i-1,j)+mom(k+1,i,j+1)+mom(k+1,i-1,j+1) ) &
1030 * 0.25_rp * ( mom(k,i,j)+mom(k,i-1,j)+mom(k,i,j+1)+mom(k,i-1,j+1) ) ) &
1031 / ( f2h(k,1,i_xyz) &
1032 * 0.5_rp * ( dens(k+1,i,j)+dens(k+1,i,j+1) ) &
1034 * 0.5_rp * ( dens(k,i,j)+dens(k,i,j+1) ) )
1035 flux(k,i,j) = j13g(k,i,j) / mapf(i,j,+2) * vel &
1036 * ( f2 * ( val(k+1,i,j)+val(k,i,j) ) )
1044 flux(
ks-1,i,j) = 0.0_rp
1046 flux(
ke ,i,j) = 0.0_rp
1058 GSQRT, J23G, MAPF, &
1060 IIS, IIE, JJS, JJE )
1063 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
1064 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
1065 real(RP),
intent(in) :: val (
ka,
ia,
ja)
1066 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
1067 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
1068 real(RP),
intent(in) :: J23G (
ka,
ia,
ja)
1069 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
1070 real(RP),
intent(in) :: CDZ (
ka)
1071 integer,
intent(in) :: IIS, IIE, JJS, JJE
1081 vel = ( f2h(k,1,i_xvz) &
1085 / ( f2h(k,1,i_xyz) &
1086 * 0.5_rp * ( dens(k+1,i,j)+dens(k+1,i,j+1) ) &
1088 * 0.5_rp * ( dens(k,i,j)+dens(k,i,j+1) ) )
1089 flux(k,i,j) = j23g(k,i,j) / mapf(i,j,+1) * vel &
1090 * ( f2 * ( val(k+1,i,j)+val(k,i,j) ) )
1098 flux(
ks-1,i,j) = 0.0_rp
1100 flux(
ke ,i,j) = 0.0_rp
1117 IIS, IIE, JJS, JJE )
1120 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
1121 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
1122 real(RP),
intent(in) :: val (
ka,
ia,
ja)
1123 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
1124 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
1125 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
1127 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
1129 real(RP),
intent(in) :: CDZ (
ka)
1130 integer,
intent(in) :: IIS, IIE, JJS, JJE
1141 call check( __line__, mom(k,i ,j) )
1142 call check( __line__, mom(k,i,j-1) )
1144 call check( __line__, val(k,i,j) )
1145 call check( __line__, val(k,i+1,j) )
1148 vel = ( 0.5_rp * ( mom(k,i,j)+mom(k,i,j+1) ) ) &
1149 / ( 0.25_rp * ( dens(k,i,j)+dens(k,i+1,j)+dens(k,i,j+1)+dens(k,i+1,j+1) ) )
1150 flux(k,i,j) = gsqrt(k,i,j) / mapf(i,j,+2) * vel &
1151 * ( f2 * ( val(k,i+1,j)+val(k,i,j) ) ) &
1152 + gsqrt(k,i,j) * num_diff(k,i,j)
1157 k = iundef; i = iundef; j = iundef
1173 IIS, IIE, JJS, JJE )
1176 real(RP),
intent(out) :: flux (
ka,
ia,
ja)
1177 real(RP),
intent(in) :: mom (
ka,
ia,
ja)
1178 real(RP),
intent(in) :: val (
ka,
ia,
ja)
1179 real(RP),
intent(in) :: DENS (
ka,
ia,
ja)
1180 real(RP),
intent(in) :: GSQRT (
ka,
ia,
ja)
1181 real(RP),
intent(in) :: MAPF (
ia,
ja,2)
1183 real(RP),
intent(in) :: num_diff(
ka,
ia,
ja)
1185 real(RP),
intent(in) :: CDZ (
ka)
1186 integer,
intent(in) :: IIS, IIE, JJS, JJE
1199 call check( __line__, mom(k,i ,j) )
1200 call check( __line__, mom(k,i,j-1) )
1202 call check( __line__, val(k,i,j-1) )
1203 call check( __line__, val(k,i,j) )
1206 vel = ( 0.5_rp * ( mom(k,i,j)+mom(k,i,j-1) ) ) &
1208 flux(k,i,j-1) = gsqrt(k,i,j) / mapf(i,j,+1) * vel &
1209 * ( f2 * ( val(k,i,j)+val(k,i,j-1) ) ) &
1210 + gsqrt(k,i,j) * num_diff(k,i,j)
1215 k = iundef; i = iundef; j = iundef
subroutine, public atmos_dyn_fvm_fluxz_xyz_cd2(flux, mflx, val, GSQRT, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation z-flux at XYZ
subroutine, public atmos_dyn_fvm_fluxz_xyw_cd2(flux, mom, val, DENS, GSQRT, J33G, num_diff, CDZ, FDZ, dtrk, IIS, IIE, JJS, JJE)
calculation z-flux at XYW
module scale_atmos_dyn_fvm_flux_cd2
subroutine, public atmos_dyn_fvm_fluxy_xyz_cd2(flux, mflx, val, GSQRT, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation Y-flux at XYZ
subroutine, public atmos_dyn_fvm_fluxj23_xyw_cd2(flux, mom, val, DENS, GSQRT, J23G, MAPF, CDZ, IIS, IIE, JJS, JJE)
calculation J23-flux at XYW
integer, public ke
end point of inner domain: z, local
subroutine, public atmos_dyn_fvm_fluxx_uyz_cd2(flux, mom, val, DENS, GSQRT, MAPF, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation X-flux at UY
subroutine, public atmos_dyn_fvm_fluxy_uyz_cd2(flux, mom, val, DENS, GSQRT, MAPF, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation Y-flux at UY
subroutine, public check(current_line, v)
Undefined value checker.
subroutine, public atmos_dyn_fvm_fluxj13_xvz_cd2(flux, mom, val, DENS, GSQRT, J13G, MAPF, CDZ, IIS, IIE, JJS, JJE)
calculation J13-flux at XVZ
subroutine, public atmos_dyn_fvm_fluxz_xvz_cd2(flux, mom, val, DENS, GSQRT, J33G, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation z-flux at XV
subroutine, public atmos_dyn_fvm_fluxz_uyz_cd2(flux, mom, val, DENS, GSQRT, J33G, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation z-flux at UY
subroutine, public atmos_dyn_fvm_fluxy_xyw_cd2(flux, mom, val, DENS, GSQRT, MAPF, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation Y-flux at XYW
real(rp), public const_undef
subroutine, public atmos_dyn_fvm_fluxx_xvz_cd2(flux, mom, val, DENS, GSQRT, MAPF, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation X-flux at XV
integer, public ia
of x whole cells (local, with HALO)
integer, public ka
of z whole cells (local, with HALO)
subroutine, public atmos_dyn_fvm_fluxj13_uyz_cd2(flux, mom, val, DENS, GSQRT, J13G, MAPF, CDZ, IIS, IIE, JJS, JJE)
calculation J13-flux at UYZ
integer, parameter, public const_undef2
undefined value (INT2)
subroutine, public atmos_dyn_fvm_fluxj23_xvz_cd2(flux, mom, val, DENS, GSQRT, J23G, MAPF, CDZ, IIS, IIE, JJS, JJE)
calculation J23-flux at XVZ
integer, public ks
start point of inner domain: z, local
subroutine, public atmos_dyn_fvm_fluxj13_xyw_cd2(flux, mom, val, DENS, GSQRT, J13G, MAPF, CDZ, IIS, IIE, JJS, JJE)
calculation J13-flux at XYW
subroutine, public atmos_dyn_fvm_fluxy_xvz_cd2(flux, mom, val, DENS, GSQRT, MAPF, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation Y-flux at XV
subroutine, public atmos_dyn_fvm_fluxx_xyw_cd2(flux, mom, val, DENS, GSQRT, MAPF, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation X-flux at XYW
subroutine, public atmos_dyn_fvm_fluxx_xyz_cd2(flux, mflx, val, GSQRT, num_diff, CDZ, IIS, IIE, JJS, JJE)
calculation X-flux at XYZ
subroutine, public atmos_dyn_fvm_flux_valuew_z_cd2(valW, mflx, val, GSQRT, CDZ)
value at XYW
subroutine, public atmos_dyn_fvm_fluxj23_uyz_cd2(flux, mom, val, DENS, GSQRT, J23G, MAPF, CDZ, IIS, IIE, JJS, JJE)
calculation J23-flux at UYZ
integer, public ja
of y whole cells (local, with HALO)