| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscvwr.pxi | 58 ctypedef enum PetscFileMode: 84 PetscErrorCode PetscViewerBinaryOpen(MPI_Comm, char[], PetscFileMode, PetscViewer*) 112 PetscErrorCode PetscViewerFileGetMode(PetscViewer, PetscFileMode*) 113 PetscErrorCode PetscViewerFileSetMode(PetscViewer, PetscFileMode) 150 cdef inline PetscFileMode filemode(object mode) except <PetscFileMode>(-1):
|
| H A D | Viewer.pyx | 228 cdef PetscFileMode cmode = PETSC_FILE_MODE_WRITE 265 cdef PetscFileMode cmode = filemode(mode) 298 cdef PetscFileMode cmode = filemode(mode) 335 cdef PetscFileMode cmode = filemode(mode) 371 cdef PetscFileMode cmode = filemode(mode) 843 cdef PetscFileMode mode = PETSC_FILE_MODE_READ 1071 cdef PetscFileMode cmode = filemode(mode)
|
| /petsc/src/sys/classes/viewer/impls/matlab/ |
| H A D | vmatlab.c | 7 PetscFileMode btype; 98 static PetscErrorCode PetscViewerFileSetMode_Matlab(PetscViewer viewer, PetscFileMode type) in PetscViewerFileSetMode_Matlab() 113 PetscFileMode type = vmatlab->btype; in PetscViewerFileSetName_Matlab() 116 …PetscCheck(type != (PetscFileMode)-1, PETSC_COMM_SELF, PETSC_ERR_ORDER, "Must call PetscViewerFile… in PetscViewerFileSetName_Matlab() 231 PetscErrorCode PetscViewerMatlabOpen(MPI_Comm comm, const char name[], PetscFileMode type, PetscVie… in PetscViewerMatlabOpen()
|
| /petsc/include/ |
| H A D | petscviewer.h | 53 PETSC_EXTERN PetscErrorCode PetscViewerBinaryOpen(MPI_Comm, const char[], PetscFileMode, PetscViewe… 54 PETSC_EXTERN PetscErrorCode PetscViewerADIOSOpen(MPI_Comm, const char[], PetscFileMode, PetscViewer… 71 PETSC_EXTERN PetscErrorCode PetscViewerMatlabOpen(MPI_Comm, const char[], PetscFileMode, PetscViewe… 237 PETSC_EXTERN PetscErrorCode PetscViewerFileGetMode(PetscViewer, PetscFileMode *); 238 PETSC_EXTERN PetscErrorCode PetscViewerFileSetMode(PetscViewer, PetscFileMode); 307 …ode()", ) static inline PetscErrorCode PetscViewerVUSetMode(PetscViewer viewer, PetscFileMode mode) in PetscViewerVUSetMode() 331 PETSC_EXTERN PetscErrorCode PetscViewerVTKOpen(MPI_Comm, const char[], PetscFileMode, PetscViewer *…
|
| H A D | petscviewerhdf5.h | 63 PETSC_EXTERN PetscErrorCode PetscViewerHDF5Open(MPI_Comm, const char[], PetscFileMode, PetscViewer …
|
| H A D | petscsystypes.h | 835 } PetscFileMode; typedef
|
| /petsc/include/petsc/private/ |
| H A D | vieweradiosimpl.h | 5 PetscFileMode btype;
|
| H A D | viewerexodusiiimpl.h | 7 PetscFileMode btype;
|
| H A D | viewerhdf5impl.h | 47 PetscFileMode btype;
|
| H A D | viewercgnsimpl.h | 12 PetscFileMode btype;
|
| /petsc/src/sys/classes/viewer/interface/ |
| H A D | view.c | 460 PetscFileMode mode; in PetscViewerReadable() 461 PetscErrorCode (*f)(PetscViewer, PetscFileMode *) = NULL; in PetscViewerReadable() 502 PetscFileMode mode; in PetscViewerWritable() 503 PetscErrorCode (*f)(PetscViewer, PetscFileMode *) = NULL; in PetscViewerWritable()
|
| /petsc/src/sys/classes/viewer/impls/adios/ |
| H A D | adios.c | 47 static PetscErrorCode PetscViewerFileSetMode_ADIOS(PetscViewer viewer, PetscFileMode type) in PetscViewerFileSetMode_ADIOS() 147 PetscErrorCode PetscViewerADIOSOpen(MPI_Comm comm, const char name[], PetscFileMode type, PetscView… in PetscViewerADIOSOpen()
|
| /petsc/src/sys/classes/viewer/impls/ascii/ |
| H A D | asciiimpl.h | 8 PetscFileMode mode; /* The mode in which to open the file */
|
| H A D | filev.c | 127 static PetscErrorCode PetscViewerFileGetMode_ASCII(PetscViewer viewer, PetscFileMode *mode) in PetscViewerFileGetMode_ASCII() 136 static PetscErrorCode PetscViewerFileSetMode_ASCII(PetscViewer viewer, PetscFileMode mode) in PetscViewerFileSetMode_ASCII()
|
| /petsc/src/sys/classes/viewer/impls/vu/ |
| H A D | petscvu.c | 13 PetscFileMode mode; /* The mode in which to open the file */ 57 static PetscErrorCode PetscViewerFileSetMode_VU(PetscViewer viewer, PetscFileMode mode) in PetscViewerFileSetMode_VU() 66 static PetscErrorCode PetscViewerFileGetMode_VU(PetscViewer viewer, PetscFileMode *type) in PetscViewerFileGetMode_VU()
|
| /petsc/src/sys/classes/viewer/impls/vtk/ |
| H A D | vtkvimpl.h | 15 PetscFileMode btype;
|
| H A D | vtkv.c | 149 static PetscErrorCode PetscViewerFileSetMode_VTK(PetscViewer viewer, PetscFileMode type) in PetscViewerFileSetMode_VTK() 158 static PetscErrorCode PetscViewerFileGetMode_VTK(PetscViewer viewer, PetscFileMode *type) in PetscViewerFileGetMode_VTK() 259 PetscErrorCode PetscViewerVTKOpen(MPI_Comm comm, const char name[], PetscFileMode type, PetscViewer… in PetscViewerVTKOpen()
|
| /petsc/src/sys/classes/viewer/impls/binary/ |
| H A D | binv.c | 17 PetscFileMode filemode; /* read/write/append mode */ 875 PetscErrorCode PetscViewerBinaryOpen(MPI_Comm comm, const char name[], PetscFileMode mode, PetscVie… in PetscViewerBinaryOpen() 1247 PetscErrorCode PetscViewerFileSetMode(PetscViewer viewer, PetscFileMode mode) in PetscViewerFileSetMode() 1254 PetscTryMethod(viewer, "PetscViewerFileSetMode_C", (PetscViewer, PetscFileMode), (viewer, mode)); in PetscViewerFileSetMode() 1258 static PetscErrorCode PetscViewerFileSetMode_Binary(PetscViewer viewer, PetscFileMode mode) in PetscViewerFileSetMode_Binary() 1288 PetscErrorCode PetscViewerFileGetMode(PetscViewer viewer, PetscFileMode *mode) in PetscViewerFileGetMode() 1293 …PetscUseMethod(viewer, "PetscViewerFileGetMode_C", (PetscViewer, PetscFileMode *), (viewer, mode)); in PetscViewerFileGetMode() 1297 static PetscErrorCode PetscViewerFileGetMode_Binary(PetscViewer viewer, PetscFileMode *mode) in PetscViewerFileGetMode_Binary() 1405 PetscFileMode mode = vbinary->filemode; in PetscViewerFileSetUp_BinarySTDIO() 1456 …PetscCheck(vbinary->filemode != (PetscFileMode)-1, PETSC_COMM_SELF, PETSC_ERR_ORDER, "Must call Pe… in PetscViewerSetUp_Binary() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexexodusii.c | 96 PetscErrorCode PetscViewerExodusIIOpen(MPI_Comm comm, const char name[], PetscFileMode type, PetscV… in PetscViewerExodusIIOpen()
|
| /petsc/src/sys/classes/viewer/tests/ |
| H A D | ex6.c | 6 static PetscErrorCode TestOpen(PetscFileMode mode, PetscViewer *viewer) in TestOpen() 119 PetscFileMode mode; in TestClose()
|
| /petsc/src/mat/tests/ |
| H A D | ex84.c | 45 PetscFileMode mode; in GetReader()
|
| /petsc/src/sys/classes/viewer/impls/cgns/ |
| H A D | cgnsv.c | 163 static PetscErrorCode PetscViewerFileSetMode_CGNS(PetscViewer viewer, PetscFileMode type) in PetscViewerFileSetMode_CGNS() 172 static PetscErrorCode PetscViewerFileGetMode_CGNS(PetscViewer viewer, PetscFileMode *type) in PetscViewerFileGetMode_CGNS() 308 PetscErrorCode PetscViewerCGNSOpen(MPI_Comm comm, const char name[], PetscFileMode type, PetscViewe… in PetscViewerCGNSOpen()
|
| /petsc/src/sys/tests/ |
| H A D | ex15.cxx | 71 PetscFileMode fm; in main()
|
| /petsc/doc/changes/ |
| H A D | 231.md | 101 - PetscViewerFileType changed to PetscFileMode
|
| /petsc/src/sys/classes/viewer/impls/hdf5/ |
| H A D | hdf5v.c | 152 static PetscErrorCode PetscViewerFileSetMode_HDF5(PetscViewer viewer, PetscFileMode type) in PetscViewerFileSetMode_HDF5() 161 static PetscErrorCode PetscViewerFileGetMode_HDF5(PetscViewer viewer, PetscFileMode *type) in PetscViewerFileGetMode_HDF5() 694 PetscErrorCode PetscViewerHDF5Open(MPI_Comm comm, const char name[], PetscFileMode type, PetscViewe… in PetscViewerHDF5Open()
|