Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 17 of 17) sorted by relevance

/phasta/phSolver/common/
H A Dphio_posix.cc19 void close(phio_fp f, const char* mode) { in close() argument
20 closefile(f->file, mode); in close()
33 assert(f->mode == 'r' || f->mode == 'w'); in posix_openfile_single()
35 if(f->mode == 'r') in posix_openfile_single()
37 else if(f->mode == 'w') in posix_openfile_single()
46 assert(f->mode == 'r' || f->mode == 'w'); in posix_closefile()
47 if(f->mode == 'r') in posix_closefile()
49 else if(f->mode == 'w') in posix_closefile()
H A Dposixio.cc17 void posixio_setup(phio_fp* f, char mode) { in posixio_setup() argument
20 if(mode != 'r' && mode != 'w') { in posixio_setup()
26 (*f)->mode = mode; in posixio_setup()
H A Dphio_sync.cc33 void close(sync_fp f, const char* mode) { in close() argument
35 closefile(file, mode); in close()
50 const char* mode = "read"; in sync_openfile_read() local
52 initphmpiio(&nfields, &nppf, &(sf->nfiles), file, mode); in sync_openfile_read()
53 openfile(syncName.c_str(), mode, file); in sync_openfile_read()
61 const char* mode = "write"; in sync_openfile_write() local
64 &(sf->nfiles), file, mode); in sync_openfile_write()
65 openfile(syncName.c_str(), mode, file); in sync_openfile_write()
70 const char m = sf->mode; in sync_closefile()
H A Dsyncio.cc27 void init(sync_fp f, char mode) { in init() argument
28 if(mode == 'w') in init()
30 else if(mode == 'r') in init()
38 f->mode = mode; in init()
H A Dstreamio.cc22 void streamio_setup_r(phio_fp* f, RStream* rs, char mode) { in streamio_setup_r() argument
27 sf->mode = mode; in streamio_setup_r()
36 sf->mode = 'r'; in streamio_setup_read()
45 sf->mode = 'w'; in streamio_setup_write()
H A Dposixio.f3 subroutine posixio_setup(handle, mode)
7 character(c_char), value :: mode
H A DblowerControl.f9011 & mode !constant = 0, trapezoid = 1, sinusoid = 2 component
68 blower(i)%mode = blowerMode(i)
117 if(blower(iBlower)%mode == 1) then !Trapezoid
145 elseif(blower(iBlower)%mode == 2) then !sinusoid
156 elseif(blower(iBlower)%mode == 0) then !Constant
419 & blower(iBlower)%mode == 0) then !so assume const.
H A Dphio_stream.cc32 if(sf->mode == 'w' && sf->rs != NULL) in stream_openfile()
34 else if(sf->mode == 'r' && sf->rs != NULL) in stream_openfile()
36 else if(sf->mode == 'r' && sf->grs != NULL) in stream_openfile()
H A Dposixio.h7 void posixio_setup(phio_fp* f, char mode);
H A Dstreamio.h8 void streamio_setup_r(phio_fp* f, rstream rs, char mode);
H A Dphio_base.h6 char mode; member
/phasta/shapeFunction/src/
H A DuniformP.c12 double L[4],Le[2],Lf[3],mode,blend,bdrv[3],mdrv[3],epdrv[3][2],mfdrv[2]; in TetShapeAndDrv() local
44 mode = E_modeShape(ip,Le); in TetShapeAndDrv()
46 N[nshp] = blend*mode; in TetShapeAndDrv()
47 dN[nshp][0] = bdrv[0]*mode + in TetShapeAndDrv()
49 dN[nshp][1] = bdrv[1]*mode + in TetShapeAndDrv()
51 dN[nshp][2] = bdrv[2]*mode + in TetShapeAndDrv()
69 mode = F_modeShapeTri(ip,is,Lf); in TetShapeAndDrv()
70 N[nshp] = blend*mode; in TetShapeAndDrv()
75 dN[nshp][0] = bdrv[0]*mode + blend*mdrv[0] ; in TetShapeAndDrv()
76 dN[nshp][1] = bdrv[1]*mode + blend*mdrv[1] ; in TetShapeAndDrv()
[all …]
/phasta/phastaIO/
H A DphastaIO.h48 const char mode[] );
54 const char mode[],
67 const char mode[],
72 const char mode[] );
H A DvtkPhastaReader.h123 const char mode[],
126 const char mode[] );
H A DphastaIO.cc569 int initphmpiio( int *nfields, int *nppf, int *nfiles, int *filehandle, const char mode[]) in initphmpiio() argument
580 char* imode = StringStripper( mode ); in initphmpiio()
759 int initphmpiiosub( int *nfields, int *nppf, int *nfiles, int *filehandle, const char mode[],MPI_Co… in initphmpiiosub() argument
771 char* imode = StringStripper( mode ); in initphmpiiosub()
916 void openfile(const char filename[], const char mode[], int* fileDescriptor ) in openfile() argument
928 char* imode = StringStripper( mode ); in openfile()
956 char* imode = StringStripper( mode ); in openfile()
1120 void closefile( int* fileDescriptor, const char mode[] ) in closefile() argument
1129 char* imode = StringStripper( mode ); in closefile()
1140 char* imode = StringStripper( mode ); in closefile()
H A DvtkPhastaReader.cxx540 const char mode[], in openfile() argument
549 char* imode = StringStripper( mode ); in openfile()
646 const char mode[] ) in closefile() argument
649 char* imode = StringStripper( mode ); in closefile()
/phasta/phSolver/AMG/
H A Damgread.txt125 possibilities (mode) to do a stand-alone Preconditioned CG by us, which