#include <G4KDMap.hh>
Definition at line 89 of file G4KDMap.hh.
G4KDMap::G4KDMap |
( |
size_t |
dimensions | ) |
|
|
inline |
size_t G4KDMap::GetDimension |
( |
| ) |
|
|
inline |
Definition at line 105 of file G4KDMap.hh.
107 return fSortOut.size();
size_t G4KDMap::GetSize |
( |
| ) |
|
|
inline |
Definition at line 90 of file G4KDMap.cc.
92 vector<_deq_iterator>& vit = fMap[
pos];
94 size_t maxSize = fSortOut.size();
101 for (
size_t i = 0; i < fSortOut.size(); ++i)
103 vit[i] = fSortOut[i].Insert(pos);
G4GLOB_DLL std::ostream G4cout
static const G4double pos
Definition at line 138 of file G4KDMap.cc.
141 G4cout <<
"G4KDMap::PopOutMiddle ( "<< dimension <<
" )" <<
G4endl;
143 if(fIsSorted ==
false)
Sort();
144 G4KDNode_Base* output_node = fSortOut[dimension].PopOutMiddle();
146 if(output_node == 0)
return 0;
151 std::map<G4KDNode_Base*, std::vector<_deq_iterator> >::iterator fMap_it
152 = fMap.find(output_node);
155 if(fMap_it == fMap.end())
162 std::vector<_deq_iterator>& vit = fMap_it->second;
173 for(
size_t i = 0; i < fSortOut.size(); i++)
188 fSortOut[i].Erase(vit[i]);
G4GLOB_DLL std::ostream G4cout
Definition at line 197 of file G4KDMap.cc.
199 for (
size_t i = 0; i < fSortOut.size(); ++i)
The documentation for this class was generated from the following files:
- geant4.10.03.p01/source/processes/electromagnetic/dna/management/include/G4KDMap.hh
- geant4.10.03.p01/source/processes/electromagnetic/dna/management/src/G4KDMap.cc