Driver to compare different assembly strategies.
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
406 cout <<
"Testing sparse assembly" << endl;
407 cout <<
"-----------------------" << endl;
410 unsigned lo_method=1;
411 unsigned hi_method=8;
416 <<
"No command line args specified -- running all assembly strategies"
423 lo_method=atoi(argv[3]);
424 hi_method=atoi(argv[3]);
425 std::cout <<
"Assembly method: " << hi_method << std::endl;
432 <<
"Wrong number of command line args specified!\n"
433 <<
"Specify none or five: \n"
434 <<
"- Number of elements in x-direction\n"
435 <<
"- Number of elements in y-direction\n"
436 <<
"- assembly method [1-4]\n"
437 <<
"- output of matrices [0/1]\n"
438 <<
"- halt code to analyse memory usage [0/1]\n"
449 for (
unsigned method = lo_method; method<=hi_method; method++)
455 problem.actions_before_newton_solve();
458 problem.compare_assembly_strategies(method);
Driven cavity problem in rectangular domain.
Definition: linear_solvers/driven_cavity.cc:77
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
unsigned Nx
Number of elements in x direction.
Definition: sparse_assemble_test.cc:55
unsigned Ny
Number of elements in x direction.
Definition: sparse_assemble_test.cc:58
bool Halt_code
Definition: sparse_assemble_test.cc:65
bool Dump_matrices
By default we're dumping the matrices for comparison.
Definition: sparse_assemble_test.cc:61
int Argc
Number of arguments + 1.
Definition: oomph_utilities.cc:407
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213