Demonstrate how to solve Poisson problem.
875 MPI_Helpers::init(argc,argv);
884 #ifdef OOMPH_HAS_CGAL
894 const unsigned max_adapt = 3;
917 #ifdef OOMPH_HAS_CGAL
922 UseCGALSamplePointContainer;
928 std::ostringstream error_message;
930 <<
"Can only choose one of --non_ref_bin, --ref_bin or --cgal!";
939 cout << std::endl <<
"Linear elements" << std::endl;
940 cout <<
"===================" << std::endl << std::endl;
947 problem.newton_solve(max_adapt);
950 char trace_filename[100];
951 sprintf(trace_filename,
"%s/trace.dat",
956 trace_file.open(trace_filename);
959 problem.doc_solution(doc_info, trace_file);
970 MPI_Helpers::finalize();
Micky mouse Poisson problem.
Definition: HypreSolver_test.cc:81
Definition: oomph_utilities.h:499
std::string directory() const
Output directory.
Definition: oomph_utilities.h:524
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
bool command_line_flag_has_been_set(const std::string &flag)
Definition: oomph_utilities.cc:501
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
unsigned Default_sample_point_container_version
Default sample point container type.
Definition: mesh_as_geometric_object.cc:58
@ UseRefineableBinArray
Definition: sample_point_parameters.h:41
@ UseNonRefineableBinArray
Definition: sample_point_parameters.h:42
#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