|
Geant4-11
|
#include <G4OctreeFinder.hh>
Public Member Functions | |
| void | BuildTreeMap (const std::map< G4int, CONTAINER * > &listMap) |
| void | Clear () override |
| void | FindNearest (const G4Track &track, const int &key, G4double R, std::vector< std::pair< typename CONTAINER::iterator, G4double > > &result, G4bool isSort=false) const |
| void | FindNearestInRange (const G4ThreeVector &, G4double R, std::vector< std::pair< typename CONTAINER::iterator, G4double > > &result, G4bool isSorted) const |
| void | FindNearestInRange (const G4ThreeVector &position, const G4int &key, G4double R, std::vector< std::pair< typename CONTAINER::iterator, G4double > > &result, G4bool isSort=false) const |
| void | FindNearestInRange (const G4Track &track, const int &key, G4double R, std::vector< std::pair< typename CONTAINER::iterator, G4double > > &result, G4bool isSort=false) const |
| G4ITType | GetITType () override |
| G4int | GetVerboseLevel () override |
| G4bool | IsOctreeBuilt () const |
| G4bool | IsOctreeUsed () const |
| void | SetOctreeBuilt (G4bool used) |
| void | SetOctreeUsed (G4bool used) |
| void | SetVerboseLevel (G4int level) override |
| ~G4OctreeFinder () override | |
Static Public Member Functions | |
| static G4OctreeFinder * | Instance () |
Private Types | |
| using | Octree = G4Octree< typename CONTAINER::iterator, Extractor< CONTAINER > > |
| using | OctreeHandle = G4shared_ptr< Octree > |
| using | TreeMap = std::map< int, OctreeHandle > |
Private Member Functions | |
| G4OctreeFinder () | |
Private Attributes | |
| Extractor< CONTAINER > | fExtractor |
| G4bool | fIsOctreeBuit |
| G4bool | fIsOctreeUsed |
| OctreeHandle | fTree |
| TreeMap | fTreeMap |
| int | fVerbose |
Static Private Attributes | |
| static G4ThreadLocal G4OctreeFinder * | fInstance |
Definition at line 75 of file G4OctreeFinder.hh.
|
private |
Definition at line 77 of file G4OctreeFinder.hh.
|
private |
Definition at line 79 of file G4OctreeFinder.hh.
|
private |
Definition at line 80 of file G4OctreeFinder.hh.
|
private |
|
override |
| void G4OctreeFinder< T, CONTAINER >::BuildTreeMap | ( | const std::map< G4int, CONTAINER * > & | listMap | ) |
|
overridevirtual |
Implements G4VFinder.
Referenced by G4DNAIndependentReactionTimeModel::Initialize().
| void G4OctreeFinder< T, CONTAINER >::FindNearest | ( | const G4Track & | track, |
| const int & | key, | ||
| G4double | R, | ||
| std::vector< std::pair< typename CONTAINER::iterator, G4double > > & | result, | ||
| G4bool | isSort = false |
||
| ) | const |
| void G4OctreeFinder< T, CONTAINER >::FindNearestInRange | ( | const G4ThreeVector & | , |
| G4double | R, | ||
| std::vector< std::pair< typename CONTAINER::iterator, G4double > > & | result, | ||
| G4bool | isSorted | ||
| ) | const |
| void G4OctreeFinder< T, CONTAINER >::FindNearestInRange | ( | const G4ThreeVector & | position, |
| const G4int & | key, | ||
| G4double | R, | ||
| std::vector< std::pair< typename CONTAINER::iterator, G4double > > & | result, | ||
| G4bool | isSort = false |
||
| ) | const |
| void G4OctreeFinder< T, CONTAINER >::FindNearestInRange | ( | const G4Track & | track, |
| const int & | key, | ||
| G4double | R, | ||
| std::vector< std::pair< typename CONTAINER::iterator, G4double > > & | result, | ||
| G4bool | isSort = false |
||
| ) | const |
|
inlineoverridevirtual |
Implements G4VFinder.
Definition at line 113 of file G4OctreeFinder.hh.
|
inlineoverridevirtual |
Implements G4VFinder.
Definition at line 108 of file G4OctreeFinder.hh.
References G4OctreeFinder< T, CONTAINER >::fVerbose.
|
static |
| G4bool G4OctreeFinder< T, CONTAINER >::IsOctreeBuilt | ( | ) | const |
| G4bool G4OctreeFinder< T, CONTAINER >::IsOctreeUsed | ( | ) | const |
| void G4OctreeFinder< T, CONTAINER >::SetOctreeBuilt | ( | G4bool | used | ) |
Referenced by G4DNAElectronHoleRecombination::FindReactant().
| void G4OctreeFinder< T, CONTAINER >::SetOctreeUsed | ( | G4bool | used | ) |
|
inlineoverridevirtual |
Implements G4VFinder.
Definition at line 103 of file G4OctreeFinder.hh.
References G4OctreeFinder< T, CONTAINER >::fVerbose.
|
private |
Definition at line 88 of file G4OctreeFinder.hh.
|
staticprivate |
Definition at line 83 of file G4OctreeFinder.hh.
|
private |
Definition at line 87 of file G4OctreeFinder.hh.
|
private |
Definition at line 86 of file G4OctreeFinder.hh.
|
private |
Definition at line 90 of file G4OctreeFinder.hh.
|
private |
Definition at line 89 of file G4OctreeFinder.hh.
|
private |
Definition at line 85 of file G4OctreeFinder.hh.
Referenced by G4OctreeFinder< T, CONTAINER >::GetVerboseLevel(), and G4OctreeFinder< T, CONTAINER >::SetVerboseLevel().