Lines Matching refs:prob
149 PetscDS prob; in testSpitzer() local
169 PetscCall(DMGetDS(plexe, &prob)); in testSpitzer()
170 PetscCall(PetscDSSetConstants(prob, 2, &q[0])); in testSpitzer()
171 PetscCall(PetscDSSetObjective(prob, 0, &f0_jz_sum)); in testSpitzer()
175 PetscCall(DMGetDS(plexi, &prob)); in testSpitzer()
176 PetscCall(PetscDSSetConstants(prob, 1, &q[1])); in testSpitzer()
177 PetscCall(PetscDSSetObjective(prob, 0, &f0_jz_sum)); in testSpitzer()
182 PetscCall(DMGetDS(plexe, &prob)); in testSpitzer()
183 PetscCall(PetscDSSetConstants(prob, 1, user)); in testSpitzer()
184 PetscCall(PetscDSSetObjective(prob, 0, &f0_n)); in testSpitzer()
192 PetscCall(DMGetDS(plexe, &prob)); in testSpitzer()
193 PetscCall(PetscDSSetConstants(prob, 1, user)); in testSpitzer()
194 PetscCall(PetscDSSetObjective(prob, 0, &f0_vz)); in testSpitzer()
199 PetscCall(DMGetDS(plexe, &prob)); in testSpitzer()
200 PetscCall(PetscDSSetConstants(prob, 1, &vz)); in testSpitzer()
201 PetscCall(PetscDSSetObjective(prob, 0, &f0_ve_shift)); in testSpitzer()
208 PetscCall(DMGetDS(plexe, &prob)); in testSpitzer()
209 PetscCall(PetscDSSetConstants(prob, 1, q)); in testSpitzer()
210 PetscCall(PetscDSSetObjective(prob, 0, &f0_j_re)); in testSpitzer()
270 PetscDS prob; in testStable() local
278 PetscCall(DMGetDS(plex, &prob)); in testStable()
286 PetscCall(PetscDSSetConstants(prob, sizeof(LandauCtx) / sizeof(PetscScalar), (PetscScalar *)ctx)); in testStable()
288 PetscCall(PetscDSSetObjective(prob, 0, &f0_0_diff_lp)); in testStable()
291 PetscCall(PetscDSSetObjective(prob, 0, &f0_0_maxwellian_lp)); in testStable()
296 PetscCall(PetscDSSetObjective(prob, 0, &f0_0_diff_lp)); in testStable()
299 PetscCall(PetscDSSetObjective(prob, 0, &f0_0_maxwellian_lp)); in testStable()
321 PetscDS prob; in EInduction() local
326 PetscCall(DMGetDS(dm, &prob)); in EInduction()
329 PetscCall(PetscDSSetConstants(prob, ctx->num_species, qv0)); in EInduction()
330 PetscCall(PetscDSSetObjective(prob, 0, &f0_jz_sum)); in EInduction()
628 PetscDS prob; in main() local
656 PetscCall(DMGetDS(pack, &prob)); in main()