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