Lines Matching refs:f0
94 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in f0_quadratic_phi() argument
96 for (PetscInt d = 0; d < dim; ++d) f0[0] -= -2.0; in f0_quadratic_phi()
119 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in f0_trig_phi() argument
121 f0[0] += PetscSinReal(x[0]) + 2.; in f0_trig_phi()
144 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in f0_trigx_phi() argument
146 f0[0] += PetscSinReal(x[0]); in f0_trigx_phi()
149 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in f0_q() argument
151 for (PetscInt d = 0; d < dim; ++d) f0[d] += u[uOff[0] + d]; in f0_q()
159 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in f0_phi() argument
161 for (PetscInt d = 0; d < dim; ++d) f0[0] += u_x[uOff_x[0] + d * dim + d]; in f0_phi()
164 …eal t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f0[]) in f0_phi_backgroundCharge() argument
166 f0[0] += constants[SIGMA]; in f0_phi_backgroundCharge()
167 for (PetscInt d = 0; d < dim; ++d) f0[0] += u_x[uOff_x[0] + d * dim + d]; in f0_phi_backgroundCharge()