Home
last modified time | relevance | path

Searched refs:hasConstraints (Results 1 – 4 of 4) sorted by relevance

/petsc/src/vec/is/section/interface/hdf5/ !
H A Dsectionhdf5.c11 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
[all …]
/petsc/src/vec/is/section/interface/ !
H A Dsection.c2948 PetscErrorCode PetscSectionHasConstraints(PetscSection s, PetscBool *hasConstraints) in PetscSectionHasConstraints() argument
2952 PetscAssertPointer(hasConstraints, 2); in PetscSectionHasConstraints()
2953 *hasConstraints = s->bc ? PETSC_TRUE : PETSC_FALSE; in PetscSectionHasConstraints()
/petsc/src/dm/interface/ !
H A Ddm.c6530 PetscBool hasConstraints, newDM, gnewDM; in DMGetOutputDM() local
6537 PetscCall(PetscSectionHasConstraints(section, &hasConstraints)); in DMGetOutputDM()
6540 newDM = hasConstraints || perm || (num_face_sfs > 0) ? PETSC_TRUE : PETSC_FALSE; in DMGetOutputDM()
/petsc/src/dm/impls/plex/ !
H A Dplex.c10214 PetscBool hasConstraints, ghasConstraints; in DMGetFullDM() local
10220 PetscCall(PetscSectionHasConstraints(section, &hasConstraints)); in DMGetFullDM()
10221 …PetscCallMPI(MPIU_Allreduce(&hasConstraints, &ghasConstraints, 1, MPI_C_BOOL, MPI_LOR, PetscObject… in DMGetFullDM()