Demonstrate how to solve Poisson problem.
377 "Wrong number of command line arguments.\n";
379 "Must specify the following file names \n";
381 "filename.node then filename.ele then filename.poly\n";
389 const unsigned max_adapt = 3;
393 string node_file_name(argv[1]);
394 string element_file_name(argv[2]);
395 string poly_file_name(argv[3]);
407 cout << std::endl <<
"Cubic elements" << std::endl;
408 cout <<
"==============" << std::endl << std::endl;
420 problem.doc_solution(doc_info);
431 cout << std::endl <<
"Quadratic elements" << std::endl;
432 cout <<
"===================" << std::endl << std::endl;
450 problem.newton_solve(max_adapt);
457 problem.doc_solution(doc_info);
468 cout << std::endl <<
"Linear elements" << std::endl;
469 cout <<
"===============" << std::endl << std::endl;
487 problem.newton_solve(max_adapt);
494 problem.doc_solution(doc_info);
Micky mouse Poisson problem.
Definition: HypreSolver_test.cc:81
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
Definition: oomph_definitions.h:222
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
void get_source(const Vector< double > &x, double &source)
Source function to make it an exact solution.
Definition: extrude_with_macro_element_representation.cc:224
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213