1c4762a1bSJed BrownPetscBag Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous physics 2c4762a1bSJed Brown filename = secretfile.txt; Name of secret file 3c4762a1bSJed Brown rho = 1. ; Density, kg/m^3 4c4762a1bSJed Brown W = 3. ; Vertical velocity, m/sec 5c4762a1bSJed Brown modes_x = 2 ; Number of modes in x-direction 6c4762a1bSJed Brown int_array = 1 2 3 ; Int array with 3 locations 7c4762a1bSJed Brown real_array = 1. -1. ; Real array with 2 locations 8c4762a1bSJed Brown do_output = FALSE; Write output file (yes/no) 9c4762a1bSJed Brown bool_array = TRUE FALSE FALSE; Bool array with 3 locations 10c4762a1bSJed Brown dt = LONG; (PetscDataType) meaningless datatype 11c4762a1bSJed Brown x1 = 1. ; x position 12c4762a1bSJed Brown x2 = 0.9 ; y position 13c4762a1bSJed Brown choose = THE_OTHER; (EnumeratedChoices) Express yourself by choosing among enumerated things 14c4762a1bSJed BrownPetscBag Object: ParameterBag (pbag_) contains parameters for simulations of top-secret, dangerous physics 15c4762a1bSJed Brown filename = secretfile.txt; Name of secret file 16c4762a1bSJed Brown rho = 1. ; Density, kg/m^3 17c4762a1bSJed Brown W = 3. ; Vertical velocity, m/sec 18c4762a1bSJed Brown modes_x = 2 ; Number of modes in x-direction 19c4762a1bSJed Brown int_array = 1 2 3 ; Int array with 3 locations 20c4762a1bSJed Brown real_array = 1. -1. ; Real array with 2 locations 21c4762a1bSJed Brown do_output = FALSE; Write output file (yes/no) 22c4762a1bSJed Brown bool_array = TRUE FALSE FALSE; Bool array with 3 locations 23c4762a1bSJed Brown dt = LONG; (PetscDataType) meaningless datatype 24c4762a1bSJed Brown x1 = 1. ; x position 25c4762a1bSJed Brown x2 = 0.9 ; y position 26c4762a1bSJed Brown choose = THE_OTHER; (EnumeratedChoices) Express yourself by choosing among enumerated things 27c4762a1bSJed BrownThe value of rho after loading is: 1.000000 28c4762a1bSJed Brown#PETSc Option Table entries: 29*758f5028SMatthew G. Knepley-pbag_bool_array yes,0,false # (source: file) 30*758f5028SMatthew G. Knepley-pbag_choose THE_OTHER # (source: file) 31*758f5028SMatthew G. Knepley-pbag_do_output no # (source: file) 32*758f5028SMatthew G. Knepley-pbag_dt LONG # (source: file) 33*758f5028SMatthew G. Knepley-pbag_filename secretfile.txt # (source: file) 34*758f5028SMatthew G. Knepley-pbag_int_array 1,2,3 # (source: file) 35*758f5028SMatthew G. Knepley-pbag_modes_x 2 # (source: file) 36*758f5028SMatthew G. Knepley-pbag_real_array 1.0,-1.0 # (source: file) 37*758f5028SMatthew G. Knepley-pbag_rho 1.0 # (source: file) 38*758f5028SMatthew G. Knepley-pbag_W 3. # (source: file) 39*758f5028SMatthew G. Knepley-pbag_x1 1. # (source: file) 40*758f5028SMatthew G. Knepley-pbag_x2 .9 # (source: file) 41c4762a1bSJed Brown#End of PETSc Option Table entries 42