Namespace for "global" problem parameters. More...
Enumerations | |
enum | Cases { Spherical_cap_in_cylinder_pinned , All_pinned , Barrel_shape , T_junction_with_nonzero_contact_angle } |
Enumeration for the possible cases. More... | |
Functions | |
double | get_exact_kappa () |
Exact kappa. More... | |
void | spine_base_function (const Vector< double > &x, Vector< double > &spine_B, Vector< Vector< double > > &dspine_B) |
Spine basis: The position vector to the basis of the spine as a function of the two coordinates x_1 and x_2, and its derivatives w.r.t. to these coordinates. dspine_B[i][j] = d spine_B[j] / dx_i Spines start in the (x_1,x_2) plane at (x_1,x_2). More... | |
void | spine_function (const Vector< double > &x, Vector< double > &spine, Vector< Vector< double > > &dspine) |
Spine: The spine vector field as a function of the two coordinates x_1 and x_2, and its derivatives w.r.t. to these coordinates: dspine[i][j] = d spine[j] / dx_i. More... | |
void | setup_dependent_parameters_and_sanity_check () |
Setup dependent parameters and perform sanity check. More... | |
Variables | |
double | Controlled_height = 0.0 |
Height control value. More... | |
double | Alpha_min = MathematicalConstants::Pi/2.0*1.5 |
Min. spine angle against horizontal plane. More... | |
double | Alpha_max = MathematicalConstants::Pi/2.0*0.5 |
Max. spine angle against horizontal plane. More... | |
bool | Use_spines = true |
Use spines (true) or not (false) More... | |
bool | Use_height_control = true |
Use height control (true) or not (false)? More... | |
int | Case = All_pinned |
What case are we considering: Choose one from the enumeration Cases. More... | |
double | Gamma = MathematicalConstants::Pi/4.0 |
Contact angle and its cos (dependent parameter – is reassigned) More... | |
double | Cos_gamma =cos(Gamma) |
Cos of contact angle. More... | |
Data * | Kappa_pt = 0 |
Pointer to Data object that stores the prescribed curvature. More... | |
double | Kappa_initial = 0.0 |
Initial value for kappa. More... | |
int | Step_sign = 1 |
Increase or decrease the value of the control parameters? More... | |
unsigned | Nsteps = 5 |
Number of steps. More... | |
double | Kappa_increment = -0.05 |
Increment for prescribed curvature. More... | |
double | Controlled_height_increment = 0.1 |
Increment for height control. More... | |
unsigned | Control_element = 0 |
Number of element in bulk mesh at which height control is applied. Initialise to 0 – will be overwritte in setup_dependent_parameters_and_sanity_check() More... | |
double | L_x = 1.0 |
Length and width of the domain. More... | |
double | L_y = 1.0 |
Width of domain. More... | |
unsigned | N_x = 8 |
Number of elements in the mesh. More... | |
unsigned | N_y = 8 |
double | Beta_min = MathematicalConstants::Pi/2.0 |
Min. second spine angle against horizontal plane. More... | |
double | Beta_max = MathematicalConstants::Pi/2.0 |
Max. second pine angle against horizontal plane. More... | |
bool | Rotate_spines_in_both_directions = true |
Should the spines rotate in the x and y directions (true)? More... | |
Namespace for "global" problem parameters.
Enumeration for the possible cases.
Enumerator | |
---|---|
Spherical_cap_in_cylinder_pinned | |
All_pinned | |
Barrel_shape | |
T_junction_with_nonzero_contact_angle |
Definition at line 46 of file common_young_laplace_stuff.h.
double GlobalParameters::get_exact_kappa | ( | ) |
Exact kappa.
Definition at line 54 of file barrel.cc.
References Controlled_height.
Referenced by YoungLaplaceProblem< ELEMENT >::doc_solution().
void GlobalParameters::setup_dependent_parameters_and_sanity_check | ( | ) |
Setup dependent parameters and perform sanity check.
Definition at line 126 of file common_young_laplace_stuff.h.
References All_pinned, Alpha_max, Alpha_min, Barrel_shape, Case, Control_element, Cos_gamma, Gamma, Kappa_initial, L_x, L_y, N_x, N_y, Rotate_spines_in_both_directions, Spherical_cap_in_cylinder_pinned, and T_junction_with_nonzero_contact_angle.
void GlobalParameters::spine_base_function | ( | const Vector< double > & | x, |
Vector< double > & | spine_B, | ||
Vector< Vector< double > > & | dspine_B | ||
) |
Spine basis: The position vector to the basis of the spine as a function of the two coordinates x_1 and x_2, and its derivatives w.r.t. to these coordinates. dspine_B[i][j] = d spine_B[j] / dx_i Spines start in the (x_1,x_2) plane at (x_1,x_2).
Definition at line 72 of file barrel.cc.
Referenced by RefineableYoungLaplaceProblem< ELEMENT >::RefineableYoungLaplaceProblem(), and YoungLaplaceProblem< ELEMENT >::YoungLaplaceProblem().
void GlobalParameters::spine_function | ( | const Vector< double > & | x, |
Vector< double > & | spine, | ||
Vector< Vector< double > > & | dspine | ||
) |
Spine: The spine vector field as a function of the two coordinates x_1 and x_2, and its derivatives w.r.t. to these coordinates: dspine[i][j] = d spine[j] / dx_i.
Spines (and derivatives) are independent of x[0] and rotate in the x[1]-direction
Spines (and derivatives) are independent of x[0] and rotate in the x[1]-direction
Spines are dependent of x[0] AND x[1] and rotate in both directions
Spines (and derivatives) are independent of x[0] and rotate in the x[1]-direction
Spines (and derivatives) are independent of x[0] and rotate in the x[1]-direction
Spines are dependent of x[0] AND x[1] and rotate in both directions
Spines (and derivatives) are independent of x[0] and rotate in the x[1]-direction
Definition at line 104 of file barrel.cc.
References Alpha_max, and Alpha_min.
Referenced by RefineableYoungLaplaceProblem< ELEMENT >::RefineableYoungLaplaceProblem(), and YoungLaplaceProblem< ELEMENT >::YoungLaplaceProblem().
double GlobalParameters::Alpha_max = MathematicalConstants::Pi/2.0*0.5 |
Max. spine angle against horizontal plane.
Max. first spine angle against horizontal plane.
Definition at line 99 of file barrel.cc.
Referenced by setup_dependent_parameters_and_sanity_check(), and spine_function().
double GlobalParameters::Alpha_min = MathematicalConstants::Pi/2.0*1.5 |
Min. spine angle against horizontal plane.
Min. first spine angle against horizontal plane.
Definition at line 96 of file barrel.cc.
Referenced by setup_dependent_parameters_and_sanity_check(), and spine_function().
double GlobalParameters::Beta_max = MathematicalConstants::Pi/2.0 |
Max. second pine angle against horizontal plane.
Definition at line 116 of file common_young_laplace_stuff.h.
double GlobalParameters::Beta_min = MathematicalConstants::Pi/2.0 |
Min. second spine angle against horizontal plane.
Definition at line 113 of file common_young_laplace_stuff.h.
int GlobalParameters::Case = All_pinned |
What case are we considering: Choose one from the enumeration Cases.
Definition at line 53 of file common_young_laplace_stuff.h.
Referenced by RefineableYoungLaplaceProblem< ELEMENT >::actions_after_adapt(), main(), and setup_dependent_parameters_and_sanity_check().
unsigned GlobalParameters::Control_element = 0 |
Number of element in bulk mesh at which height control is applied. Initialise to 0 – will be overwritte in setup_dependent_parameters_and_sanity_check()
Definition at line 90 of file common_young_laplace_stuff.h.
Referenced by setup_dependent_parameters_and_sanity_check().
double GlobalParameters::Controlled_height = 0.0 |
Height control value.
Height control value for displacement control.
Definition at line 51 of file barrel.cc.
Referenced by get_exact_kappa(), RefineableYoungLaplaceProblem< ELEMENT >::increment_parameters(), main(), RefineableYoungLaplaceProblem< ELEMENT >::RefineableYoungLaplaceProblem(), and YoungLaplaceProblem< ELEMENT >::YoungLaplaceProblem().
double GlobalParameters::Controlled_height_increment = 0.1 |
Increment for height control.
Definition at line 85 of file common_young_laplace_stuff.h.
Referenced by RefineableYoungLaplaceProblem< ELEMENT >::increment_parameters(), and main().
double GlobalParameters::Cos_gamma =cos(Gamma) |
Cos of contact angle.
Definition at line 61 of file common_young_laplace_stuff.h.
Referenced by RefineableYoungLaplaceProblem< ELEMENT >::actions_after_adapt(), RefineableYoungLaplaceProblem< ELEMENT >::RefineableYoungLaplaceProblem(), and setup_dependent_parameters_and_sanity_check().
double GlobalParameters::Gamma = MathematicalConstants::Pi/4.0 |
Contact angle and its cos (dependent parameter – is reassigned)
Definition at line 60 of file common_young_laplace_stuff.h.
Referenced by main(), and setup_dependent_parameters_and_sanity_check().
double GlobalParameters::Kappa_increment = -0.05 |
Increment for prescribed curvature.
Definition at line 82 of file common_young_laplace_stuff.h.
Referenced by RefineableYoungLaplaceProblem< ELEMENT >::increment_parameters().
double GlobalParameters::Kappa_initial = 0.0 |
Initial value for kappa.
Definition at line 67 of file common_young_laplace_stuff.h.
Referenced by setup_dependent_parameters_and_sanity_check().
Data* GlobalParameters::Kappa_pt = 0 |
Pointer to Data object that stores the prescribed curvature.
Definition at line 64 of file common_young_laplace_stuff.h.
Referenced by YoungLaplaceProblem< ELEMENT >::actions_before_newton_solve(), YoungLaplaceProblem< ELEMENT >::doc_solution(), RefineableYoungLaplaceProblem< ELEMENT >::doc_solution(), RefineableYoungLaplaceProblem< ELEMENT >::increment_parameters(), RefineableYoungLaplaceProblem< ELEMENT >::RefineableYoungLaplaceProblem(), and YoungLaplaceProblem< ELEMENT >::YoungLaplaceProblem().
double GlobalParameters::L_x = 1.0 |
Length and width of the domain.
Length of domain.
Definition at line 96 of file common_young_laplace_stuff.h.
Referenced by main(), RefineableYoungLaplaceProblem< ELEMENT >::RefineableYoungLaplaceProblem(), and setup_dependent_parameters_and_sanity_check().
double GlobalParameters::L_y = 1.0 |
Width of domain.
Definition at line 97 of file common_young_laplace_stuff.h.
Referenced by main(), RefineableYoungLaplaceProblem< ELEMENT >::RefineableYoungLaplaceProblem(), and setup_dependent_parameters_and_sanity_check().
unsigned GlobalParameters::N_x = 8 |
Number of elements in the mesh.
Definition at line 100 of file common_young_laplace_stuff.h.
Referenced by setup_dependent_parameters_and_sanity_check().
unsigned GlobalParameters::N_y = 8 |
Definition at line 101 of file common_young_laplace_stuff.h.
Referenced by setup_dependent_parameters_and_sanity_check().
unsigned GlobalParameters::Nsteps = 5 |
Number of steps.
Definition at line 79 of file common_young_laplace_stuff.h.
bool GlobalParameters::Rotate_spines_in_both_directions = true |
Should the spines rotate in the x and y directions (true)?
Definition at line 119 of file common_young_laplace_stuff.h.
Referenced by setup_dependent_parameters_and_sanity_check().
int GlobalParameters::Step_sign = 1 |
Increase or decrease the value of the control parameters?
Definition at line 76 of file common_young_laplace_stuff.h.
bool GlobalParameters::Use_height_control = true |
Use height control (true) or not (false)?
Definition at line 43 of file common_young_laplace_stuff.h.
Referenced by RefineableYoungLaplaceProblem< ELEMENT >::increment_parameters().
bool GlobalParameters::Use_spines = true |
Use spines (true) or not (false)
Definition at line 40 of file common_young_laplace_stuff.h.
Referenced by main().