| /petsc/src/snes/tutorials/ ! |
| H A D | ex26.c | 82 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 127 PetscCall(PetscDSSetResidual(ds, 0, f0_trig_u, f1_u)); in SetupPrimalProblem() 133 PetscCall(PetscDSSetResidual(ds, 0, f0_quad_u, f1_u)); in SetupPrimalProblem()
|
| H A D | ex23.c | 37 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 102 PetscCall(PetscWeakFormSetIndexResidual(wf, label, 1, 0, 0, 0, f0_quad_u, 0, f1_u)); in SetupPrimalProblem() 107 PetscCall(PetscWeakFormSetIndexResidual(wf, label, 1, 0, 0, 0, f0_quad_u, 0, f1_u)); in SetupPrimalProblem()
|
| H A D | ex20.c | 48 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 90 PetscCall(PetscDSSetResidual(ds, 0, f0_trig_u, f1_u)); in SetupPrimalProblem()
|
| H A D | ex34.c | 84 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 169 PetscCall(PetscDSSetResidual(ds, 0, NULL, f1_u)); in SetupPrimalProblem()
|
| H A D | ex12.c | 170 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 537 PetscCall(PetscDSSetResidual(ds, 0, f0_xytrig_u, f1_u)); in SetupProblem() 540 PetscCall(PetscDSSetResidual(ds, 0, f0_xtrig_u, f1_u)); in SetupProblem() 544 PetscCall(PetscDSSetResidual(ds, 0, f0_u, f1_u)); in SetupProblem() 561 PetscCall(PetscDSSetResidual(ds, 0, f0_ball_u, f1_u)); in SetupProblem() 567 PetscCall(PetscDSSetResidual(ds, 0, f0_cross_u_2d, f1_u)); in SetupProblem() 570 PetscCall(PetscDSSetResidual(ds, 0, f0_cross_u_3d, f1_u)); in SetupProblem()
|
| H A D | ex62.c | 53 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 291 PetscCall(PetscDSSetResidual(ds, 0, f0_quadratic_u, f1_u)); in SetupEqn() 296 PetscCall(PetscDSSetResidual(ds, 0, f0_trig_u, f1_u)); in SetupEqn()
|
| H A D | ex13.c | 82 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 94 PLEXFE_QFUNCTION(Laplace, f0_trig_inhomogeneous_u, f1_u) in PLEXFE_QFUNCTION() argument 175 PetscCall(PetscDSSetResidual(ds, 0, f0, f1_u)); in SetupPrimalProblem() 191 PetscCall(PetscDSSetResidual(ds, 0, f0_unity_u, f1_u)); in SetupAdjointProblem()
|
| H A D | ex71.c | 105 void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt uOff_x[]… in f1_u() function 230 PetscCall(PetscDSSetResidual(ds, 0, NULL, f1_u)); in SetupProblem()
|
| H A D | ex36.c | 81 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 164 PetscCall(PetscDSSetResidual(ds, 0, f0_trig_homogeneous_u, f1_u)); in SetupPrimalProblem()
|
| /petsc/doc/manual/ |
| H A D | fe.md | 49 PetscDSSetResidual(ds, f, f0_trig_inhomogeneous_u, f1_u); 76 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, 103 PetscWeakFormSetIndexResidual(ds, NULL, val, f, 0, 0, f0_trig_inhomogeneous_u, 0, f1_u); 112 PetscWeakFormSetIndexResidual(wf, label, 1, 0, 0, 0, f0_quad_u, 0, f1_u); 117 PetscWeakFormSetIndexResidual(wf, label, 1, 0, 0, 0, f0_quad_u, 0, f1_u);
|
| /petsc/src/snes/tests/ |
| H A D | ex13.c | 32 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 113 PetscCall(PetscDSSetResidual(ds, 0, f0_trig_u, f1_u)); in SetupPrimalProblem()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex46.c | 105 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 228 PetscCall(PetscDSSetResidual(ds, 0, f0_mms1_u, f1_u)); in SetupProblem() 238 PetscCall(PetscDSSetResidual(ds, 0, f0_mms2_u, f1_u)); in SetupProblem()
|
| H A D | ex53.c | 1382 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 1733 PetscCall(PetscDSSetResidual(ds, 0, f0_quadratic_linear_u, f1_u)); in SetupPrimalProblem() 1753 PetscCall(PetscDSSetResidual(ds, 0, f0_trig_linear_u, f1_u)); in SetupPrimalProblem() 1773 PetscCall(PetscDSSetResidual(ds, 0, f0_quadratic_trig_u, f1_u)); in SetupPrimalProblem() 1793 PetscCall(PetscDSSetResidual(ds, 0, NULL, f1_u)); in SetupPrimalProblem() 1829 PetscCall(PetscDSSetResidual(ds, 0, NULL, f1_u)); in SetupPrimalProblem() 1864 PetscCall(PetscDSSetResidual(ds, 0, NULL, f1_u)); in SetupPrimalProblem()
|
| /petsc/src/dm/dt/fe/tests/ |
| H A D | ex1.c | 45 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 65 PetscCall(PetscDSSetResidual(prob, 0, f0_trig_u, f1_u)); in SetupPrimalProblem()
|
| H A D | ex2.c | 36 static void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in f1_u() function 56 PetscCall(PetscDSSetResidual(ds, 0, f0_trig_u, f1_u)); in SetupPrimalProblem()
|
| /petsc/src/tao/tutorials/ |
| H A D | ex1.c | 65 void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt uOff_x[]… in f1_u() function 162 PetscCall(PetscDSSetResidual(ds, 0, f0_u, f1_u)); in SetupProblem()
|
| H A D | ex2.c | 70 void f1_u(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt uOff_x[]… in f1_u() function 157 PetscCall(PetscDSSetResidual(ds, 0, user->useDualPenalty == PETSC_TRUE ? f0_u_full : f0_u, f1_u)); in SetupProblem()
|
| /petsc/doc/tutorials/physics/ |
| H A D | guide_to_stokes.md | 66 …omentum excluding body force, we test against the gradient of the test function, as seen in `f1_u`, 70 :start-at: static void f1_u(
|