예제 #1
0
 explicit ReactionBoundrel (const BlockModel& al)
   : Reaction (al),
     immobile (al.name ("immobile")),
     bound (al.name ("bound", Attribute::None ())),
     colloid (al.name ("colloid")),
     release (0.0)
 { }
예제 #2
0
 ProgramRootmatch (const BlockModel& al)
   : Program (al),
     units (al.units ()),
     lex (al),
     pos_dim (al.name ("pos_dim")),
     dens_dim (al.name ("dens_dim")),
     tag_x (al.name ("tag_x")),
     tag_z_min (al.name ("tag_z_min")),
     tag_z_max (al.name ("tag_z_max")),
     tag_density (al.name ("tag_density")),
     c_x_pos (-1),
     c_z_min (-1),
     c_z_max (-1),
     c_density (-1),
     debug (al.integer ("debug")),
     show_data (al.flag ("show_data")),
     show_match (al.flag ("show_match")),
     x_offset (al.number ("x_offset")),
     tabular (al.flag ("tabular")),
     row_position (al.number ("row_position")),
     min_dist (al.number ("min_dist")),
     gp2d (al.number ("row_position"),
           al.number ("row_distance"),
           al.number ("DensRtTip"),
           al.number ("SpRtLength")),
     gp1d (al.number ("DensRtTip"),
           al.number ("SpRtLength")),
     SoilDepth (al.number ("SoilDepth", NAN)),
     gnuplot (submodel<Gnuplot> (al, "gnuplot"))
 { }
예제 #3
0
 ProgramRS2WG (const BlockModel& al)
   : Program (al),
     path (al.path ()),
     rshourly_origin (al.integer ("rshourly_origin"), 1, 1, 0),
     wgcycle_begin (al.integer ("wgcycle_begin"), 1, 1, 0),
     wgcycle_end (al.integer ("wgcycle_begin") + al.integer ("wgcycle_length"),
                  1, 1, 0),
     rshourly_file (al.name ("rshourly_file")),
     rsdaily_file (al.name ("rsdaily_file")),
     dwfhourly_file (al.name ("dwfhourly_file")),
     hint_file (al.name ("hint_file")),
     hlim (al.number_sequence ("hlim"))
 { }
예제 #4
0
SummaryBalance::SummaryBalance (const BlockModel& al)
  : Summary (al),
    description (al.frame ().description ()),
    file (al.name ("where", "")),
    precision (al.integer ("precision")),
    require_top (al.flag ("require_top")),
    input (al.name_sequence ("input")),
    output (al.name_sequence ("output")),
    content (al.name_sequence ("content")),
    fetch (input, output, content)
{ }
예제 #5
0
 ConditionTimestep (const BlockModel& al)
   : Condition (al),
     condition (Librarian::build_item<Condition> (al, "operand")),
     dt (al.name ("timestep"))
 { }
예제 #6
0
 ActionMessage (const BlockModel& al)
   : Action (al),
     message (al.name ("message"))
 { }
예제 #7
0
 ActionAssert (const BlockModel& al)
   : Action (al),
     condition (Librarian::build_item<Condition> (al, "condition")),
     message (al.name ("message"))
 { }
예제 #8
0
 explicit SummaryFractiles (const BlockModel& al)
   : Summary (al),
     data (find_data (al)),
     fractiles (al.number_sequence ("fractiles")),
     first (al.name ("first", Attribute::None ()))
 { }