43 std::vector<double> tmpDimVector = ncsInfo.
getCoords();
45 tmpCoordsVector.push_back(tmpDimVector);
56 coordData.find(node)->second = coordsVector;
91 coordDataMap::const_iterator coordDataMapIterator =
coordData.begin();
93 while(coordDataMapIterator !=
coordData.end()) {
95 branchCoordsVector = coordDataMapIterator->second;
97 coordinatesVector::iterator vIterator;
98 for(vIterator=branchCoordsVector.begin(); vIterator < branchCoordsVector.end(); vIterator++) {
99 combinedCoordsVector.push_back(*vIterator);
102 ++coordDataMapIterator;
104 return combinedCoordsVector;
110 coordDataMap::const_iterator coordDataMapIterator =
coordData.begin();
112 while(coordDataMapIterator !=
coordData.end()) {
113 if(currentTreeChildNodes.find(coordDataMapIterator->first) ==
114 currentTreeChildNodes.end() && coordDataMapIterator->first !=
thisNode) {
115 coordDataMapIterator =
coordData.erase(coordDataMapIterator);
116 }
else ++coordDataMapIterator;
123 std::stringstream tempStr;
125 return tempStr.str();
131 std::stringstream tempStr;
132 tempStr <<
"sendAll";
134 return tempStr.str();
142 coordinatesVector::const_iterator vNodeIterator = combinedCoordsVector.begin();
143 std::vector<double>::const_iterator vCoordsIterator;
145 while(vNodeIterator != combinedCoordsVector.end()) {
147 size +=
sizeof((*vNodeIterator));
149 vCoordsIterator = (*vNodeIterator).begin();
150 while(vCoordsIterator != (*vNodeIterator).end()) {
151 size +=
sizeof((*vCoordsIterator));
163 return sizeof((*(*combinedCoordsVector.begin()).begin()));