| /petsc/src/sys/tests/ |
| H A D | ex22.c | 31 PetscCall(PetscByteSwap(sbool, PETSC_BOOL, 2)); in main() 38 PetscCall(PetscByteSwap(sbool, PETSC_BOOL, 2)); in main()
|
| H A D | ex67.c | 41 PETSC_TEST_ASSERT_POINTER_GENERICS(PetscBool, PETSC_BOOL); in main()
|
| /petsc/src/sys/objects/ |
| H A D | ptype.c | 41 else if (ptype == PETSC_BOOL) *mtype = MPI_INT; in PetscDataTypeToMPIDataType() 159 else if (ptype == PETSC_BOOL) *size = PETSC_BOOL_SIZE; in PetscDataTypeGetSize()
|
| /petsc/src/sys/error/ |
| H A D | checkptr.c | 114 case PETSC_BOOL: { in PetscCheckPointer()
|
| /petsc/src/vec/is/section/interface/hdf5/ |
| H A D | sectionhdf5.c | 59 …PetscCall(PetscViewerHDF5WriteAttribute(viewer, NULL, "hasConstraints", PETSC_BOOL, (void *)&hasCo… in PetscSectionView_HDF5_SingleField() 61 …PetscCall(PetscViewerHDF5WriteAttribute(viewer, NULL, "includesConstraints", PETSC_BOOL, (void *)&… in PetscSectionView_HDF5_SingleField() 188 …PetscCall(PetscViewerHDF5ReadAttribute(viewer, NULL, "includesConstraints", PETSC_BOOL, NULL, (voi… in PetscSectionLoad_HDF5_SingleField() 225 …PetscCall(PetscViewerHDF5ReadAttribute(viewer, NULL, "hasConstraints", PETSC_BOOL, NULL, (void *)&… in PetscSectionLoad_HDF5_SingleField()
|
| /petsc/src/sys/classes/bag/ |
| H A D | bag.c | 318 item->dtype = PETSC_BOOL; in PetscBagRegisterBoolArray() 510 item->dtype = PETSC_BOOL; in PetscBagRegisterBool() 614 } else if (nitem->dtype == PETSC_BOOL) { in PetscBagSetFromOptions() 693 } else if (nitem->dtype == PETSC_BOOL) { in PetscBagView() 848 } else if (dtype == (PetscInt)PETSC_BOOL) { in PetscBagLoad() 849 … PetscCall(PetscViewerBinaryRead(view, ((char *)bag) + nitem->offset, msize, NULL, PETSC_BOOL)); in PetscBagLoad()
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex48.c | 147 case PETSC_BOOL: in compare() 227 PetscDataType types[nt] = {PETSC_BOOL, PETSC_INT, PETSC_REAL, PETSC_STRING, PETSC_STRING}; in CapsuleCreate() 764 PetscCall(PetscViewerHDF5ReadAttribute(viewer, "/", "attr_0_bool", PETSC_BOOL, NULL, &bools[0])); in testAttributesDefaultValue() 766 …PetscCall(PetscViewerHDF5ReadAttribute(viewer, "/", "attr_0_bool", PETSC_BOOL, &bools[1], &bools[2… in testAttributesDefaultValue() 767 …PetscCall(PetscViewerHDF5ReadAttribute(viewer, "/", "attr_nonExisting_bool", PETSC_BOOL, &bools[1]… in testAttributesDefaultValue()
|
| /petsc/src/vec/is/utils/hdf5/ |
| H A D | hdf5io.c | 24 …PetscCall(PetscViewerHDF5ReadAttribute(viewer, name, "timestepping", PETSC_BOOL, &hdf5->defTimeste… in PetscViewerHDF5CheckTimestepping_Internal() 46 …PetscCall(PetscViewerHDF5ReadAttribute(viewer, name, "complex", PETSC_BOOL, &h->complexVal, &h->co… in PetscViewerHDF5ReadInitialize_Private()
|
| /petsc/include/ |
| H A D | petscsystypes.h | 720 PETSC_BOOL = 9, enumerator
|
| /petsc/src/dm/impls/da/ |
| H A D | daview.c | 70 PetscCall(PetscViewerBinaryWrite(viewer, &coors, 1, PETSC_BOOL)); in DMView_DA_Binary()
|
| H A D | gr2.c | 560 …PetscCall(PetscViewerHDF5WriteObjectAttribute(viewer, (PetscObject)xin, "complex", PETSC_BOOL, &tr… in VecView_MPI_HDF5_DA() 563 …ewerHDF5WriteObjectAttribute(viewer, (PetscObject)xin, "timestepping", PETSC_BOOL, ×tepping)); in VecView_MPI_HDF5_DA()
|
| H A D | dacreate.c | 149 PetscCall(PetscViewerBinaryRead(viewer, &coors, 1, NULL, PETSC_BOOL)); in DMLoad_DA()
|
| /petsc/src/sys/fileio/ |
| H A D | sysio.c | 232 else if (pdtype == PETSC_BOOL) PetscCall(PetscByteSwapBool((PetscBool *)data, count)); in PetscByteSwap() 462 else if (wtype == PETSC_BOOL) m *= sizeof(PetscBool); in PetscBinaryWrite()
|
| /petsc/src/vec/is/is/impls/general/ |
| H A D | general.c | 433 …iewerHDF5WriteObjectAttribute(viewer, (PetscObject)is, "timestepping", PETSC_BOOL, ×tepping)); in ISView_General_HDF5() 451 …PetscCall(PetscViewerHDF5WriteObjectAttribute(viewer, (PetscObject)cis, "compressed", PETSC_BOOL, … in ISView_General_HDF5_Compressed()
|
| /petsc/src/sys/classes/viewer/impls/hdf5/ |
| H A D | hdf5v.c | 1119 else if (ptype == PETSC_BOOL) *htype = H5T_NATIVE_HBOOL; in PetscDataTypeToHDF5DataType() 1153 else if (htype == H5T_NATIVE_HBOOL) *ptype = PETSC_BOOL; in PetscHDF5DataTypeToPetscDataType()
|
| /petsc/doc/changes/ |
| H A D | 32.md | 18 - Changed PetscTruth to PetscBool, PETSC_TRUTH to PETSC_BOOL,
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pdvec.c | 628 …PetscCall(PetscViewerHDF5WriteObjectAttribute(viewer, (PetscObject)xin, "complex", PETSC_BOOL, &tr… in VecView_MPI_HDF5() 631 …ewerHDF5WriteObjectAttribute(viewer, (PetscObject)xin, "timestepping", PETSC_BOOL, ×tepping)); in VecView_MPI_HDF5()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex30.c | 1057 PetscCall(PetscViewerHDF5WriteAttribute(viewer, NULL, "refRegular", PETSC_BOOL, &isRegular)); in SaveToFile() 1058 PetscCall(PetscViewerHDF5WriteAttribute(viewer, NULL, "refUniform", PETSC_BOOL, &isUniform)); in SaveToFile() 1164 … PetscCall(PetscViewerHDF5ReadAttribute(viewer, NULL, "refRegular", PETSC_BOOL, NULL, &isRegular)); in LoadFromFile() 1165 … PetscCall(PetscViewerHDF5ReadAttribute(viewer, NULL, "refUniform", PETSC_BOOL, NULL, &isUniform)); in LoadFromFile()
|
| /petsc/include/petsc/private/ |
| H A D | petscimpl.h | 494 PETSC_ASSERT_POINTER_IMPL_SPECIALIZATION(PetscBool, PETSC_BOOL);
|