23 (*y_host) = (
double*)malloc(NUM *
NSP *
sizeof(
double));
24 (*var_host) = (
double*)malloc(NUM *
sizeof(
double));
26 for (
int i = 0; i < NUM; ++i){
28 (*var_host)[i] = 1000;
31 (*y_host)[i + NUM] = 0;
void apply_mask(double *y_host)
Not needed for van der Pol.
void set_same_initial_conditions(int NUM, double **y_host, double **var_host)
Set same ICs for all problems.
void apply_reverse_mask(double *y_host)
Not needed for van der Pol.