Lines Matching refs:PETSC_INT
121 item->dtype = PETSC_INT; in PetscBagRegisterIntArray()
218 item->dtype = PETSC_INT; in PetscBagRegisterInt()
266 item->dtype = PETSC_INT; in PetscBagRegisterInt64()
601 } else if (nitem->dtype == PETSC_INT) { in PetscBagSetFromOptions()
688 } else if (nitem->dtype == PETSC_INT) { in PetscBagView()
716 PetscCall(PetscViewerBinaryWrite(view, &classid, 1, PETSC_INT)); in PetscBagView()
717 PetscCall(PetscViewerBinaryWrite(view, &deprecatedbagsize, 1, PETSC_INT)); in PetscBagView()
718 PetscCall(PetscViewerBinaryWrite(view, &bag->count, 1, PETSC_INT)); in PetscBagView()
722 PetscCall(PetscViewerBinaryWrite(view, &nitem->offset, 1, PETSC_INT)); in PetscBagView()
724 PetscCall(PetscViewerBinaryWrite(view, &dtype, 1, PETSC_INT)); in PetscBagView()
727 PetscCall(PetscViewerBinaryWrite(view, &nitem->msize, 1, PETSC_INT)); in PetscBagView()
823 PetscCall(PetscViewerBinaryRead(view, &classid, 1, NULL, PETSC_INT)); in PetscBagLoad()
825 PetscCall(PetscViewerBinaryRead(view, &deprecatedbagsize, 1, NULL, PETSC_INT)); in PetscBagLoad()
826 PetscCall(PetscViewerBinaryRead(view, &bagcount, 1, NULL, PETSC_INT)); in PetscBagLoad()
833 PetscCall(PetscViewerBinaryRead(view, &offset, 1, NULL, PETSC_INT)); in PetscBagLoad()
835 PetscCall(PetscViewerBinaryRead(view, &dtype, 1, NULL, PETSC_INT)); in PetscBagLoad()
838 PetscCall(PetscViewerBinaryRead(view, &msize, 1, NULL, PETSC_INT)); in PetscBagLoad()
846 } else if (dtype == (PetscInt)PETSC_INT) { in PetscBagLoad()
847 PetscCall(PetscViewerBinaryRead(view, ((char *)bag) + nitem->offset, msize, NULL, PETSC_INT)); in PetscBagLoad()