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"))
 { }
 EquilibriumGoal_A (const BlockModel& al)
   : Equilibrium (al),
     goal_A_expr (Librarian::build_item<Number> (al, "goal_A")),
     min_B_expr (Librarian::build_item<Number> (al, "min_B")),
     A_solute (al.flag ("A_solute")),
     B_solute (al.flag ("B_solute")),
     debug_cell (al.integer ("debug_cell"))
 { }
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)
{ }
MovementSolute::MovementSolute (const BlockModel& al)
  : Movement (al),
    matrix_solute (Librarian::build_vector<Transport> (al, "matrix_solute")),
    matrix_solid (Librarian::build_item<Transport> (al, "matrix_solid")),
    sink_sorbed (al.flag ("sink_sorbed"))
{ }
Exemple #5
0
UZlr::UZlr (const BlockModel& al)
  : UZmodel (al),
    overflow_warn (al.flag ("overflow_warn")),
    h_fc (al.number ("h_fc")),
    z_top (al.number ("z_top"))
{ }