101 const std::vector<std::string>&
warnings() const noexcept {
return warnings_; }
150 std::vector<double> face_q_;
155 std::vector<double> node_mass_;
156 std::vector<double> node_vol_;
166 std::vector<double> cell_src_vol_;
167 std::vector<double> cell_src_mass_;
168 bool has_vj_src_ =
false;
171 std::vector<double> f_mass_, f_sstar_, f_phi_l_, f_phi_r_, f_phi_flux_,
172 cell_slope_, lo_flux_, anti_flux_, td_, anew_, rplus_, rminus_, cell_u_;
173 std::vector<fv::kernels::FaceState> f_state_l_, f_state_r_;
174 std::vector<fv::kernels::FaceFlux> f_flux_;
175 std::vector<char> cell_active_;
176 std::vector<int> active_faces_;
183 std::vector<int> bc_node_, bc_srow_, bc_ts_;
184 std::vector<double> bc_value_, bc_now_;
185 std::vector<int> src_crow_, src_srow_, src_ts_;
186 std::vector<double> src_value_, src_len_, src_now_;
191 bool disp_active_ =
false;
193 double disp_global_ft_ = 0.0;
194 std::vector<double> conduit_disp_ft_;
195 std::vector<double> cell_disp_;
203 std::ofstream detail_out_;
204 bool detail_active_ =
false;
205 double detail_time_s_ = 0.0;
227 int cellLink(std::size_t cell)
const noexcept;
235 std::vector<std::string> warnings_;
236 bool initialized_ =
false;
237 bool warned_cfl_clamp_ =
false;
void step(SimulationContext &ctx, double dt)
One transport step over the routing step dt.
Definition ArdEngine.cpp:1161
bool init(SimulationContext &ctx)
Build the transport mesh and size all state; call once after the model is fully resolved (Router::ini...
Definition ArdEngine.cpp:97
Central, reentrant simulation context.
Definition SimulationContext.hpp:353