Lines Matching refs:f0
12 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in constant() argument
15 for (PetscInt c = 0; c < Nc; ++c) f0[c] += 5.; in constant()
18 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in linear() argument
21 for (PetscInt c = 0; c < Nc; ++c) f0[c] += 5. * x[c]; in linear()
24 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in quadratic() argument
27 for (PetscInt c = 0; c < Nc; ++c) f0[c] += 5. * x[c] * x[c]; in quadratic()
30 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in trig() argument
33 for (PetscInt c = 0; c < Nc; ++c) f0[c] += PetscCosReal(2. * PETSC_PI * x[c]); in trig()
39 …eal t, const PetscReal X[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in prime() argument
42 f0[0] += b + 2.0 * x * z + 2.0 * y * z + x * y + x * x; in prime()
43 f0[1] += b + 2.0 * x * z + 2.0 * y * z + x * y + y * y; in prime()
44 f0[2] += b - 3.0 * x * z - 3.0 * y * z - 2.0 * z * z; in prime()
95 …f0(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt uOff_x[], cons… in f0() function
98 for (PetscInt c = 0; c < Nc; ++c) f0[c] += u[c]; in f0()
115 PetscCall(PetscWeakFormSetIndexResidual(wf, NULL, 0, 0, 0, 0, f0, 0, NULL)); in SetupProblem()