Home
last modified time | relevance | path

Searched refs:PETSC_BOOL (Results 1 – 19 of 19) sorted by relevance

/petsc/src/sys/tests/
H A Dex22.c31 PetscCall(PetscByteSwap(sbool, PETSC_BOOL, 2)); in main()
38 PetscCall(PetscByteSwap(sbool, PETSC_BOOL, 2)); in main()
H A Dex67.c41 PETSC_TEST_ASSERT_POINTER_GENERICS(PetscBool, PETSC_BOOL); in main()
/petsc/src/sys/objects/
H A Dptype.c41 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 Dcheckptr.c114 case PETSC_BOOL: { in PetscCheckPointer()
/petsc/src/vec/is/section/interface/hdf5/
H A Dsectionhdf5.c59 …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 Dbag.c318 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 Dex48.c147 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 Dhdf5io.c24 …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 Dpetscsystypes.h720 PETSC_BOOL = 9, enumerator
/petsc/src/dm/impls/da/
H A Ddaview.c70 PetscCall(PetscViewerBinaryWrite(viewer, &coors, 1, PETSC_BOOL)); in DMView_DA_Binary()
H A Dgr2.c560 …PetscCall(PetscViewerHDF5WriteObjectAttribute(viewer, (PetscObject)xin, "complex", PETSC_BOOL, &tr… in VecView_MPI_HDF5_DA()
563 …ewerHDF5WriteObjectAttribute(viewer, (PetscObject)xin, "timestepping", PETSC_BOOL, &timestepping)); in VecView_MPI_HDF5_DA()
H A Ddacreate.c149 PetscCall(PetscViewerBinaryRead(viewer, &coors, 1, NULL, PETSC_BOOL)); in DMLoad_DA()
/petsc/src/sys/fileio/
H A Dsysio.c232 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 Dgeneral.c433 …iewerHDF5WriteObjectAttribute(viewer, (PetscObject)is, "timestepping", PETSC_BOOL, &timestepping)); 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 Dhdf5v.c1119 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 D32.md18 - Changed PetscTruth to PetscBool, PETSC_TRUTH to PETSC_BOOL,
/petsc/src/vec/vec/impls/mpi/
H A Dpdvec.c628 …PetscCall(PetscViewerHDF5WriteObjectAttribute(viewer, (PetscObject)xin, "complex", PETSC_BOOL, &tr… in VecView_MPI_HDF5()
631 …ewerHDF5WriteObjectAttribute(viewer, (PetscObject)xin, "timestepping", PETSC_BOOL, &timestepping)); in VecView_MPI_HDF5()
/petsc/src/ts/tutorials/
H A Dex30.c1057 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 Dpetscimpl.h494 PETSC_ASSERT_POINTER_IMPL_SPECIALIZATION(PetscBool, PETSC_BOOL);