| /petsc/src/snes/tutorials/ |
| H A D | ex27.c | 379 PetscInt id, bd; in SetupPrimalProblem() local 397 …dBoundary(dm, DM_BC_NATURAL, "right wall flux", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupPrimalProblem() 398 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupPrimalProblem() 405 …ddBoundary(dm, DM_BC_NATURAL, "left wall flux", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupPrimalProblem() 406 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupPrimalProblem() 418 …dBoundary(dm, DM_BC_NATURAL, "right wall flux", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupPrimalProblem() 419 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupPrimalProblem() 426 …ddBoundary(dm, DM_BC_NATURAL, "left wall flux", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupPrimalProblem() 427 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupPrimalProblem() 439 …dBoundary(dm, DM_BC_NATURAL, "right wall flux", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupPrimalProblem() [all …]
|
| H A D | ex24.c | 232 PetscInt bd; in SetupPrimalProblem() local 244 …ary(dm, DM_BC_NATURAL, "Dirichlet Bd Integral", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupPrimalProblem() 245 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupPrimalProblem() 252 …ary(dm, DM_BC_NATURAL, "Dirichlet Bd Integral", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupPrimalProblem() 253 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupPrimalProblem()
|
| H A D | ex71.c | 225 PetscInt id, bd; in SetupProblem() local 238 …l(DMAddBoundary(dm, DM_BC_NATURAL, "right wall", label, 1, &id, 0, 0, NULL, NULL, NULL, ctx, &bd)); in SetupProblem() 239 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupProblem()
|
| H A D | ex77.c | 317 PetscInt bd; in SetupProblem() local 328 …l(DMAddBoundary(dm, DM_BC_NATURAL, "pressure", label, 0, NULL, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupProblem() 329 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupProblem()
|
| H A D | ex12.c | 527 PetscInt bd, dim; in SetupProblem() local 610 …scCall(DMAddBoundary(dm, DM_BC_NATURAL, "wall", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupProblem() 611 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupProblem() 629 …scCall(DMAddBoundary(dm, DM_BC_NATURAL, "wall", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupProblem() 630 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupProblem()
|
| H A D | ex56.c | 319 PetscInt bd, i; in main() local 323 …ary(dm, DM_BC_NATURAL, "traction", label, Npid, pid, 0, Ncomp, components, NULL, NULL, NULL, &bd)); in main() 324 …PetscCall(PetscDSGetBoundary(prob, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, … in main()
|
| H A D | ex17.c | 458 PetscInt id, bd; in SetupPrimalProblem() local 543 …dary(dm, DM_BC_NATURAL, "right", label, 1, &id, 0, 0, NULL, (PetscVoidFn *)NULL, NULL, user, &bd)); in SetupPrimalProblem() 544 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupPrimalProblem()
|
| /petsc/src/snes/tests/ |
| H A D | ex20.c | 452 PetscScalar ***x, bn, bs, be, bw, bu, bd, gn, gs, ge, gw, gu, gd; in FormJacobian() local 520 bd = PetscPowScalar(ad, bm1); in FormJacobian() 523 gd = coef * bd * (t0 - td); in FormJacobian() 625 bd = PetscPowScalar(ad, bm1); in FormJacobian() 628 gd = coef * bd * (td - t0); in FormJacobian() 656 bd = PetscPowScalar(ad, bm1); in FormJacobian() 659 gd = coef * bd * (td - t0); in FormJacobian() 727 bd = PetscPowScalar(ad, bm1); in FormJacobian() 730 gd = coef * bd * (td - t0); in FormJacobian() 758 bd = PetscPowScalar(ad, bm1); in FormJacobian() [all …]
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex44.c | 9 PetscInt bd[64]; /* The boundary markers to be extruded */ member 35 …PetscCall(PetscOptionsIntArray("-bd", "The boundaries to be extruded", "ex44.c", options->bd, &n, … in ProcessOptions() 83 PetscCall(DMLabelGetStratumIS(label, ctx->bd[b], &bdIS)); in CreateAdaptLabel()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsection.c | 480 PetscInt numBd, bd; in DMCreateLocalSection_Plex() local 485 for (bd = 0; bd < numBd; ++bd) { in DMCreateLocalSection_Plex() 490 …PetscCall(PetscDSGetBoundary(dsBC, bd, NULL, &type, NULL, &label, NULL, NULL, &field, NULL, NULL, … in DMCreateLocalSection_Plex() 515 PetscInt numBd, bd; in DMCreateLocalSection_Plex() local 519 for (bd = 0; bd < numBd; ++bd) { in DMCreateLocalSection_Plex() 527 …PetscCall(PetscDSGetBoundary(dsBC, bd, NULL, &type, NULL, &label, &numValues, &values, &field, &nu… in DMCreateLocalSection_Plex() 530 for (bd2 = 0; bd2 < bd; ++bd2) { in DMCreateLocalSection_Plex()
|
| H A D | plexcreate.c | 945 …ateLineMesh_Internal(DM dm, PetscInt segments, PetscReal lower, PetscReal upper, DMBoundaryType bd) in DMPlexCreateLineMesh_Internal() argument 954 …PetscBool wrap = (bd == DM_BOUNDARY_PERIODIC || bd == DM_BOUNDARY_TWIST) ? PETSC_TRUE : PETSC_F… in DMPlexCreateLineMesh_Internal() 1264 …onst PetscInt edges[], const PetscReal lower[], const PetscReal upper[], const DMBoundaryType bd[]) in DMPlexCreateSquareMesh_Simplex_CrissCross() argument 1271 DMBoundaryType bdX = bd[0], bdY = bd[1]; in DMPlexCreateSquareMesh_Simplex_CrissCross() 1443 if (bd[d] != DM_BOUNDARY_NONE) { in DMPlexCreateSquareMesh_Simplex_CrissCross() 2212 …er[], const PetscReal upper[], const PetscInt edges[], PetscInt overlap, const DMBoundaryType bd[]) in DMPlexCreateHypercubicMesh_Internal() argument 2248 …for (PetscInt d = 0; d < dim; ++d) periodic = (periodic || bd[d] == DM_BOUNDARY_PERIODIC) ? PETSC_… in DMPlexCreateHypercubicMesh_Internal() 2253 …for (PetscInt d = 0; d < dim; ++d) PetscCheck(bd[d] == DM_BOUNDARY_PERIODIC, comm, PETSC_ERR_SUP, … in DMPlexCreateHypercubicMesh_Internal()
|
| H A D | plexfem.c | 5105 PetscInt numBd, bd; in DMPlexComputeBdResidual_Internal() local 5117 for (bd = 0; bd < numBd; ++bd) { in DMPlexComputeBdResidual_Internal() 5127 …PetscCall(PetscDSGetBoundary(prob, bd, &wf, &type, NULL, &label, &numValues, &values, &field, NULL… in DMPlexComputeBdResidual_Internal() 6117 PetscInt dim, numBd, bd; in DMPlexComputeBdJacobian_Internal() local 6129 for (bd = 0; bd < numBd; ++bd) { in DMPlexComputeBdJacobian_Internal() 6138 …PetscCall(PetscDSGetBoundary(prob, bd, &wf, &type, NULL, &label, &numValues, &values, &fieldI, NUL… in DMPlexComputeBdJacobian_Internal()
|
| /petsc/src/dm/dt/fe/interface/ |
| H A D | fegeom.c | 214 const PetscBool bd = geom->mode == PETSC_FEGEOM_BOUNDARY ? PETSC_TRUE : PETSC_FALSE; in PetscFEGeomGetCellPoint() local 215 const PetscInt dim = bd ? geom->dimEmbed : geom->dim; in PetscFEGeomGetCellPoint() 226 if (bd) { in PetscFEGeomGetCellPoint() 237 if (bd) { in PetscFEGeomGetCellPoint()
|
| /petsc/src/dm/dt/tests/ |
| H A D | ex10.c | 125 PetscInt bd; in SetupProblem() local 137 …, "Boundary Integral", label, 1, &id, 0, 0, NULL, (PetscFortranCallbackFn *)NULL, NULL, ctx, &bd)); in SetupProblem() 138 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupProblem()
|
| /petsc/src/dm/dt/interface/ |
| H A D | dtds.c | 3168 …Nc, const PetscInt comps[], PetscVoidFn *bcFunc, PetscVoidFn *bcFunc_t, PetscCtx ctx, PetscInt *bd) in PetscDSAddBoundary() argument 3222 if (bd) { in PetscDSAddBoundary() 3223 PetscAssertPointer(bd, 13); in PetscDSAddBoundary() 3224 *bd = n; in PetscDSAddBoundary() 3298 …Nc, const PetscInt comps[], PetscVoidFn *bcFunc, PetscVoidFn *bcFunc_t, PetscCtx ctx, PetscInt *bd) in PetscDSAddBoundaryByName() argument 3339 if (bd) { in PetscDSAddBoundaryByName() 3340 PetscAssertPointer(bd, 13); in PetscDSAddBoundaryByName() 3341 *bd = n; in PetscDSAddBoundaryByName() 3377 PetscErrorCode PetscDSUpdateBoundary(PetscDS ds, PetscInt bd, DMBoundaryConditionType type, const c… in PetscDSUpdateBoundary() argument 3385 if (n == bd) break; in PetscDSUpdateBoundary() [all …]
|
| /petsc/src/ts/tutorials/ |
| H A D | ex76.c | 1215 PetscInt id, bd; in SetupProblem() local 1333 …l(DMAddBoundary(dm, DM_BC_NATURAL, "right wall", label, 1, &id, 0, 0, NULL, NULL, NULL, ctx, &bd)); in SetupProblem() 1334 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupProblem() 1337 …ll(DMAddBoundary(dm, DM_BC_NATURAL, "left wall", label, 1, &id, 0, 0, NULL, NULL, NULL, ctx, &bd)); in SetupProblem() 1338 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupProblem() 1364 …l(DMAddBoundary(dm, DM_BC_NATURAL, "right wall", label, 1, &id, 0, 0, NULL, NULL, NULL, ctx, &bd)); in SetupProblem() 1365 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupProblem() 1368 …ll(DMAddBoundary(dm, DM_BC_NATURAL, "left wall", label, 1, &id, 0, 0, NULL, NULL, NULL, ctx, &bd)); in SetupProblem() 1369 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupProblem()
|
| H A D | ex53.c | 1721 PetscInt dim, id, bd, f; in SetupPrimalProblem() local 1812 …dBoundary(dm, DM_BC_NATURAL, "vertical stress", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupPrimalProblem() 1813 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupPrimalProblem() 1882 …AddBoundary(dm, DM_BC_NATURAL, "normal stress", label, 1, &id, 0, 0, NULL, NULL, NULL, user, &bd)); in SetupPrimalProblem() 1883 …PetscCall(PetscDSGetBoundary(ds, bd, &wf, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NU… in SetupPrimalProblem()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiov.c | 1087 Mat_SeqAIJ *b, *ad = (Mat_SeqAIJ *)a->A->data, *bd = (Mat_SeqAIJ *)a->B->data; in MatCreateSubMatrix_MPIAIJ_All() local 1098 …>i[i - A->rmap->rstart + 1] - ad->i[i - A->rmap->rstart] + bd->i[i - A->rmap->rstart + 1] - bd->i[… in MatCreateSubMatrix_MPIAIJ_All() 1121 sendcount = ad->nz + bd->nz; in MatCreateSubMatrix_MPIAIJ_All() 1124 b_jsendbuf = bd->j; in MatCreateSubMatrix_MPIAIJ_All() 1129 m = bd->i[i + 1] - bd->i[i]; in MatCreateSubMatrix_MPIAIJ_All() 1173 sendcount = ad->nz + bd->nz; in MatCreateSubMatrix_MPIAIJ_All() 1177 b_sendj = bd->j; in MatCreateSubMatrix_MPIAIJ_All() 1182 m = bd->i[i + 1] - bd->i[i]; in MatCreateSubMatrix_MPIAIJ_All()
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 5430 PetscInt numBd, bd; in DMCompleteBCLabels_Internal() local 5434 for (bd = 0; bd < numBd; ++bd) { in DMCompleteBCLabels_Internal() 5440 …PetscCall(PetscDSGetBoundary(dsBC, bd, NULL, NULL, NULL, &label, NULL, NULL, &field, NULL, NULL, N… in DMCompleteBCLabels_Internal() 6369 PetscInt Nbd, bd; in DMCopyDS() local 6377 for (bd = 0; bd < Nbd; ++bd) { in DMCopyDS() 6382 …PetscCall(PetscDSGetBoundary(newds, bd, &wf, NULL, NULL, &label, NULL, NULL, &field, NULL, NULL, N… in DMCopyDS() 8080 …Nc, const PetscInt comps[], PetscVoidFn *bcFunc, PetscVoidFn *bcFunc_t, PetscCtx ctx, PetscInt *bd) in DMAddBoundary() argument 8108 …etscDSAddBoundary(ds, type, name, label, Nv, values, field, Nc, comps, bcFunc, bcFunc_t, ctx, bd)); in DMAddBoundary()
|
| /petsc/src/mat/impls/baij/mpi/ |
| H A D | mpibaij.c | 2091 Mat_SeqBAIJ *ad = (Mat_SeqBAIJ *)a->A->data, *bd = (Mat_SeqBAIJ *)a->B->data; in MatGetSeqNonzeroStructure_MPIBAIJ() local 2103 …p->rstart / bs + 1] - ad->i[i - A->rmap->rstart / bs] + bd->i[i - A->rmap->rstart / bs + 1] - bd->… in MatGetSeqNonzeroStructure_MPIBAIJ() 2119 sendcount = ad->nz + bd->nz; in MatGetSeqNonzeroStructure_MPIBAIJ() 2122 b_jsendbuf = bd->j; in MatGetSeqNonzeroStructure_MPIBAIJ() 2127 m = bd->i[i + 1] - bd->i[i]; in MatGetSeqNonzeroStructure_MPIBAIJ()
|
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | mpisbaij.c | 1978 PetscInt i, j, d, nz, bd, nz_max = 0, *d_nnz = NULL, *o_nnz = NULL; in MatMPISBAIJSetPreallocationCSR_MPISBAIJ() local 2002 bd = 0; in MatMPISBAIJSetPreallocationCSR_MPISBAIJ() 2006 bd++; in MatMPISBAIJSetPreallocationCSR_MPISBAIJ() 2014 o_nnz[i] = nz - d - bd; in MatMPISBAIJSetPreallocationCSR_MPISBAIJ() 2015 nz = nz - bd; in MatMPISBAIJSetPreallocationCSR_MPISBAIJ()
|
| /petsc/src/mat/impls/baij/seq/ |
| H A D | baij2.c | 3645 Mat_SeqDense *bd = (Mat_SeqDense *)B->data; in MatMatMultNumeric_SeqBAIJ_SeqDense() local 3647 PetscInt cm = cd->lda, cn = B->cmap->n, bm = bd->lda; in MatMatMultNumeric_SeqBAIJ_SeqDense() 3662 b = bd->v; in MatMatMultNumeric_SeqBAIJ_SeqDense() 3941 Mat_SeqDense *bd = (Mat_SeqDense *)B->data; in MatTransposeMatMultNumeric_SeqBAIJ_SeqDense() local 3943 PetscInt cm = cd->lda, cn = B->cmap->n, bm = bd->lda; in MatTransposeMatMultNumeric_SeqBAIJ_SeqDense() 3957 b = bd->v; in MatTransposeMatMultNumeric_SeqBAIJ_SeqDense()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaij2.c | 1779 Mat_SeqDense *bd = (Mat_SeqDense *)B->data; in MatMatMultNumeric_SeqSBAIJ_SeqDense() local 1781 PetscInt cm = cd->lda, cn = B->cmap->n, bm = bd->lda; in MatMatMultNumeric_SeqSBAIJ_SeqDense() 1795 b = bd->v; in MatMatMultNumeric_SeqSBAIJ_SeqDense()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 1399 } else if ((bd[0] == DM_BOUNDARY_TWIST)) { in DMPlexCoordinatesView_HDF5_XDMF_Private()
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 4434 (vof/compressive/regime-discr/bd-limiter 1.5) 9079 16 ae bd 25 41 49 9174 25 5f 63 bd 49 0 9177 26 25 bd be 41 0 9198 ae bd 63 62 49 0 9214 ad be bd ae 41 0
|