- Timestamp:
- 11/15/12 23:28:32 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STGrid.cpp
r2684 r2686 2084 2084 } 2085 2085 2086 vector<int> STGrid::getResultantMapSize() 2087 { 2088 vector<int> r(2); 2089 r[0] = nx_; 2090 r[1] = ny_; 2091 return r; 2092 } 2093 2094 vector<double> STGrid::getResultantCellSize() 2095 { 2096 vector<double> r(2); 2097 r[0] = cellx_; 2098 r[1] = celly_; 2099 return r; 2100 } 2101 2086 2102 // STGrid2 2087 2103 STGrid2::STGrid2() -
trunk/src/STGrid.h
r2671 r2686 77 77 // support function to know how grid function looks like 78 78 vector<float> getConvFunc(); 79 80 // for plotting 81 vector<int> getResultantMapSize(); 82 vector<double> getResultantCellSize(); 79 83 80 84 //private: -
trunk/src/python_STGrid.cpp
r2671 r2686 43 43 .def("_save", &STGrid::saveData) 44 44 .def("_getfunc", &STGrid::getConvFunc) 45 .def("_get_resultant_map_size", &STGrid::getResultantMapSize) 46 .def("_get_resultant_cell_size", &STGrid::getResultantCellSize) 45 47 ; 46 48
Note:
See TracChangeset
for help on using the changeset viewer.