| /petsc/src/dm/dt/interface/ |
| H A D | dtweakform.c | 117 *func = (PetscVoidFn **)&wf->funcs->array[chunk.start]; in PetscWeakFormGetFunction_Private() 123 …pForm ht, DMLabel label, PetscInt value, PetscInt f, PetscInt part, PetscInt n, PetscVoidFn **func) in PetscWeakFormSetFunction_Private() 145 for (i = 0; i < n; ++i) ((PetscVoidFn **)&wf->funcs->array[chunk.start])[i] = func[i]; in PetscWeakFormSetFunction_Private() 149 … wf, PetscHMapForm ht, DMLabel label, PetscInt value, PetscInt f, PetscInt part, PetscVoidFn *func) in PetscWeakFormAddFunction_Private() 164 ((PetscVoidFn **)&wf->funcs->array[chunk.start])[0] = func; in PetscWeakFormAddFunction_Private() 168 ((PetscVoidFn **)&wf->funcs->array[chunk.start])[chunk.size - 1] = func; in PetscWeakFormAddFunction_Private() 173 …orm ht, DMLabel label, PetscInt value, PetscInt f, PetscInt part, PetscInt ind, PetscVoidFn **func) 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() 213 ((PetscVoidFn **)&wf->funcs->array[chunk.start])[ind] = func; in PetscWeakFormSetIndexFunction_Private() [all …]
|
| /petsc/src/dm/impls/shell/ftn-custom/ |
| H A D | zdmshellf.c | 92 …ck((PetscObject)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.creatematrix, (PetscVoidFn *)func, NULL); in dmshellsetcreatematrix_() 99 …tscObject)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.createglobalvector, (PetscVoidFn *)func, NULL); in dmshellsetcreateglobalvector_() 106 …etscObject)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.createlocalvector, (PetscVoidFn *)func, NULL); in dmshellsetcreatelocalvector_() 113 …scObject)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.globaltolocalbegin, (PetscVoidFn *)begin, NULL); in dmshellsetglobaltolocal_() 115 …(PetscObject)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.globaltolocalend, (PetscVoidFn *)end, NULL); in dmshellsetglobaltolocal_() 122 …scObject)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.localtoglobalbegin, (PetscVoidFn *)begin, NULL); in dmshellsetlocaltoglobal_() 124 …(PetscObject)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.localtoglobalend, (PetscVoidFn *)end, NULL); in dmshellsetlocaltoglobal_() 131 …tscObject)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.localtolocalbegin, (PetscVoidFn *)begin, NULL); in dmshellsetlocaltolocal_() 133 …((PetscObject)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.localtolocalend, (PetscVoidFn *)end, NULL); in dmshellsetlocaltolocal_() 140 …ect)*dm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.createfielddecomposition, (PetscVoidFn *)func, NULL); in dmshellsetcreatefielddecomposition_()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex61.c | 37 …M_BC_ESSENTIAL, "inflow condition", label, 1, &in_value, 0, 1, comps, (PetscVoidFn *)set_one, NULL… in main() 38 …BC_ESSENTIAL, "outflow condition", label, 1, &out_value, 0, 1, comps, (PetscVoidFn *)set_two, NULL… in main()
|
| H A D | ex38.c | 39 …oundary(dm, DM_BC_ESSENTIAL, "mms", label, 1, marker_ids, 0, 0, NULL, (PetscVoidFn *)bc_func, NULL… in main()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex76.c | 1189 …AL, "top wall velocity", label, 1, &id, VEL, 0, NULL, (PetscVoidFn *)exactFuncs[VEL], (PetscVoidFn… in UniformBoundaryConditions() 1191 … "bottom wall velocity", label, 1, &id, VEL, 0, NULL, (PetscVoidFn *)exactFuncs[VEL], (PetscVoidFn… in UniformBoundaryConditions() 1193 …, "right wall velocity", label, 1, &id, VEL, 0, NULL, (PetscVoidFn *)exactFuncs[VEL], (PetscVoidFn… in UniformBoundaryConditions() 1195 …L, "left wall velocity", label, 1, &id, VEL, 0, NULL, (PetscVoidFn *)exactFuncs[VEL], (PetscVoidFn… in UniformBoundaryConditions() 1197 …TIAL, "top wall temp", label, 1, &id, TEMP, 0, NULL, (PetscVoidFn *)exactFuncs[TEMP], (PetscVoidFn… in UniformBoundaryConditions() 1199 …L, "bottom wall temp", label, 1, &id, TEMP, 0, NULL, (PetscVoidFn *)exactFuncs[TEMP], (PetscVoidFn… in UniformBoundaryConditions() 1201 …AL, "right wall temp", label, 1, &id, TEMP, 0, NULL, (PetscVoidFn *)exactFuncs[TEMP], (PetscVoidFn… in UniformBoundaryConditions() 1203 …IAL, "left wall temp", label, 1, &id, TEMP, 0, NULL, (PetscVoidFn *)exactFuncs[TEMP], (PetscVoidFn… in UniformBoundaryConditions() 1341 …eft wall temperature", label, 1, &id, TEMP, 0, NULL, (PetscVoidFn *)exactFuncs[TEMP], (PetscVoidFn… in SetupProblem() 1343 …AL, "top wall velocity", label, 1, &id, VEL, 0, NULL, (PetscVoidFn *)exactFuncs[VEL], (PetscVoidFn… in SetupProblem() [all …]
|
| H A D | ex77.c | 396 …NTIAL, "top wall velocity", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exactFuncs[0], (PetscVoidFn … in SetupProblem() 398 …AL, "bottom wall velocity", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exactFuncs[0], (PetscVoidFn … in SetupProblem() 400 …IAL, "right wall velocity", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exactFuncs[0], (PetscVoidFn … in SetupProblem() 402 …TIAL, "left wall velocity", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exactFuncs[0], (PetscVoidFn … in SetupProblem() 404 …ESSENTIAL, "top wall temp", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exactFuncs[2], (PetscVoidFn … in SetupProblem() 406 …ENTIAL, "bottom wall temp", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exactFuncs[2], (PetscVoidFn … in SetupProblem() 408 …SENTIAL, "right wall temp", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exactFuncs[2], (PetscVoidFn … in SetupProblem() 410 …SSENTIAL, "left wall temp", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exactFuncs[2], (PetscVoidFn … in SetupProblem()
|
| H A D | ex45.c | 264 …m, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)mms_quad_lin, (PetscVoidFn *… in SetupProblem() 271 …m, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)mms_quad_trig, (PetscVoidFn … in SetupProblem() 277 …m, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)mms_trig_lin, (PetscVoidFn *… in SetupProblem()
|
| H A D | ex53.c | 1749 …(dm, DM_BC_ESSENTIAL, "wall displacement", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exact[0], NUL… in SetupPrimalProblem() 1750 …C_ESSENTIAL, "wall pressure", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exact[2], (PetscVoidFn *)e… in SetupPrimalProblem() 1769 …(dm, DM_BC_ESSENTIAL, "wall displacement", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exact[0], NUL… in SetupPrimalProblem() 1770 …C_ESSENTIAL, "wall pressure", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exact[2], (PetscVoidFn *)e… in SetupPrimalProblem() 1789 …(dm, DM_BC_ESSENTIAL, "wall displacement", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exact[0], NUL… in SetupPrimalProblem() 1790 …C_ESSENTIAL, "wall pressure", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exact[2], (PetscVoidFn *)e… in SetupPrimalProblem() 1818 …oundary(dm, DM_BC_ESSENTIAL, "fixed base", label, 1, &id, 0, 1, comp, (PetscVoidFn *)zero, NULL, u… in SetupPrimalProblem() 1821 …oundary(dm, DM_BC_ESSENTIAL, "fixed side", label, 1, &id, 0, 1, comp, (PetscVoidFn *)zero, NULL, u… in SetupPrimalProblem() 1824 …oundary(dm, DM_BC_ESSENTIAL, "fixed side", label, 1, &id, 0, 1, comp, (PetscVoidFn *)zero, NULL, u… in SetupPrimalProblem() 1826 …ry(dm, DM_BC_ESSENTIAL, "drained surface", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)terzaghi_drai… in SetupPrimalProblem() [all …]
|
| H A D | ex11.c | 271 …, label, PETSC_STATIC_ARRAY_LENGTH(inflowids), inflowids, 0, 0, NULL, (PetscVoidFn *)PhysicsBounda… in SetUpBC_Advect() 272 …label, PETSC_STATIC_ARRAY_LENGTH(outflowids), outflowids, 0, 0, NULL, (PetscVoidFn *)PhysicsBounda… in SetUpBC_Advect() 282 phys->riemann = (PetscRiemannFn *)(PetscVoidFn *)PhysicsRiemann_Advect; in PhysicsCreate_Advect() 383 …all", label, PETSC_STATIC_ARRAY_LENGTH(wallids), wallids, 0, 0, NULL, (PetscVoidFn *)PhysicsBounda… in SetUpBC_SW() 448 phys->riemann = (PetscRiemannFn *)(PetscVoidFn *)PhysicsRiemann_SW; in PhysicsCreate_SW() 586 …all", label, PETSC_STATIC_ARRAY_LENGTH(wallids), wallids, 0, 0, NULL, (PetscVoidFn *)PhysicsBounda… in SetUpBC_Euler() 589 …all", label, PETSC_STATIC_ARRAY_LENGTH(wallids), wallids, 0, 0, NULL, (PetscVoidFn *)PhysicsBounda… in SetUpBC_Euler() 636 phys->riemann = (PetscRiemannFn *)(PetscVoidFn *)PhysicsRiemann_Euler_Godunov; in PhysicsCreate_Euler() 660 phys->riemann = (PetscRiemannFn *)(PetscVoidFn *)PhysicsRiemann_Euler; in PhysicsCreate_Euler()
|
| /petsc/src/sys/classes/draw/impls/x/ |
| H A D | xioerr.c | 14 …return (PetscXIOErrorHandlerFn *)(PetscVoidFn *)XSetIOErrorHandler((XIOErrorHandler)(void (*)(void… in PetscSetXIOErrorHandler()
|
| /petsc/include/petsc/private/ |
| H A D | petscdsimpl.h | 23 …PetscVoidFn *func; /* Function that provides the boundary values (only for ESSENTIAL … 24 …PetscVoidFn *func_t; /* Function that provides the time derivative of the boundary valu…
|
| /petsc/src/snes/tutorials/ |
| H A D | ex27.c | 394 …ESSENTIAL, "bottom wall primal potential", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)quadratic_u, … in SetupPrimalProblem() 402 …BC_ESSENTIAL, "top wall primal potential", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)quadratic_u, … in SetupPrimalProblem() 415 …ESSENTIAL, "bottom wall primal potential", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)trig_u, NULL,… in SetupPrimalProblem() 423 …BC_ESSENTIAL, "top wall primal potential", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)trig_u, NULL,… in SetupPrimalProblem() 436 …ESSENTIAL, "bottom wall primal potential", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)sensor_u, NUL… in SetupPrimalProblem() 444 …BC_ESSENTIAL, "top wall primal potential", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)sensor_u, NUL… in SetupPrimalProblem() 529 …ry(dm, DM_BC_ESSENTIAL, "right wall flux", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)quadratic_q, … in SetupMixedProblem() 532 …ary(dm, DM_BC_ESSENTIAL, "left wall flux", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)quadratic_q, … in SetupMixedProblem() 551 …ry(dm, DM_BC_ESSENTIAL, "right wall flux", label, 1, &id, 1, 0, NULL, (PetscVoidFn *)trig_q, NULL,… in SetupMixedProblem() 554 …ary(dm, DM_BC_ESSENTIAL, "left wall flux", label, 1, &id, 1, 0, NULL, (PetscVoidFn *)trig_q, NULL,… in SetupMixedProblem() [all …]
|
| H A D | ex76.c | 404 …rob, DM_BC_ESSENTIAL, "top wall velocity", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exactFuncs[0]… in SetupProblem() 406 …, DM_BC_ESSENTIAL, "bottom wall velocity", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exactFuncs[0]… in SetupProblem() 408 …b, DM_BC_ESSENTIAL, "right wall velocity", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exactFuncs[0]… in SetupProblem() 410 …ob, DM_BC_ESSENTIAL, "left wall velocity", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exactFuncs[0]… in SetupProblem() 412 …ry(prob, DM_BC_ESSENTIAL, "top wall temp", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exactFuncs[2]… in SetupProblem() 414 …prob, DM_BC_ESSENTIAL, "bottom wall temp", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exactFuncs[2]… in SetupProblem() 416 …(prob, DM_BC_ESSENTIAL, "right wall temp", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exactFuncs[2]… in SetupProblem() 418 …y(prob, DM_BC_ESSENTIAL, "left wall temp", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)exactFuncs[2]… in SetupProblem()
|
| H A D | ex17.c | 543 …PetscCall(DMAddBoundary(dm, DM_BC_NATURAL, "right", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)NULL… in SetupPrimalProblem() 568 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "left", label, 1, &id, 0, 1, &cmp, (PetscVoidFn *)zer… in SetupPrimalProblem() 571 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "bottom", label, 1, &id, 0, 1, &cmp, (PetscVoidFn *)z… in SetupPrimalProblem() 575 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "front", label, 1, &id, 0, 1, &cmp, (PetscVoidFn *)ze… in SetupPrimalProblem() 581 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "left", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)zer… in SetupPrimalProblem() 584 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "right", label, 1, &id, 0, 1, &cmp, (PetscVoidFn *)ge… in SetupPrimalProblem() 587 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)exa… in SetupPrimalProblem()
|
| H A D | ex26.c | 130 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)tri… in SetupPrimalProblem() 136 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)qua… in SetupPrimalProblem()
|
| H A D | ex71.c | 256 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "top wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *… in SetupProblem() 258 …undary(dm, DM_BC_ESSENTIAL, "bottom wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)wall_velocity… in SetupProblem()
|
| H A D | ex20.c | 93 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)tri… in SetupPrimalProblem()
|
| /petsc/src/mat/matfd/ftn-custom/ |
| H A D | zfdmatrixf.c | 61 …*ierr = MatFDColoringSetFunction(*fd, (MatFDColoringFn *)(PetscVoidFn *)ourmatfdcoloringfunctionts… in matfdcoloringsetfunctionts_()
|
| /petsc/src/tao/tutorials/ |
| H A D | ex1.c | 176 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)qua… in SetupProblem() 177 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 1, 0, NULL, (PetscVoidFn *)lin… in SetupProblem() 178 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)zer… in SetupProblem()
|
| H A D | ex2.c | 171 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)qua… in SetupProblem() 172 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 1, 0, NULL, (PetscVoidFn *)con… in SetupProblem() 173 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 2, 0, NULL, (PetscVoidFn *)zer… in SetupProblem()
|
| /petsc/include/ |
| H A D | petscds.h | 194 …scInt, const PetscInt[], PetscInt, PetscInt, const PetscInt[], PetscVoidFn *, PetscVoidFn *, void … 195 …scInt, const PetscInt[], PetscInt, PetscInt, const PetscInt[], PetscVoidFn *, PetscVoidFn *, void … 196 …scInt, const PetscInt[], PetscInt, PetscInt, const PetscInt[], PetscVoidFn *, PetscVoidFn *, void … 198 …onst PetscInt *[], PetscInt *, PetscInt *, const PetscInt *[], PetscVoidFn **, PetscVoidFn **, voi…
|
| /petsc/src/sys/dll/ |
| H A D | dlimpl.c | 320 PetscErrorCode PetscDLAddr(PetscVoidFn *func, char *name[]) in PetscDLAddr()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexproject.c | 533 …tscTabulation *T, PetscTabulation *TAux, DMBoundaryConditionType type, PetscVoidFn **funcs, void *… in DMProjectPoint_Private() 560 …lSpaceGetAllPointsUnion(PetscInt Nf, PetscDualSpace *sp, PetscInt dim, PetscVoidFn **funcs, PetscQ… in PetscDualSpaceGetAllPointsUnion() 713 …, PetscInt numIds, const PetscInt ids[], DMBoundaryConditionType type, PetscVoidFn **funcs, void *… in DMProjectLocal_Generic_Plex() 1116 …Generic_Plex(dm, time, NULL, 0, NULL, NULL, 0, NULL, DM_BC_ESSENTIAL, (PetscVoidFn **)funcs, ctxs,… in DMProjectFunctionLocal_Plex() 1123 …Plex(dm, time, NULL, Ncc, comps, label, numIds, ids, DM_BC_ESSENTIAL, (PetscVoidFn **)funcs, ctxs,… in DMProjectFunctionLabelLocal_Plex() 1130 …Plex(dm, time, localU, 0, NULL, NULL, 0, NULL, DM_BC_ESSENTIAL_FIELD, (PetscVoidFn **)funcs, NULL,… in DMProjectFieldLocal_Plex() 1137 … time, localU, Ncc, comps, label, numIds, ids, DM_BC_ESSENTIAL_FIELD, (PetscVoidFn **)funcs, NULL,… in DMProjectFieldLabelLocal_Plex() 1144 …me, localU, Ncc, comps, label, numIds, ids, DM_BC_ESSENTIAL_BD_FIELD, (PetscVoidFn **)funcs, NULL,… in DMProjectBdFieldLabelLocal_Plex()
|
| /petsc/src/snes/tests/ |
| H A D | ex15.c | 261 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)qua… in SetupPrimalProblem() 267 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)tri… in SetupPrimalProblem() 273 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)tri… in SetupPrimalProblem()
|
| /petsc/src/dm/impls/forest/tests/ |
| H A D | ex2.c | 223 …SENTIAL, "bc", label, 2 * dim, ids, 0, 0, NULL, useFV ? (PetscVoidFn *)bc_func_fv : (PetscVoidFn *… in main()
|