I do obtain the restart file with the additional variables rzeta, AKt, AKs and others.
But how can we read those variables? The crux of the matter appears to be in the get_state subroutine. The following code section
Code: Select all
Perfect2D=.FALSE.
Perfect3D=.FALSE.
#ifdef PERFECT_RESTART
IF ((model.eq.0).and.(nrrec(ng).ne.0)) THEN
Perfect2D=.TRUE.
Perfect3D=.TRUE.
END IF
#endif
PerfectRST(ng)=Perfect2d.or.Perfect3d