Skip to content

Commit f5f7d25

Browse files
committed
Revert "TO BE DELETED add printf to debug"
This reverts commit 208454b.
1 parent e7c9c95 commit f5f7d25

3 files changed

Lines changed: 0 additions & 11 deletions

File tree

src/star/star1d_class.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ int star1d::read_old(const char *input_file) {
153153
}
154154

155155
fclose(fp);
156-
printf("from star1d::read_old ->");
157156
fill();
158157
return 0;
159158
}
@@ -285,7 +284,6 @@ int star1d::init(const char *input_file, const char *param_file, int argc, char
285284
}
286285

287286
init_comp();
288-
printf("from star1d::init ->");
289287
fill();
290288

291289
phi = solve_phi();

src/star/star1d_solvers.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
// [BEGIN MOVE]
1616

1717
void star1d::fill() {
18-
printf("star1d::fill ");
19-
2018
eq_state();
2119

2220
opacity();
@@ -103,7 +101,6 @@ double star1d::solve(solver *op) {
103101

104102

105103
double star1d::solve(solver *op, matrix_map& error_map, int nit) {
106-
printf("star1d::solve ");
107104
int info[5];
108105
matrix rho0;
109106
double err,err2;
@@ -188,7 +185,6 @@ double star1d::solve(solver *op, matrix_map& error_map, int nit) {
188185

189186
rho0=rho;
190187

191-
printf("from star1d::solve ->");
192188
fill();
193189

194190
err2=max(abs(rho-rho0));err=err2>err?err2:err;
@@ -750,7 +746,6 @@ void star1d::check_jacobian(solver *op,const char *eqn) {
750746
B.map.remap();
751747
}
752748

753-
printf("from star1d::check_jacobian ->");
754749
B.fill();
755750

756751
i=op->get_id("rho");

src/star/star2d_solvers.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
/// nuclear reaction, mass definition, pi_c, Lambda, velocity, units, atmosphere,
2020
/// flatness, scaled keplerian angular velocity
2121
void star2d::fill() {
22-
printf("star2d::fill ");
23-
2422
eq_state();
2523
opacity();
2624
nuclear();
@@ -100,7 +98,6 @@ void star2d::init_metal_mix() {
10098

10199

102100
void star2d::init_comp() {
103-
printf("star2d::init_comp! ");
104101
Y0 = 1. - (X0 + Z0);
105102
m_He_isotopic_ratio = 3.15247417638132e-04;
106103

@@ -219,7 +216,6 @@ double star2d::solve(solver *op) {
219216
/// \brief Performs one step of the Newton algorithm to compute the star's
220217
/// internal structure.
221218
double star2d::solve(solver *op, matrix_map& error_map, int nit) {
222-
printf("star2d::solve ");
223219
int info[5];
224220
matrix rho0;
225221
double err,err2,h,dmax;

0 commit comments

Comments
 (0)