|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <LUPI_dataBuffer.hpp>
Public Types | |
| enum class | Mode { Count , Pack , Unpack , Reset , Memory } |
Public Member Functions | |
| LUPI_HOST_DEVICE | DataBuffer (void) |
| LUPI_HOST_DEVICE | DataBuffer (DataBuffer const &rhs) |
| LUPI_HOST_DEVICE | ~DataBuffer () |
| LUPI_HOST_DEVICE void | zeroIndexes (void) |
| LUPI_HOST_DEVICE void | copyIndexes (DataBuffer const &a_input) |
| LUPI_HOST_DEVICE void | simpleCopy (DataBuffer const &a_input) |
| LUPI_HOST_DEVICE void | nullOutPointers (void) |
| LUPI_HOST_DEVICE void | allocateBuffers (void) |
| LUPI_HOST_DEVICE void | freeMemory (void) |
| LUPI_HOST_DEVICE bool | compareIndexes (LUPI_maybeUnused char const *a_file, LUPI_maybeUnused int a_line, DataBuffer const &a_input) |
| LUPI_HOST_DEVICE void | incrementPlacement (std::size_t a_delta) |
| LUPI_HOST_DEVICE void | incrementSharedPlacement (std::size_t a_delta) |
| LUPI_HOST_DEVICE bool | validate () |
Public Attributes | |
| std::size_t | m_intIndex |
| std::size_t | m_floatIndex |
| std::size_t | m_doubleIndex |
| std::size_t | m_charIndex |
| std::size_t | m_longIndex |
| std::size_t | m_size_tIndex |
| int * | m_intData |
| float * | m_floatData |
| double * | m_doubleData |
| char * | m_charData |
| std::uint64_t * | m_longData |
| std::size_t * | m_size_tData |
| char * | m_placementStart |
| char * | m_placement |
| std::size_t | m_maxPlacementSize |
| char * | m_sharedPlacementStart |
| char * | m_sharedPlacement |
| std::size_t | m_sharedMaxPlacementSize |
Definition at line 25 of file LUPI_dataBuffer.hpp.
|
strong |
| Enumerator | |
|---|---|
| Count | |
| Pack | |
| Unpack | |
| Reset | |
| Memory | |
Definition at line 53 of file LUPI_dataBuffer.hpp.
|
inline |
Definition at line 55 of file LUPI_dataBuffer.hpp.
Referenced by compareIndexes(), copyIndexes(), DataBuffer(), and simpleCopy().
|
inline |
Definition at line 78 of file LUPI_dataBuffer.hpp.
|
inline |
Definition at line 104 of file LUPI_dataBuffer.hpp.
|
inline |
Definition at line 164 of file LUPI_dataBuffer.hpp.
|
inline |
Definition at line 187 of file LUPI_dataBuffer.hpp.
|
inline |
Definition at line 119 of file LUPI_dataBuffer.hpp.
|
inline |
Definition at line 174 of file LUPI_dataBuffer.hpp.
|
inline |
Definition at line 195 of file LUPI_dataBuffer.hpp.
Referenced by MCGIDI::ACE_URR_probabilityTables::serialize(), MCGIDI::GRIN_capture::serialize(), MCGIDI::GRIN_captureLevelProbability::serialize(), MCGIDI::GRIN_inelastic::serialize(), MCGIDI::HeatedCrossSectionContinuousEnergy::serialize(), MCGIDI::HeatedCrossSectionMultiGroup::serialize(), MCGIDI::HeatedCrossSectionsContinuousEnergy::serialize(), MCGIDI::HeatedCrossSectionsMultiGroup::serialize(), MCGIDI::Product::serialize(), MCGIDI::Reaction::serialize(), MCGIDI::ProtareComposite::serialize2(), MCGIDI::ProtareSingle::serialize2(), MCGIDI::ProtareTNSL::serialize2(), MCGIDI::serializeACE_URR_probabilityTables(), MCGIDI::serializeDelayedNeutrons(), MCGIDI::serializeDistribution(), MCGIDI::serializeFunction1d(), MCGIDI::serializeFunction1d_d1(), MCGIDI::serializeFunction1d_d2(), MCGIDI::serializeFunction2d(), MCGIDI::Sampling::Upscatter::serializeModelDBRC_data(), MCGIDI::serializeProbability1d(), MCGIDI::serializeProbability2d(), MCGIDI::serializeProbability2d_d1(), MCGIDI::serializeProbability2d_d2(), MCGIDI::serializeProbability3d(), and MCGIDI::serializeProducts().
|
inline |
Definition at line 202 of file LUPI_dataBuffer.hpp.
|
inline |
|
inline |
Definition at line 129 of file LUPI_dataBuffer.hpp.
|
inline |
Definition at line 210 of file LUPI_dataBuffer.hpp.
|
inline |
| char* LUPI::DataBuffer::m_charData |
Definition at line 38 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), DataBuffer(), DataBuffer(), freeMemory(), nullOutPointers(), simpleCopy(), and ~DataBuffer().
| std::size_t LUPI::DataBuffer::m_charIndex |
Definition at line 31 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), compareIndexes(), copyIndexes(), DataBuffer(), DataBuffer(), simpleCopy(), and zeroIndexes().
| double* LUPI::DataBuffer::m_doubleData |
Definition at line 37 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), DataBuffer(), DataBuffer(), freeMemory(), nullOutPointers(), simpleCopy(), and ~DataBuffer().
| std::size_t LUPI::DataBuffer::m_doubleIndex |
Definition at line 30 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), compareIndexes(), copyIndexes(), DataBuffer(), DataBuffer(), simpleCopy(), and zeroIndexes().
| float* LUPI::DataBuffer::m_floatData |
Definition at line 36 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), DataBuffer(), DataBuffer(), freeMemory(), nullOutPointers(), simpleCopy(), and ~DataBuffer().
| std::size_t LUPI::DataBuffer::m_floatIndex |
Definition at line 29 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), compareIndexes(), copyIndexes(), DataBuffer(), DataBuffer(), simpleCopy(), and zeroIndexes().
| int* LUPI::DataBuffer::m_intData |
Definition at line 35 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), DataBuffer(), DataBuffer(), freeMemory(), nullOutPointers(), simpleCopy(), and ~DataBuffer().
| std::size_t LUPI::DataBuffer::m_intIndex |
Definition at line 28 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), compareIndexes(), copyIndexes(), DataBuffer(), DataBuffer(), simpleCopy(), and zeroIndexes().
| std::uint64_t* LUPI::DataBuffer::m_longData |
Definition at line 39 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), DataBuffer(), DataBuffer(), freeMemory(), nullOutPointers(), simpleCopy(), and ~DataBuffer().
| std::size_t LUPI::DataBuffer::m_longIndex |
Definition at line 32 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), compareIndexes(), copyIndexes(), DataBuffer(), DataBuffer(), simpleCopy(), and zeroIndexes().
| std::size_t LUPI::DataBuffer::m_maxPlacementSize |
Definition at line 45 of file LUPI_dataBuffer.hpp.
Referenced by DataBuffer(), DataBuffer(), simpleCopy(), and validate().
| char* LUPI::DataBuffer::m_placement |
Definition at line 44 of file LUPI_dataBuffer.hpp.
Referenced by DataBuffer(), DataBuffer(), MCGIDI::Protare::incrementMemorySize(), incrementPlacement(), MCGIDI::Protare::memorySize(), MCGIDI::ACE_URR_probabilityTables::serialize(), MCGIDI::Functions::Regions1d::serialize(), MCGIDI::Functions::XYs2d::serialize(), MCGIDI::GRIN_capture::serialize(), MCGIDI::GRIN_captureLevelProbability::serialize(), MCGIDI::GRIN_inelastic::serialize(), MCGIDI::HeatedCrossSectionContinuousEnergy::serialize(), MCGIDI::HeatedCrossSectionMultiGroup::serialize(), MCGIDI::HeatedCrossSectionsContinuousEnergy::serialize(), MCGIDI::HeatedCrossSectionsMultiGroup::serialize(), MCGIDI::Probabilities::Regions2d::serialize(), MCGIDI::Probabilities::WeightedFunctionals2d::serialize(), MCGIDI::Probabilities::XYs2d::serialize(), MCGIDI::Probabilities::XYs3d::serialize(), MCGIDI::Product::serialize(), MCGIDI::Reaction::serialize(), MCGIDI::URR_protareInfos::serialize(), MCGIDI::ProtareComposite::serialize2(), MCGIDI::ProtareSingle::serialize2(), MCGIDI::ProtareTNSL::serialize2(), MCGIDI::serializeACE_URR_probabilityTables(), MCGIDI::serializeDelayedNeutrons(), MCGIDI::serializeDistribution(), MCGIDI::serializeFunction1d(), MCGIDI::serializeFunction1d_d1(), MCGIDI::serializeFunction1d_d2(), MCGIDI::serializeFunction2d(), MCGIDI::Sampling::Upscatter::serializeModelDBRC_data(), MCGIDI::serializeProbability1d(), MCGIDI::serializeProbability2d(), MCGIDI::serializeProbability2d_d1(), MCGIDI::serializeProbability2d_d2(), MCGIDI::serializeProbability3d(), MCGIDI::serializeProducts(), MCGIDI::serializeQs(), simpleCopy(), and validate().
| char* LUPI::DataBuffer::m_placementStart |
Definition at line 43 of file LUPI_dataBuffer.hpp.
Referenced by DataBuffer(), DataBuffer(), MCGIDI::Protare::incrementMemorySize(), MCGIDI::Protare::memorySize(), simpleCopy(), and validate().
| std::size_t LUPI::DataBuffer::m_sharedMaxPlacementSize |
Definition at line 51 of file LUPI_dataBuffer.hpp.
Referenced by DataBuffer(), DataBuffer(), simpleCopy(), and validate().
| char* LUPI::DataBuffer::m_sharedPlacement |
Definition at line 50 of file LUPI_dataBuffer.hpp.
Referenced by DataBuffer(), DataBuffer(), MCGIDI::Protare::incrementMemorySize(), incrementSharedPlacement(), MCGIDI::Protare::memorySize(), simpleCopy(), and validate().
| char* LUPI::DataBuffer::m_sharedPlacementStart |
Definition at line 49 of file LUPI_dataBuffer.hpp.
Referenced by DataBuffer(), DataBuffer(), MCGIDI::Protare::incrementMemorySize(), MCGIDI::Protare::memorySize(), simpleCopy(), and validate().
| std::size_t* LUPI::DataBuffer::m_size_tData |
Definition at line 40 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), DataBuffer(), DataBuffer(), freeMemory(), nullOutPointers(), simpleCopy(), and ~DataBuffer().
| std::size_t LUPI::DataBuffer::m_size_tIndex |
Definition at line 33 of file LUPI_dataBuffer.hpp.
Referenced by allocateBuffers(), compareIndexes(), copyIndexes(), DataBuffer(), DataBuffer(), simpleCopy(), and zeroIndexes().