This policy class is used to allow additional values to be added to the nodes from new surface equations, for examples of usage see the SurfactantTransportFluidInterfaceElements. The use of this class avoids issues with calling virtual functions in constructors and avoids having a global look-up able, although it functions in much the same way. Typically, this will only be filled in by "expert users" and is only required if you want to write generic surface-element classes. Specific classes can always be overloaded on a case-by-case basis. More...
#include <specific_node_update_interface_elements.h>
Public Member Functions | |
FluidInterfaceAdditionalValues () | |
Empty constructor. More... | |
unsigned | nadditional_values (const unsigned &n) |
Specific interface that states how many additional values are required for the n-th node. Default is zero, but issue error_message. More... | |
void | setup_equation_indices (ELEMENT *const &element_pt, const unsigned &id) |
Specify any additional index setup information that is required; i.e. the look-up schemes for the additional values. Default is empty with error message. More... | |
Private Member Functions | |
void | error_message () |
This policy class is used to allow additional values to be added to the nodes from new surface equations, for examples of usage see the SurfactantTransportFluidInterfaceElements. The use of this class avoids issues with calling virtual functions in constructors and avoids having a global look-up able, although it functions in much the same way. Typically, this will only be filled in by "expert users" and is only required if you want to write generic surface-element classes. Specific classes can always be overloaded on a case-by-case basis.
Definition at line 71 of file specific_node_update_interface_elements.h.
|
inline |
Empty constructor.
Definition at line 75 of file specific_node_update_interface_elements.h.
|
inlineprivate |
|
inline |
Specific interface that states how many additional values are required for the n-th node. Default is zero, but issue error_message.
Definition at line 97 of file specific_node_update_interface_elements.h.
References oomph::FluidInterfaceAdditionalValues< ELEMENT >::error_message().
Referenced by oomph::ElasticUpdateFluidInterfaceElement< EQUATION_CLASS, DERIVATIVE_CLASS, ELEMENT >::ElasticUpdateFluidInterfaceElement(), and oomph::SpineUpdateFluidInterfaceElement< EQUATION_CLASS, DERIVATIVE_CLASS, ELEMENT >::SpineUpdateFluidInterfaceElement().
|
inline |
Specify any additional index setup information that is required; i.e. the look-up schemes for the additional values. Default is empty with error message.
Definition at line 106 of file specific_node_update_interface_elements.h.
Referenced by oomph::ElasticUpdateFluidInterfaceElement< EQUATION_CLASS, DERIVATIVE_CLASS, ELEMENT >::ElasticUpdateFluidInterfaceElement(), and oomph::SpineUpdateFluidInterfaceElement< EQUATION_CLASS, DERIVATIVE_CLASS, ELEMENT >::SpineUpdateFluidInterfaceElement().