| /petsc/share/petsc/matlab/ |
| H A D | PetscBagRead.m | 10 bagsize = read(fd,1,'int32'); % no longer used after petsc-3.2 just here for backward compatibili… 11 count = read(fd,1,'int32'); 13 bag.bag_name = deblank(char(read(fd,name_len,'uchar')')); 14 bag.help.bag_help = deblank(char(read(fd,help_len,'uchar')')); 17 offsetdtype = read(fd,2,'int32'); 19 name = strclean(deblank(char(read(fd,name_len,'uchar')'))); 20 help = deblank(char(read(fd,help_len,'uchar')')); 21 msize = read(fd,1,'int32'); 24 val = read(fd,msize,'int32'); 26 val = read(fd,msize,'double'); [all …]
|
| H A D | PetscBinaryRead.m | 11 % Examples: A = PetscBinaryRead('myfile'); read from file 12 % b = PetscBinaryRead(1024); read from socket 13 % c = PetscBinaryRead(); read from default socket PETSc uses 16 % or any MATLAB class that provides the read() and close() methods 24 …a MATLAB cell array containing the first cnt objects in the file, use 10,000 to read in all objects 27 % Examples: A = PetscBinaryRead('myfile','cell',10000); read all objects in file 28 % A = PetscBinaryRead(1024,'cell',2); read two objects from socket 36 else % assume it is a PetscOpenFile or PetscOpenSocket object and handles read() 81 header = double(read(fd,1,indices)); 93 header = double(read(fd,3,indices)); [all …]
|
| H A D | PetscReadBinaryTrajectory.m | 8 % Examples: A = PetscBinaryReadTrajectory('myfolder'); read from myfolder. 9 % A = PetscBinaryReadTrajectory(); read from folder 'TS-data' or 'Visualization-data' if… 32 n = read(fd,1,indices); 33 sizes = read(fd,n,indices); 36 names{i} = deblank(char(read(fd,sizes(i),'uchar')))'; 49 header = double(read(fd,1,indices)); 58 m = double(read(fd,1,indices)); 62 v = read(fd,m,precision); 66 t(stepnum) = read(fd,1,precision);
|
| /petsc/config/examples/ |
| H A D | arch-ci-mswin-intel-cxx-cmplx.py | 8 mpiexec=os.popen('cygpath -u '+os.popen('cygpath -ms '+mpiexecf).read()).read().strip() 9 mpidir=os.popen('cygpath -u '+os.popen('cygpath -ms '+mpidirf).read()).read().strip()
|
| H A D | arch-ci-mswin-opt-impi.py | 7 oadir=os.popen('cygpath -u '+os.popen('cygpath -ms '+oadirf).read()).read().strip()
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | bk2darcs.py | 71 bk_cset_max=fd.read().strip() 77 buf=fd.read() 96 buf=fd.read() 111 revn = fd.read().splitlines()[0] 123 auth_email=fd.read().splitlines()[0].strip() 129 buf=fd.read()
|
| H A D | bk2hg.py | 24 buf = fd.read() 97 bk_cset_max=fd.read().strip() 103 buf=fd.read() 133 buf=fd.read() 152 revn = fd.read().splitlines()[0] 159 auth_email=fd.read().splitlines()[0].strip() 164 gtime = fd.read().splitlines()[0].strip() 169 buf=fd.read() 185 buf =fd.read()
|
| /petsc/config/BuildSystem/config/ |
| H A D | preTests.py | 23 buf = os.popen('/usr/bin/cygcheck.exe -c cygwin').read() 35 buf = os.popen('/usr/bin/cygcheck.exe -c python').read() 49 buf = file.read()
|
| /petsc/doc/manualpages/doctext/ |
| H A D | doctextcommon.txt | 16 - `write-read` 17 - `read-write` 21 _Given an operation `A-B` (e.g. `A` = `write`, `B` = `read`) on an object or memory 27 Note the omission of `read-read`; there is no implied ordering between separate
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex27.c | 257 const PetscScalar *read; in main() local 259 PetscCall(VecGetArrayRead(b, &read)); in main() 261 for (PetscInt i = 0; i < m; ++i) write[i] = read[i]; in main() 263 PetscCall(VecRestoreArrayRead(b, &read)); in main() 264 PetscCall(VecGetArrayRead(x, &read)); in main() 266 for (PetscInt i = 0; i < n; ++i) write[m + i] = read[i]; in main() 268 PetscCall(VecRestoreArrayRead(x, &read)); in main() 349 const PetscScalar *read; in main() local 352 PetscCall(VecGetArrayRead(v[1], &read)); in main() 354 for (PetscInt i = 0; i < n; ++i) write[i] = read[m + i]; in main() [all …]
|
| /petsc/share/petsc/matlab/@PetscOpenFile/ |
| H A D | read.m | 1 function d = read(freader,count,datatype) function 3 % O = read(freader,count,datatype) - reads data from a binary file opened with freader('filename')
|
| /petsc/share/petsc/matlab/@PetscOpenSocket/ |
| H A D | read.m | 1 function d = read(sreader,count,datatype) function 3 % O = read(sreader,count,datatype) - reads data from a socket opened with sopen(socketnumber)
|
| /petsc/lib/petsc/bin/ |
| H A D | petscnagupgrade.py | 34 pv = fd.read() 45 pv = fd.read().decode('utf-8')
|
| H A D | petscnagfor | 41 output = sub.stdout.read().decode('UTF-8') 42 error = sub.stderr.read().decode('UTF-8') 153 f = fd.read()
|
| /petsc/doc/ |
| H A D | build_c2html.py | 28 fdw.write(fd.read().replace('man+manualpages/','man+HTML_ROOT/manualpages/')) 30 fdw.write(fd.read()) 55 fdw.write(fd.read())
|
| H A D | build_man_pages.py | 77 text = mklines.read() 102 map.write(re.sub(r'man\+../','man+manualpages/',cit.read())) 104 map.write(mpi.read())
|
| H A D | build_man_examples_links.py | 10 text = fd.read() 29 text = fd.read()
|
| H A D | fix_pydata_margins.py | 11 str = source.read()
|
| /petsc/src/vec/vec/tests/output/ |
| H A D | ex55_1.out | 3 Attribute value read: 'Hello World!!'
|
| H A D | ex46_1_p6.out | 9 Headerless read of data verified
|
| H A D | ex46_1_p12.out | 9 Headerless read of data verified
|
| H A D | ex46_1_p1.out | 9 Headerless read of data verified
|
| /petsc/src/sys/classes/viewer/interface/ |
| H A D | view.c | 410 PetscUseTypeMethod(viewer, read, &s[i], 1, &cnt, PETSC_CHAR); in PetscViewerRead() 416 PetscUseTypeMethod(viewer, read, &s[i++], 1, &cnt, PETSC_CHAR); in PetscViewerRead() 425 PetscUseTypeMethod(viewer, read, &s[i++], 1, &cnt, PETSC_CHAR); in PetscViewerRead() 434 } else PetscUseTypeMethod(viewer, read, data, num, count, dtype); in PetscViewerRead()
|
| /petsc/src/dm/tutorials/output/ |
| H A D | ex15_2.out | 10 Headerless read of data verified for: dmda.pbvec
|
| H A D | ex15_1.out | 10 Headerless read of data verified for: dmda.pbvec
|