|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
Simple C++ string class, useful as replacement for std::string if this cannot be used, or just for fun. More...
Namespaces | |
| namespace | Transporting |
| namespace | Distributions |
| namespace | Functions |
| namespace | Probabilities |
| namespace | Sampling |
Classes | |
| class | ACE_URR_probabilityTablesFromGIDI |
| class | SetupInfo |
| class | MultiGroupHash |
| class | URR_protareInfo |
| class | URR_protareInfos |
| class | ACE_URR_probabilityTable |
| class | ACE_URR_probabilityTables |
| class | HeatedReactionCrossSectionContinuousEnergy |
| class | ContinuousEnergyGain |
| class | HeatedCrossSectionContinuousEnergy |
| class | HeatedCrossSectionsContinuousEnergy |
| class | MultiGroupGain |
| class | HeatedReactionCrossSectionMultiGroup |
| class | HeatedCrossSectionMultiGroup |
| class | HeatedCrossSectionsMultiGroup |
| class | NuclideGammaBranchInfo |
| class | NuclideGammaBranchStateInfo |
| class | GRIN_levelsAndProbabilities |
| class | GRIN_inelasticForEnergy |
| class | GRIN_inelastic |
| class | GRIN_captureToCompound |
| class | GRIN_captureLevelProbability |
| class | GRIN_capture |
| class | Product |
| class | DelayedNeutron |
| class | OutputChannel |
| class | Reaction |
| class | Protare |
| class | ProtareSingle |
| class | ProtareComposite |
| class | ProtareTNSL |
| class | DomainHash |
| class | String |
| class | Vector |
Enumerations | |
| enum class | ProtareType { single , composite , TNSL } |
| enum class | TwoBodyOrder { notApplicable , firstParticle , secondParticle } |
| enum class | ChannelType { none , twoBody , uncorrelatedBodies } |
| enum class | Interpolation { LINLIN , LINLOG , LOGLIN , LOGLOG , FLAT , OTHER } |
| enum class | Function1dType { none , constant , XYs , polyomial , gridded , regions , branching , TerrellFissionNeutronMultiplicityModel } |
| enum class | Function2dType { none , XYs } |
| enum class | ProbabilityBase1dType { none , xs_pdf_cdf } |
| enum class | ProbabilityBase2dType { none , XYs , regions , isotropic , discreteGamma , primaryGamma , recoil , NBodyPhaseSpace , evaporation , generalEvaporation , simpleMaxwellianFission , Watt , weightedFunctionals } |
| enum class | ProbabilityBase3dType { none , XYs } |
Simple C++ string class, useful as replacement for std::string if this cannot be used, or just for fun.
|
strong |
|
strong |
| Enumerator | |
|---|---|
| none | |
| constant | |
| XYs | |
| polyomial | |
| gridded | |
| regions | |
| branching | |
| TerrellFissionNeutronMultiplicityModel | |
Definition at line 20 of file MCGIDI_functions.hpp.
|
strong |
|
strong |
| Enumerator | |
|---|---|
| LINLIN | |
| LINLOG | |
| LOGLIN | |
| LOGLOG | |
| FLAT | |
| OTHER | |
Definition at line 19 of file MCGIDI_functions.hpp.
|
strong |
|
strong |
| Enumerator | |
|---|---|
| none | |
| XYs | |
| regions | |
| isotropic | |
| discreteGamma | |
| primaryGamma | |
| recoil | |
| NBodyPhaseSpace | |
| evaporation | |
| generalEvaporation | |
| simpleMaxwellianFission | |
| Watt | |
| weightedFunctionals | |
Definition at line 23 of file MCGIDI_functions.hpp.
|
strong |
|
strong |
|
strong |
Adds the items in Vector a_from to the set a_to.
| a_to | [in] The list of ints to add to the set. |
| a_from | [in] The set to add the ints to. |
Definition at line 113 of file MCGIDI_misc.cc.
|
inline |
Definition at line 318 of file MCGIDI.hpp.
Referenced by MCGIDI::Distributions::IncoherentBoundToFreePhotoAtomicScattering::angleBiasing(), MCGIDI::Distributions::CoherentPhotoAtomicScattering::evaluate(), MCGIDI::Functions::Gridded1d::evaluate(), MCGIDI::Functions::Regions1d::evaluate(), MCGIDI::Functions::XYs1d::evaluate(), MCGIDI::Functions::XYs2d::evaluate(), MCGIDI::Probabilities::Regions2d::evaluate(), MCGIDI::Probabilities::Xs_pdf_cdf1d::evaluate(), MCGIDI::Probabilities::XYs2d::evaluate(), MCGIDI::Probabilities::XYs3d::evaluate(), MCGIDI::Distributions::CoherentPhotoAtomicScattering::evaluateFormFactor(), MCGIDI::Distributions::IncoherentBoundToFreePhotoAtomicScattering::evaluateOccupationNumber(), MCGIDI::Distributions::IncoherentPhotoAtomicScattering::evaluateScatteringFactor(), MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy(), MCGIDI::MultiGroupHash::index(), MCGIDI::HeatedCrossSectionContinuousEnergy::reactionCrossSection(), MCGIDI::HeatedCrossSectionsMultiGroup::reactionCrossSection(), MCGIDI::ACE_URR_probabilityTable::sample(), MCGIDI::ACE_URR_probabilityTables::sample(), MCGIDI::Distributions::CoherentElasticTNSL::sample(), MCGIDI::Distributions::CoherentPhotoAtomicScattering::sample(), MCGIDI::Distributions::IncoherentBoundToFreePhotoAtomicScattering::sample(), MCGIDI::Probabilities::Regions2d::sample(), MCGIDI::Probabilities::Xs_pdf_cdf1d::sample(), MCGIDI::Probabilities::XYs2d::sample(), MCGIDI::Probabilities::XYs3d::sample(), MCGIDI::Probabilities::XYs2d::sample2dOf3d(), and MCGIDI::ProtareSingle::sampleTargetBetaForUpscatterModelA().
|
inline |
Definition at line 347 of file MCGIDI.hpp.
Referenced by MCGIDI::Sampling::evaluationForHashIndex().
| LUPI_HOST_DEVICE double MCGIDI::boostSpeed | ( | double | a_massProjectile, |
| double | a_kineticEnergyProjectile, | ||
| double | a_massTarget ) |
This function returns the boost speed required to boost to the center-of-mass for a projectile hitting a target.
| a_massProjectile | [in] The mass of the projectile in energy units. |
| a_kineticEnergyProjectile | [in] The kinetic energy of the projectile. |
| a_massTarget | [in] The mass of the target in energy units. |
Definition at line 161 of file MCGIDI_misc.cc.
| LUPI_HOST void MCGIDI::convertACE_URR_probabilityTablesFromGIDI | ( | GIDI::ProtareSingle const & | a_protare, |
| Transporting::MC & | a_settings, | ||
| SetupInfo & | a_setupInfo ) |
This method serializes a ACE_URR_probabilityTables instance pointed to by a_ACE_URR_probabilityTables.
| a_protare | [in] The GIDI::Protare whose data is to be used to construct this. |
| a_settings | [in] Used to pass user options to the this to instruct it which data are desired. |
| a_setupInfo | [in] Used internally when constructing a Protare to pass information to other constructors. |
Definition at line 282 of file MCGIDI_URR.cc.
| LUPI_HOST_DEVICE int MCGIDI::distributionTypeToInt | ( | Distributions::Type | a_type | ) |
This function returns a unique integer for the Distributions::Type. For internal use when broadcasting a distribution for MPI and GPUs needs.
| a_type | [in] The distribution's type. |
Definition at line 238 of file MCGIDI_misc.cc.
Referenced by MCGIDI::Distributions::Distribution::serialize(), and serializeDistribution().
| LUPI_HOST_DEVICE Function1dType MCGIDI::Function1dClass | ( | Functions::Function1d * | funct | ) |
Definition at line 2744 of file MCGIDI_functions.cc.
Referenced by serializeFunction1d(), serializeFunction1d_d1(), and serializeFunction1d_d2().
| LUPI_HOST_DEVICE Function2dType MCGIDI::Function2dClass | ( | Functions::Function2d * | funct | ) |
Definition at line 3219 of file MCGIDI_functions.cc.
Referenced by serializeFunction2d().
| LUPI_HOST_DEVICE Interpolation MCGIDI::GIDI2MCGIDI_interpolation | ( | ptwXY_interpolation | a_interpolation | ) |
Definition at line 2732 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Distributions::CoherentElasticTNSL::CoherentElasticTNSL(), MCGIDI::Functions::FunctionBase::FunctionBase(), MCGIDI::Functions::XYs1d::XYs1d(), and MCGIDI::Functions::XYs2d::XYs2d().
| LUPI_HOST Vector< double > MCGIDI::GIDI_VectorDoublesToMCGIDI_VectorDoubles | ( | GIDI::Vector | a_vector | ) |
| a_vector | [in] The GIDI::Vector whose contents are coped to a MCGIGI::Vector. |
Definition at line 97 of file MCGIDI_misc.cc.
Referenced by MCGIDI::MultiGroupGain::MultiGroupGain().
| LUPI_HOST_DEVICE Distributions::Type MCGIDI::intToDistributionType | ( | int | a_type | ) |
This function returns the Distributions::Type corresponding to the integer returned by distributionTypeToInt.
| a_type | [in] The value returned by distributionTypeToInt. |
Definition at line 301 of file MCGIDI_misc.cc.
Referenced by MCGIDI::Distributions::Distribution::serialize(), and serializeDistribution().
| LUPI_HOST_DEVICE void MCGIDI::MCGIDI_memmove | ( | char * | dest, |
| const char * | src, | ||
| size_t | n ) |
Definition at line 386 of file MCGIDI_string.cc.
Referenced by MCGIDI::String::append(), MCGIDI::String::erase(), MCGIDI::String::operator+=(), MCGIDI::String::operator+=(), and MCGIDI::String::operator=().
| LUPI_HOST int MCGIDI::MCGIDI_popsIndex | ( | PoPI::Database const & | a_pops, |
| std::string const & | a_id ) |
This function returns the index in a_pops for particle a_id or -1 if a_id not in a_pops.
| a_pops | [in] A PoPI::Database to retrived the particle's index from. |
| a_id | [in] The GNDS PoPs id of the particle whose index is requested. |
Definition at line 83 of file MCGIDI_misc.cc.
Referenced by MCGIDI::Product::Product(), MCGIDI::Product::Product(), and MCGIDI::SetupInfo::SetupInfo().
| LUPI_HOST int MCGIDI::MCGIDI_popsIntid | ( | PoPI::Database const & | a_pops, |
| std::string const & | a_id ) |
This function returns the intid for particle a_id or -1 if a_id not in a_pops.
| a_pops | [in] A PoPI::Database to retrived the particle's intid from. |
| a_id | [in] The GNDS PoPs id of the particle whose intid is requested. |
Definition at line 51 of file MCGIDI_misc.cc.
Referenced by MCGIDI::OutputChannel::OutputChannel(), MCGIDI::Product::Product(), and MCGIDI::Product::Product().
| LUPI_HOST_DEVICE int MCGIDI::MCGIDI_strcmp | ( | const char * | p1, |
| const char * | p2 ) |
Definition at line 357 of file MCGIDI_string.cc.
Referenced by operator<(), MCGIDI::String::operator==(), and MCGIDI::String::operator==().
| LUPI_HOST_DEVICE size_t MCGIDI::MCGIDI_strlen | ( | const char * | str | ) |
Definition at line 375 of file MCGIDI_string.cc.
Referenced by MCGIDI::String::append(), MCGIDI::String::at(), MCGIDI::String::at(), MCGIDI::String::compare(), MCGIDI::String::operator+=(), and MCGIDI::String::operator=().
| LUPI_HOST_DEVICE int MCGIDI::MCGIDI_strncmp | ( | const char * | s1, |
| const char * | s2, | ||
| size_t | n ) |
Definition at line 406 of file MCGIDI_string.cc.
Referenced by MCGIDI::String::compare(), and MCGIDI::String::compare().
| LUPI_HOST_DEVICE int MCGIDI::muCOM_From_muLab | ( | double | a_muLab, |
| double | a_boostBeta, | ||
| double | a_productBeta, | ||
| double & | a_muPlus, | ||
| double & | a_JacobianPlus, | ||
| double & | a_muMinus, | ||
| double & | a_JacobianMinus ) |
This function determines the mu value(s) in the center-of-mass frame for a specified mu value in the lab frame for a product with speed a_productBeta and a boost speed of a_productBeta. The returned value is the number of mu values in the center-of-mass frame. The return value can be 0, 1 or 2. a_muMinus and a_JacobianMinus are undefined when the returned value is less than 2. a_muPlus and a_JacobianPlus are undefined when the returned value is 0.
| a_muLab | [in] The mu specified mu value in the lab frame. |
| a_boostBeta | [in] The boost speed from the lab from to the center-of-mass frame in units of the speed-of-light. |
| a_productBeta | [in] The speed of the product in the center-of-mass frame in units of the speed-of-light. |
| a_muPlus | [in] The first mu value if the returned is greater than 0. |
| a_JacobianPlus | [in] The partial derivative of mu_com with respect to mu_lab at a_muPlus. |
| a_muMinus | [in] The second mu value if the returned value is 2. |
| a_JacobianMinus | [in] The partial derivative of mu_com with respect to mu_lab at a_muMinus. |
Definition at line 185 of file MCGIDI_misc.cc.
Referenced by MCGIDI::Distributions::AngularTwoBody::angleBiasing(), MCGIDI::Distributions::EnergyAngularMC::angleBiasing(), MCGIDI::Distributions::KalbachMann::angleBiasing(), and MCGIDI::Distributions::Uncorrelated::angleBiasing().
| LUPI_HOST_DEVICE String MCGIDI::operator+ | ( | const String & | lhs, |
| const String & | rhs ) |
Definition at line 183 of file MCGIDI_string.cc.
| LUPI_HOST_DEVICE bool MCGIDI::operator< | ( | const String & | s1, |
| const String & | s2 ) |
Definition at line 350 of file MCGIDI_string.cc.
| LUPI_HOST_DEVICE double MCGIDI::particleKineticEnergy | ( | double | a_mass_unitOfEnergy, |
| double | a_particleBeta ) |
This function returns a particle kinetic energy from its mass and beta (i.e., v/c) using a relativistic formula.
| a_mass_unitOfEnergy | [in] The particle's mass in units of energy. |
| a_particleBeta | [in] The particle's velocity divided by the speed of light (i.e., beta = v/c). |
Definition at line 127 of file MCGIDI_misc.cc.
Referenced by MCGIDI::ProtareSingle::sampleTargetBetaForUpscatterModelA().
| LUPI_HOST_DEVICE double MCGIDI::particleKineticEnergyFromBeta2 | ( | double | a_mass_unitOfEnergy, |
| double | a_particleBeta2 ) |
This function is like particleKineticEnergy except that a_particleBeta2 is beta squared (i.e., (v/c)^2).
| a_mass_unitOfEnergy | [in] The particle's mass in units of energy. |
| a_particleBeta2 | [in] The square of beta (i.e., beta^2 where beta = v/c). |
Definition at line 144 of file MCGIDI_misc.cc.
Referenced by MCGIDI::Distributions::AngularTwoBody::angleBiasing(), MCGIDI::Distributions::EnergyAngularMC::angleBiasing(), MCGIDI::Distributions::KalbachMann::angleBiasing(), MCGIDI::Distributions::Uncorrelated::angleBiasing(), and upScatterModelABoostParticle().
| LUPI_HOST_DEVICE ProbabilityBase1dType MCGIDI::ProbabilityBase1dClass | ( | Probabilities::ProbabilityBase1d * | funct | ) |
Definition at line 3288 of file MCGIDI_functions.cc.
Referenced by serializeProbability1d().
| LUPI_HOST_DEVICE ProbabilityBase2dType MCGIDI::ProbabilityBase2dClass | ( | Probabilities::ProbabilityBase2d * | funct | ) |
Definition at line 3357 of file MCGIDI_functions.cc.
Referenced by serializeProbability2d(), serializeProbability2d_d1(), and serializeProbability2d_d2().
| LUPI_HOST_DEVICE ProbabilityBase3dType MCGIDI::ProbabilityBase3dClass | ( | Probabilities::ProbabilityBase3d * | funct | ) |
Definition at line 4063 of file MCGIDI_functions.cc.
Referenced by serializeProbability3d().
| LUPI_HOST Protare * MCGIDI::protareFromGIDIProtare | ( | LUPI::StatusMessageReporting & | a_smr, |
| GIDI::Protare const & | a_protare, | ||
| PoPI::Database const & | a_pops, | ||
| Transporting::MC & | a_settings, | ||
| GIDI::Transporting::Particles const & | a_particles, | ||
| DomainHash const & | a_domainHash, | ||
| GIDI::Styles::TemperatureInfos const & | a_temperatureInfos, | ||
| GIDI::ExcludeReactionsSet const & | a_reactionsToExclude, | ||
| std::size_t | a_reactionsToExcludeOffset, | ||
| bool | a_allowFixedGrid ) |
Returns the proper MCGIDI protare base on the type of GIDI protare.
| a_smr | [Out] If errors are not to be thrown, then the error is reported via this instance. |
| a_protare | [in] The GIDI::Protare whose data is to be used to construct this. |
| a_pops | [in] A PoPs Database instance used to get particle intids and possibly other particle information. |
| a_settings | [in] Used to pass user options to the this to instruct it which data are desired. |
| a_particles | [in] List of transporting particles and their information (e.g., multi-group boundaries and fluxes). |
| a_domainHash | [in] The hash data used when looking up a cross section. |
| a_temperatureInfos | [in] The list of temperature data to extract from a_protare. |
| a_reactionsToExclude | [in] A list of reaction to not include in the MCGIDI::Protare. |
| a_reactionsToExcludeOffset | [in] The starting index for the reactions in this ProtareSingle. |
| a_allowFixedGrid | [in] For internal (i.e., MCGIDI) use only. Users must use the default value. |
Definition at line 31 of file MCGIDI_protare.cc.
Referenced by G4GIDI::readTarget().
| LUPI_HOST_DEVICE ACE_URR_probabilityTables * MCGIDI::serializeACE_URR_probabilityTables | ( | ACE_URR_probabilityTables * | a_ACE_URR_probabilityTables, |
| LUPI::DataBuffer & | a_buffer, | ||
| LUPI::DataBuffer::Mode | a_mode ) |
This method serializes a ACE_URR_probabilityTables instance pointed to by a_ACE_URR_probabilityTables.
| a_ACE_URR_probabilityTables | [in] Specifies the action of this method. |
| a_buffer | [in] The buffer to read or write data to depending on a_mode. |
| a_mode | [in] Specifies the action of this method. |
Definition at line 379 of file MCGIDI_URR.cc.
Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::serialize(), and MCGIDI::HeatedReactionCrossSectionContinuousEnergy::serialize().
| LUPI_HOST_DEVICE void MCGIDI::serializeDelayedNeutrons | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Vector< DelayedNeutron * > & | a_delayedNeutrons ) |
This method serializes a_delayedNeutrons for broadcasting as needed for MPI and GPUs. The method can count the number of required bytes, pack a_delayedNeutrons or unpack a_delayedNeutrons depending on a_mode.
| a_delayedNeutrons | [in] The delayed neutrons to serialize. |
| a_buffer | [in] The buffer to read or write data to depending on a_mode. |
| a_mode | [in] Specifies the action of this method. |
Definition at line 404 of file MCGIDI_misc.cc.
Referenced by MCGIDI::OutputChannel::serialize(), and MCGIDI::Reaction::serialize().
| LUPI_HOST_DEVICE Distributions::Distribution * MCGIDI::serializeDistribution | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Distributions::Distribution * | a_distribution ) |
This method serializes this for broadcasting as needed for MPI and GPUs. The method can count the number of required bytes, pack this or unpack this depending on a_mode.
| a_buffer | [in] The buffer to read or write data to depending on a_mode.A |
| a_mode | [in] Specifies the action of this method. |
Definition at line 1535 of file MCGIDI_distributions.cc.
Referenced by MCGIDI::Product::serialize().
| LUPI_HOST_DEVICE void MCGIDI::serializeFissionResiduals | ( | GIDI::Construction::FissionResiduals & | a_fissionResiduals, |
| LUPI::DataBuffer & | a_buffer, | ||
| LUPI::DataBuffer::Mode | a_mode ) |
| a_fissionResiduals | [in] A reference to the GIDI::Construction::FissionResiduals reference serialize. |
| a_buffer | [in] The buffer to read or write data to depending on a_mode. |
| a_mode | [in] Specifies the action of this method. |
Definition at line 467 of file MCGIDI_misc.cc.
Referenced by MCGIDI::Reaction::serialize().
| LUPI_HOST_DEVICE Functions::Function1d * MCGIDI::serializeFunction1d | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Functions::Function1d * | a_function1d ) |
Definition at line 2753 of file MCGIDI_functions.cc.
Referenced by MCGIDI::OutputChannel::serialize(), MCGIDI::Product::serialize(), and MCGIDI::Reaction::serialize().
| LUPI_HOST_DEVICE Functions::Function1d_d1 * MCGIDI::serializeFunction1d_d1 | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Functions::Function1d_d1 * | a_function1d ) |
Definition at line 2925 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Distributions::CoherentPhotoAtomicScattering::serialize(), MCGIDI::Distributions::IncoherentElasticTNSL::serialize(), MCGIDI::Functions::TerrellFissionNeutronMultiplicityModel::serialize(), MCGIDI::Functions::XYs2d::serialize(), MCGIDI::OutputChannel::serialize(), MCGIDI::Probabilities::Evaporation2d::serialize(), MCGIDI::Probabilities::GeneralEvaporation2d::serialize(), MCGIDI::Probabilities::SimpleMaxwellianFission2d::serialize(), MCGIDI::Probabilities::Watt2d::serialize(), MCGIDI::Probabilities::WeightedFunctionals2d::serialize(), and serializeQs().
| LUPI_HOST_DEVICE Functions::Function1d_d2 * MCGIDI::serializeFunction1d_d2 | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Functions::Function1d_d2 * | a_function1d ) |
Definition at line 3080 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Functions::Regions1d::serialize().
| LUPI_HOST_DEVICE Functions::Function2d * MCGIDI::serializeFunction2d | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Functions::Function2d * | a_function2d ) |
Definition at line 3228 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Distributions::KalbachMann::serialize().
| LUPI_HOST_DEVICE Probabilities::ProbabilityBase1d * MCGIDI::serializeProbability1d | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Probabilities::ProbabilityBase1d * | a_probability1d ) |
Definition at line 3297 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Probabilities::GeneralEvaporation2d::serialize(), MCGIDI::Probabilities::NBodyPhaseSpace2d::serialize(), and MCGIDI::Probabilities::XYs2d::serialize().
| LUPI_HOST_DEVICE Probabilities::ProbabilityBase2d * MCGIDI::serializeProbability2d | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Probabilities::ProbabilityBase2d * | a_probability2d ) |
Definition at line 3366 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Distributions::Uncorrelated::serialize(), and MCGIDI::HeatedReactionCrossSectionContinuousEnergy::serialize().
| LUPI_HOST_DEVICE Probabilities::ProbabilityBase2d_d1 * MCGIDI::serializeProbability2d_d1 | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Probabilities::ProbabilityBase2d_d1 * | a_probability2d ) |
Definition at line 3614 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Distributions::AngularEnergyMC::serialize(), MCGIDI::Distributions::AngularTwoBody::serialize(), MCGIDI::Distributions::EnergyAngularMC::serialize(), MCGIDI::Distributions::KalbachMann::serialize(), MCGIDI::Distributions::Uncorrelated::serialize(), MCGIDI::Probabilities::WeightedFunctionals2d::serialize(), and MCGIDI::Probabilities::XYs3d::serialize().
| LUPI_HOST_DEVICE Probabilities::ProbabilityBase2d_d2 * MCGIDI::serializeProbability2d_d2 | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Probabilities::ProbabilityBase2d_d2 * | a_probability2d ) |
Definition at line 3847 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Probabilities::Regions2d::serialize().
| LUPI_HOST_DEVICE Probabilities::ProbabilityBase3d * MCGIDI::serializeProbability3d | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Probabilities::ProbabilityBase3d * | a_probability3d ) |
Definition at line 4072 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Distributions::AngularEnergyMC::serialize(), and MCGIDI::Distributions::EnergyAngularMC::serialize().
| LUPI_HOST_DEVICE void MCGIDI::serializeProducts | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Vector< Product * > & | a_products ) |
This method serializes a_products for broadcasting as needed for MPI and GPUs. The method can count the number of required bytes, pack a_products or unpack a_products depending on a_mode.
| a_buffer | [in] The buffer to read or write data to depending on a_mode. |
| a_mode | [in] Specifies the action of this method. |
| a_products | [in] The products to serialize. |
Definition at line 367 of file MCGIDI_misc.cc.
Referenced by MCGIDI::OutputChannel::serialize(), and MCGIDI::Reaction::serialize().
| LUPI_HOST_DEVICE void MCGIDI::serializeQs | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode, | ||
| Vector< Functions::Function1d_d1 * > & | a_Qs ) |
This method serializes a_Qs for broadcasting as needed for MPI and GPUs. The method can count the number of required bytes, pack a_Qs or unpack a_Qs depending on a_mode.
| a_buffer | [in] The buffer to read or write data to depending on a_mode. |
| a_mode | [in] Specifies the action of this method. |
| a_Qs | [in] The Q functions to serialize. |
Definition at line 441 of file MCGIDI_misc.cc.
Referenced by MCGIDI::Reaction::serialize().
| LUPI_HOST_DEVICE Transporting::URR_mode MCGIDI::serializeURR_mode | ( | Transporting::URR_mode | a_URR_mode, |
| LUPI::DataBuffer & | a_buffer, | ||
| LUPI::DataBuffer::Mode | a_mode ) |
This method serializes a Transporting::URR_mode value.
| a_URR_mode | [in] The inputted Transporting::URR_mode value. |
| a_buffer | [in] The buffer to read or write data to depending on a_mode. |
| a_mode | [in] Specifies the action of this method. |
Definition at line 349 of file MCGIDI_URR.cc.
Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::serialize(), and MCGIDI::HeatedReactionCrossSectionContinuousEnergy::serialize().
|
inline |
This function boost a particle from one frame to another frame. The frames have a relative speed a_boostSpeed and cosine of angle a_boostMu between their z-axes. BRB FIXME, currently it is the x-axis.
| a_input | [in] Instance containing a random number generator that returns a double in the range [0, 1). |
| a_rng | [in] The random number generator function that returns a double in the range [0, 1.0). |
| a_product | [in] The particle to boost. |
Definition at line 2358 of file MCGIDI_headerSource.hpp.
Referenced by MCGIDI::Sampling::ProductHandler::add().
This function returns a std::vector<double> that represents a_input.
| a_input | [in] The input for the returned std::vector<double> instance. |
Definition at line 510 of file MCGIDI_misc.cc.
Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::crossSectionAsGIDI_XYs1d(), and MCGIDI::HeatedReactionCrossSectionContinuousEnergy::crossSectionAsGIDI_XYs1d().
This function returns a std::vector<double> that represents a_input.
| a_input | [in] The input for the returned std::vector<double> instance. |
Definition at line 528 of file MCGIDI_misc.cc.