Skip to content

Commit

Permalink
Fix comment and blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekryjak committed May 22, 2024
1 parent e4a8963 commit 8adb4b6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/evolve_pressure.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -307,23 +307,20 @@ void EvolvePressure::finally(const Options& state) {
/// Ionisation
(collisionSpeciesMatch(
collision_name, species.name(), "+", "iz", "partial"))) {

collision_names.push_back(collision_name);
}

} else if (identifySpeciesType(species.name()) == "electron") {
if (/// Electron-ion collisions
if (/// Electron-electron collisions
(collisionSpeciesMatch(
collision_name, species.name(), "e", "coll", "exact"))) {

collision_names.push_back(collision_name);
}

} else if (identifySpeciesType(species.name()) == "ion") {
if (/// Self-collisions
(collisionSpeciesMatch(
collision_name, species.name(), species.name(), "coll", "exact"))) {

collision_names.push_back(collision_name);
}
}
Expand All @@ -341,7 +338,6 @@ void EvolvePressure::finally(const Options& state) {
/// Any collision (en, in, ee, ii, nn)
(collisionSpeciesMatch(
collision_name, species.name(), "", "coll", "partial"))) {

collision_names.push_back(collision_name);
}
}
Expand Down

0 comments on commit 8adb4b6

Please sign in to comment.