Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4DNAMesh.hh>
Public Types | |
using | Box = G4DNABoundingBox |
using | MolType = const G4MolecularConfiguration * |
using | Data = std::map< MolType, size_t > |
using | Voxel = std::tuple< Index, Box, Data > |
using | IndexMap = std::unordered_map< Index, G4int, G4VDNAMesh::hashFunc > |
using | VoxelVector = std::vector< Voxel > |
Public Member Functions | |
G4DNAMesh (const G4DNABoundingBox &, G4int) | |
~G4DNAMesh () override | |
Index | GetIndex (const G4ThreeVector &position) const |
Voxel & | GetVoxel (const Index &index) |
size_t | size () |
Index | ConvertIndex (const Index &index, const G4int &) const |
std::vector< Index > | FindNeighboringVoxels (const Index &index) const |
void | Reset () |
Data & | GetVoxelMapList (const Index &index) |
auto | end () |
auto | begin () |
VoxelVector::const_iterator | const_end () const |
VoxelVector::const_iterator | const_begin () const |
void | PrintMesh () |
void | PrintVoxel (const Index &index) |
const G4DNABoundingBox & | GetBoundingBox () const |
G4DNABoundingBox | GetBoundingBox (const Index &index) |
G4int | GetNumberOfType (MolType type) const |
void | InitializeVoxel (const Index &key, Data &&mapList) |
G4double | GetResolution () const |
Public Member Functions inherited from G4VDNAMesh | |
G4VDNAMesh ()=default | |
virtual | ~G4VDNAMesh ()=default |
Definition at line 41 of file G4DNAMesh.hh.
using G4DNAMesh::Box = G4DNABoundingBox |
Definition at line 44 of file G4DNAMesh.hh.
using G4DNAMesh::Data = std::map<MolType, size_t> |
Definition at line 46 of file G4DNAMesh.hh.
using G4DNAMesh::IndexMap = std::unordered_map<Index, G4int, G4VDNAMesh::hashFunc> |
Definition at line 48 of file G4DNAMesh.hh.
using G4DNAMesh::MolType = const G4MolecularConfiguration* |
Definition at line 45 of file G4DNAMesh.hh.
using G4DNAMesh::Voxel = std::tuple<Index, Box, Data> |
Definition at line 47 of file G4DNAMesh.hh.
using G4DNAMesh::VoxelVector = std::vector<Voxel> |
Definition at line 49 of file G4DNAMesh.hh.
G4DNAMesh::G4DNAMesh | ( | const G4DNABoundingBox & | boundingBox, |
G4int | pixel | ||
) |
Definition at line 55 of file G4DNAMesh.cc.
|
override |
Definition at line 60 of file G4DNAMesh.cc.
|
inline |
Definition at line 60 of file G4DNAMesh.hh.
Referenced by G4DNAGillespieDirectMethod::Initialize().
|
inline |
Definition at line 62 of file G4DNAMesh.hh.
|
inline |
Definition at line 61 of file G4DNAMesh.hh.
G4VDNAMesh::Index G4DNAMesh::ConvertIndex | ( | const Index & | index, |
const G4int & | pixels | ||
) | const |
Definition at line 215 of file G4DNAMesh.cc.
|
inline |
Definition at line 59 of file G4DNAMesh.hh.
Referenced by G4DNAGillespieDirectMethod::Initialize().
std::vector< G4DNAMesh::Index > G4DNAMesh::FindNeighboringVoxels | ( | const Index & | index | ) | const |
Definition at line 146 of file G4DNAMesh.cc.
const G4DNABoundingBox & G4DNAMesh::GetBoundingBox | ( | ) | const |
Definition at line 140 of file G4DNAMesh.cc.
Referenced by GetVoxel().
G4DNABoundingBox G4DNAMesh::GetBoundingBox | ( | const Index & | index | ) |
Definition at line 123 of file G4DNAMesh.cc.
G4DNAMesh::Index G4DNAMesh::GetIndex | ( | const G4ThreeVector & | position | ) | const |
Definition at line 187 of file G4DNAMesh.cc.
G4int G4DNAMesh::GetNumberOfType | ( | G4DNAMesh::MolType | type | ) | const |
Definition at line 86 of file G4DNAMesh.cc.
G4double G4DNAMesh::GetResolution | ( | ) | const |
Definition at line 185 of file G4DNAMesh.cc.
G4DNAMesh::Voxel & G4DNAMesh::GetVoxel | ( | const Index & | index | ) |
Definition at line 36 of file G4DNAMesh.cc.
Referenced by G4DNAGillespieDirectMethod::CreateEvent(), GetVoxelMapList(), and InitializeVoxel().
G4DNAMesh::Data & G4DNAMesh::GetVoxelMapList | ( | const Index & | index | ) |
Definition at line 62 of file G4DNAMesh.cc.
Referenced by PrintVoxel().
Definition at line 117 of file G4DNAMesh.cc.
void G4DNAMesh::PrintMesh | ( | ) |
Definition at line 68 of file G4DNAMesh.cc.
void G4DNAMesh::PrintVoxel | ( | const Index & | index | ) |
Definition at line 102 of file G4DNAMesh.cc.
Referenced by G4DNAGillespieDirectMethod::Initialize().
void G4DNAMesh::Reset | ( | ) |
Definition at line 134 of file G4DNAMesh.cc.
Referenced by ~G4DNAMesh().
|
inline |
Definition at line 54 of file G4DNAMesh.hh.