oomph::FluidInterfaceAdditionalValues< SurfactantTransportInterfaceElement > Class Reference

#include <surfactant_transport_elements.h>

Public Member Functions

 FluidInterfaceAdditionalValues ()
 
unsigned nadditional_values (const unsigned &n)
 
void setup_equation_indices (SurfactantTransportInterfaceElement *const &element_pt, const unsigned &id)
 

Detailed Description

============================================================================= This is the policy class for the surfactanttransport equations which require one additional value for the surface concentration

Constructor & Destructor Documentation

◆ FluidInterfaceAdditionalValues()

Member Function Documentation

◆ nadditional_values()

207  {
208  return 1;
209  }

◆ setup_equation_indices()

void oomph::FluidInterfaceAdditionalValues< SurfactantTransportInterfaceElement >::setup_equation_indices ( SurfactantTransportInterfaceElement *const &  element_pt,
const unsigned id 
)
inline
214  {
215  const unsigned n_node = element_pt->nnode();
216  Vector<unsigned> c_index(n_node);
217  for (unsigned n = 0; n < n_node; n++)
218  {
219  c_index[n] = dynamic_cast<BoundaryNodeBase*>(element_pt->node_pt(n))
220  ->index_of_first_value_assigned_by_face_element(id);
221  }
222 
223  element_pt->set_c_index(c_index);
224  }
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11

References n, oomph::FiniteElement::nnode(), oomph::FiniteElement::node_pt(), and oomph::SurfactantTransportInterfaceElement::set_c_index().


The documentation for this class was generated from the following file: