Searched refs:neg (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 1479 PetscInt *recv = NULL, *neg = NULL; in PetscSectionCreateGlobalSection() local 1505 PetscCall(PetscMalloc2(nroots, &neg, nlocal, &recv)); in PetscSectionCreateGlobalSection() 1506 PetscCall(PetscArrayzero(neg, nroots)); in PetscSectionCreateGlobalSection() 1514 if (neg) neg[p] = -(dof + 1); in PetscSectionCreateGlobalSection() 1520 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, recv, MPI_REPLACE)); in PetscSectionCreateGlobalSection() 1521 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, recv, MPI_REPLACE)); in PetscSectionCreateGlobalSection() 1545 if (neg) neg[p] = -(gs->atlasOff[p - pStart] + 1); in PetscSectionCreateGlobalSection() 1551 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, recv, MPI_REPLACE)); in PetscSectionCreateGlobalSection() 1552 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, recv, MPI_REPLACE)); in PetscSectionCreateGlobalSection() 1557 PetscCall(PetscFree2(neg, recv)); in PetscSectionCreateGlobalSection() [all …]
|
| /petsc/src/mat/tests/ |
| H A D | ex123.c | 25 PetscBool neg = PETSC_FALSE; in main() local 30 PetscCall(PetscOptionsGetBool(NULL, NULL, "-neg", &neg, NULL)); in main() 84 if (neg) { in main()
|
| /petsc/src/dm/impls/moab/ |
| H A D | dmmoab.cxx | 509 PetscErrorCode DMMoabGetSize(DM dm, PetscInt *neg, PetscInt *nvg) in DMMoabGetSize() argument 513 if (neg) *neg = ((DM_Moab *)dm->data)->nele; in DMMoabGetSize() 536 PetscErrorCode DMMoabGetLocalSize(DM dm, PetscInt *nel, PetscInt *neg, PetscInt *nvl, PetscInt *nvg) in DMMoabGetLocalSize() argument 541 if (neg) *neg = ((DM_Moab *)dm->data)->neleghost; in DMMoabGetLocalSize()
|
| /petsc/src/dm/label/ |
| H A D | dmlabel.c | 2594 PetscInt *neg = NULL, *tmpOff = NULL; in PetscSectionCreateGlobalSectionLabel() local 2607 PetscCall(PetscCalloc1(nroots, &neg)); in PetscSectionCreateGlobalSectionLabel() 2624 if (neg) neg[p] = -(dof + 1); in PetscSectionCreateGlobalSectionLabel() 2628 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionLabel() 2629 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionLabel() 2646 if (neg) neg[p] = -((*gsection)->atlasOff[p] + 1); in PetscSectionCreateGlobalSectionLabel() 2650 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionLabel() 2651 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, neg, tmpOff, MPI_REPLACE)); in PetscSectionCreateGlobalSectionLabel() 2659 PetscCall(PetscFree(neg)); in PetscSectionCreateGlobalSectionLabel()
|
| /petsc/src/mat/impls/aij/mpi/superlu_dist/ |
| H A D | superlu_dist.c | 408 PetscInt M, i, neg = 0, zero = 0, pos = 0; in MatGetInertia_SuperLU_DIST() local 431 neg++; in MatGetInertia_SuperLU_DIST() 436 if (nneg) *nneg = neg; in MatGetInertia_SuperLU_DIST()
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 3877 (pb-qbmm/qbmm-neg-eps -1e-12) 3879 (pb-qbmm/zeta-neg-eps -1e-12) 7881 (sst-linearize-neg-cross-diff? #t)
|