From c6d64acd9a4f52e2d6936ab9b172318db55d182c Mon Sep 17 00:00:00 2001 From: Konstantin Batkov Date: Wed, 7 Jun 2017 13:22:00 +0200 Subject: [PATCH 1/2] Proton flux-to-dose conversion factors --- System/tally/meshConstruct.cxx | 38 ++++++++++++++++++++++++++++++++- System/tallyInc/meshConstruct.h | 1 + 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/System/tally/meshConstruct.cxx b/System/tally/meshConstruct.cxx index 912e0e781..d664a73c6 100644 --- a/System/tally/meshConstruct.cxx +++ b/System/tally/meshConstruct.cxx @@ -300,6 +300,12 @@ meshConstruct::rectangleMesh(Simulation& System,const int type, MT.setKeyWords("DOSE 1"); MT.setResponse(getPhotonDoseConversion()); } + else if (KeyWords=="DOSEPROTON") + { + MT.setParticles("h"); + MT.setKeyWords("DOSE 1"); + MT.setResponse(getProtonDoseConversion()); + } else if (KeyWords=="InternalDOSE") { MT.setKeyWords("DOSE"); @@ -347,7 +353,7 @@ meshConstruct::rectangleFMesh(Simulation& System,const int type, \param MPts :: Points ot use */ { - ELog::RegMethod RegA("meshConstruct","rectangleMesh"); + ELog::RegMethod RegA("meshConstruct","rectangleFMesh"); // Find next available number int tallyN(type); @@ -372,6 +378,12 @@ meshConstruct::rectangleFMesh(Simulation& System,const int type, MT.setKeyWords("DOSE 1"); MT.setResponse(getPhotonDoseConversion()); } + else if (KeyWords=="DOSEPROTON") + { + MT.setParticles("h"); + MT.setKeyWords("DOSE 1"); + MT.setResponse(getProtonDoseConversion()); + } else if (KeyWords=="InternalDOSE") { MT.setKeyWords("DOSE"); @@ -386,6 +398,7 @@ meshConstruct::rectangleFMesh(Simulation& System,const int type, ELog::EM<<"Mesh keyword options:\n" <<" DOSE :: ICRP-116 Flux to Dose conversion (uSv/hour per n/cm2/sec)\n" <<" DOSEPHOTON :: ICRP-116 Flux to Dose conversion (uSv/hour per n/cm2/sec)\n" + <<" DOSEPROTON :: ICRP-116 Flux to Dose conversion (uSv/hour per n/cm2/sec)\n" <<" InternalDOSE :: MCNPX Flux to Dose conversion (mrem/hour)\n" <<" void :: Flux \n" < Date: Wed, 7 Jun 2017 14:49:58 +0200 Subject: [PATCH 2/2] Mesh help message revised --- System/tally/meshConstruct.cxx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/System/tally/meshConstruct.cxx b/System/tally/meshConstruct.cxx index d664a73c6..deaaa50d8 100644 --- a/System/tally/meshConstruct.cxx +++ b/System/tally/meshConstruct.cxx @@ -318,9 +318,10 @@ meshConstruct::rectangleMesh(Simulation& System,const int type, else { ELog::EM<<"Mesh keyword options:\n" - <<" DOSE :: ICRP-116 Flux to Dose conversion (uSv/hour per n/cm2/sec)\n" - <<" DOSEPHOTON :: ICRP-116 Flux to Dose conversion (uSv/hour per n/cm2/sec)\n" - <<" InternalDOSE :: MCNPX Flux to Dose conversion (mrem/hour)\n" + <<" DOSE :: neutrons - ICRP-116 Flux to Dose conversion (uSv/hour per n/cm2/sec)\n" + <<" DOSEPHOTON :: photons - ICRP-116 Flux to Dose conversion (uSv/hour per n/cm2/sec)\n" + <<" DOSEPROTON :: protons - ICRP-116 Flux to Dose conversion (uSv/hour per n/cm2/sec)\n" + <<" InternalDOSE :: neutrons - ICRP-74 1996 ambient dose equivalent (uSv/hour)\n" <<" void :: Flux \n" <