Home
last modified time | relevance | path

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

/petsc/src/vec/vec/utils/
H A Dvsection.c142 PetscInt cInd = 0, i; in VecSetValuesSection() local
148 if ((cInd < cDim) && (i == cDof[cInd])) { in VecSetValuesSection()
150 ++cInd; in VecSetValuesSection()
157 if ((cInd < cDim) && (i == cDof[cInd])) { in VecSetValuesSection()
159 ++cInd; in VecSetValuesSection()
177 PetscInt cInd = 0, i, k; in VecSetValuesSection() local
180 if ((cInd < sDim) && (j == cDof[cInd + cOffset])) { in VecSetValuesSection()
181 ++cInd; in VecSetValuesSection()
/petsc/src/vec/is/section/interface/
H A Dsection.c149 const PetscInt *cInd; in PetscSectionCopy_Internal() local
157 if (force_constrained) cInd = NULL; in PetscSectionCopy_Internal()
158 else PetscCall(PetscSectionGetConstraintIndices(section, p, &cInd)); in PetscSectionCopy_Internal()
159 PetscCall(PetscSectionSetConstraintIndices(newSection, p, cInd)); in PetscSectionCopy_Internal()
165 if (force_constrained) cInd = NULL; in PetscSectionCopy_Internal()
166 else PetscCall(PetscSectionGetFieldConstraintIndices(section, p, f, &cInd)); in PetscSectionCopy_Internal()
167 PetscCall(PetscSectionSetFieldConstraintIndices(newSection, p, f, cInd)); in PetscSectionCopy_Internal()
2884 PetscInt cInd = 0, i; in VecIntSetValuesSection_Private() local
2890 if ((cInd < cDim) && (i == cDof[cInd])) { in VecIntSetValuesSection_Private()
2891 ++cInd; in VecIntSetValuesSection_Private()
[all …]