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: | |
| ~YoungLaplaceProblem () | |
| Destructor (empty) | |
| void | actions_before_newton_solve () |
| Update the problem before solve. | |
| void | actions_after_newton_solve () |
| Update the problem after solve: Empty. | |
| 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. | |
| YoungLaplaceProblem () | |
| Constructor: | |
| ~YoungLaplaceProblem () | |
| Destructor (empty) | |
| void | actions_before_newton_solve () |
| Update the problem specs before solve. | |
| void | actions_after_newton_solve () |
| Update the problem after solve: Empty. | |
| 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. | |
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. | |
Private Attributes | |
| Node * | Control_node_pt |
| Node at which the height (displacement along spine) is controlled/doced. | |
| Data * | Kappa_pt |
| Pointer to Data object that stores the prescribed curvature. | |
| 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!) | |
| unsigned | Last_element_on_boundary1 |
| Number of last FaceElement on boundary 1. | |
| unsigned | Last_element_on_boundary3 |
| Number of last FaceElement on boundary 3. | |
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::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 YoungLaplaceProblem< ELEMENT >::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().
| 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 |
Pointer to Data object that stores the prescribed curvature.
Definition at line 171 of file barrel.cc.
Referenced by YoungLaplaceProblem< ELEMENT >::actions_before_newton_solve().
|
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.