Changeset 7843
- Timestamp:
- 04/12/11 10:42:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/ModelProcessorx/Prognostic/CreateLoadsPrognostic.cpp
r7833 r7843 58 58 /*Create Penpair for penalties: */ 59 59 IoModelFetchData(&iomodel->penalties,&iomodel->numpenalties,NULL,iomodel_handle,"penalties"); 60 IoModelFetchData(&iomodel->gridonbed,NULL,NULL,iomodel_handle,"gridonbed"); 60 61 61 62 for(i=0;i<iomodel->numpenalties;i++){ … … 65 66 /*In debugging mode, check that the second node is in the same cpu*/ 66 67 _assert_(iomodel->my_vertices[(int)iomodel->penalties[2*i+1]-1]); 68 69 /*Skip if one of the two is not on the bed*/ 70 if(!iomodel->gridonbed[(int)iomodel->penalties[2*i+0]-1] || !iomodel->gridonbed[(int)iomodel->penalties[2*i+1]-1]) continue; 67 71 68 72 /*Get node ids*/ … … 81 85 /*free ressources: */ 82 86 xfree((void**)&iomodel->penalties); 87 xfree((void**)&iomodel->gridonbed); 83 88 84 89
Note:
See TracChangeset
for help on using the changeset viewer.