- Timestamp:
- Mar 14, 2006, 8:07:17 PM (19 years ago)
- Location:
- trunk/src/mesh
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mesh/grid1d.cc
r346 r354 239 239 240 240 printf("object name: %s\n", m_name.c_str()); 241 printf("num points: %d\n", numPoints()); 241 242 242 243 xmlString(str); … … 313 314 } 314 315 316 void 317 RpGrid1d::copyArray(DataValType* val, int dim, vector<DataValType>& vec) 318 { 319 vec.clear(); 320 321 for (int i=0; i < dim; i++) 322 vec.push_back(val[i]); 323 } 324 -
trunk/src/mesh/grid1d.h
r346 r354 87 87 vector<DataValType> m_data; // array of doubles 88 88 89 virtual void copyArray(DataValType* val, int dim, vector<DataValType>& vec); 90 89 91 }; 90 92 -
trunk/src/mesh/grid2d_rect.h
r345 r354 57 57 vector<DataValType> m_ypts; 58 58 59 void copyArray(DataValType* val, int dim, vector<DataValType>& vec);59 //void copyArray(DataValType* val, int dim, vector<DataValType>& vec); 60 60 }; 61 61
Note: See TracChangeset
for help on using the changeset viewer.