diff --git a/nearfield.cpp b/nearfield.cpp index 5b4af2c..2802520 100644 --- a/nearfield.cpp +++ b/nearfield.cpp @@ -167,7 +167,8 @@ void nearfieldStruct::Simulate() calcUs(); sumUf(); - //U.Mag().toImage("testU.bmp"); + if(verbose) + U.Mag().toImage("testU.bmp"); } void nearfieldStruct::calcBesselLut(ptype* j, ptype d_min, ptype d_max, int dR) @@ -216,16 +217,19 @@ void nearfieldStruct::calcBesselLut(ptype* j, ptype d_min, ptype d_max, int dR) } } - /*ofstream outfile("uf_besselout.txt"); - for(int ir = 0; ir < dR; ir++) + if(verbose) { - outfile<