| /petsc/src/sys/tests/output/ |
| H A D | ex47_3_include.out | 2 -map key0,key1,key2 # (source: file) 3 -map_key0 0 # (source: file) 4 -map_key1 1 # (source: file) 5 -map_key2 2 # (source: file) 6 -opt_bool true # (source: file) 7 -opt_cmplx -3.14+2.72i # (source: file) 8 -opt_imag 2.72i # (source: file) 9 -opt_int 42 # (source: file) 10 -opt_real 3.14 # (source: file) 11 -opt_str petsc # (source: file) [all …]
|
| H A D | ex47_3_merge.out | 1 Setting option: map1_r = 10 (source: file) 2 Setting option: map1_x = 1 (source: file) 3 Setting option: map1_y = 2 (source: file) 4 Setting option: map2_r = 10 (source: file) 5 Setting option: map2_x = 1 (source: file) 6 Setting option: map2_y = 2 (source: file) 7 Setting option: map3_r = 100 (source: file) 8 Setting option: map3_x = 1 (source: file) 9 Setting option: map3_y = 2 (source: file) 10 Setting option: map4_r = 100 (source: file) [all …]
|
| H A D | ex47_3_options.out | 2 -map key0,key1,key2 # (source: file) 3 -map_key0 0 # (source: file) 4 -map_key1 1 # (source: file) 5 -map_key2 2 # (source: file) 6 -opt_bool true # (source: file) 7 -opt_cmplx -3.14+2.72i # (source: file) 8 -opt_imag 2.72i # (source: file) 9 -opt_int 42 # (source: file) 10 -opt_real 3.14 # (source: file) 11 -opt_str petsc # (source: file) [all …]
|
| H A D | ex47_2.out | 2 -cs0001_force 0. # (source: file) 3 -cs0010_force 0. # (source: file) 4 -cs0010_hookeslaw 1,2,3,4,5,6 # (source: file) 5 -cs0020_force 0. # (source: file) 6 -temp_KSP_monitor_true_residual # (source: file) 7 -temp_KSP_type cg # (source: file) 8 -temp_snes_type ksponly # (source: file) 9 -vs0010_temp 0. # (source: file) 10 -vs0010_tempBC 1 # (source: file) 11 -vs0020_temp 1. # (source: file) [all …]
|
| H A D | ex48f90_2.out | 2 -cs0001_force 0. # (source: file) 3 -cs0010_force 0. # (source: file) 4 -cs0010_hookeslaw 1,2,3,4,5,6 # (source: file) 5 -cs0020_force 0. # (source: file) 6 -temp_KSP_monitor_true_residual # (source: file) 7 -temp_KSP_type cg # (source: file) 8 -temp_snes_type ksponly # (source: file) 9 -vs0010_temp 0. # (source: file) 10 -vs0010_tempBC 1 # (source: file) 11 -vs0020_temp 1. # (source: file) [all …]
|
| H A D | ex47_2_prefix.out | 1 Setting option: p1_name = value (source: file) 2 Setting option: p1_name = value (source: file) 3 Setting option: p2_name = value (source: file) 4 Setting option: p3_name = value (source: file) 5 Setting option: p3_name = value (source: file) 6 Setting option: p4_name = value (source: file) 7 Setting option: p5_name = value (source: file) 8 Setting option: p5_name = value (source: file) 9 Setting option: p6_name = value (source: file) 13 Setting option: p9_name = value (source: file) [all …]
|
| H A D | ex47_1.out | 2 -cs0001_force 0. # (source: file) 3 -cs0010_force 0. # (source: file) 4 -cs0010_hookeslaw 1,2,3,4,5,6 # (source: file) 5 -cs0020_force 0. # (source: file) 7 -temp_KSP_monitor_true_residual # (source: file) 8 -temp_KSP_type cg # (source: file) 9 -temp_snes_type ksponly # (source: file) 10 -vs0010_temp 0. # (source: file) 11 -vs0010_tempBC 1 # (source: file) 12 -vs0020_temp 1. # (source: file) [all …]
|
| H A D | ex48f90_1.out | 2 -cs0001_force 0. # (source: file) 3 -cs0010_force 0. # (source: file) 4 -cs0010_hookeslaw 1,2,3,4,5,6 # (source: file) 5 -cs0020_force 0. # (source: file) 7 -temp_KSP_monitor_true_residual # (source: file) 8 -temp_KSP_type cg # (source: file) 9 -temp_snes_type ksponly # (source: file) 10 -vs0010_temp 0. # (source: file) 11 -vs0010_tempBC 1 # (source: file) 12 -vs0020_temp 1. # (source: file) [all …]
|
| H A D | ex54_0.out | 2 -alias2 value2 # (source: file) 3 -num_option_1 1 # (source: file) 4 -num_option_2 2.2 # (source: file) 5 -num_option_3 .3 # (source: file) 6 -num_option_4 -4 # (source: file) 7 -num_option_5 -5.5 # (source: file) 8 -num_option_6 -.6 # (source: file) 9 -option1 # (source: file)
|
| /petsc/src/sys/error/ |
| H A D | pstack.c | 114 PetscErrorCode PetscStackView(FILE *file) in PetscStackView() argument 116 if (!file) file = PETSC_STDERR; in PetscStackView() 121 … fprintf(file, "PetscStack is definitely corrupted with stack size %d\n", petscstack.currentsize); in PetscStackView() 123 if (file == PETSC_STDERR) { in PetscStackView() 126 … fprintf(file, "No error traceback is available, the problem could be in the main program. \n"); in PetscStackView() 131 if (file == PETSC_STDERR) { in PetscStackView() 134 …if (petscstack.file[i]) PetscCall((*PetscErrorPrintf)("#%d %s() at %s:%d\n", j, petscstack.functio… in PetscStackView() 142 fprintf(file, "The line numbers in the error traceback are not always exact.\n"); in PetscStackView() 144 … (petscstack.file[i]) fprintf(file, "[%d] #%d %s() at %s:%d\n", PetscGlobalRank, j, petscstack.fun… in PetscStackView() 147 if (!ptr) fprintf(file, "[%d] #%d %s()\n", PetscGlobalRank, j, petscstack.function[i]); in PetscStackView() [all …]
|
| /petsc/src/sys/tutorials/output/ |
| H A D | ex5_yaml.out | 2 filename = secretfile.txt; Name of secret file 8 do_output = FALSE; Write output file (yes/no) 15 filename = secretfile.txt; Name of secret file 21 do_output = FALSE; Write output file (yes/no) 29 -pbag_bool_array yes,0,false # (source: file) 30 -pbag_choose THE_OTHER # (source: file) 31 -pbag_do_output no # (source: file) 32 -pbag_dt LONG # (source: file) 33 -pbag_filename secretfile.txt # (source: file) 34 -pbag_int_array 1,2,3 # (source: file) [all …]
|
| /petsc/src/dm/impls/plex/tests/output/ |
| H A D | ex96_0.out | 44 Reopenning the output file in Read-only mode 46 Nodal variable 0: U_x, index in file 0 47 Nodal variable 1: U_y, index in file 1 48 Nodal variable 2: Alpha, index in file 2 49 Nodal variable 3: Beta, index in file 3 50 Nodal variable 0: U, index in file 0 51 Nodal variable 1: Sigma, index in file -1 52 Nodal variable 2: Gamma, index in file -1 54 Zonal variable 0: Sigma_11, index in file 0 55 Zonal variable 1: Sigma_12, index in file 1 [all …]
|
| H A D | ex95_0.out | 44 Reopenning the output file in Read-only mode 46 Nodal variable 0: U_x, index in file 0 47 Nodal variable 1: U_y, index in file 1 48 Nodal variable 2: Alpha, index in file 2 49 Nodal variable 3: Beta, index in file 3 50 Nodal variable 0: U, index in file 0 51 Nodal variable 1: Sigma, index in file -1 52 Nodal variable 2: Gamma, index in file -1 54 Zonal variable 0: Sigma_11, index in file 0 55 Zonal variable 1: Sigma_12, index in file 1 [all …]
|
| /petsc/src/sys/tests/options/output/ |
| H A D | ex55_skip_petscrc-0_options_monitor_cancel-1_2.out | 4 Setting option: option_in_file_1 (no value) (source: file) 5 Setting option: alias_opt = option_in_file_2_val (source: file) 6 Setting option: alias_opt = alias_val (source: file) 7 Setting option: dot_petscrc_option1 = dot_petscrc_option1_val (source: file) 8 Setting option: dot_petscrc_option2 (no value) (source: file) 9 Setting option: petscrc_option1 = petscrc_option1_val (source: file) 10 Setting option: petscrc_option2 (no value) (source: file) 20 -alias_opt alias_val # (source: file) 21 -dot_petscrc_option1 dot_petscrc_option1_val # (source: file) 22 -dot_petscrc_option2 # (source: file) [all …]
|
| H A D | ex55_skip_petscrc-0_options_monitor_cancel-0_2.out | 4 Setting option: option_in_file_1 (no value) (source: file) 5 Setting option: alias_opt = option_in_file_2_val (source: file) 6 Setting option: alias_opt = alias_val (source: file) 7 Setting option: dot_petscrc_option1 = dot_petscrc_option1_val (source: file) 8 Setting option: dot_petscrc_option2 (no value) (source: file) 9 Setting option: petscrc_option1 = petscrc_option1_val (source: file) 10 Setting option: petscrc_option2 (no value) (source: file) 23 -alias_opt alias_val # (source: file) 24 -dot_petscrc_option1 dot_petscrc_option1_val # (source: file) 25 -dot_petscrc_option2 # (source: file) [all …]
|
| H A D | ex55_skip_petscrc-0_options_monitor_cancel-1_3.out | 4 Setting option: option_in_file_1 (no value) (source: file) 5 Setting option: alias_opt = option_in_file_2_val (source: file) 6 Setting option: alias_opt = alias_val (source: file) 7 Setting option: dot_petscrc_option1 = dot_petscrc_option1_val (source: file) 8 Setting option: dot_petscrc_option2 (no value) (source: file) 9 Setting option: petscrc_option1 = petscrc_option1_val (source: file) 10 Setting option: petscrc_option2 (no value) (source: file) 22 -alias_opt alias_val # (source: file) 23 -dot_petscrc_option1 dot_petscrc_option1_val # (source: file) 24 -dot_petscrc_option2 # (source: file) [all …]
|
| H A D | ex55_skip_petscrc-0_options_monitor_cancel-0_3.out | 4 Setting option: option_in_file_1 (no value) (source: file) 5 Setting option: alias_opt = option_in_file_2_val (source: file) 6 Setting option: alias_opt = alias_val (source: file) 7 Setting option: dot_petscrc_option1 = dot_petscrc_option1_val (source: file) 8 Setting option: dot_petscrc_option2 (no value) (source: file) 9 Setting option: petscrc_option1 = petscrc_option1_val (source: file) 10 Setting option: petscrc_option2 (no value) (source: file) 25 -alias_opt alias_val # (source: file) 26 -dot_petscrc_option1 dot_petscrc_option1_val # (source: file) 27 -dot_petscrc_option2 # (source: file) [all …]
|
| /petsc/src/sys/error/ftn-custom/ |
| H A D | zerrf.c | 30 static PetscErrorCode ourerrorhandler(MPI_Comm comm, int line, const char *fun, const char *file, P… in ourerrorhandler() argument 36 ierr = PetscStrlen(file, &len2); in ourerrorhandler() 40 …(*f2)(&comm, &line, fun, file, &n, &p, mess, ctx, &ierr, (PETSC_FORTRAN_CHARLEN_T)len1, (PETSC_FOR… in ourerrorhandler() 48 …backerrorhandler_(MPI_Comm *comm, int *line, const char *fun, const char *file, PetscErrorCode *n,… in petsctracebackerrorhandler_() argument 50 *ierr = PetscTraceBackErrorHandler(*comm, *line, fun, file, *n, *p, mess, ctx); in petsctracebackerrorhandler_() 53 …borterrorhandler_(MPI_Comm *comm, int *line, const char *fun, const char *file, PetscErrorCode *n,… in petscaborterrorhandler_() argument 55 *ierr = PetscAbortErrorHandler(*comm, *line, fun, file, *n, *p, mess, ctx); in petscaborterrorhandler_() 58 …ggererrorhandler_(MPI_Comm *comm, int *line, const char *fun, const char *file, PetscErrorCode *n,… in petscattachdebuggererrorhandler_() argument 60 *ierr = PetscAttachDebuggerErrorHandler(*comm, *line, fun, file, *n, *p, mess, ctx); in petscattachdebuggererrorhandler_() 63 …ienterrorhandler_(MPI_Comm *comm, int *line, const char *fun, const char *file, PetscErrorCode *n,… in petscemacsclienterrorhandler_() argument [all …]
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | abicheck.py | 81 with open(xmlfile, "w") as file: 82 file.write("<version>\n") 83 file.write(branch + ' (' + hash +')') 84 file.write("</version>\n\n") 86 file.write("<headers>\n") 87 file.write(petscheaders) 88 file.write("\n") 89 file.write("</headers>\n\n") 91 file.write("<libs>\n") 92 file.write(petsclibs) [all …]
|
| /petsc/src/mat/tests/ |
| H A D | ex215.c | 16 char file[PETSC_MAX_PATH_LEN]; in main() local 32 PetscCall(PetscOptionsGetString(NULL, NULL, "-f", file, sizeof(file), &data_provided)); in main() 34 PetscCall(PetscStrncpy(file, "${PETSC_DIR}/share/petsc/datafiles/matrices/", sizeof(file))); in main() 37 PetscCall(PetscStrlcat(file, "hpd-complex-", sizeof(file))); in main() 39 PetscCall(PetscStrlcat(file, "spd-real-", sizeof(file))); in main() 44 PetscCall(PetscStrlcat(file, "nh-complex-", sizeof(file))); in main() 46 PetscCall(PetscStrlcat(file, "ns-real-", sizeof(file))); in main() 50 PetscCall(PetscStrlcat(file, "int64-", sizeof(file))); in main() 52 PetscCall(PetscStrlcat(file, "int32-", sizeof(file))); in main() 55 PetscCall(PetscStrlcat(file, "float32", sizeof(file))); in main() [all …]
|
| H A D | ex198.c | 12 char file[3][PETSC_MAX_PATH_LEN]; in main() local 18 PetscCall(PetscOptionsGetString(NULL, NULL, "-fA", file[0], sizeof(file[0]), &flg)); in main() 21 PetscCall(PetscOptionsGetString(NULL, NULL, "-fB", file[1], sizeof(file[1]), &flg)); in main() 24 PetscCall(PetscOptionsGetString(NULL, NULL, "-fC", file[2], sizeof(file[2]), &flg)); in main() 28 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, file[0], FILE_MODE_READ, &fd)); in main() 33 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, file[1], FILE_MODE_READ, &fd)); in main() 38 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, file[2], FILE_MODE_READ, &fd)); in main()
|
| H A D | ex206.c | 8 char file[PETSC_MAX_PATH_LEN]; /* input file name */ in main() local 13 PetscCall(PetscOptionsGetString(NULL, NULL, "-f", file, sizeof(file), &flg)); in main() 19 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, file, FILE_MODE_READ, &fd)); in main() 24 PetscCall(PetscOptionsGetString(NULL, NULL, "-f2", file, sizeof(file), &flg)); in main() 26 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, file, FILE_MODE_READ, &fd)); in main()
|
| /petsc/src/sys/tests/ |
| H A D | ex17f.F90 | 12 PetscFortranAddr file 18 PetscCallA(PetscFOpen(PETSC_COMM_WORLD, 'testfile', 'w', file, ierr)) 20 PetscCallA(PetscFPrintf(PETSC_COMM_WORLD, file, 'Hi once \n', ierr)) 21 PetscCallA(PetscSynchronizedFPrintf(PETSC_COMM_WORLD, file, 'Hi twice \n', ierr)) 22 PetscCallA(PetscSynchronizedFlush(PETSC_COMM_WORLD, file, ierr)) 25 PetscCallA(PetscSynchronizedFPrintf(PETSC_COMM_WORLD, file, joe, ierr)) 26 PetscCallA(PetscSynchronizedFlush(PETSC_COMM_WORLD, file, ierr)) 28 PetscCallA(PetscFClose(PETSC_COMM_WORLD, file, ierr))
|
| /petsc/doc/ |
| H A D | build_man_examples_links.py | 6 def processfile(petsc_dir,dir,file,keyre,mdict,uses): argument 9 with open(os.path.join(dir,file),'r') as fd: 14 uses[i[1:-1]].append(os.path.join(dir,file)) 19 for file in os.listdir(dir): 20 …e(os.path.join(dir,file)) and (file.endswith('.c') or file.endswith('.cxx') or file.endswith('.F90… 61 file = j.replace(petsc_dir+'/','') 62 fd.write('<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/'+file+'.html">'+file+'</A><BR>\n')
|
| /petsc/src/ksp/pc/impls/spai/ |
| H A D | dspai.c | 11 PetscErrorCode MatDumpSPAI(Mat A, FILE *file) in MatDumpSPAI() argument 19 PetscAssertPointer(file, 2); in MatDumpSPAI() 25 fprintf(file, "%" PetscInt_FMT "\n", n); in MatDumpSPAI() 32 …for (PetscInt j = 0; j < nz; j++) fprintf(file, "%" PetscInt_FMT " %d" PetscInt_FMT " %16.14e\n", … in MatDumpSPAI() 38 PetscErrorCode VecDumpSPAI(Vec b, FILE *file) in VecDumpSPAI() argument 45 PetscAssertPointer(file, 2); in VecDumpSPAI() 48 fprintf(file, "%" PetscInt_FMT "\n", n); in VecDumpSPAI() 49 for (PetscInt i = 0; i < n; i++) fprintf(file, "%" PetscInt_FMT " %16.14e\n", i + 1, array[i]); in VecDumpSPAI()
|