Changeset 688
- Timestamp:
- 06/01/09 17:09:48 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/DataSet/DataSet.cpp
r659 r688 1295 1295 void DataSet::VelocityDepthAverageAtBase(Vec ug,double* ug_serial){ 1296 1296 1297 1298 vector<Object*>::iterator object; 1299 Penta* penta=NULL; 1300 1301 for ( object=objects.begin() ; object < objects.end(); object++ ){ 1302 1303 if((*object)->Enum()==PentaEnum()){ 1304 1305 penta=(Penta*)(*object); 1306 penta->VelocityDepthAverageAtBase(ug,ug_serial); 1307 1297 vector<Object*>::iterator object; 1298 Node* node=NULL; 1299 1300 for ( object=objects.begin() ; object < objects.end(); object++ ){ 1301 1302 if((*object)->Enum()==NodeEnum()){ 1303 1304 node=(Node*)(*object); 1305 node->VelocityDepthAverageAtBase(ug,ug_serial); 1308 1306 } 1309 1307 }
Note:
See TracChangeset
for help on using the changeset viewer.