Changeset 982
- Timestamp:
- 06/13/09 19:29:20 (16 years ago)
- Location:
- issm/trunk/src/c/ModelProcessorx
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/ModelProcessorx/DiagnosticHoriz/CreateElementsNodesAndMaterialsDiagnosticHoriz.cpp
r976 r982 75 75 int matice_mid; 76 76 double matice_B; 77 double matice_Bbar;78 77 double matice_n; 79 78 … … 313 312 B_avg=B_avg/3; 314 313 matice_B=B_avg; 315 matice_Bbar=B_avg;316 314 matice_n=(double)*(model->n+i); 317 315 318 316 /*Create matice using its constructor:*/ 319 matice= new Matice(matice_mid,matice_B,matice_ Bbar,matice_n);317 matice= new Matice(matice_mid,matice_B,matice_n); 320 318 321 319 /*Add matice element to materials dataset: */ … … 441 439 B_avg=B_avg/6; 442 440 matice_B= B_avg; 443 matice_Bbar= B_avg;444 441 matice_n=(double)*(model->n+i); 445 442 446 443 /*Create matice using its constructor:*/ 447 matice= new Matice(matice_mid,matice_B,matice_ Bbar,matice_n);444 matice= new Matice(matice_mid,matice_B,matice_n); 448 445 449 446 /*Add matice element to materials dataset: */ -
issm/trunk/src/c/ModelProcessorx/DiagnosticHutter/CreateElementsNodesAndMaterialsDiagnosticHutter.cpp
r976 r982 55 55 int matice_mid; 56 56 double matice_B; 57 double matice_Bbar;58 57 double matice_n; 59 58 … … 249 248 matice_mid=i+1; //same as the material id from the geom2 elements. 250 249 matice_B=model->B[i]; 251 matice_Bbar=model->B[i];252 250 matice_n=(double)model->n[1]; //n defined on elements not grids, so take the first value everywhere 253 251 254 252 /*Create matice using its constructor:*/ 255 matice= new Matice(matice_mid,matice_B,matice_ Bbar,matice_n);253 matice= new Matice(matice_mid,matice_B,matice_n); 256 254 257 255 /*Add matice element to materials dataset: */ … … 303 301 matice_mid=i+1; //same as the material id from the geom2 elements. 304 302 matice_B=model->B[i]; 305 matice_Bbar=model->B[i];306 303 matice_n=(double)model->n[1]; //n defined on elements not grids, so take the first value everywhere 307 304 308 305 /*Create matice ubeam its constructor:*/ 309 matice= new Matice(matice_mid,matice_B,matice_ Bbar,matice_n);306 matice= new Matice(matice_mid,matice_B,matice_n); 310 307 311 308 /*Add matice element to materials dataset: */ -
issm/trunk/src/c/ModelProcessorx/DiagnosticStokes/CreateElementsNodesAndMaterialsDiagnosticStokes.cpp
r976 r982 54 54 int matice_mid; 55 55 double matice_B; 56 double matice_Bbar;57 56 double matice_n; 58 57 … … 286 285 B_avg=B_avg/6; 287 286 matice_B= B_avg; 288 matice_Bbar= B_avg;289 287 matice_n=(double)*(model->n+i); 290 288 … … 292 290 293 291 /*Create matice using its constructor:*/ 294 matice= new Matice(matice_mid,matice_B,matice_ Bbar,matice_n);292 matice= new Matice(matice_mid,matice_B,matice_n); 295 293 296 294 /*Add matice element to materials dataset: */ -
issm/trunk/src/c/ModelProcessorx/DiagnosticVert/CreateElementsNodesAndMaterialsDiagnosticVert.cpp
r976 r982 53 53 int matice_mid; 54 54 double matice_B; 55 double matice_Bbar;56 55 double matice_n; 57 56 … … 248 247 249 248 /*Create matice using its constructor:*/ 250 matice= new Matice(matice_mid,matice_B,matice_ Bbar,matice_n);249 matice= new Matice(matice_mid,matice_B,matice_n); 251 250 252 251 /*Add matice element to materials dataset: */ -
issm/trunk/src/c/ModelProcessorx/Melting/CreateElementsNodesAndMaterialsMelting.cpp
r976 r982 53 53 int matice_mid; 54 54 double matice_B; 55 double matice_Bbar;56 55 double matice_n; 57 56 … … 257 256 B_avg=B_avg/6; 258 257 matice_B= B_avg; 259 matice_Bbar= B_avg;260 258 matice_n=(double)*(model->n+i); 261 259 262 260 /*Create matice using its constructor:*/ 263 matice= new Matice(matice_mid,matice_B,matice_ Bbar,matice_n);261 matice= new Matice(matice_mid,matice_B,matice_n); 264 262 265 263 /*Add matice element to materials dataset: */ -
issm/trunk/src/c/ModelProcessorx/Prognostic/CreateElementsNodesAndMaterialsPrognostic.cpp
r976 r982 75 75 int matice_mid; 76 76 double matice_B; 77 double matice_Bbar;78 77 double matice_n; 79 78 -
issm/trunk/src/c/ModelProcessorx/Thermal/CreateElementsNodesAndMaterialsThermal.cpp
r976 r982 54 54 int matice_mid; 55 55 double matice_B; 56 double matice_Bbar;57 56 double matice_n; 58 57 … … 253 252 B_avg=B_avg/6; 254 253 matice_B= B_avg; 255 matice_Bbar= B_avg;256 254 matice_n=(double)*(model->n+i); 257 255 258 256 /*Create matice using its constructor:*/ 259 matice= new Matice(matice_mid,matice_B,matice_ Bbar,matice_n);257 matice= new Matice(matice_mid,matice_B,matice_n); 260 258 261 259 /*Add matice element to materials dataset: */
Note:
See TracChangeset
for help on using the changeset viewer.