source:
issm/oecreview/Archive/18296-19100/ISSM-18572-18573.diff
Last change on this file was 19102, checked in by , 10 years ago | |
---|---|
File size: 1.2 KB |
-
../trunk-jpl/src/c/cores/controlvalidation_core.cpp
35 35 X0 = Xpetsc->ToMPISerial(); 36 36 delete Xpetsc; 37 37 38 /*Allocate Gradient and current vector*/ 39 G = xNew<IssmDouble>(n); 38 /*Allocate current vector*/ 40 39 X = xNew<IssmDouble>(n); 41 40 42 41 /*out of solution_type, figure out solution core and adjoint function pointer*/ … … 109 108 femmodel->OutputControlsx(&femmodel->results); 110 109 111 110 /*Clean up and return*/ 111 xDelete<IssmDouble>(output); 112 112 xDelete<IssmDouble>(G); 113 113 xDelete<IssmDouble>(X); 114 114 xDelete<IssmDouble>(X0); -
../trunk-jpl/src/c/classes/FemModel.cpp
1484 1484 /*Compute SurfaceAbsMisfitEnum*/ 1485 1485 J+=0.5*(surface-surfaceobs)*(surface-surfaceobs)*weight*Jdet*gauss->weight; 1486 1486 } 1487 1487 delete gauss; 1488 xDelete<IssmDouble>(xyz_list); 1488 1489 } 1489 1490 1490 1491 /*Sum all J from all cpus of the cluster:*/
Note:
See TracBrowser
for help on using the repository browser.