Spine version of the PointFluidInterfaceBoundingElement. More...
#include <specific_node_update_interface_elements.h>
Public Member Functions | |
SpinePointFluidInterfaceBoundingElement () | |
Constructor. More... | |
void | output (std::ostream &outfile) |
Overload the output function. More... | |
void | output (std::ostream &outfile, const unsigned &n_plot) |
Output the element. More... | |
void | output (FILE *file_pt) |
Overload the C-style output function. More... | |
void | output (FILE *file_pt, const unsigned &n_plot) |
C-style Output function. More... | |
void | fill_in_contribution_to_jacobian (Vector< double > &residuals, DenseMatrix< double > &jacobian) |
Calculate the elemental residual vector and the Jacobian. More... | |
int | kinematic_local_eqn (const unsigned &n) |
Return local equation number associated with the kinematic constraint for local node n. More... | |
Public Member Functions inherited from oomph::PointFluidInterfaceBoundingElement | |
PointFluidInterfaceBoundingElement () | |
Constructor. More... | |
Public Member Functions inherited from oomph::FluidInterfaceBoundingElement | |
FluidInterfaceBoundingElement () | |
Constructor. More... | |
WallUnitNormalFctPt & | wall_unit_normal_fct_pt () |
Access function: Pointer to wall unit normal function. More... | |
WallUnitNormalFctPt | wall_unit_normal_fct_pt () const |
Access function: Pointer to wall unit normal function. Const version. More... | |
Vector< unsigned > & | u_index_interface_boundary () |
Access for nodal index at which the velocity components are stored. More... | |
void | set_contact_angle (double *const &angle_pt, const bool &strong=true) |
Set a pointer to the desired contact angle. Optional boolean (defaults to true) chooses strong imposition via hijacking (true) or weak imposition via addition to momentum equation (false). The default strong imposition is appropriate for static contact angle problems. More... | |
double *& | contact_angle_pt () |
Access function to the pointer specifying the prescribed contact angle. More... | |
double *& | ca_pt () |
Access function to the pointer specifying the capillary number. More... | |
double | ca () |
Return the value of the capillary number. More... | |
double & | contact_angle () |
Return value of the contact angle. More... | |
void | fill_in_contribution_to_residuals (Vector< double > &residuals) |
Calculate the residuals. More... | |
virtual void | add_additional_residual_contributions_interface_boundary (Vector< double > &residuals, DenseMatrix< double > &jacobian, const unsigned &flag, const Shape &psif, const DShape &dpsifds, const Vector< double > &interpolated_n, const double &W) |
Empty helper function to calculate the additional contributions arising from the node update strategy to the Jacobian within the integration loop. This will be overloaded by elements that require contributions to their underlying equations from boundary integrals. The shape functions, their derivatives w.r.t. to the local coordinates, the unit normal and integral weight are passed in so that they do not have to be recalculated. More... | |
void | output (std::ostream &outfile) |
Overload the output function. More... | |
void | output (std::ostream &outfile, const unsigned &n_plot) |
Output function. More... | |
void | output (FILE *file_pt) |
Overload the C-style output function. More... | |
void | output (FILE *file_pt, const unsigned &n_plot) |
C-style Output function. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from oomph::PointFluidInterfaceBoundingElement | |
void | fill_in_generic_residual_contribution_interface_boundary (Vector< double > &residuals, DenseMatrix< double > &jacobian, unsigned flag) |
Overload the helper function to calculate the residuals and (if flag==1) the Jacobian – this function only deals with the part of the Jacobian that can be handled generically. Specific additional contributions may be provided in add_additional_residual_contributions_interface_boundary(...) More... | |
Protected Member Functions inherited from oomph::FluidInterfaceBoundingElement | |
void | wall_unit_normal (const Vector< double > &x, Vector< double > &normal) |
Function that returns the unit normal of the bounding wall directed out of the fluid. More... | |
void | update_in_external_fd (const unsigned &i) |
The geometric data of the parent element is included as external data and so a (bulk) node update must take place after the variation of any of this external data. More... | |
void | reset_in_external_fd (const unsigned &i) |
The only external data are these geometric data so We can omit the reset function (relying on the next update. More... | |
void | reset_after_external_fd () |
We require a final node update in the bulk element after all finite differencing. More... | |
Protected Attributes inherited from oomph::FluidInterfaceBoundingElement | |
unsigned | Contact_angle_flag |
Flag used to determine whether the contact angle is to be used (0 if not), and whether it will be applied weakly as a force term in the momentum equations (1) or by hijacking the kinematic condition (2). More... | |
Vector< unsigned > | U_index_interface_boundary |
Index at which the i-th velocity component is stored in the element's nodes. More... | |
Spine version of the PointFluidInterfaceBoundingElement.
Definition at line 421 of file specific_node_update_interface_elements.h.
|
inline |
Constructor.
Definition at line 428 of file specific_node_update_interface_elements.h.
|
inline |
Calculate the elemental residual vector and the Jacobian.
Definition at line 459 of file specific_node_update_interface_elements.h.
References oomph::PointFluidInterfaceBoundingElement::fill_in_generic_residual_contribution_interface_boundary().
|
inlinevirtual |
Return local equation number associated with the kinematic constraint for local node n.
Implements oomph::FluidInterfaceBoundingElement.
Definition at line 474 of file specific_node_update_interface_elements.h.
|
inline |
Overload the C-style output function.
Definition at line 447 of file specific_node_update_interface_elements.h.
|
inline |
C-style Output function.
Definition at line 453 of file specific_node_update_interface_elements.h.
References oomph::FluidInterfaceBoundingElement::output().
|
inline |
Overload the output function.
Definition at line 435 of file specific_node_update_interface_elements.h.
|
inline |
Output the element.
Definition at line 441 of file specific_node_update_interface_elements.h.
References oomph::FluidInterfaceBoundingElement::output().