Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/svd/
H A Dsvd.c134 static PetscErrorCode PCSVDGetVec(PC pc, PCSide side, AccessMode amode, Vec x, Vec *xred) in PCSVDGetVec() argument
147 if (amode & READ) { in PCSVDGetVec()
158 if (amode & READ) { in PCSVDGetVec()
171 static PetscErrorCode PCSVDRestoreVec(PC pc, PCSide side, AccessMode amode, Vec x, Vec *xred) in PCSVDRestoreVec() argument
180 if (size != 1 && amode & WRITE) { in PCSVDRestoreVec()
186 if (size != 1 && amode & WRITE) { in PCSVDRestoreVec()
/petsc/src/sys/classes/viewer/impls/binary/
H A Dbinv.c94 int amode; in PetscViewerGetSubViewer_Binary() local
97 amode = MPI_MODE_RDONLY; in PetscViewerGetSubViewer_Binary()
100 amode = MPI_MODE_WRONLY; in PetscViewerGetSubViewer_Binary()
103 amode = MPI_MODE_WRONLY; in PetscViewerGetSubViewer_Binary()
108 …PetscCallMPI(MPI_File_open(PETSC_COMM_SELF, vbinary->filename, amode, MPI_INFO_NULL, &vbinary->mfs… in PetscViewerGetSubViewer_Binary()
1335 int amode; in PetscViewerFileSetUp_BinaryMPIIO() local
1343 amode = MPI_MODE_RDONLY; in PetscViewerFileSetUp_BinaryMPIIO()
1346 amode = MPI_MODE_WRONLY | MPI_MODE_CREATE; in PetscViewerFileSetUp_BinaryMPIIO()
1349 amode = MPI_MODE_WRONLY | MPI_MODE_CREATE | MPI_MODE_APPEND; in PetscViewerFileSetUp_BinaryMPIIO()
1356 …PetscCallMPI(MPI_File_open(PetscObjectComm((PetscObject)viewer), vbinary->filename, amode, MPI_INF… in PetscViewerFileSetUp_BinaryMPIIO()
/petsc/include/petsc/mpiuni/
H A Dmpi.h583 …define MPI_File_open(comm, filename, amode, info, mpi_fh) (MPIUNI_ARG(comm), MPIUNI_ARG(filename),… argument
/petsc/src/snes/tutorials/
H A Dex48.c1043 …rrorCode THIJacobianLocal_3D(DMDALocalInfo *info, Node ***x, Mat B, THI thi, THIAssemblyMode amode) argument
1105 …if (amode == THIASSEMBLY_TRIDIAGONAL && (l - ll) % 4) continue; /* these entries would not be inse…
1182 if (amode == THIASSEMBLY_TRIDIAGONAL) {