|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI_functions.hpp>
Protected Attributes | |
| ProbabilityBase1dType | m_type |
| Protected Attributes inherited from MCGIDI::Probabilities::ProbabilityBase | |
| Vector< double > | m_Xs |
Definition at line 349 of file MCGIDI_functions.hpp.
| LUPI_HOST_DEVICE MCGIDI::Probabilities::ProbabilityBase1d::ProbabilityBase1d | ( | ) |
Definition at line 1232 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Probabilities::Xs_pdf_cdf1d::Xs_pdf_cdf1d().
| LUPI_HOST MCGIDI::Probabilities::ProbabilityBase1d::ProbabilityBase1d | ( | GIDI::Functions::FunctionForm const & | a_probabilty, |
| Vector< double > const & | a_Xs ) |
Definition at line 1239 of file MCGIDI_functions.cc.
| LUPI_HOST_DEVICE MCGIDI::Probabilities::ProbabilityBase1d::~ProbabilityBase1d | ( | ) |
Definition at line 1248 of file MCGIDI_functions.cc.
| LUPI_HOST_DEVICE double MCGIDI::Probabilities::ProbabilityBase1d::evaluate | ( | double | a_x1 | ) | const |
Returns the value of the function at a_x1.
| a_x1 | [in] The x-value to evaluate the function at. |
Definition at line 1282 of file MCGIDI_functions.cc.
Referenced by evaluate().
| LUPI_HOST_DEVICE double MCGIDI::Probabilities::ProbabilityBase1d::sample | ( | double | a_rngValue, |
| RNG && | a_rng ) const |
Returns the x-value corresponding cumulative probability a_rngValue.
| a_rngValue | [in] The x-value to evaluate the function at. |
| a_rng | [in] The random number generator function that returns a double in the range [0, 1.0). |
Definition at line 1647 of file MCGIDI_headerSource.hpp.
| LUPI_HOST_DEVICE MCGIDI_VIRTUAL_FUNCTION double MCGIDI::Probabilities::ProbabilityBase1d::sample | ( | double | a_rngValue, |
| RNG && | a_rng ) const |
Referenced by sample().
| LUPI_HOST_DEVICE void MCGIDI::Probabilities::ProbabilityBase1d::serialize | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode ) |
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_mode | [in] Specifies the action of this method. |
Definition at line 1295 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Probabilities::Xs_pdf_cdf1d::serialize().
|
inline |
Definition at line 359 of file MCGIDI_functions.hpp.
Referenced by MCGIDI::ProbabilityBase1dClass(), and serialize().
| LUPI_HOST_DEVICE String MCGIDI::Probabilities::ProbabilityBase1d::typeString | ( | ) | const |
Returns a String representation of the ProbabilityBase1d type of this.
Definition at line 1258 of file MCGIDI_functions.cc.
|
protected |
Definition at line 352 of file MCGIDI_functions.hpp.
Referenced by ProbabilityBase1d(), ProbabilityBase1d(), serialize(), type(), typeString(), MCGIDI::Probabilities::Xs_pdf_cdf1d::Xs_pdf_cdf1d(), and MCGIDI::Probabilities::Xs_pdf_cdf1d::Xs_pdf_cdf1d().