Driver code.
564 MPI_Helpers::init(argc,argv);
593 problem.set_default_partition_in_load_balance();
601 mesh_doc_info.
number()=38;
604 unsigned n_partition=
problem.mesh_pt()->nelement();
607 for (
unsigned e=0;
e<n_partition;
e++)
611 node_pt(1))->xi(0)<0.5)
613 element_partition[
e]=1;
618 bool report_stats=
false;
619 problem.distribute(element_partition,mesh_doc_info,report_stats);
620 problem.check_halo_schemes(mesh_doc_info);
642 unsigned max_adapt=1;
646 for(
unsigned i=0;
i<nstep;
i++)
656 problem.newton_solve(max_adapt);
693 MPI_Helpers::finalize();
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Definition: mpi/distribution/prescribed_displ_lagr_mult/prescribed_displ_lagr_mult.cc:159
double & ampl()
Access to amplitude.
Definition: heated_linear_solid_contact_with_gravity.cc:2066
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
bool Actually_attach_face_elements
Actually attach elements?
Definition: resize_hanging_node_tester.cc:142
WarpedLine Boundary_geom_object(0.0)
GeomObject specifying the shape of the boundary: Initially it's flat.
bool command_line_flag_has_been_set(const std::string &flag)
Definition: oomph_utilities.cc:501
void specify_command_line_flag(const std::string &command_line_flag, const std::string &doc)
Specify possible argument-free command line flag.
Definition: oomph_utilities.cc:451
void parse_and_assign(int argc, char *argv[], const bool &throw_on_unrecognised_args)
Definition: oomph_utilities.cc:760
void doc_specified_flags()
Document specified command line flags.
Definition: oomph_utilities.cc:610
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
OomphInfo oomph_info
Definition: oomph_definitions.cc:319
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213