Changeset 3572 in Sophya for trunk/SophyaLib/Samba
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- Location:
- trunk/SophyaLib/Samba
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/Makefile
r3405 r3572 12 12 13 13 $(SOPHYAOBJP)alm.o: alm.cc $(SOPHYAINCP)sopnamsp.h alm.h \ 14 $(SOPHYAINCP)srandgen.h \ 15 $(SOPHYAINCP)machdefs.h \ 14 $(SOPHYAINCP)stsrand.h \ 15 $(SOPHYAINCP)machdefs.h \ 16 $(SOPHYAINCP)objfio.h \ 17 $(SOPHYAINCP)anydataobj.h \ 18 $(SOPHYAINCP)ppersist.h \ 19 $(SOPHYAINCP)pexceptions.h \ 20 $(SOPHYAINCP)gnumd5.h \ 21 $(SOPHYAINCP)ppfbinstream.h \ 22 $(SOPHYAINCP)rawstream.h \ 23 $(SOPHYAINCP)ppfnametag.h \ 24 $(SOPHYAINCP)ndatablock.h \ 16 25 $(SOPHYAINCP)nbmath.h \ 17 26 $(SOPHYAINCP)smathconst.h \ 18 27 $(SOPHYAINCP)triangmtx.h \ 19 $(SOPHYAINCP)ndatablock.h \ 20 $(SOPHYAINCP)anydataobj.h \ 21 $(SOPHYAINCP)pexceptions.h \ 22 $(SOPHYAINCP)tvector.h \ 23 $(SOPHYAINCP)tmatrix.h \ 24 $(SOPHYAINCP)tarray.h \ 25 $(SOPHYAINCP)basarr.h \ 26 $(SOPHYAINCP)mutyv.h \ 27 $(SOPHYAINCP)timestamp.h \ 28 $(SOPHYAINCP)objfio.h \ 29 $(SOPHYAINCP)ppersist.h \ 30 $(SOPHYAINCP)gnumd5.h \ 31 $(SOPHYAINCP)ppfbinstream.h \ 32 $(SOPHYAINCP)rawstream.h \ 33 $(SOPHYAINCP)ppfnametag.h \ 28 $(SOPHYAINCP)tvector.h \ 29 $(SOPHYAINCP)tmatrix.h \ 30 $(SOPHYAINCP)tarray.h \ 31 $(SOPHYAINCP)basarr.h \ 32 $(SOPHYAINCP)mutyv.h \ 33 $(SOPHYAINCP)timestamp.h \ 34 34 $(SOPHYAINCP)dvlist.h \ 35 35 $(SOPHYAINCP)utilarr.h \ … … 93 93 $(SOPHYAINCP)tmatrix_tsnl.h \ 94 94 $(SOPHYAINCP)tvector_tsnl.h alm.h \ 95 $(SOPHYAINCP)s randgen.h \95 $(SOPHYAINCP)stsrand.h \ 96 96 $(SOPHYAINCP)nbmath.h \ 97 97 $(SOPHYAINCP)smathconst.h \ 98 98 $(SOPHYAINCP)triangmtx.h \ 99 $(SOPHYAINCP)pexceptions.h \ 99 100 $(SOPHYAINCP)nbconst.h 100 101 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ lambdaBuilder.cc … … 198 199 $(SOPHYAINCP)fftservintf.h \ 199 200 $(SOPHYAINCP)fftpserver.h \ 200 $(SOPHYAINCP)fftservintf.h alm.h\201 $(SOPHYAINCP)s randgen.h \201 $(SOPHYAINCP)fftservintf.h \ 202 $(SOPHYAINCP)stsrand.h alm.h \ 202 203 $(SOPHYAINCP)nbmath.h \ 203 204 $(SOPHYAINCP)triangmtx.h \ 204 205 $(SOPHYAINCP)tvector.h lambdaBuilder.h \ 205 206 $(SOPHYAINCP)ndatablock.h \ 207 $(SOPHYAINCP)pexceptions.h \ 206 208 $(SOPHYAINCP)timing.h 207 209 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ sphericaltransformserver.cc -
trunk/SophyaLib/Samba/bruit.cc
r3533 r3572 220 220 //-- 221 221 { 222 int i,j;223 222 printf("OOFNoise::Print() MemL=%d Tau= %g \n", mMemL, mTau); 224 223 printf("OOFNoise::Print() Vecteur de Dynamique / Etat : \n"); 225 for(i =0; i<mMemL-1; i+=2)224 for(int i=0; i<mMemL-1; i+=2) 226 225 printf("%d: D=%g S=%g | %d: D=%g S=%g \n", i, 227 226 mDyn[i], mState[i], i+1, mDyn[i], mState[i]); … … 311 310 //-- 312 311 { 313 int i,j; 314 printf("EXPNoise::Print() MemL=%d Tau= %g \n", mMemL, mTau); 312 printf("EXPNoise::Print() MemL=%ld Tau= %g \n", mMemL, mTau); 315 313 printf("EXPNoise::Print() Vecteur de Dynamique / Etat : \n"); 316 for( i=0; i<mMemL-1; i+=2)317 printf("% d: D=%g S=%g | %d: D=%g S=%g \n", i,314 for(long int i=0; i<mMemL-1; i+=2) 315 printf("%ld: D=%g S=%g | %ld: D=%g S=%g \n", i, 318 316 mDyn[i], mState[i], i+1, mDyn[i], mState[i]); 319 317 … … 608 606 //-- 609 607 { 610 int i,j,rc=0;608 int rc=0; 611 609 printf("MemNoise::Print() MemL=%d Tau= %g \n", mMemL, mTau); 612 610 printf("mNtirage= %d , mMemPos= %d , mMemNeg= %d \n",mNtirage,mMemPos,mMemNeg); 613 611 // printf("MemNoise::Print() Vecteur de Dynamique / Etat : \n"); 614 /* for(i =0; i<mMemL-1; i+=2)612 /* for(int i=0; i<mMemL-1; i+=2) 615 613 printf("%d: D=%g S=%g | %d: D=%g S=%g \n", i, 616 614 mDyn[i], mState[i], i+1, mDyn[i], mState[i]); -
trunk/SophyaLib/Samba/lambdaBuilder.cc
r3533 r3572 137 137 register r_8 lam_0, lam_1, lam_2; 138 138 139 int_4 l,m, k;139 int_4 m, k; 140 140 141 141 for (m=0; m<=mmax;m++) { … … 194 194 register r_8 lam_0, lam_1, lam_2; 195 195 196 int_4 l,m, k;196 int_4 m, k; 197 197 198 198 for (m=0; m<=mmax;m++) { … … 235 235 register r_8 lam_0, lam_1, lam_2; 236 236 237 int_4 l,m, k;237 int_4 m, k; 238 238 239 239 for (m=0; m<=mmax;m++) { -
trunk/SophyaLib/Samba/smakefile
r3405 r3572 12 12 13 13 $(SOPHYAOBJP)alm.o: alm.cc $(SOPHYAINCP)sopnamsp.h alm.h \ 14 $(SOPHYAINCP)srandgen.h \ 15 $(SOPHYAINCP)machdefs.h \ 14 $(SOPHYAINCP)stsrand.h \ 15 $(SOPHYAINCP)machdefs.h \ 16 $(SOPHYAINCP)objfio.h \ 17 $(SOPHYAINCP)anydataobj.h \ 18 $(SOPHYAINCP)ppersist.h \ 19 $(SOPHYAINCP)pexceptions.h \ 20 $(SOPHYAINCP)gnumd5.h \ 21 $(SOPHYAINCP)ppfbinstream.h \ 22 $(SOPHYAINCP)rawstream.h \ 23 $(SOPHYAINCP)ppfnametag.h \ 24 $(SOPHYAINCP)ndatablock.h \ 16 25 $(SOPHYAINCP)nbmath.h \ 17 26 $(SOPHYAINCP)smathconst.h \ 18 27 $(SOPHYAINCP)triangmtx.h \ 19 $(SOPHYAINCP)ndatablock.h \ 20 $(SOPHYAINCP)anydataobj.h \ 21 $(SOPHYAINCP)pexceptions.h \ 22 $(SOPHYAINCP)tvector.h \ 23 $(SOPHYAINCP)tmatrix.h \ 24 $(SOPHYAINCP)tarray.h \ 25 $(SOPHYAINCP)basarr.h \ 26 $(SOPHYAINCP)mutyv.h \ 27 $(SOPHYAINCP)timestamp.h \ 28 $(SOPHYAINCP)objfio.h \ 29 $(SOPHYAINCP)ppersist.h \ 30 $(SOPHYAINCP)gnumd5.h \ 31 $(SOPHYAINCP)ppfbinstream.h \ 32 $(SOPHYAINCP)rawstream.h \ 33 $(SOPHYAINCP)ppfnametag.h \ 28 $(SOPHYAINCP)tvector.h \ 29 $(SOPHYAINCP)tmatrix.h \ 30 $(SOPHYAINCP)tarray.h \ 31 $(SOPHYAINCP)basarr.h \ 32 $(SOPHYAINCP)mutyv.h \ 33 $(SOPHYAINCP)timestamp.h \ 34 34 $(SOPHYAINCP)dvlist.h \ 35 35 $(SOPHYAINCP)utilarr.h \ … … 93 93 $(SOPHYAINCP)tmatrix_tsnl.h \ 94 94 $(SOPHYAINCP)tvector_tsnl.h alm.h \ 95 $(SOPHYAINCP)s randgen.h \95 $(SOPHYAINCP)stsrand.h \ 96 96 $(SOPHYAINCP)nbmath.h \ 97 97 $(SOPHYAINCP)smathconst.h \ 98 98 $(SOPHYAINCP)triangmtx.h \ 99 $(SOPHYAINCP)pexceptions.h \ 99 100 $(SOPHYAINCP)nbconst.h 100 101 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ lambdaBuilder.cc … … 198 199 $(SOPHYAINCP)fftservintf.h \ 199 200 $(SOPHYAINCP)fftpserver.h \ 200 $(SOPHYAINCP)fftservintf.h alm.h\201 $(SOPHYAINCP)s randgen.h \201 $(SOPHYAINCP)fftservintf.h \ 202 $(SOPHYAINCP)stsrand.h alm.h \ 202 203 $(SOPHYAINCP)nbmath.h \ 203 204 $(SOPHYAINCP)triangmtx.h \ 204 205 $(SOPHYAINCP)tvector.h lambdaBuilder.h \ 205 206 $(SOPHYAINCP)ndatablock.h \ 207 $(SOPHYAINCP)pexceptions.h \ 206 208 $(SOPHYAINCP)timing.h 207 209 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ sphericaltransformserver.cc -
trunk/SophyaLib/Samba/sphericaltransformserver.cc
r3510 r3572 211 211 int_4 nlmax=alm.Lmax(); 212 212 int_4 nmmax=nlmax; 213 int_4 nsmax=0;214 213 // le Resize est suppose mettre a zero 215 214 map.Resize(pixelSizeIndex); … … 521 520 522 521 alm.ReSizeToLmax(nlmax); 523 for ( int_4 ith = 0; ith < map.NbThetaSlices(); ith++)522 for (uint_4 ith = 0; ith < map.NbThetaSlices(); ith++) 524 523 { 525 524 r_8 phi0; … … 917 916 throw SzMismatchError("SphericalTransformServer::DecomposeToAlm: map Q and map U have not same size "); 918 917 } 919 for ( int_4 ith = 0; ith < mapq.NbThetaSlices(); ith++)918 for (uint_4 ith = 0; ith < mapq.NbThetaSlices(); ith++) 920 919 { 921 920 r_8 phi0; … … 1119 1118 Bm<complex<T> > b_m_theta_u(nmmax); 1120 1119 1121 for ( int_4 ith = 0; ith < mapq.NbThetaSlices();ith++)1120 for (uint_4 ith = 0; ith < mapq.NbThetaSlices();ith++) 1122 1121 { 1123 1122 int_4 nph; … … 1228 1227 Bm<complex<T> > b_m_theta_p(nmmax); 1229 1228 Bm<complex<T> > b_m_theta_m(nmmax); 1230 for ( int_4 ith = 0; ith < mapq.NbThetaSlices();ith++)1229 for (uint_4 ith = 0; ith < mapq.NbThetaSlices();ith++) 1231 1230 { 1232 1231 int_4 nph;
Note:
See TracChangeset
for help on using the changeset viewer.