Driver code for 2D Boussinesq convection problem with adaptivity.
354 MPI_Helpers::init(argc,argv);
375 bool report_stats=
true;
380 problem.distribute(report_stats);
385 unsigned n_element=
problem.mesh_pt()->nelement();
388 std::ifstream input_file;
390 sprintf(
filename,
"refineable_b_convection_partition.dat");
393 for (
unsigned e=0;
e<n_element;
e++)
395 getline(input_file,input_string,
'\n');
396 in_element_partition[
e]=atoi(input_string.c_str());
400 problem.distribute(in_element_partition,report_stats);
416 problem.disable_imperfection();
422 MPI_Helpers::finalize();
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Definition: mpi/multi_domain/boussinesq_convection/multi_domain_ref_b_convection.cc:80
Definition: boussinesq_elements.h:803
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
Vector< double > Direction_of_gravity(2)
Gravity vector.
string filename
Definition: MergeRestartFiles.py:39
int Argc
Number of arguments + 1.
Definition: oomph_utilities.cc:407
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213