Changeset 3290 in Sophya for trunk/Cosmo/SimLSS
- Timestamp:
- Aug 8, 2007, 6:36:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/genefluct3d.h
r3289 r3290 57 57 vector<long> GetNpix(void) {return N_;} 58 58 int_8 NPix(void) {return NRtot_;} 59 60 // Return |K_i| module relative to pixel indices 61 inline r_8 Kx(long i) {long ii=(i>Nx_/2)? Nx_-i :i; return ii*Dkx_;} 62 inline r_8 Ky(long j) {long jj=(j>Ny_/2)? Ny_-j :j; return jj*Dky_;} 63 inline r_8 Kz(long l) {return l*Dkz_;} 59 64 60 65 vector<r_8> GetDinc(void) {return D_;}
Note:
See TracChangeset
for help on using the changeset viewer.