Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 110) sorted by relevance

12345

/petsc/share/petsc/matlab/
H A DPetscBagRead.m10 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 DPetscBinaryRead.m11 % 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 DPetscReadBinaryTrajectory.m8 % 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 Darch-ci-mswin-intel-cxx-cmplx.py8 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 Darch-ci-mswin-opt-impi.py7 oadir=os.popen('cygpath -u '+os.popen('cygpath -ms '+oadirf).read()).read().strip()
/petsc/lib/petsc/bin/maint/
H A Dbk2darcs.py71 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 Dbk2hg.py24 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 DpreTests.py23 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 Ddoctextcommon.txt16 - `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 Dex27.c257 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 Dread.m1 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 Dread.m1 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 Dpetscnagupgrade.py34 pv = fd.read()
45 pv = fd.read().decode('utf-8')
H A Dpetscnagfor41 output = sub.stdout.read().decode('UTF-8')
42 error = sub.stderr.read().decode('UTF-8')
153 f = fd.read()
/petsc/doc/
H A Dbuild_c2html.py28 fdw.write(fd.read().replace('man+manualpages/','man+HTML_ROOT/manualpages/'))
30 fdw.write(fd.read())
55 fdw.write(fd.read())
H A Dbuild_man_pages.py77 text = mklines.read()
102 map.write(re.sub(r'man\+../','man+manualpages/',cit.read()))
104 map.write(mpi.read())
H A Dbuild_man_examples_links.py10 text = fd.read()
29 text = fd.read()
H A Dfix_pydata_margins.py11 str = source.read()
/petsc/src/vec/vec/tests/output/
H A Dex55_1.out3 Attribute value read: 'Hello World!!'
H A Dex46_1_p6.out9 Headerless read of data verified
H A Dex46_1_p12.out9 Headerless read of data verified
H A Dex46_1_p1.out9 Headerless read of data verified
/petsc/src/sys/classes/viewer/interface/
H A Dview.c410 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 Dex15_2.out10 Headerless read of data verified for: dmda.pbvec
H A Dex15_1.out10 Headerless read of data verified for: dmda.pbvec

12345