oomph::TElement1BulkCoordinateDerivatives Namespace Reference

Functions

void faces0 (const Vector< double > &s, DenseMatrix< double > &dsbulk_dsface, unsigned &interior_direction)
 Function for both faces – the bulk coordinate is fixed on both. More...
 

Detailed Description

Namespace for helper functions that calculate derivatives of the local coordinates in the bulk elements wrt the local coordinates in the face element.

Function Documentation

◆ faces0()

void oomph::TElement1BulkCoordinateDerivatives::faces0 ( const Vector< double > &  s,
DenseMatrix< double > &  dsbulk_dsface,
unsigned interior_direction 
)

Function for both faces – the bulk coordinate is fixed on both.

163  {
164  // Bulk coordinate s[0] does not vary along the face
165  dsbulk_dsface(0, 0) = 0.0;
166 
167  // The interior direction is given by s[0]
168  interior_direction = 0;
169  }

Referenced by oomph::TElement< 1, NNODE_1D >::build_face_element().