Ignore:
Timestamp:
Jan 14, 2026, 8:29:27 PM (40 hours ago)
Author:
aslmd
Message:

MESOSCALE: in module_initialize_real, replace 0 by 1E-30 in the enforcing positivity.

[kept commented for reference] MESOSCALE: sometimes tracers are coming slightly negative from the physics, enforce positivity. this seems to solve problems occurring in the physics which makes the model to crash in normal mode and to raise an exception in lwtt in debug mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WRF.COMMON/INTERFACES/module_lmd_driver.F

    r2758 r4000  
    816816ENDDO
    817817ENDDO
     818
     819!!!!! KEPT COMMENTED FOR TESTING PURPOSES
     820!!! sometimes tracers are coming slightly negative from the physics
     821!!! enforce positivity here (rough patch admittedly)
     822!where (scalar < 1.e-30)
     823!        scalar = 1.e-30
     824!endwhere
     825
    818826CALL deallocate_interface
    819827DEALLOCATE(pdtheta)
Note: See TracChangeset for help on using the changeset viewer.