Skip to content

Commit 18e738b

Browse files
authored
Comment out PrintToFile Debugging
1 parent 13d77c2 commit 18e738b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/particles/distribution/Thermal.H

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ namespace distribution
8989
amrex::ParticleReal r_scale = matched_scale_radius(data);
9090
amrex::ParticleReal rmin = rin*r_scale;
9191
amrex::ParticleReal rmax = rout*r_scale;
92-
amrex::PrintToFile("equilibrium_params.out") << r_scale << " " << data.Cintensity << "\n";
92+
// amrex::PrintToFile("equilibrium_params.out") << r_scale << " " << data.Cintensity << "\n";
9393

9494
// Scale the parameters p1 and p2
9595
amrex::ParticleReal rt2pi = sqrt(2.0_prt*pi);
@@ -156,10 +156,12 @@ namespace distribution
156156
data.cdf1[j+1] = data.f1;
157157
data.cdf2[j+1] = data.f2;
158158
// write cumulative density to file for debugging
159+
/* comment in for debugging
159160
amrex::PrintToFile("density1.out") << reval << " " << data.f1 << "\n";
160161
amrex::PrintToFile("density2.out") << reval << " " << data.f2 << "\n";
161162
amrex::PrintToFile("phi1.out") << reval << " " << data.phi1 << "\n";
162163
amrex::PrintToFile("phi2.out") << reval << " " << data.phi2 << "\n";
164+
*/
163165
}
164166

165167
}
@@ -213,7 +215,7 @@ namespace distribution
213215
amrex::ParticleReal Pdensity1 = data.p1*exp(-potential/T1);
214216
amrex::ParticleReal Pdensity2 = data.p2*exp(-potential/T2);
215217
amrex::ParticleReal Pdensity_tot = (1.0_prt-w)*Pdensity1 + w*Pdensity2;
216-
amrex::PrintToFile("Pdensity.out") << reval << " " << Pdensity_tot << "\n";
218+
// amrex::PrintToFile("Pdensity.out") << reval << " " << Pdensity_tot << "\n";
217219

218220
// Apply map to update f1 and f2:
219221
data.phi1 = phi1;

0 commit comments

Comments
 (0)