aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/Collision/BinaryCollision/BinaryCollisionUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/Collision/BinaryCollision/BinaryCollisionUtils.cpp')
-rw-r--r--Source/Particles/Collision/BinaryCollision/BinaryCollisionUtils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Particles/Collision/BinaryCollision/BinaryCollisionUtils.cpp b/Source/Particles/Collision/BinaryCollision/BinaryCollisionUtils.cpp
index d7cc754d0..c94cd8812 100644
--- a/Source/Particles/Collision/BinaryCollision/BinaryCollisionUtils.cpp
+++ b/Source/Particles/Collision/BinaryCollision/BinaryCollisionUtils.cpp
@@ -63,7 +63,7 @@ namespace BinaryCollisionUtils{
||(product_species1.AmIA<PhysicalSpecies::hydrogen1>() && product_species2.AmIA<PhysicalSpecies::hydrogen3>())){
return NuclearFusionType::DeuteriumDeuteriumToProtonTritium;
} else {
- amrex::Abort("ERROR: Product species of deuterium-deuterium fusion must be of type helium3 and neutron, or tritium and proton");
+ WARPX_ABORT_WITH_MESSAGE("ERROR: Product species of deuterium-deuterium fusion must be of type helium3 and neutron, or tritium and proton");
}
}
else if ((species1.AmIA<PhysicalSpecies::hydrogen2>() && species2.AmIA<PhysicalSpecies::helium3>())
@@ -97,7 +97,7 @@ namespace BinaryCollisionUtils{
"ERROR: Product species of proton-boron fusion must be of type alpha");
return NuclearFusionType::ProtonBoronToAlphas;
}
- amrex::Abort("Binary nuclear fusion not implemented between species " +
+ WARPX_ABORT_WITH_MESSAGE("Binary nuclear fusion not implemented between species " +
species_names[0] + " of type " + species1.getSpeciesTypeName() +
" and species " + species_names[1] + " of type " +
species2.getSpeciesTypeName());
@@ -114,7 +114,7 @@ namespace BinaryCollisionUtils{
NuclearFusionType fusion_type = get_nuclear_fusion_type(collision_name, mypc);
return nuclear_fusion_type_to_collision_type(fusion_type);
}
- amrex::Abort(type + " is not a valid type of collision that creates new particles");
+ WARPX_ABORT_WITH_MESSAGE(type + " is not a valid type of collision that creates new particles");
return CollisionType::Undefined;
}
@@ -130,7 +130,7 @@ namespace BinaryCollisionUtils{
return CollisionType::DeuteriumHeliumToProtonHeliumFusion;
if (fusion_type == NuclearFusionType::ProtonBoronToAlphas)
return CollisionType::ProtonBoronToAlphasFusion;
- amrex::Abort("Invalid nuclear fusion type");
+ WARPX_ABORT_WITH_MESSAGE("Invalid nuclear fusion type");
return CollisionType::Undefined;
}
}
'2017-04-21 10:21:56 +0100'>2017-04-21Fix link to SkyDNS (#637)Gravatar Dominic 1-1/+1 2017-04-20Fix TLS error message (#634)Gravatar Yue Ko 1-1/+1 2017-04-20Add MAINTAINERS (#633)Gravatar Miek Gieben 2-0/+10 2017-04-19Clean up the tls middleware README (#631)Gravatar John Belamaric 1-4/+22 2017-04-19Update the various Kubernetes middleware README files. (#630)Gravatar John Belamaric 3-174/+21 2017-04-19Add fallthrough support for Kubernetes (#626)Gravatar John Belamaric 7-9/+122 2017-04-18Tracing for gRPC Server (#619)Gravatar John Belamaric 6-11/+72