Driver for RefineableDrivenCavity test problem.
305 MPI_Helpers::init(argc,argv);
317 unsigned max_adapt=2;
334 const unsigned n_element=
problem.mesh_pt()->nelement();
339 for (
unsigned e=0;
e<8;
e++)
341 element_partition[
e]=0;
342 element_partition[
e+8]=1;
346 bool report_stats=
true;
347 problem.distribute(element_partition,mesh_doc_info,report_stats);
352 problem.newton_solve(max_adapt);
355 problem.doc_solution(doc_info);
360 problem.mesh_pt()->doc_mesh_distribution(mesh_doc_info);
382 unsigned n_el=
problem.mesh_pt()->nelement();
384 for (
unsigned e=0;
e<8;
e++)
386 element_partition[
e]=0;
387 element_partition[
e+8]=1;
391 bool report_stats=
true;
392 problem.distribute(element_partition,mesh_doc_info,report_stats);
397 problem.newton_solve(max_adapt);
403 problem.doc_solution(doc_info);
407 problem.mesh_pt()->doc_mesh_distribution(mesh_doc_info);
417 MPI_Helpers::finalize();
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Definition: demo_drivers/mpi/distribution/adaptive_driven_cavity/adaptive_driven_cavity.cc:59
Definition: oomph_utilities.h:499
void set_directory(const std::string &directory)
Definition: oomph_utilities.cc:298
unsigned & number()
Number used (e.g.) for labeling output files.
Definition: oomph_utilities.h:554
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213