Demonstrate how to solve Poisson problem.
321 "Wrong number of command line arguments.\n";
323 "Must specify the following file names \n";
325 "filename.node then filename.ele then filename.poly\n";
335 string node_file_name(argv[1]);
336 string element_file_name(argv[2]);
337 string poly_file_name(argv[3]);
350 cout << std::endl <<
"Linear elements" << std::endl;
351 cout <<
"===============" << std::endl << std::endl;
366 for (
unsigned istep=0;istep<nstep;istep++)
372 problem.doc_solution(doc_info);
386 cout << std::endl <<
"Quadratic elements" << std::endl;
387 cout <<
"===================" << std::endl << std::endl;
402 for (
unsigned istep=0;istep<nstep;istep++)
408 problem.doc_solution(doc_info);
422 cout << std::endl <<
"Cubic elements" << std::endl;
423 cout <<
"==============" << std::endl << std::endl;
438 for (
unsigned istep=0;istep<nstep;istep++)
444 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
bool TanhSoln
Flag for zero TanhSolution.
Definition: mesh_from_xfig_poisson.cc:61
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