Lines Matching refs:hasConstraints
11 PetscBool hasConstraints, includesConstraints; in PetscSectionView_HDF5_SingleField() local
18 hasConstraints = (s->bc) ? PETSC_TRUE : PETSC_FALSE; in PetscSectionView_HDF5_SingleField()
19 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &hasConstraints, 1, MPI_C_BOOL, MPI_LOR, comm)); in PetscSectionView_HDF5_SingleField()
23 if (hasConstraints) { in PetscSectionView_HDF5_SingleField()
32 if (hasConstraints) { in PetscSectionView_HDF5_SingleField()
42 if (hasConstraints) { in PetscSectionView_HDF5_SingleField()
54 if (hasConstraints) { in PetscSectionView_HDF5_SingleField()
59 …etscViewerHDF5WriteAttribute(viewer, NULL, "hasConstraints", PETSC_BOOL, (void *)&hasConstraints)); in PetscSectionView_HDF5_SingleField()
70 if (hasConstraints) { in PetscSectionView_HDF5_SingleField()
181 PetscBool hasConstraints, includesConstraints; in PetscSectionLoad_HDF5_SingleField() local
225 …iewerHDF5ReadAttribute(viewer, NULL, "hasConstraints", PETSC_BOOL, NULL, (void *)&hasConstraints)); in PetscSectionLoad_HDF5_SingleField()
226 if (hasConstraints) { in PetscSectionLoad_HDF5_SingleField()