2D YoungLaplace problem on rectangular domain, discretised with 2D QYoungLaplace elements. The specific type of element is specified via the template parameter. More...
Public Member Functions | |
YoungLaplaceProblem () | |
Constructor: More... | |
~YoungLaplaceProblem () | |
Destructor (empty) More... | |
void | actions_before_newton_solve () |
Update the problem before solve. More... | |
void | actions_after_newton_solve () |
Update the problem after solve: Empty. More... | |
void | doc_solution (DocInfo &doc_info, ofstream &trace_file) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to and the trace file. More... | |
YoungLaplaceProblem () | |
Constructor: More... | |
~YoungLaplaceProblem () | |
Destructor (empty) More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve. More... | |
void | actions_after_newton_solve () |
Update the problem after solve: Empty. More... | |
void | doc_solution (DocInfo &doc_info, ofstream &trace_file) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to and the trace file. More... | |
Private Member Functions | |
void | create_contact_angle_elements (const unsigned &b) |
Create YoungLaplace contact angle elements on the b-th boundary of the problem's mesh and add them to mesh. More... | |
Private Attributes | |
Node * | Control_node_pt |
Node at which the height (displacement along spine) is controlled/doced. More... | |
Data * | Kappa_pt |
Pointer to Data object that stores the prescribed curvature. More... | |
unsigned | N_bulk_elements |
Number of YoungLaplace "bulk" elements (We're attaching the contact angle elements to the bulk mesh --> only the first N_bulk_elements elements in the mesh are bulk elements!) More... | |
unsigned | Last_element_on_boundary1 |
Number of last FaceElement on boundary 1. More... | |
unsigned | Last_element_on_boundary3 |
Number of last FaceElement on boundary 3. More... | |
2D YoungLaplace problem on rectangular domain, discretised with 2D QYoungLaplace elements. The specific type of element is specified via the template parameter.
YoungLaplaceProblem< ELEMENT >::YoungLaplaceProblem |
Constructor:
Constructor for YoungLaplace problem.
Add height control element to mesh at the very end
Definition at line 180 of file barrel.cc.
References GlobalParameters::Controlled_height, GlobalParameters::Kappa_pt, GlobalParameters::spine_base_function(), and GlobalParameters::spine_function().
|
inline |
YoungLaplaceProblem< ELEMENT >::YoungLaplaceProblem | ( | ) |
Constructor:
|
inline |
Destructor (empty)
Definition at line 62 of file young_laplace.cc.
|
inline |
|
inline |
Update the problem after solve: Empty.
Definition at line 68 of file young_laplace.cc.
|
inline |
Update the problem before solve.
Update the problem specs before solve: (Re-)set boundary conditions to the values from the exact solution.
Definition at line 151 of file barrel.cc.
References GlobalParameters::Kappa_pt.
void YoungLaplaceProblem< ELEMENT >::actions_before_newton_solve | ( | ) |
Update the problem specs before solve.
|
private |
Create YoungLaplace contact angle elements on the b-th boundary of the problem's mesh and add them to mesh.
Create YoungLaplace contact angle elements on the b-th boundary of the Mesh.
Definition at line 279 of file young_laplace.cc.
void YoungLaplaceProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info, |
ofstream & | trace_file | ||
) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to and the trace file.
Doc the solution: doc_info contains labels/output directory etc.
Definition at line 291 of file barrel.cc.
References GlobalParameters::get_exact_kappa(), and GlobalParameters::Kappa_pt.
void YoungLaplaceProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info, |
ofstream & | trace_file | ||
) |
Doc the solution. DocInfo object stores flags/labels for where the output gets written to and the trace file.
|
private |
|
private |
|
private |
Number of last FaceElement on boundary 1.
Definition at line 86 of file young_laplace.cc.
|
private |
Number of last FaceElement on boundary 3.
Definition at line 89 of file young_laplace.cc.
|
private |
Number of YoungLaplace "bulk" elements (We're attaching the
contact angle elements to the bulk mesh --> only the first N_bulk_elements elements in the mesh are bulk elements!)
Definition at line 83 of file young_laplace.cc.