本文整理汇总了C++中BlockModel::flag方法的典型用法代码示例。如果您正苦于以下问题:C++ BlockModel::flag方法的具体用法?C++ BlockModel::flag怎么用?C++ BlockModel::flag使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BlockModel
的用法示例。
在下文中一共展示了BlockModel::flag方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ProgramRootmatch
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"))
{ }
示例2: Equilibrium
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"))
{ }
示例3: Summary
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)
{ }
示例4: Movement
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"))
{ }
示例5: UZmodel
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"))
{ }