Lines Matching refs:maxam
39 #define multloc(l1,m1,l2,m2) (lmind(maxam+1,maxam+1)*lmind(l1,m1)+lmind(l2,m2))
319 maxam=am; in SphericalExpansionMultiplicationTable()
320 table.resize(multloc(maxam,maxam,maxam,maxam)+1); in SphericalExpansionMultiplicationTable()
323 for(int lleft=0;lleft<=maxam;lleft++) in SphericalExpansionMultiplicationTable()
328 for(int lright=0;lright<=maxam;lright++) in SphericalExpansionMultiplicationTable()
342 for(int lleft=0;lleft<=maxam;lleft++) in print()
344 for(int lright=0;lright<=maxam;lright++) in print()
356 if(lhs.getmaxl()>maxam || rhs.getmaxl()>maxam) { in mult()
359 …oss << "Table not big enough: maxam = " << maxam << " but am_lhs = " << lhs.getmaxl() << " and am_… in mult()
372 CartesianExpansion::CartesianExpansion(int maxam) { in CartesianExpansion() argument
374 table.resize(maxam+1); in CartesianExpansion()
376 for(int am=0;am<=maxam;am++) in CartesianExpansion()
382 px.resize(maxam+1); in CartesianExpansion()
383 py.resize(maxam+1); in CartesianExpansion()
384 pz.resize(maxam+1); in CartesianExpansion()
392 if(maxam>0) { in CartesianExpansion()
397 if(maxam>0) { in CartesianExpansion()
403 if(maxam>0) in CartesianExpansion()
407 for(int il=2;il<=maxam;il++) in CartesianExpansion()
410 for(int im=2;im<=maxam;im++) in CartesianExpansion()
413 for(int in=2;in<=maxam;in++) in CartesianExpansion()
417 for(int am=0;am<=maxam;am++) { in CartesianExpansion()