Searched refs:ncoeff (Results 1 – 2 of 2) sorted by relevance
14 …syscommand = compose('./spectraladjointassimilation -ts_adapt_dt_max 3.e-3 -E %d -N 2 -ncoeff 5 …53 …syscommand = compose('./spectraladjointassimilation -ts_adapt_dt_max 3.e-3 -E 8 -N %d -ncoeff 12 …
89 PetscInt ncoeff; member130 appctx.ncoeff = 2; in main()134 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ncoeff", &appctx.ncoeff, NULL)); in main()299 PetscCall(PetscMalloc1(appctx->ncoeff, &appctx->solutioncoefficients)); in ComputeSolutionCoefficients()302 …for (i = 0; i < appctx->ncoeff; i++) PetscCall(PetscRandomGetValue(rand, &appctx->solutioncoeffici… in ComputeSolutionCoefficients()334 for (j = 0; j < appctx->ncoeff; j++) { in InitialConditions()373 …for (j = 0; j < appctx->ncoeff; j++) s[i] += appctx->solutioncoefficients[j] * PetscSinScalar(2 * … in TrueSolution()404 for (j = 0; j < appctx->ncoeff; j++) { in ComputeReference()