Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/interface/
H A Dsftype.c110 MPI_Datatype atype, btype; in MPIPetsc_Type_compare() local
122 PetscCall(MPIPetsc_Type_unwrap(b, &btype, &freebtype)); in MPIPetsc_Type_compare()
124 if (atype == btype) { in MPIPetsc_Type_compare()
129 …PetscCall(MPIPetsc_Type_get_envelope(btype, &bintcount, &baddrcount, &bcountcount, &btypecount, &b… in MPIPetsc_Type_compare()
141 …PetscCall(MPIPetsc_Type_get_contents(btype, bintcount, baddrcount, bcountcount, btypecount, bints,… in MPIPetsc_Type_compare()
171 if (freebtype) PetscCall(MPIPetsc_Type_free(&btype)); in MPIPetsc_Type_compare()
180 MPI_Datatype atype, btype; in MPIPetsc_Type_compare_contig() local
192 PetscCall(MPIPetsc_Type_unwrap(b, &btype, &freebtype)); in MPIPetsc_Type_compare_contig()
203 if (atypes[0] == btype) { in MPIPetsc_Type_compare_contig()
208 PetscCall(MPIPetsc_Type_compare(atypes[0], btype, &same)); in MPIPetsc_Type_compare_contig()
[all …]
/petsc/src/sys/classes/viewer/impls/adios/
H A Dadios.c20 switch (adios->btype) { in PetscViewerFileClose_ADIOS()
52 adios->btype = type; in PetscViewerFileSetMode_ADIOS()
64 switch (adios->btype) { in PetscViewerFileSetName_ADIOS()
74 …omm((PetscObject)viewer), PETSC_ERR_SUP, "Unsupported file mode %s", PetscFileModes[adios->btype]); in PetscViewerFileSetName_ADIOS()
110 adios->btype = FILE_MODE_UNDEFINED; in PetscViewerCreate_ADIOS()
/petsc/src/sys/classes/viewer/impls/matlab/
H A Dvmatlab.c7 PetscFileMode btype; member
103 vmatlab->btype = type; in PetscViewerFileSetMode_Matlab()
113 PetscFileMode type = vmatlab->btype; in PetscViewerFileSetName_Matlab()
188 e->btype = FILE_MODE_UNDEFINED; in PetscViewerCreate_Matlab()
/petsc/include/petsc/private/
H A Dvieweradiosimpl.h5 PetscFileMode btype; member
H A Dviewerexodusiiimpl.h7 PetscFileMode btype; member
H A Dviewerhdf5impl.h47 PetscFileMode btype; member
H A Dviewercgnsimpl.h12 PetscFileMode btype; member
/petsc/src/sys/classes/viewer/impls/vtk/
H A Dvtkvimpl.h15 PetscFileMode btype; member
H A Dvtkv.c154 vtk->btype = type; in PetscViewerFileSetMode_VTK()
163 *type = vtk->btype; in PetscViewerFileGetMode_VTK()
223 vtk->btype = FILE_MODE_UNDEFINED; in PetscViewerCreate_VTK()
/petsc/src/snes/impls/ncg/
H A Dsnesncg.c149 PetscErrorCode SNESNCGSetType(SNES snes, SNESNCGType btype) in SNESNCGSetType() argument
153 PetscTryMethod(snes, "SNESNCGSetType_C", (SNES, SNESNCGType), (snes, btype)); in SNESNCGSetType()
157 static PetscErrorCode SNESNCGSetType_NCG(SNES snes, SNESNCGType btype) in SNESNCGSetType_NCG() argument
162 ncg->type = btype; in SNESNCGSetType_NCG()
/petsc/src/sys/classes/viewer/impls/cgns/
H A Dcgnsv.c114 switch (cgv->btype) { in PetscViewerCGNSFileOpen_Internal()
124 …tComm((PetscObject)viewer), PETSC_ERR_SUP, "Unsupported file mode %s", PetscFileModes[cgv->btype]); in PetscViewerCGNSFileOpen_Internal()
168 cgv->btype = type; in PetscViewerFileSetMode_CGNS()
177 *type = cgv->btype; in PetscViewerFileGetMode_CGNS()
241 cgv->btype = FILE_MODE_UNDEFINED; in PetscViewerCreate_CGNS()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdmstag.pxi232 cdef inline object toStagBoundary(PetscDMBoundaryType btype): argument
233 if btype == DM_BOUNDARY_NONE: return "none"
234 elif btype == DM_BOUNDARY_PERIODIC: return "periodic"
235 elif btype == DM_BOUNDARY_GHOSTED: return "ghosted"
H A DDMPlex.pyx136 cdef PetscDMBoundaryType btype[3]
137 asBoundary(periodic, &btype[0], &btype[1], &btype[2])
145 … clower, cupper, btype, cinterp, clocalizationHeight, csparseLocalize, &newdm))
/petsc/src/binding/petsc4py/test/
H A Dtest_dmda.py119 btype = self.da.boundary_type
121 for b, p in zip(btype, psize):
139 btype = self.da.boundary_type
141 for b, p in zip(btype, psize):
/petsc/src/dm/impls/plex/exodusii/
H A Dplexexodusii2.c44 if (exo->btype) PetscCall(PetscViewerASCIIPrintf(viewer, "IO Mode: %d\n", exo->btype)); in PetscViewerView_ExodusII()
111 switch (exo->btype) { in PetscViewerFileSetName_ExodusII()
152 exo->btype = type; in PetscViewerFileSetMode_ExodusII()
161 *type = exo->btype; in PetscViewerFileGetMode_ExodusII()
218 …PetscCheck((exo->btype != FILE_MODE_READ) && (exo->btype != FILE_MODE_UNDEFINED), comm, PETSC_ERR_… in PetscViewerExodusIISetZonalVariable()
254 …PetscCheck((exo->btype != FILE_MODE_READ) && (exo->btype != FILE_MODE_UNDEFINED), comm, PETSC_ERR_… in PetscViewerExodusIISetNodalVariable()
630 exo->btype = FILE_MODE_UNDEFINED; in PetscViewerCreate_ExodusII()
819 switch (exo->btype) { in DMView_PlexExodusII()
/petsc/src/sys/classes/viewer/impls/hdf5/
H A Dhdf5v.c157 hdf5->btype = type; in PetscViewerFileSetMode_HDF5()
166 *type = hdf5->btype; in PetscViewerFileGetMode_HDF5()
415 switch (hdf5->btype) { in PetscViewerFileSetName_HDF5()
444 …Comm((PetscObject)viewer), PETSC_ERR_SUP, "Unsupported file mode %s", PetscFileModes[hdf5->btype]); in PetscViewerFileSetName_HDF5()
636 hdf5->btype = FILE_MODE_UNDEFINED; in PetscViewerCreate_HDF5()
/petsc/src/ts/impls/implicit/sundials/
H A Dsundials.c415 char btype[] = "BDF: backward differentiation formula"; in TSView_Sundials() local
424 else type = btype; in TSView_Sundials()
/petsc/src/dm/interface/
H A Ddm.c1656 PetscErrorCode DMSetBlockingType(DM dm, DMBlockingType btype) in DMSetBlockingType() argument
1660 dm->blocking_type = btype; in DMSetBlockingType()
1679 PetscErrorCode DMGetBlockingType(DM dm, DMBlockingType *btype) in DMGetBlockingType() argument
1683 PetscAssertPointer(btype, 2); in DMGetBlockingType()
1684 *btype = dm->blocking_type; in DMGetBlockingType()
/petsc/doc/manual/
H A Dsnes.md650 SNESNCGSetType(SNES snes, SNESNCGType btype);