///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// Driver for 3D Poisson problem in eighth of a sphere. Solution has a sharp step. If there are any command line arguments, we regard this as a validation run and perform only a single adaptation.
379 ofstream convergence_file(
"RESLT/convergence.dat");
381 convergence_file <<
"VARIABLES=\"log h\",\"log e\",\"theory\",\"log u\" "
388 cout <<
"Linear element" << std::endl;
389 cout <<
"==============" << std::endl << std::endl;
401 convergence_file <<
"ZONE T=\"Linear element\"" << std::endl;
402 for (
unsigned h_power=1;h_power<nstep+1;h_power++)
412 problem.doc_solution(doc_info,convergence_file);
420 cout <<
"Quadratic element" << std::endl;
421 cout <<
"=================" << std::endl << std::endl;
431 convergence_file <<
"ZONE T=\"Quadratic element\"" << std::endl;
432 for (
unsigned h_power=1;h_power<nstep+1;h_power++)
442 problem.doc_solution(doc_info,convergence_file);
451 cout <<
"Cubic element" << std::endl;
452 cout <<
"=============" << std::endl << std::endl;
462 convergence_file <<
"ZONE T=\"Cubic element\"" << std::endl;
463 for (
unsigned h_power=1;h_power<nstep+1;h_power++)
473 problem.doc_solution(doc_info,convergence_file);
Poisson problem in refineable eighth of a sphere mesh.
Definition: eighth_sphere_poisson.cc:132
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
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
int Argc
Number of arguments + 1.
Definition: oomph_utilities.cc:407
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213