Lines Matching refs:uOff

148 static void C_0(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt uO…  in C_0()  argument
156 const PetscScalar C00 = split ? a[aOff[C_FIELD_ID]] : u[uOff[C_FIELD_ID]]; in C_0()
157 const PetscScalar C01 = split ? a[aOff[C_FIELD_ID] + 1] : u[uOff[C_FIELD_ID] + 1]; in C_0()
158 const PetscScalar C11 = split ? a[aOff[C_FIELD_ID] + 2] : u[uOff[C_FIELD_ID] + 2]; in C_0()
164 …cInt k = 0; k < 3; k++) f0[k] = eqss[k] * (u_t[uOff[C_FIELD_ID] + k] - outerp[k] + alpha * fnorm *… in C_0()
168 static void C_0_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt… in C_0_3d() argument
176 const PetscScalar C00 = split ? a[aOff[C_FIELD_ID]] : u[uOff[C_FIELD_ID]]; in C_0_3d()
177 const PetscScalar C01 = split ? a[aOff[C_FIELD_ID] + 1] : u[uOff[C_FIELD_ID] + 1]; in C_0_3d()
178 const PetscScalar C02 = split ? a[aOff[C_FIELD_ID] + 2] : u[uOff[C_FIELD_ID] + 2]; in C_0_3d()
179 const PetscScalar C11 = split ? a[aOff[C_FIELD_ID] + 3] : u[uOff[C_FIELD_ID] + 3]; in C_0_3d()
180 const PetscScalar C12 = split ? a[aOff[C_FIELD_ID] + 4] : u[uOff[C_FIELD_ID] + 4]; in C_0_3d()
181 const PetscScalar C22 = split ? a[aOff[C_FIELD_ID] + 5] : u[uOff[C_FIELD_ID] + 5]; in C_0_3d()
187 …cInt k = 0; k < 6; k++) f0[k] = eqss[k] * (u_t[uOff[C_FIELD_ID] + k] - outerp[k] + alpha * fnorm *… in C_0_3d()
191 static void JC_0_c0c0(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Petsc… in JC_0_c0c0() argument
197 const PetscScalar C00 = split ? a[aOff[C_FIELD_ID]] : u[uOff[C_FIELD_ID]]; in JC_0_c0c0()
198 const PetscScalar C01 = split ? a[aOff[C_FIELD_ID] + 1] : u[uOff[C_FIELD_ID] + 1]; in JC_0_c0c0()
199 const PetscScalar C11 = split ? a[aOff[C_FIELD_ID] + 2] : u[uOff[C_FIELD_ID] + 2]; in JC_0_c0c0()
209 …for (PetscInt j = 0; j < 3; j++) J[k * 3 + j] = eqss[k] * (alpha * dfnorm * dC[j] * u[uOff[C_FIELD… in JC_0_c0c0()
215 static void JC_0_c0c0_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Pe… in JC_0_c0c0_3d() argument
221 const PetscScalar C00 = split ? a[aOff[C_FIELD_ID]] : u[uOff[C_FIELD_ID]]; in JC_0_c0c0_3d()
222 const PetscScalar C01 = split ? a[aOff[C_FIELD_ID] + 1] : u[uOff[C_FIELD_ID] + 1]; in JC_0_c0c0_3d()
223 const PetscScalar C02 = split ? a[aOff[C_FIELD_ID] + 2] : u[uOff[C_FIELD_ID] + 2]; in JC_0_c0c0_3d()
224 const PetscScalar C11 = split ? a[aOff[C_FIELD_ID] + 3] : u[uOff[C_FIELD_ID] + 3]; in JC_0_c0c0_3d()
225 const PetscScalar C12 = split ? a[aOff[C_FIELD_ID] + 4] : u[uOff[C_FIELD_ID] + 4]; in JC_0_c0c0_3d()
226 const PetscScalar C22 = split ? a[aOff[C_FIELD_ID] + 5] : u[uOff[C_FIELD_ID] + 5]; in JC_0_c0c0_3d()
236 …for (PetscInt j = 0; j < 6; j++) J[k * 6 + j] = eqss[k] * (alpha * dfnorm * dC[j] * u[uOff[C_FIELD… in JC_0_c0c0_3d()
243 static void JC_0_c0p1(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Petsc… in JC_0_c0p1() argument
258 static void JC_0_c0p1_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Pe… in JC_0_c0p1_3d() argument
289 static void C_1(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt uO… in C_1() argument
296 static void C_1_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt… in C_1_3d() argument
304 static void JC_1_c1c1(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Petsc… in JC_1_c1c1() argument
311 static void JC_1_c1c1_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Pe… in JC_1_c1c1_3d() argument
320 static void P_0(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt uO… in P_0() argument
329 static void P_0_aux(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscIn… in P_0_aux() argument
337 static void P_1(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt uO… in P_1() argument
340 const PetscScalar C00 = u[uOff[C_FIELD_ID]] + r; in P_1()
341 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in P_1()
343 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 2] + r; in P_1()
352 static void P_1_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt… in P_1_3d() argument
355 const PetscScalar C00 = u[uOff[C_FIELD_ID]] + r; in P_1_3d()
356 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in P_1_3d()
357 const PetscScalar C02 = u[uOff[C_FIELD_ID] + 2]; in P_1_3d()
359 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 3] + r; in P_1_3d()
360 const PetscScalar C12 = u[uOff[C_FIELD_ID] + 4]; in P_1_3d()
363 const PetscScalar C22 = u[uOff[C_FIELD_ID] + 5] + r; in P_1_3d()
374 static void P_1_aux(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscIn… in P_1_aux() argument
389 static void P_1_aux_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Pets… in P_1_aux_3d() argument
411 static void JP_1_p1p1(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Petsc… in JP_1_p1p1() argument
414 const PetscScalar C00 = u[uOff[C_FIELD_ID]] + r; in JP_1_p1p1()
415 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in JP_1_p1p1()
417 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 2] + r; in JP_1_p1p1()
427 static void JP_1_p1p1_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Pe… in JP_1_p1p1_3d() argument
430 const PetscScalar C00 = u[uOff[C_FIELD_ID]] + r; in JP_1_p1p1_3d()
431 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in JP_1_p1p1_3d()
432 const PetscScalar C02 = u[uOff[C_FIELD_ID] + 2]; in JP_1_p1p1_3d()
434 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 3] + r; in JP_1_p1p1_3d()
435 const PetscScalar C12 = u[uOff[C_FIELD_ID] + 4]; in JP_1_p1p1_3d()
438 const PetscScalar C22 = u[uOff[C_FIELD_ID] + 5] + r; in JP_1_p1p1_3d()
453 static void JP_1_p1p1_aux(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const P… in JP_1_p1p1_aux() argument
469 static void JP_1_p1p1_aux_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], cons… in JP_1_p1p1_aux_3d() argument
496 static void JP_1_p1c0(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Petsc… in JP_1_p1c0() argument
510 static void JP_1_p1c0_3d(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const Pe… in JP_1_p1c0_3d() argument
597 static void average(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscIn… in average() argument
600 obj[0] = u[uOff[fid]]; in average()
604 static void volume(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt… in volume() argument
610 static void energy(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt… in energy() argument
619 const PetscScalar C00 = u[uOff[C_FIELD_ID]]; in energy()
620 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in energy()
622 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 2]; in energy()
637 const PetscScalar C00 = u[uOff[C_FIELD_ID]]; in energy()
638 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in energy()
639 const PetscScalar C02 = u[uOff[C_FIELD_ID] + 2]; in energy()
641 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 3]; in energy()
642 const PetscScalar C12 = u[uOff[C_FIELD_ID] + 4]; in energy()
645 const PetscScalar C22 = u[uOff[C_FIELD_ID] + 5]; in energy()
666 static void ellipticity_fail_private(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff in ellipticity_fail_private() argument
674 C00 = u[uOff[C_FIELD_ID]] + r; in ellipticity_fail_private()
675 C01 = u[uOff[C_FIELD_ID] + 1]; in ellipticity_fail_private()
676 C11 = u[uOff[C_FIELD_ID] + 2] + r; in ellipticity_fail_private()
678 C00 = u[uOff[C_FIELD_ID]] + r; in ellipticity_fail_private()
679 C01 = u[uOff[C_FIELD_ID] + 1]; in ellipticity_fail_private()
680 C02 = u[uOff[C_FIELD_ID] + 2]; in ellipticity_fail_private()
681 C11 = u[uOff[C_FIELD_ID] + 3] + r; in ellipticity_fail_private()
682 C12 = u[uOff[C_FIELD_ID] + 4]; in ellipticity_fail_private()
683 C22 = u[uOff[C_FIELD_ID] + 5] + r; in ellipticity_fail_private()
694 static void ellipticity_fail(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], cons… in ellipticity_fail() argument
696 …ellipticity_fail_private(dim, Nf, NfAux, uOff, uOff_x, u, u_t, u_x, aOff, aOff_x, a, a_t, a_x, t, … in ellipticity_fail()
701 static void jacobian_fail(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const P… in jacobian_fail() argument
703 …ellipticity_fail_private(dim, Nf, NfAux, uOff, uOff_x, u, u_t, u_x, aOff, aOff_x, a, a_t, a_x, t, … in jacobian_fail()
774 static void zero(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in zero() argument
780 static void flux(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in flux() argument
786 const PetscScalar C00 = u[uOff[C_FIELD_ID]] + r; in flux()
787 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in flux()
789 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 2] + r; in flux()
794 const PetscScalar C00 = u[uOff[C_FIELD_ID]] + r; in flux()
795 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in flux()
796 const PetscScalar C02 = u[uOff[C_FIELD_ID] + 2]; in flux()
798 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 3] + r; in flux()
799 const PetscScalar C12 = u[uOff[C_FIELD_ID] + 4]; in flux()
802 const PetscScalar C22 = u[uOff[C_FIELD_ID] + 5] + r; in flux()
811 static void normc(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt … in normc() argument
814 const PetscScalar C00 = u[uOff[C_FIELD_ID]]; in normc()
815 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in normc()
816 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 2]; in normc()
820 const PetscScalar C00 = u[uOff[C_FIELD_ID]]; in normc()
821 const PetscScalar C01 = u[uOff[C_FIELD_ID] + 1]; in normc()
822 const PetscScalar C02 = u[uOff[C_FIELD_ID] + 2]; in normc()
823 const PetscScalar C11 = u[uOff[C_FIELD_ID] + 3]; in normc()
824 const PetscScalar C12 = u[uOff[C_FIELD_ID] + 4]; in normc()
825 const PetscScalar C22 = u[uOff[C_FIELD_ID] + 5]; in normc()
832 static void eigsc(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt … in eigsc() argument
838 C00 = u[uOff[C_FIELD_ID]]; in eigsc()
839 C01 = u[uOff[C_FIELD_ID] + 1]; in eigsc()
840 C11 = u[uOff[C_FIELD_ID] + 2]; in eigsc()
842 C00 = u[uOff[C_FIELD_ID]]; in eigsc()
843 C01 = u[uOff[C_FIELD_ID] + 1]; in eigsc()
844 C02 = u[uOff[C_FIELD_ID] + 2]; in eigsc()
845 C11 = u[uOff[C_FIELD_ID] + 3]; in eigsc()
846 C12 = u[uOff[C_FIELD_ID] + 4]; in eigsc()
847 C22 = u[uOff[C_FIELD_ID] + 5]; in eigsc()
1899 …void (*funcs[NUM_FIELDS])(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const … in ResizeSetUp()
1974 …void (*funcs[])(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt u… in ComputeDiagnostic()