oomph::FreeStandingFaceElement< ELEMENT > Class Template Reference

#include <elements.h>

+ Inheritance diagram for oomph::FreeStandingFaceElement< ELEMENT >:

Public Member Functions

 FreeStandingFaceElement ()
 Constructor. More...
 
const unsignedboundary_number_in_bulk_mesh () const
 Access function for the boundary number in bulk mesh. More...
 
void set_boundary_number_in_bulk_mesh (const unsigned &b)
 Set function for the boundary number in bulk mesh. More...
 
double zeta_nodal (const unsigned &n, const unsigned &k, const unsigned &i) const
 

Protected Attributes

unsigned Boundary_number_in_bulk_mesh
 The boundary number in the bulk mesh to which this element is attached. More...
 

Detailed Description

template<class ELEMENT>
class oomph::FreeStandingFaceElement< ELEMENT >

//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// Basic-ified FaceElement, without any of the functionality of of actual FaceElements – it's just a surface element of the same geometric type as the FaceGeometry associated with bulk element specified by the template parameter. The element can be used to represent boundaries without actually being attached to a bulk element. Used mainly during unstructured mesh generation.

Constructor & Destructor Documentation

◆ FreeStandingFaceElement()

template<class ELEMENT >
oomph::FreeStandingFaceElement< ELEMENT >::FreeStandingFaceElement ( )
inline

Constructor.

5123  : FaceGeometry<ELEMENT>(), Boundary_number_in_bulk_mesh(0)
5124  {
5125  // Check whether things have been set
5126 #ifdef PARANOID
5127  Boundary_number_in_bulk_mesh_has_been_set = false;
5128 #endif
5129  }
unsigned Boundary_number_in_bulk_mesh
The boundary number in the bulk mesh to which this element is attached.
Definition: elements.h:5171

Member Function Documentation

◆ boundary_number_in_bulk_mesh()

template<class ELEMENT >
const unsigned& oomph::FreeStandingFaceElement< ELEMENT >::boundary_number_in_bulk_mesh ( ) const
inline

Access function for the boundary number in bulk mesh.

5133  {
5135  }

References oomph::FreeStandingFaceElement< ELEMENT >::Boundary_number_in_bulk_mesh.

◆ set_boundary_number_in_bulk_mesh()

template<class ELEMENT >
void oomph::FreeStandingFaceElement< ELEMENT >::set_boundary_number_in_bulk_mesh ( const unsigned b)
inline

Set function for the boundary number in bulk mesh.

5140  {
5142 #ifdef PARANOID
5143  Boundary_number_in_bulk_mesh_has_been_set = true;
5144 #endif
5145  }
Scalar * b
Definition: benchVecAdd.cpp:17

References b, and oomph::FreeStandingFaceElement< ELEMENT >::Boundary_number_in_bulk_mesh.

◆ zeta_nodal()

template<class ELEMENT >
double oomph::FreeStandingFaceElement< ELEMENT >::zeta_nodal ( const unsigned n,
const unsigned k,
const unsigned i 
) const
inline

In a FaceElement, the "global" intrinsic coordinate of the element along the boundary, when viewed as part of a compound geometric object is specified using the boundary coordinate defined by the mesh. Note: Boundary coordinates will have been set up when creating the underlying mesh, and their values will have been stored at the nodes.

5157  {
5158  // Vector in which to hold the intrinsic coordinate
5159  Vector<double> zeta(this->dim());
5160 
5161  // Get the k-th generalised boundary coordinate at node n
5162  this->node_pt(n)->get_coordinates_on_boundary(
5164 
5165  // Return the individual coordinate
5166  return zeta[i];
5167  }
int i
Definition: BiCGSTAB_step_by_step.cpp:9
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
char char char int int * k
Definition: level2_impl.h:374
EIGEN_STRONG_INLINE const Eigen::CwiseBinaryOp< Eigen::internal::scalar_zeta_op< typename DerivedX::Scalar >, const DerivedX, const DerivedQ > zeta(const Eigen::ArrayBase< DerivedX > &x, const Eigen::ArrayBase< DerivedQ > &q)
Definition: SpecialFunctionsArrayAPI.h:152

References oomph::FreeStandingFaceElement< ELEMENT >::Boundary_number_in_bulk_mesh, i, k, n, and Eigen::zeta().

Member Data Documentation

◆ Boundary_number_in_bulk_mesh

template<class ELEMENT >
unsigned oomph::FreeStandingFaceElement< ELEMENT >::Boundary_number_in_bulk_mesh
protected

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