6 #include "../../shared/shared.h"
7 #include "../../toolkits/toolkits.h"
16 int *control_type = NULL;
27 for(
int i=0;i<num_controls;i++){
28 for(
int j=0;j<elements->
Size();j++){
32 offset+=M_all[i]*N_all[i];
36 xDelete<int>(control_type);
40 int *control_type = NULL;
47 for(
int i=0;i<num_controls;i++){
48 for(
int j=0;j<elements->
Size();j++){
55 xDelete<int>(control_type);
68 xDelete<IssmDouble>(serial_gradient);