@@ -404,27 +404,27 @@ void NS::CalculateAndSetPulsarParameters() {
404404 * */
405405double NS::CalculateMagneticFieldDecayTimescale (){
406406
407- std::cout << " CalculateMagneticFieldDecayTimescale" << std::endl;
407+ // std::cout << "CalculateMagneticFieldDecayTimescale" << std::endl;
408408
409409 double taud = 0.0 ; // Initialise variable to hold magnetic field decay timescale
410410 double Bref = 1E11 ; // Reference magnetic field (in G) at which OPTIONS->PulsarMagneticFieldDecayTimescale is defined
411411 double initialMagField_G = m_PulsarDetails.magneticField * TESLA_TO_GAUSS ; // Convert T to G
412412
413- std::cout << " Bref = " << Bref << std::endl;
414- std::cout << " initialMagField_G = " << initialMagField_G << std::endl;
413+ // std::cout << "Bref = " << Bref << std::endl;
414+ // std::cout << "initialMagField_G = " << initialMagField_G << std::endl;
415415
416416 if (OPTIONS ->PulsarMagneticFieldDecayTimescalePower () == 0.0 ){ // No scaling with magnetic field
417- std::cout << " alpha = 0" << std::endl;
417+ // std::cout << "alpha = 0" << std::endl;
418418 taud = OPTIONS ->PulsarMagneticFieldDecayTimescale (); // Decay timescale is just a constant
419419 }
420420 else {
421- std::cout << " alpha != 0" << std::endl;
422- std::cout << " B = " << m_PulsarDetails.magneticField << std::endl;
421+ // std::cout << "alpha != 0" << std::endl;
422+ // std::cout << "B = " << m_PulsarDetails.magneticField << std::endl;
423423 taud = OPTIONS ->PulsarMagneticFieldDecayTimescale () * PPOW (Bref/initialMagField_G, OPTIONS ->PulsarMagneticFieldDecayTimescalePower ());
424424 }
425425
426- std::cout << " tauconst = " << OPTIONS ->PulsarMagneticFieldDecayTimescale () << std::endl;
427- std::cout << " taud = " << taud << std::endl;
426+ // std::cout << "tauconst = " << OPTIONS->PulsarMagneticFieldDecayTimescale() << std::endl;
427+ // std::cout << "taud = " << taud << std::endl;
428428
429429 return taud;
430430}
0 commit comments