oomph::TBubbleEnrichedElement< DIM, NNODE_1D > Class Template Reference

#include <Telements.h>

Public Member Functions

const unsigned Central_node_on_face [3]
 
void build_face_element (const int &face_index, FaceElement *face_element_pt)
 The face element for is the same in the two-dimesional case. More...
 
const unsigned Central_node_on_face [4]
 
void build_face_element (const int &face_index, FaceElement *face_element_pt)
 

Detailed Description

template<unsigned DIM, unsigned NNODE_1D>
class oomph::TBubbleEnrichedElement< DIM, NNODE_1D >

//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// TElement class for which the shape functions have been enriched by a single bubble function of the next order

Empty, just establishes the template parameters

Member Function Documentation

◆ build_face_element() [1/2]

void oomph::TBubbleEnrichedElement< 2, 3 >::build_face_element ( const int face_index,
FaceElement face_element_pt 
)

The face element for is the same in the two-dimesional case.

875  {
876  TElement<2, 3>::build_face_element(face_index, face_element_pt);
877  }

◆ build_face_element() [2/2]

void oomph::TBubbleEnrichedElement< 3, 3 >::build_face_element ( const int face_index,
FaceElement face_element_pt 
)

Function to setup geometrical information for lower-dimensional FaceElements (which are of type TBubbleEnrichedElement<2,3>).

895  {
896  // Call the standard unenriched build function
897  TElement<3, 3>::build_face_element(face_index, face_element_pt);
898 
899  // Set the enriched number of total face nodes
900  const unsigned n_face_nodes = 7;
901 
902  // Resize storage for the number of values originally stored
903  // at the face element's nodes.
904  face_element_pt->nbulk_value_resize(n_face_nodes);
905 
906  // Resize storage for the bulk node numbers corresponding to
907  // the nodes of the face
908  face_element_pt->bulk_node_number_resize(n_face_nodes);
909 
910  // So the faces are
911  // 0 : s_0 fixed
912  // 1 : s_1 fixed
913  // 2 : s_2 fixed
914  // 3 : sloping face
915 
916  // Copy central node across
917  unsigned bulk_number = Central_node_on_face[face_index];
918  face_element_pt->node_pt(n_face_nodes - 1) = node_pt(bulk_number);
919  face_element_pt->bulk_node_number(n_face_nodes - 1) = bulk_number;
920  // set the number of values originally stored at this node
921  face_element_pt->nbulk_value(n_face_nodes - 1) =
922  required_nvalue(bulk_number);
923  }
const unsigned Central_node_on_face[3]
Definition: Telements.cc:865

References oomph::FaceElement::bulk_node_number(), oomph::FaceElement::bulk_node_number_resize(), oomph::FaceElement::nbulk_value(), oomph::FaceElement::nbulk_value_resize(), and oomph::FiniteElement::node_pt().

◆ Central_node_on_face() [1/2]

const unsigned oomph::TBubbleEnrichedElement< 2, 3 >::Central_node_on_face

◆ Central_node_on_face() [2/2]

const unsigned oomph::TBubbleEnrichedElement< 3, 3 >::Central_node_on_face

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