Lines Matching refs:funcs

117     *func = (PetscVoidFn **)&wf->funcs->array[chunk.start];  in PetscWeakFormGetFunction_Private()
139 PetscCall(PetscChunkBufferCreateChunk(wf->funcs, n, &chunk)); in PetscWeakFormSetFunction_Private()
142 PetscCall(PetscChunkBufferEnlargeChunk(wf->funcs, n - chunk.size, &chunk)); in PetscWeakFormSetFunction_Private()
145 for (i = 0; i < n; ++i) ((PetscVoidFn **)&wf->funcs->array[chunk.start])[i] = func[i]; in PetscWeakFormSetFunction_Private()
162 PetscCall(PetscChunkBufferCreateChunk(wf->funcs, 1, &chunk)); in PetscWeakFormAddFunction_Private()
164 ((PetscVoidFn **)&wf->funcs->array[chunk.start])[0] = func; in PetscWeakFormAddFunction_Private()
166 PetscCall(PetscChunkBufferEnlargeChunk(wf->funcs, 1, &chunk)); in PetscWeakFormAddFunction_Private()
168 ((PetscVoidFn **)&wf->funcs->array[chunk.start])[chunk.size - 1] = func; in PetscWeakFormAddFunction_Private()
188 *func = ((PetscVoidFn **)&wf->funcs->array[chunk.start])[ind]; in PetscWeakFormGetIndexFunction_Private()
207 PetscCall(PetscChunkBufferCreateChunk(wf->funcs, ind + 1, &chunk)); in PetscWeakFormSetIndexFunction_Private()
210 PetscCall(PetscChunkBufferEnlargeChunk(wf->funcs, ind - chunk.size + 1, &chunk)); in PetscWeakFormSetIndexFunction_Private()
213 ((PetscVoidFn **)&wf->funcs->array[chunk.start])[ind] = func; in PetscWeakFormSetIndexFunction_Private()
236 ((PetscVoidFn **)&wf->funcs->array[chunk.start])[ind] = NULL; in PetscWeakFormClearIndexFunction_Private()
261 PetscCall(PetscChunkBufferDestroy(&wfNew->funcs)); in PetscWeakFormCopy()
262 PetscCall(PetscChunkBufferDuplicate(wf->funcs, &wfNew->funcs)); in PetscWeakFormCopy()
304 PetscVoidFn **funcs; in PetscWeakFormRewriteKeys_Internal() local
307 …unction_Private(wf, hmap, keys[i].label, keys[i].value, keys[i].field, keys[i].part, &Nf, &funcs)); in PetscWeakFormRewriteKeys_Internal()
315 PetscVoidFn **funcs; in PetscWeakFormRewriteKeys_Internal() local
318 …unction_Private(wf, hmap, keys[i].label, keys[i].value, keys[i].field, keys[i].part, &Nf, &funcs)); in PetscWeakFormRewriteKeys_Internal()
319 for (PetscInt f = 0; f < Nf; ++f) tmpfuncs[f] = funcs[f]; in PetscWeakFormRewriteKeys_Internal()
379 PetscVoidFn **funcs; in PetscWeakFormReplaceLabel_Internal() local
382 …unction_Private(wf, hmap, keys[i].label, keys[i].value, keys[i].field, keys[i].part, &Nf, &funcs)); in PetscWeakFormReplaceLabel_Internal()
396 PetscVoidFn **funcs; in PetscWeakFormReplaceLabel_Internal() local
399 …unction_Private(wf, hmap, keys[i].label, keys[i].value, keys[i].field, keys[i].part, &Nf, &funcs)); in PetscWeakFormReplaceLabel_Internal()
400 for (j = 0; j < Nf; ++j) tmpf[j] = funcs[j]; in PetscWeakFormReplaceLabel_Internal()
947 PetscCall(PetscChunkBufferDestroy(&(*wf)->funcs)); in PetscWeakFormDestroy()
962 PetscVoidFn **funcs = NULL; in PetscWeakFormViewTable_Ascii() local
1008 …tFunction_Private(wf, map, keys[i].label, keys[i].value, keys[i].field, keys[i].part, &n, &funcs)); in PetscWeakFormViewTable_Ascii()
1014 PetscCall(PetscDLAddr(funcs[f], &fname)); in PetscWeakFormViewTable_Ascii()
1030 PetscCall(PetscViewerASCIIPrintf(viewer, "%p", funcs[f])); in PetscWeakFormViewTable_Ascii()
1111 PetscCall(PetscChunkBufferCreate(sizeof(&PetscWeakFormCreate), 2, &p->funcs)); in PetscWeakFormCreate()