Changeset 362 for trunk/src/mesh
- Timestamp:
- Mar 14, 2006 8:43:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mesh/grid2d_rect.cc
r356 r362 14 14 m_ypts.clear(); 15 15 16 int i; 17 for (i=0; i < xdim; i++) 18 m_xpts.push_back(xpts[i]); 19 20 for (i=0; i < ydim; i++) 21 m_ypts.push_back(ypts[i]); 16 copyArray(xpts, xdim, m_xpts); 17 copyArray(ypts, ydim, m_ypts); 22 18 23 19 expandData(); … … 26 22 27 23 } 28 29 /*30 void31 RpGrid2dRect::copyArray(DataValType* val, int dim, vector<DataValType>& vec)32 {33 vec.clear();34 35 for (int i=0; i < dim; i++)36 vec.push_back(val[i]);37 }38 */39 24 40 25 // … … 100 85 } 101 86 102 // 87 // must expand data before calculating number of bytes 103 88 int 104 89 RpGrid2dRect::numBytes()
Note: See TracChangeset
for help on using the changeset viewer.