Home
last modified time | relevance | path

Searched refs:cinds (Results 1 – 3 of 3) sorted by relevance

/petsc/src/vec/is/section/interface/hdf5/
H A Dsectionhdf5.c13 PetscInt *dofs, *offs, *cdofs, *coffs, *cinds, dof, cdof, m, moff, i; in PetscSectionView_HDF5_SingleField() local
35 PetscCall(PetscMalloc1(m, &cinds)); in PetscSectionView_HDF5_SingleField()
49 for (i = 0; i < cdof; ++i) cinds[m++] = cpinds[i]; in PetscSectionView_HDF5_SingleField()
81 PetscCall(ISCreateGeneral(comm, m, cinds, PETSC_OWN_POINTER, &cindIS)); in PetscSectionView_HDF5_SingleField()
131 PetscInt *cinds; in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices() local
158 PetscCall(PetscMalloc1(m, &cinds)); in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
160 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, data, cinds, MPI_REPLACE)); in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
161 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, data, cinds, MPI_REPLACE)); in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
167 PetscCall(PetscSectionSetConstraintIndices(s, p, PetscSafePointerPlusOffset(cinds, m))); in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
170 PetscCall(PetscFree(cinds)); in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
/petsc/src/vec/is/is/utils/
H A Disdiff.c623 const PetscInt *ccolors, *cinds; in ISPairToList() local
640 PetscCall(ISGetIndices(indis, &cinds)); in ISPairToList()
642 PetscCall(PetscArraycpy(inds, cinds, ilen)); in ISPairToList()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c2882 const PetscInt *cinds; in DMPlexSectionLoad_HDF5_Internal_CreateDataSF() local
2889 PetscCall(PetscSectionGetConstraintIndices(leafSection, p, &cinds)); in DMPlexSectionLoad_HDF5_Internal_CreateDataSF()
2891 PetscBool constrained = (PetscBool)(j < cdof && i == cinds[j]); in DMPlexSectionLoad_HDF5_Internal_CreateDataSF()