Ignore:
Timestamp:
Aug 23, 2016, 8:04:18 AM (8 years ago)
Author:
aslmd
Message:

Goal: make the mesoscale model compliant
with new interface philosophy and adapted
to easy interfacing with any physics

Commit 3: call to iniphysiq in module_lmd_driver

  • iniphysiq is in WRFV2/phys
  • geometry is initialized in update_inputs_physiq_mod

This call is planet-independent and follows the
same philosophy as iniphysiq in dynphy_lonlat
for the LMDz GCM

NB: mesoscale model now compiles and runs with HEAD version
results completely compatible with v1520 version (same physics)

Location:
trunk/LMDZ.MARS/libf/phymars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/conf_phys.F

    r1525 r1579  
    5454      CHARACTER ch1*12
    5555
     56#ifndef MESOSCALE
    5657      ! read in some parameters from "run.def" for physics,
    5758      ! or shared between dynamics and physics.
     
    6566      ecritstart=0 ! default value
    6667      call getin("ecritstart",ecritstart) ! write a restart every ecristart steps
     68#endif
     69
    6770! --------------------------------------------------------------
    6871!  Reading the "callphys.def" file controlling some key options
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r1576 r1579  
    412412#else
    413413! MESOSCALE. Supposedly everything is already set in modules.
    414 ! So we just check. And we calculate day_ini + two param in dyn3d/control_mod.
     414! So we just check. And we fill day_ini
     415      print*,"check: --- in physiq.F"
    415416      print*,"check: rad,cpp,g,r,rcp,daysec"
    416417      print*,rad,cpp,g,r,rcp,daysec
     
    424425      PRINT*,'check: qsurf ',qsurf(1,1),qsurf(ngrid,nq)
    425426      PRINT*,'check: co2 ',co2ice(1),co2ice(ngrid)
    426       day_step=daysec/ptimestep
    427       PRINT*,'Call to LMD physics:',day_step,' per Martian day'
    428       iphysiq=ptimestep
     427      !!!
    429428      day_ini = pday
    430429#endif
Note: See TracChangeset for help on using the changeset viewer.