Lines Matching refs:f1

518 …NsMax * NqMax * NcMax, &prob->f0, NsMax * NqMax * NcMax * dimEmbed, &prob->f1, NsMax * NsMax * NqM…  in PetscDSSetUp()
534 PetscCall(PetscFree6(prob->f0, prob->f1, prob->g0, prob->g1, prob->g2, prob->g3)); in PetscDSDestroyStructs_Static()
1351 PetscErrorCode PetscDSGetResidual(PetscDS ds, PetscInt f, PetscPointFn **f0, PetscPointFn **f1) in PetscDSGetResidual() argument
1361 *f1 = tmp1 ? tmp1[0] : NULL; in PetscDSGetResidual()
1383 PetscErrorCode PetscDSSetResidual(PetscDS ds, PetscInt f, PetscPointFn *f0, PetscPointFn *f1) in PetscDSSetResidual() argument
1388 if (f1) PetscValidFunction(f1, 4); in PetscDSSetResidual()
1390 PetscCall(PetscWeakFormSetIndexResidual(ds->wf, NULL, 0, f, 0, 0, f0, 0, f1)); in PetscDSSetResidual()
1414 PetscErrorCode PetscDSGetRHSResidual(PetscDS ds, PetscInt f, PetscPointFn **f0, PetscPointFn **f1) in PetscDSGetRHSResidual() argument
1424 *f1 = tmp1 ? tmp1[0] : NULL; in PetscDSGetRHSResidual()
1446 PetscErrorCode PetscDSSetRHSResidual(PetscDS ds, PetscInt f, PetscPointFn *f0, PetscPointFn *f1) in PetscDSSetRHSResidual() argument
1451 if (f1) PetscValidFunction(f1, 4); in PetscDSSetRHSResidual()
1453 PetscCall(PetscWeakFormSetIndexResidual(ds->wf, NULL, 0, f, 100, 0, f0, 0, f1)); in PetscDSSetRHSResidual()
2000 …tscErrorCode PetscDSGetBdResidual(PetscDS ds, PetscInt f, PetscBdPointFn **f0, PetscBdPointFn **f1) in PetscDSGetBdResidual() argument
2010 *f1 = tmp1 ? tmp1[0] : NULL; in PetscDSGetBdResidual()
2036 PetscErrorCode PetscDSSetBdResidual(PetscDS ds, PetscInt f, PetscBdPointFn *f0, PetscBdPointFn *f1) in PetscDSSetBdResidual() argument
2041 PetscCall(PetscWeakFormSetIndexBdResidual(ds->wf, NULL, 0, f, 0, 0, f0, 0, f1)); in PetscDSSetBdResidual()
3041 PetscErrorCode PetscDSGetWeakFormArrays(PetscDS prob, PetscScalar *f0[], PetscScalar *f1[], PetscSc… in PetscDSGetWeakFormArrays() argument
3050 if (f1) { in PetscDSGetWeakFormArrays()
3051 PetscAssertPointer(f1, 3); in PetscDSGetWeakFormArrays()
3052 *f1 = prob->f1; in PetscDSGetWeakFormArrays()
3752 PetscPointFn *f0, *f1; in PetscDSSelectEquations() local
3758 PetscCall(PetscDSGetResidual(prob, f, &f0, &f1)); in PetscDSSelectEquations()
3762 PetscCall(PetscDSSetResidual(newprob, fn, f0, f1)); in PetscDSSelectEquations()