vecload_block_size

(Rebecca) Xuefei YUAN xy2102 at columbia.edu
Sat Jul 25 13:20:33 CDT 2009


Hi,

I am reading from a binary file of the previous solution and would  
like it to be my initial guess.

However, I found that the "-vecload_block_size" is shown in the  
PetscOptionsTable, I did not explicitly state this one in my options  
file, why it shows up in it? And the block size has been assigned as  
"4".

Thanks!

Rebecca


Here is this PetscOptionsTable:

(gdb) p *options
$21 = {N = 28, argc = 3, Naliases = 0, args = 0xbf8e9564, names = {
     0x8867768 "da_grid_x", 0x8867788 "da_grid_y",
     0x88678c8 "dmmg_iscoloring_type", 0x88678a8 "dmmg_levels",
     0x8867a20 "ksp_converged_reason", 0x8867a00 "ksp_max_it",
     0x8847bb8 "loadbin", 0x8847bd8 "mx_grid", 0x8867748 "my",
     0x88677d0 "number_of_time_steps", 0x8867a60 "pc_asm_overlap",
     0x8867a40 "pc_type", 0x8867910 "snes_converged_reason",
     0x8867998 "snes_ksp_ew", 0x8867940 "snes_max_fail",
     0x88679d8 "snes_max_funcs", 0x88679b8 "snes_max_it",
     0x8867968 "snes_max_linear_solve_fail", 0x8867930 "snes_mf",
     0x88678f8 "snes_monitor", 0x8867aa8 "sub_pc_factor_shift_nonzero",
     0x8867a88 "sub_pc_type", 0x8867850 "time_accuracy_order",
     0x8867800 "time_step_monitor", 0x88677a8 "time_step_size",
     0x8867818 "time_step_to_save_solution_text",
     0x8867878 "time_to_generate_grid", 0x8855890 "vecload_block_size",
     0x0 <repeats 484 times>}, values = {0x8867778 "8", 0x8867798 "8",
     0x88678e8 "global", 0x88678b8 "1", 0x0, 0x8867a10 "50", 0x8847bc8 "true",
     0x8867738 "9", 0x8867758 "9", 0x88677f0 "1", 0x8867a78 "1",
     0x8867a50 "asm", 0x0, 0x88679a8 "true", 0x8867958 "100",
     0x88679f0 "1000000", 0x88679c8 "10", 0x8867988 "100", 0x0, 0x0, 0x0,
     0x8867a98 "ilu", 0x8867868 "1", 0x0, 0x88677c0 "0.2", 0x8867840 "1",
     0x8867898 "0.2", 0x8847ba8 "4", 0x0 <repeats 484 times>}, aliases1 = {
     0x0 <repeats 25 times>}, aliases2 = {0x0 <repeats 25 times>}, used = {
     PETSC_FALSE, PETSC_FALSE, PETSC_TRUE, PETSC_TRUE, PETSC_TRUE, PETSC_TRUE,
     PETSC_FALSE, PETSC_TRUE, PETSC_TRUE, PETSC_FALSE, PETSC_TRUE, PETSC_TRUE,
     PETSC_TRUE, PETSC_TRUE, PETSC_TRUE, PETSC_TRUE, PETSC_TRUE, PETSC_TRUE,
     PETSC_FALSE, PETSC_TRUE, PETSC_FALSE, PETSC_FALSE, PETSC_FALSE,
---Type <return> to continue, or q <return> to quit---
     PETSC_FALSE, PETSC_FALSE, PETSC_FALSE, PETSC_TRUE,
     PETSC_FALSE <repeats 485 times>}, namegiven = PETSC_TRUE,
   programname =  
"/home/rebecca/linux/code/couple/twoway/twoway_oreggt/codes/tworeggt",  
'\0' <repeats 4028 times>, monitor = {0, 0, 0, 0, 0}, monitordestroy = {
     0, 0, 0, 0, 0}, monitorcontext = {0x0, 0x0, 0x0, 0x0, 0x0},
   numbermonitors = 0}









-- 
(Rebecca) Xuefei YUAN
Department of Applied Physics and Applied Mathematics
Columbia University
Tel:917-399-8032
www.columbia.edu/~xy2102



More information about the petsc-users mailing list