| /petsc/src/mat/utils/ |
| H A D | bandwidth.c | 19 PetscErrorCode MatComputeBandwidth(Mat A, PetscReal fraction, PetscInt *bw) in MatComputeBandwidth() argument 27 PetscAssertPointer(bw, 3); in MatComputeBandwidth() 42 *bw = 2 * PetscMax(gbw[0], gbw[1]) + 1; in MatComputeBandwidth()
|
| /petsc/src/ts/adapt/impls/history/ |
| H A D | adapthist.c | 5 PetscBool bw; member 16 PetscCall(TSHistoryGetTimeStep(thadapt->hist, thadapt->bw, step + 1, next_h)); in TSAdaptChoose_History() 90 PetscCall(TSHistoryGetTimeStep(thadapt->hist, thadapt->bw, step, dt)); in TSAdaptHistoryGetStep() 91 PetscCall(TSHistoryGetTime(thadapt->hist, thadapt->bw, step, t)); in TSAdaptHistoryGetStep() 129 thadapt->bw = backward; in TSAdaptHistorySetHistory()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex10.c | 62 PetscInt bw, pbw; in TestReordering() local 75 PetscCall(MatComputeBandwidth(A, 0.0, &bw)); in TestReordering() 82 if (pbw > bw) { in TestReordering() 83 …ing method %s increased bandwidth from %" PetscInt_FMT " to %" PetscInt_FMT "\n", order, bw, pbw)); in TestReordering() 85 …ering method %s reduced bandwidth from %" PetscInt_FMT " to %" PetscInt_FMT "\n", order, bw, pbw)); in TestReordering()
|
| /petsc/src/snes/tutorials/ |
| H A D | ex18.c | 297 PetscScalar dn, ds, de, dw, an, as, ae, aw, bn, bs, be, bw, gn, gs, ge, gw; in FormJacobian() local 334 bw = PetscPowScalar(aw, bm1); in FormJacobian() 337 gw = coef * bw * (t0 - tw); in FormJacobian() 381 bw = PetscPowScalar(aw, bm1); in FormJacobian() 384 gw = coef * bw * (t0 - tw); in FormJacobian() 467 bw = PetscPowScalar(aw, bm1); in FormJacobian() 470 gw = coef * bw * (t0 - tw); in FormJacobian() 553 bw = PetscPowScalar(aw, bm1); in FormJacobian() 556 gw = coef * bw * (t0 - tw); in FormJacobian() 590 bw = PetscPowScalar(aw, bm1); in FormJacobian() [all …]
|
| /petsc/src/vec/vec/impls/nest/ |
| H A D | vecnest.c | 207 Vec_Nest *bw = (Vec_Nest *)w->data; in VecPointwiseMult_Nest() local 213 for (i = 0; i < nr; i++) PetscCall(VecPointwiseMult(bw->v[i], bx->v[i], by->v[i])); in VecPointwiseMult_Nest() 221 Vec_Nest *bw = (Vec_Nest *)w->data; in VecPointwiseDivide_Nest() local 227 for (i = 0; i < nr; i++) PetscCall(VecPointwiseDivide(bw->v[i], bx->v[i], by->v[i])); in VecPointwiseDivide_Nest() 336 Vec_Nest *bw = (Vec_Nest *)w->data; in VecWAXPY_Nest() local 342 for (i = 0; i < nr; i++) PetscCall(VecWAXPY(bw->v[i], alpha, bx->v[i], by->v[i])); in VecWAXPY_Nest() 640 Vec_Nest *bw = (Vec_Nest *)w->data; in VecGetLocalVector_Nest() local 645 …PetscCheck(bv->nb == bw->nb, PetscObjectComm((PetscObject)w), PETSC_ERR_ARG_WRONG, "Invalid local … in VecGetLocalVector_Nest() 646 for (i = 0; i < bv->nb; i++) PetscCall(VecGetLocalVector(bv->v[i], bw->v[i])); in VecGetLocalVector_Nest() 653 Vec_Nest *bw = (Vec_Nest *)w->data; in VecRestoreLocalVector_Nest() local [all …]
|
| /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 492 bw = PetscPowScalar(aw, bm1); in FormJacobian() 495 gw = coef * bw * (t0 - tw); in FormJacobian() 566 bw = PetscPowScalar(aw, bm1); in FormJacobian() 569 gw = coef * bw * (t0 - tw); in FormJacobian() 906 bw = PetscPowScalar(aw, bm1); in FormJacobian() 909 gw = coef * bw * (t0 - tw); in FormJacobian() 1246 bw = PetscPowScalar(aw, bm1); in FormJacobian() 1249 gw = coef * bw * (t0 - tw); in FormJacobian() 1373 bw = PetscPowScalar(aw, bm1); in FormJacobian() [all …]
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 7565 (parallel/buffered-case-write-inter-machine-bw-cutoff 10)
|