Changeset 624 for XIOS/trunk/src/node/field.cpp
- Timestamp:
- 06/22/15 13:36:37 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/field.cpp
r623 r624 13 13 #include "context_server.hpp" 14 14 #include <set> 15 #include "axis_filter.hpp"16 #include "invert_algorithm.hpp"17 15 18 16 namespace xios{ … … 29 27 , foperation(), hasInstantData(false), hasExpression(false) 30 28 , active(false) , hasOutputFile(false),hasFieldOut(false), slotUpdateDate(NULL) 31 , processed(false), domAxisIds_("", ""), areAllReferenceSolved(false), areAllExpressionBuilt(false) , filter(0)29 , processed(false), domAxisIds_("", ""), areAllReferenceSolved(false), areAllExpressionBuilt(false) 32 30 , isReadDataRequestPending(false) 33 , filterSources_() , algorithms_()31 , filterSources_() 34 32 { setVirtualVariableGroup(); } 35 33 … … 43 41 , foperation(), hasInstantData(false), hasExpression(false) 44 42 , active(false), hasOutputFile(false), hasFieldOut(false), slotUpdateDate(NULL) 45 , processed(false), domAxisIds_("", ""), areAllReferenceSolved(false), areAllExpressionBuilt(false) , filter(0)43 , processed(false), domAxisIds_("", ""), areAllReferenceSolved(false), areAllExpressionBuilt(false) 46 44 , isReadDataRequestPending(false) 47 , filterSources_() , algorithms_()45 , filterSources_() 48 46 { setVirtualVariableGroup(); } 49 47 … … 55 53 if (hasExpression) delete expression; 56 54 if (slotUpdateDate != NULL) delete slotUpdateDate; 57 if (0 != filter) delete filter;58 55 59 56 } … … 177 174 int rank=(*it).first ; 178 175 CArray<int,1>& index = *(it->second) ; 179 std::cout << "rank " << index << std::endl;180 std::cout << "data " << data << std::endl;181 176 CArray<double,1> data_tmp(index.numElements()) ; 182 177 for(int n=0;n<data_tmp.numElements();n++) data_tmp(n)=data(index(n)) ; … … 784 779 fieldRef->addReference(this); 785 780 fieldRef->solveGridDomainAxisRef(false); 786 // fieldRef->solveCheckMaskIndex(false);787 781 break; 788 782 } … … 798 792 fieldRef->addReference(this); 799 793 fieldRef->solveGridDomainAxisRef(false); 800 // fieldRef->solveCheckMaskIndex(false);801 794 } 802 795 … … 826 819 { 827 820 const std::map<int, CArray<int,1>* >& localIndexToSend = (*itFilterSrc)->grid->getTransformations()->getLocalIndexToSendFromGridSource(); 828 const std::map<int, std::vector<CArray<int,1>* > > localIndexToReceive = (*itFilterSrc)->grid->getTransformations()->getLocalIndexToReceiveOnGridDest();821 const std::map<int, std::vector<CArray<int,1>* > >& localIndexToReceive = (*itFilterSrc)->grid->getTransformations()->getLocalIndexToReceiveOnGridDest(); 829 822 830 823 sendAndReceiveTransformedData(localIndexToSend, dataToSend, … … 857 850 CArray<int,1>* localIndex_p = itSend->second; 858 851 int countSize = localIndex_p->numElements(); 859 std::cout << "Data Source " << dataSrc << std::endl;860 852 for (int idx = 0; idx < countSize; ++idx) 861 853 { … … 888 880 } 889 881 } 890 std::cout << "Data Destination " << dataDest << std::endl;891 882 } 892 883
Note: See TracChangeset
for help on using the changeset viewer.