Home
last modified time | relevance | path

Searched refs:nRoots (Results 1 – 2 of 2) sorted by relevance

/petsc/src/vec/is/sf/interface/
H A Dsf.c2453 PetscInt i, s, nLeaves, nRoots; in PetscSFConcatenate() local
2500 PetscCall(PetscSFGetGraph(sfs[0], &nRoots, NULL, NULL, NULL)); in PetscSFConcatenate()
2506nRoots, comm, PETSC_ERR_ARG_SIZ, "rootMode = %s but sfs[%" PetscInt_FMT "] has a different number … in PetscSFConcatenate()
2537 nRoots = glayout->N; in PetscSFConcatenate()
2614 …if (rootMode == PETSCSF_CONCATENATE_ROOTMODE_LOCAL) nRoots = rootOffset; // else nRoots already ca… in PetscSFConcatenate()
2618 …PetscCall(PetscSFSetGraph(*newsf, nRoots, nLeaves, ilocal_new, PETSC_OWN_POINTER, iremote_new, PET… in PetscSFConcatenate()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h5036 PetscInt nRoots, nLeaves, *mine = NULL; in DMForestCreateCellSF_pforest() local
5044 nRoots = cEnd - cStart; in DMForestCreateCellSF_pforest()
5058 nLeaves = nRoots - nSelf; in DMForestCreateCellSF_pforest()
5077 …PetscCall(PetscSFSetGraph(sf, nRoots, nLeaves, mine, PETSC_OWN_POINTER, remote, PETSC_OWN_POINTER)… in DMForestCreateCellSF_pforest()