Driver code for 2D Poisson problem.
356 #ifdef OOMPH_HAS_CGAL
370 unsigned nrefine_for_locate_zeta_test=2;
372 &nrefine_for_locate_zeta_test);
375 unsigned nrefine_genuine=2;
410 problem.newton_solve(nrefine_genuine);
413 problem.doc_solution(doc_info);
423 upper_right[0]=lower_left[0]+box_size;
424 upper_right[1]=lower_left[1]+box_size;
425 unsigned central_node_number=8;
428 problem.mesh_pt()->min_permitted_error()=-1.0;
429 problem.mesh_pt()->max_refinement_level()=UINT_MAX;
432 for (
unsigned i=0;
i<nrefine_for_locate_zeta_test;
i++)
435 delete problem.mesh_pt()->spatial_error_estimator_pt();
438 problem.mesh_pt()->spatial_error_estimator_pt()=
440 central_node_number);
447 upper_right[0]=lower_left[0]+box_size;
448 upper_right[1]=lower_left[1]+box_size;
452 problem.doc_solution(doc_info);
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Definition: optimisation/use_coarse_base_meshes/two_d_poisson_adapt.cc:149
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: error_estimator.h:435
void check_locate_zeta(Mesh *mesh_pt)
Definition: locate_zeta_tester.h:28
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
double TanPhi
Parameter for angle of step.
Definition: two_d_unsteady_heat_2adapt_load_balance.cc:147
void get_source(const double &time, const Vector< double > &x, double &source)
Source function.
Definition: stefan_boltzmann.cc:154
double Alpha
Parameter for steepness of step.
Definition: two_d_unsteady_heat_2adapt_load_balance.cc:138
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
OomphInfo oomph_info
Definition: oomph_definitions.cc:319
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213