Lines Matching refs:asize
6616 PetscInt depth, numFields, numPoints, asize; in DMPlexVecGetOrientedClosure() local
6632 asize = 0; in DMPlexVecGetOrientedClosure()
6636 asize += dof; in DMPlexVecGetOrientedClosure()
6643 …asize, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Provided array size %" PetscInt_FMT " not suffi… in DMPlexVecGetOrientedClosure()
6644 } else PetscCall(DMGetWorkArray(dm, asize, MPIU_SCALAR, values)); in DMPlexVecGetOrientedClosure()
6645 …(PetscSectionGetClosureInversePermutation_Internal(section, (PetscObject)dm, depth, asize, &perm)); in DMPlexVecGetOrientedClosure()
6650 …tscCheck(asize == size, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Section size %" PetscInt_FMT " does not … in DMPlexVecGetOrientedClosure()
6654 if (csize) *csize = asize; in DMPlexVecGetOrientedClosure()
6831 PetscInt asize = 0, dof; in DMPlexVecGetClosureAtDepth() local
6835 asize += dof; in DMPlexVecGetClosureAtDepth()
6839 if (csize) *csize = asize; in DMPlexVecGetClosureAtDepth()
6842 PetscCall(DMGetWorkArray(dm, asize, MPIU_SCALAR, &array)); in DMPlexVecGetClosureAtDepth()