New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 898 for trunk/AGRIF/AGRIF_FILES/modinterpbasic.F – NEMO

Ignore:
Timestamp:
2008-04-22T17:35:20+02:00 (16 years ago)
Author:
rblod
Message:

Correct some bugs in agrif optimization and add MPP optimization, see #42

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AGRIF/AGRIF_FILES/modinterpbasic.F

    r779 r898  
    385385      do i = 1,nc 
    386386C 
    387        y(i)=coeffparent(i,dir)*x(indparent(i,dir))+ 
     387       y(i)=coeffparent(i,dir)*x(MAX(indparent(i,dir),1))+ 
    388388     &      (1.-coeffparent(i,dir))*x(indparent(i,dir)+1) 
    389389C 
     
    10651065     &             indparentppm_1d(1:nc) + (i-1)*np 
    10661066       indchildppm (1+(i-1)*nc:i*nc,dir) =  
    1067      &             indchildppm_1d (1:nc) + (i-1)*np 
     1067     &             indchildppm_1d (1:nc)  
    10681068 
    10691069       End do 
Note: See TracChangeset for help on using the changeset viewer.