615 MPI_Helpers::init(argc,argv);
619 if (MPI_Helpers::communicator_pt()->my_rank()!=0)
632 oomph_info <<
"This driver required ONE command line argument" << std::endl;
641 oomph_info <<
"Using BlockDiagonalPreconditioner" << std::endl;
644 oomph_info <<
"Using BlockDiagonalPreconditioner with two level "
645 <<
"parallelisation" << std::endl;
648 oomph_info <<
"Using BlockTriangularPreconditioner (upper triangular)"
652 oomph_info <<
"Using BlockTriangularPreconditioner (lower triangular)"
657 <<
"Command line argument must be 0, 1, or 2\n"
658 <<
"0: BlockDiagonalPreconditioner\n"
659 <<
"1: BlockDiagonalPreconditioner w/ two level parallelisation\n"
660 <<
"2: BlockTriangularPreconditioner (upper triangular)\n"
661 <<
"3: BlockTriangularPreconditioner (lower triangular)\n";
684 #ifdef OOMPH_HAS_TRILINOS
686 solver_pt->
solver_type() = TrilinosAztecOOSolver::GMRES;
690 problem.linear_solver_pt() = solver_pt;
710 (prec_pt)->enable_two_level_parallelisation();
717 (prec_pt)->upper_triangular();
724 (prec_pt)->lower_triangular();
728 #ifdef OOMPH_HAS_HYPRE
731 (Hypre_Subsidiary_Preconditioner_Helper::get_hypre_preconditioner);
749 problem.doc_solution(doc_info);
752 MPI_Helpers::finalize();
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Problem class for the cantilever "beam" structure.
Definition: mpi/distribution/airy_cantilever/airy_cantilever2.cc:213
Definition: general_purpose_block_preconditioners.h:321
Definition: general_purpose_block_preconditioners.h:459
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
The GMRES method.
Definition: iterative_linear_solver.h:1227
Definition: general_purpose_block_preconditioners.h:77
void add_mesh(const Mesh *mesh_pt, const bool &allow_multiple_element_type_in_mesh=false)
Definition: general_purpose_block_preconditioners.h:191
void set_subsidiary_preconditioner_function(SubsidiaryPreconditionerFctPt sub_prec_fn)
access function to set the subsidiary preconditioner function.
Definition: general_purpose_block_preconditioners.h:136
Definition: constitutive_laws.h:699
void enable_doc_convergence_history()
Enable documentation of the convergence history.
Definition: iterative_linear_solver.h:122
Preconditioner *& preconditioner_pt()
Access function to preconditioner.
Definition: iterative_linear_solver.h:95
double & tolerance()
Access to convergence tolerance.
Definition: iterative_linear_solver.h:107
std::ostream *& stream_pt()
Access function for the stream pointer.
Definition: oomph_definitions.h:464
Definition: trilinos_solver.h:267
unsigned & solver_type()
Access function to Solver_type.
Definition: trilinos_solver.h:442
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
double E
Elastic modulus.
Definition: TwenteMeshGluing.cpp:68
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:77
double Nu
Poisson's ratio.
Definition: TwenteMeshGluing.cpp:71
ConstitutiveLaw * Constitutive_law_pt
Pointer to constitutive law.
Definition: TwenteMeshGluing.cpp:65
double Gravity
Non-dim gravity.
Definition: meshing/quad_from_triangle_mesh/unstructured_two_d_solid.cc:214
char ** Argv
Arguments themselves.
Definition: oomph_utilities.cc:410
int Argc
Number of arguments + 1.
Definition: oomph_utilities.cc:407
Nullstream oomph_nullstream
Single (global) instantiation of the Nullstream.
Definition: oomph_definitions.cc:313
OomphInfo oomph_info
Definition: oomph_definitions.cc:319
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213