Home
last modified time | relevance | path

Searched refs:ldof (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/impls/moab/
H A Ddmmbmg.cxx203 const int ldof = dmbc->lidmap[vhandle - dmbc->seqstart]; in DMCreateInterpolation_Moab() local
228 …if (dmbp->vghost->find(connp[ic]) != dmbp->vghost->end()) onz[ldof]++; /* update out-of-proc onz */ in DMCreateInterpolation_Moab()
229 … else nnz[ldof]++; /* else local vertex */ in DMCreateInterpolation_Moab()
/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c583 PetscInt ldof, rdof; in DMPlexCreateAdjacencySection_Static() local
585 PetscCall(PetscSectionGetDof(leafSectionAdj, off + d, &ldof)); in DMPlexCreateAdjacencySection_Static()
587 if (ldof > 0) { in DMPlexCreateAdjacencySection_Static()
635 PetscInt ldof, rdof; in DMPlexCreateAdjacencySection_Static() local
637 PetscCall(PetscSectionGetDof(leafSectionAdj, off + d, &ldof)); in DMPlexCreateAdjacencySection_Static()
639 if (ldof > 0) { in DMPlexCreateAdjacencySection_Static()
H A Dplexfem.c4164 PetscInt comp, coneSizeL, coneSizeR, faceLocL, faceLocR, ldof, rdof, d; in DMPlexGetFaceFields() local
4168 PetscCall(DMPlexVecGetClosure(dm, section, locX, cells[0], &ldof, &xL)); in DMPlexGetFaceFields()
4183 …if (rdof == ldof && faceLocR < coneSizeR) PetscCall(PetscFEEvaluateFaceFields_Internal(prob, f, fa… in DMPlexGetFaceFields()
4192 PetscCall(DMPlexVecRestoreClosure(dm, section, locX, cells[0], &ldof, &xL)); in DMPlexGetFaceFields()
/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c841 PetscInt ldof, loff; in PCPatchGetPointDofs() local
856 … PetscCall(PCPatchGetGlobalDofs(pc, patch->dofSection, k, patch->combined, base, &ldof, &loff)); in PCPatchGetPointDofs()
857 if (0 == ldof) continue; in PCPatchGetPointDofs()
858 for (j = loff; j < ldof + loff; ++j) { in PCPatchGetPointDofs()
872 PetscCall(PCPatchGetGlobalDofs(pc, patch->dofSection, k, patch->combined, p, &ldof, &loff)); in PCPatchGetPointDofs()
873 if (0 == ldof) continue; in PCPatchGetPointDofs()
874 for (j = loff; j < ldof + loff; ++j) { in PCPatchGetPointDofs()