| H A D | vsection.c | 195 …tscSection sectionGlobal, Vec v, PetscInt field, PetscInt pStart, PetscInt pEnd, IS *is, Vec *subv) in PetscSectionGetField_Internal() argument 228 PetscCall(VecGetSubVector(v, *is, subv)); in PetscSectionGetField_Internal() 229 PetscCall(VecSetBlockSize(*subv, Nc)); in PetscSectionGetField_Internal() 233 …tscSection sectionGlobal, Vec v, PetscInt field, PetscInt pStart, PetscInt pEnd, IS *is, Vec *subv) in PetscSectionRestoreField_Internal() argument 236 PetscCall(VecRestoreSubVector(v, *is, subv)); in PetscSectionRestoreField_Internal() 271 Vec subv; in PetscSectionVecNorm() local 274 PetscCall(PetscSectionGetField_Internal(s, gs, x, f, pStart, pEnd, &is, &subv)); in PetscSectionVecNorm() 275 PetscCall(VecNorm(subv, type, &val[f])); in PetscSectionVecNorm() 276 PetscCall(PetscSectionRestoreField_Internal(s, gs, x, f, pStart, pEnd, &is, &subv)); in PetscSectionVecNorm()
|