Changeset 3594 in Sophya for trunk/Cosmo/SimLSS/genefluct3d.cc


Ignore:
Timestamp:
Apr 10, 2009, 4:59:52 PM (16 years ago)
Author:
cmv
Message:

options pour ecrire les cubes a divers endroits du main, cmv 10/04/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/SimLSS/genefluct3d.cc

    r3572 r3594  
    910910
    911911 // On corrige du pb de la normalisation de FFTW3
    912  double v = (double)NRtot_;
     912 complex<r_8> v((r_8)NRtot_,0.);
    913913 for(long i=0;i<Nx_;i++)
    914914   for(long j=0;j<Ny_;j++)
    915      for(long l=0;l<NCz_;l++) T_(l,j,i) /= complex<r_8>(v);
    916 
     915     for(long l=0;l<NCz_;l++) T_(l,j,i) /= v;
    917916}
    918917
Note: See TracChangeset for help on using the changeset viewer.