- Timestamp:
- 04/02/10 15:06:53 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/ModelProcessorx/Prognostic2/CreateLoadsPrognostic2.cpp
r3371 r3378 28 28 int numericalflux_id; 29 29 int numericalflux_node_ids[MAX_NUMERICALFLUX_NODES]; 30 int numericalflux_elem_id s[MAX_NUMERICALFLUX_ELEMS];30 int numericalflux_elem_id; 31 31 32 32 /*Create loads: */ … … 58 58 strcpy(numericalflux_type,"internal"); 59 59 60 numericalflux_elem_ids[0]=(int)e1+1;//id is in matlab index 61 numericalflux_elem_ids[1]=(int)e2+1;//id is in matlab index 60 numericalflux_elem_id=(int)e1+1;//id is in matlab index 62 61 63 62 /*Now, we must get the nodes of the 4 nodes located on the edge*/ … … 85 84 strcpy(numericalflux_type,"boundary"); 86 85 87 numericalflux_elem_id s[0]=(int)e1+1;86 numericalflux_elem_id=(int)e1+1; 88 87 89 88 /*1: Get vertices ids*/ … … 104 103 } 105 104 106 numericalflux = new Numericalflux(numericalflux_id,numericalflux_type,numericalflux_node_ids,numericalflux_elem_id s);105 numericalflux = new Numericalflux(numericalflux_id,numericalflux_type,numericalflux_node_ids,numericalflux_elem_id); 107 106 108 107 loads->AddObject(numericalflux);
Note:
See TracChangeset
for help on using the changeset viewer.