COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Types | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | List of all members
ShapeFunctionBase< SF, TR > Class Template Reference

Fallback class if a concrete ShapeFunction doesn't implement a static function. More...

#include <ShapeFunctionBase.hpp>

Public Types

typedef Eigen::Matrix< Real, dimensionality, 1 > MappedCoordsT
 
typedef Eigen::Matrix< Real, 1, nb_nodesValueT
 
typedef Eigen::Matrix< Real, dimensionality, nb_nodesGradientT
 

Static Public Member Functions

static std::string type_name ()
 
static const RealMatrixlocal_coordinates ()
 
static const RealMatrixface_normals ()
 
static void compute_value (const MappedCoordsT &mapped_coord, ValueT &result)
 
static void compute_gradient (const MappedCoordsT &mapped_coord, GradientT &result)
 
static const RealMatrixmononomial_coefficients ()
 
static const RealMatrixmononomial_exponents ()
 
static ValueT value (const MappedCoordsT &mapped_coord)
 
static GradientT gradient (const MappedCoordsT &mapped_coord)
 

Static Public Attributes

static const GeoShape::Type shape = (GeoShape::Type) TR::shape
 
static const Uint dimensionality = (Uint) TR::dimensionality
 
static const Uint order = (Uint) TR::order
 
static const Uint nb_nodes = (Uint) TR::nb_nodes
 
static const Uint nb_faces = (Uint) TR::nb_faces
 

Static Private Member Functions

static void throw_not_implemented (const common::CodeLocation &where)
 

Detailed Description

template<typename SF, typename TR>
class cf3::mesh::ShapeFunctionBase< SF, TR >

Fallback class if a concrete ShapeFunction doesn't implement a static function.

Implements all functions ShapeFunctionT expects. When creating a new shape function, this list shows all the possible static functions that can be implemented and are recognized by the dynamic interface from ShapeFunction

Template Parameters
SFConcrete shapefunction implementation with only static functions
TRTraits of the implementation, containing
  • shape
  • nb_nodes
  • dimensionality
  • order The TR template parameter is necessary to be able to implement default implementations and define special matrix types.
Author
Willem Deconinck

Definition at line 41 of file ShapeFunctionBase.hpp.

Member Typedef Documentation

typedef Eigen::Matrix<Real, dimensionality, nb_nodes> GradientT

Definition at line 59 of file ShapeFunctionBase.hpp.

typedef Eigen::Matrix<Real, dimensionality, 1 > MappedCoordsT

Definition at line 57 of file ShapeFunctionBase.hpp.

typedef Eigen::Matrix<Real, 1 , nb_nodes> ValueT

Definition at line 58 of file ShapeFunctionBase.hpp.

Member Function Documentation

void compute_gradient ( const MappedCoordsT mapped_coord,
GradientT result 
)
inlinestatic

Definition at line 157 of file ShapeFunctionBase.hpp.

void compute_value ( const MappedCoordsT mapped_coord,
ValueT result 
)
inlinestatic

Definition at line 149 of file ShapeFunctionBase.hpp.

const RealMatrix & face_normals ( )
inlinestatic

Definition at line 139 of file ShapeFunctionBase.hpp.

ShapeFunctionBase< SF, TR >::GradientT gradient ( const MappedCoordsT mapped_coord)
inlinestatic

Definition at line 175 of file ShapeFunctionBase.hpp.

const RealMatrix & local_coordinates ( )
inlinestatic

Definition at line 109 of file ShapeFunctionBase.hpp.

const RealMatrix & mononomial_coefficients ( )
inlinestatic

Definition at line 119 of file ShapeFunctionBase.hpp.

const RealMatrix & mononomial_exponents ( )
inlinestatic

Definition at line 129 of file ShapeFunctionBase.hpp.

void throw_not_implemented ( const common::CodeLocation where)
inlinestaticprivate

Definition at line 101 of file ShapeFunctionBase.hpp.

static std::string type_name ( )
inlinestatic

Definition at line 53 of file ShapeFunctionBase.hpp.

ShapeFunctionBase< SF, TR >::ValueT value ( const MappedCoordsT mapped_coord)
inlinestatic

Definition at line 165 of file ShapeFunctionBase.hpp.

Member Data Documentation

const Uint dimensionality = (Uint) TR::dimensionality
static

Definition at line 48 of file ShapeFunctionBase.hpp.

const Uint nb_faces = (Uint) TR::nb_faces
static

Definition at line 51 of file ShapeFunctionBase.hpp.

const Uint nb_nodes = (Uint) TR::nb_nodes
static

Definition at line 50 of file ShapeFunctionBase.hpp.

const Uint order = (Uint) TR::order
static

Definition at line 49 of file ShapeFunctionBase.hpp.

const GeoShape::Type shape = (GeoShape::Type) TR::shape
static

Definition at line 47 of file ShapeFunctionBase.hpp.


The documentation for this class was generated from the following file:
Send comments to:
COOLFluiD Web Admin