Changeset 5481 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Jan 16, 2025, 8:14:15 PM (7 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/infotrac_phy.F90
r5475 r5481 80 80 ! | nqDescen | Number of the descendants (all generations) | nqdesc | 1:nqtot | 81 81 ! | nqChildren | Number of childs (1st generation only) | nqfils | 1:nqtot | 82 ! | isAdvected | Advected tracers flag (.TRUE. if iadv >= 0) | / | nqtrue .TRUE. values | 83 ! | isInPhysics | Tracers not extracted from the main table in physics | / | nqtottr .TRUE. values | 82 ! | isInPhysics | Advected tracers from the main table kept in physics | / | nqtottr .TRUE. values | 84 83 ! | iso_iGroup | Isotopes group index in isotopes(:) | / | 1:nbIso | 85 84 ! | iso_iName | Isotope name index in isotopes(iso_iGroup)%trac(:) | iso_indnum | 1:niso | … … 284 283 285 284 !============================================================================================================================== 286 ! 3) Determine the advection scheme ; needed to compute the full tracers list, the long names , nqtot and %isAdvected285 ! 3) Determine the advection scheme ; needed to compute the full tracers list, the long names and nqtot 287 286 !============================================================================================================================== 288 287 ALLOCATE(ttr(nqtot)) 289 jq = nqtrue+1 ; tracers(:)%iadv = -1288 jq = nqtrue+1 290 289 DO iq = 1, nqtrue 291 290 t1 => tracers(iq) … … 298 297 IF(iad == -1) CALL abort_physic(modname, msg1, 1) 299 298 300 !--- SET FIELDS longName, is Advected, isInPhysics299 !--- SET FIELDS longName, isInPhysics 301 300 t1%longName = t1%name; IF(iad > 0) t1%longName=TRIM(t1%name)//descrq(iad) 302 t1%isAdvected = iad >= 0 303 t1%isInPhysics= delPhase(t1%gen0Name) /= 'H2O' .OR. t1%component /= 'lmdz' !=== MORE EXCEPTIONS ? CO2i, SURSAT CLOUD H2O 301 t1%isInPhysics= iad >= 0 .AND. (delPhase(t1%gen0Name) /= 'H2O' .OR. t1%component /= 'lmdz') 304 302 ttr(iq) = t1 305 303 … … 314 312 ttr(jq+1:jq+nm)%parent = [ (TRIM(t1%parent) //'-'//TRIM(suff(im)), im=1, nm) ] 315 313 ttr(jq+1:jq+nm)%longName = [ (TRIM(t1%longName)//'-'//TRIM(suff(im)), im=1, nm) ] 316 ttr(jq+1:jq+nm)%isAdvected = [ (.FALSE., im=1, nm) ]317 314 ttr(jq+1:jq+nm)%isInPhysics = [ (.FALSE., im=1, nm) ] 318 315 jq = jq + nm … … 383 380 t => tracers 384 381 CALL msg('Information stored in '//TRIM(modname)//': ', modname) 385 IF(dispTable('isssssssssiiiiiiii', ['iq ', 'name', 'lNam', 'g0Nm', 'prnt', 'type', 'phas', 'comp', & 386 'isPh', 'isAd', 'iGen', 'iqPr', 'nqDe', 'nqCh', 'iGrp', 'iNam', 'iZon', 'iPha'], & 387 cat(t%name, t%longName, t%gen0Name, t%parent, t%type, t%phase, t%component, & 388 bool2str(t%isInPhysics), bool2str(t%isAdvected)), & 382 IF(dispTable('issssssssiiiiiiii', ['iq ', 'name', 'lNam', 'g0Nm', 'prnt', 'type', 'phas', 'comp', & 383 'isPh', 'iGen', 'iqPr', 'nqDe', 'nqCh', 'iGrp', 'iNam', 'iZon', 'iPha'], & 384 cat(t%name, t%longName, t%gen0Name, t%parent, t%type, t%phase, t%component, bool2str(t%isInPhysics)),& 389 385 cat([(iq, iq=1, nqtot)], t%iGeneration, t%iqParent, t%nqDescen, t%nqChildren, t%iso_iGroup, & 390 386 t%iso_iName, t%iso_iZone, t%iso_iPhase), nColMax=maxTableWidth, nHead=2, sub=modname)) & -
LMDZ6/trunk/libf/phylmd/phyetat0_mod.f90
r5310 r5481 525 525 it = 0 526 526 DO iq = 1, nqtot 527 IF(.NOT. (tracers(iq)%isAdvected .AND. tracers(iq)%isInPhysics)) CYCLE527 IF(.NOT.tracers(iq)%isInPhysics) CYCLE 528 528 it = it+1 529 529 tname = tracers(iq)%name -
LMDZ6/trunk/libf/phylmd/phyredem.f90
r5296 r5481 356 356 it = 0 357 357 DO iq = 1, nqtot 358 IF(.NOT. (tracers(iq)%isAdvected .AND. tracers(iq)%isInPhysics)) CYCLE358 IF(.NOT.tracers(iq)%isInPhysics) CYCLE 359 359 it = it+1 360 360 CALL put_field(pass,"trs_"//tracers(iq)%name, "", trs(:, it)) -
LMDZ6/trunk/libf/phylmd/phys_output_mod.F90
r5473 r5481 513 513 itr = 0; itrb = 0 514 514 DO iq = 1, nqtot 515 IF(.NOT. (tracers(iq)%isAdvected .AND. tracers(iq)%isInPhysics)) CYCLE515 IF(.NOT.tracers(iq)%isInPhysics) CYCLE 516 516 itr = itr + 1 517 517 dn = 'd'//TRIM(tracers(iq)%name)//'_' … … 638 638 639 639 ! DO iq=1,nqtot 640 ! IF(.NOT. (tracers(iq)%isAdvected .AND. tracers(iq)%isInPhysics)) CYCLE640 ! IF(.NOT.tracers(iq)%isInPhysics) CYCLE 641 641 ! WRITE(*,'(a,i1,a,10i3)')'trac(',iq,')%flag = ',o_trac(iq)%flag 642 642 ! WRITE(*,'(a,i1,a)')'trac(',iq,')%name = '//TRIM(o_trac(iq)%name) -
LMDZ6/trunk/libf/phylmd/traclmdz_mod.f90
r5285 r5481 261 261 it = 0 262 262 DO iq = 1, nqtot 263 IF(.NOT. (tracers(iq)%isAdvected .AND. tracers(iq)%isInPhysics)) CYCLE263 IF(.NOT.tracers(iq)%isInPhysics) CYCLE 264 264 it = it+1 265 265 ! Test if tracer is zero everywhere. … … 310 310 311 311 USE yomcst_mod_h 312 USE dimphy312 USE dimphy 313 313 USE infotrac_phy, ONLY: nbtr, pbl_flg 314 314 USE strings_mod, ONLY: int2str
Note: See TracChangeset
for help on using the changeset viewer.