preprocessor now filters debug output
This commit is contained in:
@@ -13,7 +13,9 @@ ChargeExchange::ChargeExchange(std::function<double(double)> cross_section,
|
||||
InteractionOutput ChargeExchange::performInteraction(
|
||||
particle::Particle& particle,
|
||||
RandomNumbers* generator) {
|
||||
#ifdef debug_level3
|
||||
DEBUG_LEVEL_3("Perform charge exchange.");
|
||||
#endif
|
||||
|
||||
// const auto x_impact = particle.position();
|
||||
// const blitz::TinyVector<double, 3> v_target =
|
||||
|
||||
@@ -17,7 +17,9 @@ ClusterFormation::ClusterFormation(
|
||||
InteractionOutput ClusterFormation::performInteraction(
|
||||
particle::Particle& particle,
|
||||
RandomNumbers* generator) {
|
||||
#ifdef debug_level3
|
||||
DEBUG_LEVEL_3("Perform cluster formation.");
|
||||
#endif
|
||||
const auto x_impact = particle.position();
|
||||
// const blitz::TinyVector<double, 3> v_target =
|
||||
// target_->driftVelocity()->driftVelocity(x_impact).cartesianEntries() +
|
||||
|
||||
@@ -18,7 +18,9 @@ ElasticScattering::ElasticScattering(
|
||||
InteractionOutput ElasticScattering::performInteraction(
|
||||
particle::Particle& particle,
|
||||
RandomNumbers* generator) {
|
||||
#ifdef debug_level3
|
||||
DEBUG_LEVEL_3("Perform elastic scattering.");
|
||||
#endif
|
||||
const blitz::TinyVector<double, 3> v_impact =
|
||||
particle.velocity().cartesianEntries();
|
||||
// const auto x_impact = particle.position();
|
||||
|
||||
@@ -18,7 +18,9 @@ Excitation::Excitation(std::function<double(double)> cross_section,
|
||||
|
||||
InteractionOutput Excitation::performInteraction(particle::Particle& particle,
|
||||
RandomNumbers* generator) {
|
||||
#ifdef debug_level3
|
||||
DEBUG_LEVEL_3("Perform excitation.");
|
||||
#endif
|
||||
const blitz::TinyVector<double, 3> v_impact =
|
||||
particle.velocity().cartesianEntries();
|
||||
const blitz::TinyVector<double, 3> n_impact =
|
||||
|
||||
@@ -10,7 +10,9 @@ FreeMovement::FreeMovement()
|
||||
|
||||
InteractionOutput FreeMovement::performInteraction(particle::Particle& particle,
|
||||
RandomNumbers* generator) {
|
||||
#ifdef debug_level3
|
||||
DEBUG_LEVEL_3("Perform free movement.");
|
||||
#endif
|
||||
// do nothing
|
||||
return InteractionOutput();
|
||||
}
|
||||
|
||||
@@ -29,7 +29,9 @@ ElectronIonization::ElectronIonization(
|
||||
InteractionOutput ElectronIonization::performInteraction(
|
||||
particle::Particle& particle,
|
||||
RandomNumbers* generator) {
|
||||
#ifdef debug_level3
|
||||
DEBUG_LEVEL_3("Perform ionization.");
|
||||
#endif
|
||||
|
||||
const blitz::TinyVector<double, 3> v_impact =
|
||||
particle.velocity().cartesianEntries();
|
||||
|
||||
@@ -17,7 +17,9 @@ Recombination::Recombination(std::function<double(double)> cross_section,
|
||||
InteractionOutput Recombination::performInteraction(
|
||||
particle::Particle& particle,
|
||||
RandomNumbers* generator) {
|
||||
#ifdef debug_level3
|
||||
DEBUG_LEVEL_3("Perform recombination.");
|
||||
#endif
|
||||
|
||||
// std::vector<double> macroscopic_bin_cross_sections_m;
|
||||
// const int number_energy_bins = recombination_target_->dynamicDensityField()
|
||||
|
||||
Reference in New Issue
Block a user