MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / setTimeInterval

Method setTimeInterval

src/IB/CIBMobilitySolver.cpp:173–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171} // setSolutionTime
172
173void
174CIBMobilitySolver::setTimeInterval(double current_time, double new_time)
175{
176 d_current_time = current_time;
177 d_new_time = new_time;
178
179 if (d_mobility_solver_type == KRYLOV)
180 {
181 d_krylov_mob_solver->setTimeInterval(d_current_time, d_new_time);
182 }
183 else if (d_mobility_solver_type == DIRECT)
184 {
185 d_direct_mob_solver->setTimeInterval(d_current_time, d_new_time);
186 }
187 else
188 {
189 TBOX_ERROR("This statement should not be reached\n");
190 }
191 d_krylov_freebody_mob_solver->setTimeInterval(current_time, new_time);
192
193 return;
194} // setTimeInterval
195
196void
197CIBMobilitySolver::setVelocityPoissonSpecifications(const PoissonSpecifications& u_problem_coefs)

Calls

no outgoing calls

Tested by

no test coverage detected