Lines Matching refs:count
23 string_tail += count; \
64 size_t count; in PetscFEOpenCLGenerateIntegrationCode() local
82 &count)); in PetscFEOpenCLGenerateIntegrationCode()
90 … &count, numeric_str, numeric_str, numeric_str, numeric_str, numeric_str)); in PetscFEOpenCLGenerateIntegrationCode()
96 &count, numeric_str, N_q * dim)); in PetscFEOpenCLGenerateIntegrationCode()
98 …TR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "%g,\n", &count, points[p * dim + … in PetscFEOpenCLGenerateIntegrationCode()
100 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "};\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
105 &count, numeric_str, N_q)); in PetscFEOpenCLGenerateIntegrationCode()
106 …CallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "%g,\n", &count, weights[p])); in PetscFEOpenCLGenerateIntegrationCode()
107 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "};\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
114 &count, numeric_str, N_q * N_b * N_c)); in PetscFEOpenCLGenerateIntegrationCode()
117 …TR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "%g,\n", &count, T->T[0][(p * N_b … in PetscFEOpenCLGenerateIntegrationCode()
120 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "};\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
126 &count, numeric_str, dim, N_q * N_b * N_c)); in PetscFEOpenCLGenerateIntegrationCode()
130 …PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "(%s%d)(", &count, numer… in PetscFEOpenCLGenerateIntegrationCode()
133 …STR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, ", %g", &count, T->T[1][((p * N_b… in PetscFEOpenCLGenerateIntegrationCode()
135 …PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "%g", &count, T->T[1][((… in PetscFEOpenCLGenerateIntegrationCode()
138 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "),\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
142 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "};\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
169 &count, dim, N_bl, N_b, N_c, N_q)); in PetscFEOpenCLGenerateIntegrationCode()
180 …&count, numeric_str, numeric_str, N_b * N_c * N_q, numeric_str, dim, N_b * N_c * N_q, numeric_str,… in PetscFEOpenCLGenerateIntegrationCode()
184 &count, numeric_str, N_t * N_b * N_c)); in PetscFEOpenCLGenerateIntegrationCode()
186 …$ of the auxiliary field $a|_{\\mathcal{T}} = \\sum_i a_i \\phi^R_i$\n", &count, numeric_str, N_t)… in PetscFEOpenCLGenerateIntegrationCode()
192 &count, numeric_str, N_t * N_q)); in PetscFEOpenCLGenerateIntegrationCode()
194 …]; //[N_t*N_sqc]; // $f_1(u(x_q), \\nabla u(x_q)) |J(x_q)| w_q$\n", &count, numeric_str, dim,… in PetscFEOpenCLGenerateIntegrationCode()
199 &count, numeric_str)); in PetscFEOpenCLGenerateIntegrationCode()
210 &count)); in PetscFEOpenCLGenerateIntegrationCode()
225 &count)); in PetscFEOpenCLGenerateIntegrationCode()
231 &count)); in PetscFEOpenCLGenerateIntegrationCode()
241 &count)); in PetscFEOpenCLGenerateIntegrationCode()
242 … %s u[%d]; //[N_comp]; // $u(x_q)$, Value of the field at $x_q$\n", &count, numeric_str, N_c)… in PetscFEOpenCLGenerateIntegrationCode()
243 …/[N_comp]; // $\\nabla u(x_q)$, Value of the field gradient at $x_q$\n", &count, numeric_str, dim,… in PetscFEOpenCLGenerateIntegrationCode()
244 …a[%d]; //[1]; // $a(x_q)$, Value of the auxiliary fields at $x_q$\n", &count, numeric_str, 1)); in PetscFEOpenCLGenerateIntegrationCode()
245 … // $\\nabla a(x_q)$, Value of the auxiliary field gradient at $x_q$\n", &count, numeric_str, dim,… in PetscFEOpenCLGenerateIntegrationCode()
249 &count)); in PetscFEOpenCLGenerateIntegrationCode()
250 …(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, " u[comp] = 0.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
254 …SNPrintfCount(string_tail, end_of_buffer - string_tail, " gradU[comp].x = 0.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
257 …tail, end_of_buffer - string_tail, " gradU[comp].x = 0.0; gradU[comp].y = 0.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
260 … string_tail, " gradU[comp].x = 0.0; gradU[comp].y = 0.0; gradU[comp].z = 0.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
264 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, " }\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
265 …llSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, " a[0] = 0.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
269 …PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, " gradA[0].x = 0.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
272 …(string_tail, end_of_buffer - string_tail, " gradA[0].x = 0.0; gradA[0].y = 0.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
275 …of_buffer - string_tail, " gradA[0].x = 0.0; gradA[0].y = 0.0; gradA[0].z = 0.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
287 &count, numeric_str, dim)); in PetscFEOpenCLGenerateIntegrationCode()
288 …tring_tail, end_of_buffer - string_tail, " u[comp] += u_i[uidx]*phi_i[pidx];\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
297 &count)); in PetscFEOpenCLGenerateIntegrationCode()
307 &count)); in PetscFEOpenCLGenerateIntegrationCode()
314 &count)); in PetscFEOpenCLGenerateIntegrationCode()
315 …SNPrintfCount(string_tail, end_of_buffer - string_tail, " a[0] += a_i[cell];\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
317 …g_tail, end_of_buffer - string_tail, " /* Process values at quadrature points */\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
320 …(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, " f_0[fidx] = 4.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
322 …fCount(string_tail, end_of_buffer - string_tail, " f_1[fidx] = a[0]*gradU[cidx];\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
323 …PrintfCount(string_tail, end_of_buffer - string_tail, " f_1[fidx] = gradU[cidx];\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
327 …(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, " f_0[fidx] = 4.0;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
341 &count)); in PetscFEOpenCLGenerateIntegrationCode()
361 &count)); in PetscFEOpenCLGenerateIntegrationCode()
369 …intfCount(string_tail, end_of_buffer - string_tail, " f_0[fidx] *= detJ[cell]*w;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
373 …tfCount(string_tail, end_of_buffer - string_tail, " f_1[fidx].x *= detJ[cell]*w;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
376 …uffer - string_tail, " f_1[fidx].x *= detJ[cell]*w; f_1[fidx].y *= detJ[cell]*w;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
379 …_1[fidx].x *= detJ[cell]*w; f_1[fidx].y *= detJ[cell]*w; f_1[fidx].z *= detJ[cell]*w;\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
388 &count)); in PetscFEOpenCLGenerateIntegrationCode()
400 &count, numeric_str, dim)); in PetscFEOpenCLGenerateIntegrationCode()
402 …ount(string_tail, end_of_buffer - string_tail, " e_i += phi_i[pidx]*f_0[fidx];\n", &count)); in PetscFEOpenCLGenerateIntegrationCode()
411 &count)); in PetscFEOpenCLGenerateIntegrationCode()
421 &count)); in PetscFEOpenCLGenerateIntegrationCode()
434 &count)); in PetscFEOpenCLGenerateIntegrationCode()
495 eventInfo->count++; in PetscFEOpenCLLogResidual()