Searched refs:cdofs (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/vec/is/section/interface/hdf5/ |
| H A D | sectionhdf5.c | 13 PetscInt *dofs, *offs, *cdofs, *coffs, *cinds, dof, cdof, m, moff, i; in PetscSectionView_HDF5_SingleField() local 33 PetscCall(PetscMalloc1(n, &cdofs)); in PetscSectionView_HDF5_SingleField() 47 cdofs[n] = cdof; in PetscSectionView_HDF5_SingleField() 72 PetscCall(ISCreateGeneral(comm, n, cdofs, PETSC_OWN_POINTER, &cdofIS)); in PetscSectionView_HDF5_SingleField() 183 const PetscInt *dofs, *offs, *cdofs; in PetscSectionLoad_HDF5_SingleField() local 238 PetscCall(ISGetIndices(cdofIS, &cdofs)); in PetscSectionLoad_HDF5_SingleField() 239 …for (p = pStart, n = 0; p < pEnd; ++p, ++n) PetscCall(PetscSectionSetConstraintDof(s, p, cdofs[n])… in PetscSectionLoad_HDF5_SingleField() 240 PetscCall(ISRestoreIndices(cdofIS, &cdofs)); in PetscSectionLoad_HDF5_SingleField()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMStag.pyx | 112 cdef object cdofs = dofs 115 ndofs = asDofs(cdofs, &dof0, &dof1, &dof2, &dof3)
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 6911 const PetscInt *cdofs; /* The indices of the constrained dofs on this point */ in updatePoint_private() local 6934 PetscCall(PetscSectionGetConstraintIndices(section, point, &cdofs)); in updatePoint_private() 6938 if ((cind < cdof) && (k == cdofs[cind])) { in updatePoint_private() 6946 if ((cind < cdof) && (k == cdofs[cind])) { in updatePoint_private() 6956 if ((cind < cdof) && (k == cdofs[cind])) { in updatePoint_private() 6964 if ((cind < cdof) && (k == cdofs[cind])) { in updatePoint_private() 6979 const PetscInt *cdofs; /* The indices of the constrained dofs on this point */ in updatePointBC_private() local 6988 PetscCall(PetscSectionGetConstraintIndices(section, point, &cdofs)); in updatePointBC_private() 6992 if ((cind < cdof) && (k == cdofs[cind])) { in updatePointBC_private() 6999 if ((cind < cdof) && (k == cdofs[cind])) { in updatePointBC_private() [all …]
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 1119 const PetscInt *cdofs; in DMGetLocalToGlobalMapping() local 1133 PetscCall(PetscSectionGetConstraintIndices(section, p, &cdofs)); in DMGetLocalToGlobalMapping() 1140 if (cind < cdof && c == cdofs[cind]) { in DMGetLocalToGlobalMapping() 3181 const PetscInt *cdofs; in DMLocalToGlobalBegin() local 3184 PetscCall(PetscSectionGetConstraintIndices(s, p, &cdofs)); in DMLocalToGlobalBegin() 3186 if ((cind < cdof) && (d == cdofs[cind])) { in DMLocalToGlobalBegin()
|