Home
last modified time | relevance | path

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

/petsc/src/vec/vec/tests/
H A Dex46.c9 PetscErrorCode MyVecDump(const char fname[], PetscBool skippheader, PetscBool usempiio, Vec x) in MyVecDump() argument
22 if (usempiio) PetscCall(PetscViewerBinarySetUseMPIIO(viewer, PETSC_TRUE)); in MyVecDump()
36 PetscErrorCode MyVecLoad(const char fname[], PetscBool skippheader, PetscBool usempiio, Vec x) in MyVecLoad() argument
49 if (usempiio) PetscCall(PetscViewerBinarySetUseMPIIO(viewer, PETSC_TRUE)); in MyVecLoad()
148 PetscBool usempiio = PETSC_FALSE; in TestBinary() local
155 PetscCall(MyVecDump("xH.pbvec", skipheader, usempiio, x)); in TestBinary()
161 PetscCall(MyVecLoad("xH.pbvec", skipheader, usempiio, y)); in TestBinary()
176 PetscBool usempiio = PETSC_TRUE; in TestBinaryMPIIO() local
183 PetscCall(MyVecDump("xHmpi.pbvec", skipheader, usempiio, x)); in TestBinaryMPIIO()
189 PetscCall(MyVecLoad("xHmpi.pbvec", skipheader, usempiio, y)); in TestBinaryMPIIO()
[all …]
/petsc/src/dm/tutorials/
H A Dex15.c15 PetscErrorCode MyVecDump(const char fname[], PetscBool skippheader, PetscBool usempiio, Vec x) in MyVecDump() argument
28 if (usempiio) PetscCall(PetscViewerBinarySetUseMPIIO(viewer, PETSC_TRUE)); in MyVecDump()
42 PetscErrorCode MyVecLoad(const char fname[], PetscBool skippheader, PetscBool usempiio, Vec x) in MyVecLoad() argument
55 if (usempiio) PetscCall(PetscViewerBinarySetUseMPIIO(viewer, PETSC_TRUE)); in MyVecLoad()
175 PetscErrorCode TestDMDAVec(PetscBool usempiio) in TestDMDAVec() argument
182 if (!usempiio) PetscCall(PetscPrintf(PETSC_COMM_WORLD, "%s\n", PETSC_FUNCTION_NAME)); in TestDMDAVec()
191 if (!usempiio) { in TestDMDAVec()
199 if (!usempiio) { in TestDMDAVec()
200 PetscCall(MyVecLoad("dmda.pbvec", skipheader, usempiio, x_test)); in TestDMDAVec()
202 PetscCall(MyVecLoad("dmda-mpiio.pbvec", skipheader, usempiio, x_test)); in TestDMDAVec()
[all …]
/petsc/src/sys/classes/viewer/impls/binary/
H A Dbinv.c11 PetscBool usempiio; member
90 if (vbinary->usempiio && *outviewer) { in PetscViewerGetSubViewer_Binary()
136 if (vbinary->usempiio && *outviewer) { in PetscViewerRestoreSubViewer_Binary()
153 if (vbinary->usempiio) { in PetscViewerRestoreSubViewer_Binary()
287 …PetscCheck(!viewer->setupcalled || vbinary->usempiio == use, PetscObjectComm((PetscObject)viewer),… in PetscViewerBinarySetUseMPIIO_Binary()
288 vbinary->usempiio = use; in PetscViewerBinarySetUseMPIIO_Binary()
327 *use = vbinary->usempiio; in PetscViewerBinaryGetUseMPIIO_Binary()
948 if (vbinary->usempiio) { in PetscViewerBinaryRead()
986 if (vbinary->usempiio) { in PetscViewerBinaryWrite()
1451 PetscBool usempiio; in PetscViewerSetUp_Binary() local
[all …]
/petsc/src/ts/trajectory/impls/memory/
H A Dtrajmemory.c424 PetscBool usempiio; in StackLoadLast() local
445 PetscCall(PetscViewerBinaryGetUseMPIIO(viewer, &usempiio)); in StackLoadLast()
446 if (usempiio) { in StackLoadLast()