[MITgcm-cvs] MITgcm/pkg/layers CVS Commit

Martin Losch mlosch at forge.csail.mit.edu
Fri Feb 8 02:56:14 EST 2013


Update of /u/gcmpack/MITgcm/pkg/layers
In directory forge:/tmp/cvs-serv17444/pkg/layers

Modified Files:
	layers_fluxcalc.F 
Log Message:
o pkg/layers: improve vectorization of layers_fluxcalc.F
  - step 2: replace search algorithm by a bisection algorithm found in
    Press et al. Numerical Recipes in Fortran. This algorithm can be 
    vectorized and finds the correct bin in approx. log2(Nlayers) steps.
    For now, use this algorithm only for TARGET_NEC_SX defined.
  - moved the search algorithm into a separate subroutine, that is kept
    within the same file for automatic inlining.
  - modified catching potential errors
  - some formatting




More information about the MITgcm-cvs mailing list