Lines Matching refs:ind

173 …orm ht, DMLabel label, PetscInt value, PetscInt f, PetscInt part, PetscInt ind, PetscVoidFn **func)  in PetscWeakFormGetIndexFunction_Private()  argument
187 …PetscCheck(ind < chunk.size, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Index %" PetscInt_FMT " n… in PetscWeakFormGetIndexFunction_Private()
188 *func = ((PetscVoidFn **)&wf->funcs->array[chunk.start])[ind]; in PetscWeakFormGetIndexFunction_Private()
194 …Form ht, DMLabel label, PetscInt value, PetscInt f, PetscInt part, PetscInt ind, PetscVoidFn *func) in PetscWeakFormSetIndexFunction_Private() argument
207 PetscCall(PetscChunkBufferCreateChunk(wf->funcs, ind + 1, &chunk)); in PetscWeakFormSetIndexFunction_Private()
209 } else if (chunk.size <= ind) { 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()
217 …kForm wf, PetscHMapForm ht, DMLabel label, PetscInt value, PetscInt f, PetscInt part, PetscInt ind) in PetscWeakFormClearIndexFunction_Private() argument
230 } else if (!ind && chunk.size == 1) { in PetscWeakFormClearIndexFunction_Private()
233 } else if (chunk.size <= ind) { in PetscWeakFormClearIndexFunction_Private()
236 ((PetscVoidFn **)&wf->funcs->array[chunk.start])[ind] = NULL; in PetscWeakFormClearIndexFunction_Private()
435 …m wf, DMLabel label, PetscInt val, PetscInt f, PetscInt part, PetscWeakFormKind kind, PetscInt ind) in PetscWeakFormClearIndex() argument
438 PetscCall(PetscWeakFormClearIndexFunction_Private(wf, wf->form[kind], label, val, f, part, ind)); in PetscWeakFormClearIndex()
463 …kForm wf, DMLabel label, PetscInt val, PetscInt f, PetscInt part, PetscInt ind, void (**obj)(Petsc… in PetscWeakFormGetIndexObjective() argument
466 …dexFunction_Private(wf, wf->form[PETSC_WF_OBJECTIVE], label, val, f, part, ind, (PetscVoidFn **)ob… in PetscWeakFormGetIndexObjective()
470 …kForm wf, DMLabel label, PetscInt val, PetscInt f, PetscInt part, PetscInt ind, void (*obj)(PetscI… in PetscWeakFormSetIndexObjective() argument
473 …dexFunction_Private(wf, wf->form[PETSC_WF_OBJECTIVE], label, val, f, part, ind, (PetscVoidFn *)obj… in PetscWeakFormSetIndexObjective()