Driver code for 2D RefineableYoungLaplace problem. Input arguments: none (for validation) or case (0,1,2,3 for all pinned, barrel with spines, barrel without spines, and T junction), and number of steps.
631 <<
"Running every case with limited number of steps for validation"
640 case_lo=atoi(argv[1]);
641 case_hi=atoi(argv[1]);
649 for (
unsigned my_case=case_lo;my_case<=case_hi;my_case++)
659 <<
"//////////////////////////////////////////////////////////\n"
660 <<
"All pinned solution \n"
661 <<
"//////////////////////////////////////////////////////////\n\n";
667 run_it(
"RESLT_adapt_all_pinned");
674 <<
"//////////////////////////////////////////////////////////\n"
675 <<
"Barrel-shaped solution with spine \n"
676 <<
"/////////////////////////////////////////////////////////\n\n";
681 run_it(
"RESLT_adapt_barrel_shape");
688 <<
"//////////////////////////////////////////////////////////\n"
689 <<
"Barrel-shaped solution without spines \n"
690 <<
"/////////////////////////////////////////////////////////\n\n";
695 run_it(
"RESLT_adapt_barrel_shape_without_spines");
702 <<
"//////////////////////////////////////////////////////////\n"
703 <<
"T-junction solution \n"
704 <<
"//////////////////////////////////////////////////////////\n\n";
714 run_it(
"RESLT_adapt_T_junction");
721 std::cout <<
"Wrong case! Options are:\n"
722 <<
"0: adaptive All pinned\n"
723 <<
"1: adaptive Barrel with spines\n"
724 <<
"2: adaptive Barrel without spines\n"
725 <<
"3: adaptive T_junction\n"
#define assert(e,...)
Definition: Logger.h:744
double Pi
Definition: two_d_biharmonic.cc:235
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
double L_x
------------------—Unsteady Heat Parameters---------------------—
Definition: test_equal_order_galerkin.cc:62
double Controlled_height_increment
Increment for height control.
Definition: common_young_laplace_stuff.h:85
bool Use_spines
Use spines (true) or not (false)
Definition: common_young_laplace_stuff.h:40
unsigned Nsteps
Number of steps.
Definition: common_young_laplace_stuff.h:79
double L_y
Length of the mesh in the y-direction.
Definition: test_equal_order_galerkin.cc:65
double Gamma
Parameter for timescale of step translation.
Definition: two_d_unsteady_heat_2adapt_load_balance.cc:144
@ Barrel_shape
Definition: common_young_laplace_stuff.h:48
@ All_pinned
Definition: common_young_laplace_stuff.h:47
@ T_junction_with_nonzero_contact_angle
Definition: common_young_laplace_stuff.h:49
int Case
What case are we considering: Choose one from the enumeration Cases.
Definition: common_young_laplace_stuff.h:53
int Argc
Number of arguments + 1.
Definition: oomph_utilities.cc:407
void run_it(const string &output_directory)
Definition: refineable_young_laplace.cc:541