COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Static Private Attributes | List of all members
Quad2D Struct Reference

2D Lagrange P2 Quadrilateral Element type This class provides the lagrangian shape function describing the representation of the solution and/or the geometry in a P2 (linear) quadrilateral element. More...

#include <Quad2D.hpp>

Inherits ElementTypeBase< Quad2D, Quad2D_traits >.

Static Public Member Functions

Accessor functions
static const ElementTypeFaceConnectivityfaces ()
 
static const ElementTypeface_type (const Uint face)
 
Computation functions
static MappedCoordsT mapped_coordinate (const CoordsT &coord, const NodesT &nodes)
 
static void compute_mapped_coordinate (const CoordsT &coord, const NodesT &nodes, MappedCoordsT &mapped_coord)
 
static bool is_coord_in_element (const CoordsT &coord, const NodesT &nodes)
 
static Real volume (const NodesT &nodes)
 
static Real area (const NodesT &nodes)
 
static void compute_centroid (const NodesT &nodes, CoordsT &centroid)
 
static Real jacobian_determinant (const MappedCoordsT &mapped_coord, const NodesT &nodes)
 
static JacobianT jacobian (const MappedCoordsT &mapped_coord, const NodesT &nodes)
 
template<typename MatrixType >
static void compute_jacobian (const MappedCoordsT &mapped_coord, const NodesT &nodes, MatrixType &jacobian)
 
static CoordsT plane_jacobian_normal (const MappedCoordsT &mapped_coord, const NodesT &nodes, const CoordRef orientation)
 
static void compute_plane_jacobian_normal (const MappedCoordsT &mapped_coord, const NodesT &nodes, const CoordRef orientation, CoordsT &result)
 
- Static Public Member Functions inherited from ElementTypeBase< Quad2D, Quad2D_traits >
static std::string type_name ()
 
static void compute_mapped_coordinate (const CoordsT &coord, const NodesT &nodes, MappedCoordsT &mapped_coord)
 
static Real jacobian_determinant (const MappedCoordsT &mapped_coord, const NodesT &nodes)
 
static void compute_jacobian (const MappedCoordsT &mapped_coord, const NodesT &nodes, MatrixType &jacobian)
 
static boost::enable_if< boost::is_same< MatrixType, JacobianT > >::type compute_jacobian_if_enabled (const MappedCoordsT &mapped_coord, const NodesT &nodes, MatrixType &jacobian)
 
static boost::enable_if< boost::mpl::not_< boost::is_same< MatrixType, JacobianT > > >::type compute_jacobian_if_enabled (const MappedCoordsT &mapped_coord, const NodesT &nodes, MatrixType &jacobian)
 
static void compute_jacobian_adjoint (const MappedCoordsT &mapped_coord, const NodesT &nodes, JacobianT &result)
 
static Real volume (const NodesT &nodes)
 
static Real area (const NodesT &nodes)
 
static void compute_normal (const NodesT &nodes, CoordsT &normal)
 
static void compute_centroid (const NodesT &nodes, CoordsT &centroid)
 
static bool is_coord_in_element (const CoordsT &coord, const NodesT &nodes)
 
static void compute_plane_jacobian_normal (const MappedCoordsT &mapped_coord, const NodesT &nodes, const CoordRef orientation, CoordsT &result)
 
static MappedCoordsT mapped_coordinate (const CoordsT &coord, const NodesT &nodes)
 
static JacobianT jacobian (const MappedCoordsT &mapped_coord, const NodesT &nodes)
 
static CoordsT plane_jacobian_normal (const MappedCoordsT &mapped_coord, const NodesT &nodes, const CoordRef orientation)
 

Static Private Attributes

static Eigen::Matrix< Real, nb_nodes, 1 > m_shapeFunc
 
static Eigen::Matrix< Real, nb_nodes, dimensionalitym_shapeFuncDerivs
 
static RealVector2 m_D
 
static Real m_scale
 

Additional Inherited Members

- Public Types inherited from ElementTypeBase< Quad2D, Quad2D_traits >
typedef Quad2D_traits::SF SF
 
typedef Quad2D_traits::SF::MappedCoordsT MappedCoordsT
 
typedef Eigen::Matrix< Real, Quad2D_traits::dimension, 1 > CoordsT
 
typedef Eigen::Matrix< Real, nb_nodes, Quad2D_traits::dimension > NodesT
 
typedef Eigen::Matrix< Real, Quad2D_traits::SF::dimensionality, Quad2D_traits::dimension > JacobianT
 
- Static Public Attributes inherited from ElementTypeBase< Quad2D, Quad2D_traits >
static const GeoShape::Type shape
 
static const Uint order
 
static const Uint dimensionality
 
static const Uint dimension
 
static const Uint nb_faces
 
static const Uint nb_edges
 
static const Uint nb_nodes
 

Detailed Description

2D Lagrange P2 Quadrilateral Element type This class provides the lagrangian shape function describing the representation of the solution and/or the geometry in a P2 (linear) quadrilateral element.

See also
ElementType for documentation of undocumented functions
Author
Willem Deconinck
Tiago Quintino
Bart Janssens

Definition at line 36 of file Quad2D.hpp.

Member Function Documentation

Real area ( const NodesT nodes)
static

Definition at line 95 of file Quad2D.cpp.

void compute_centroid ( const NodesT nodes,
CoordsT centroid 
)
static

Definition at line 60 of file Quad2D.cpp.

static void compute_jacobian ( const MappedCoordsT mapped_coord,
const NodesT nodes,
MatrixType &  jacobian 
)
static
void compute_mapped_coordinate ( const CoordsT coord,
const NodesT nodes,
MappedCoordsT mapped_coord 
)
static

Definition at line 288 of file Quad2D.cpp.

void compute_plane_jacobian_normal ( const MappedCoordsT mapped_coord,
const NodesT nodes,
const CoordRef  orientation,
CoordsT result 
)
static
Note
below, the derivatives of shapefunctions are computed, not the shapefunctions themselves
below, the derivatives of shapefunctions are computed, not the shapefunctions themselves

Definition at line 178 of file Quad2D.cpp.

const cf3::mesh::ElementType & face_type ( const Uint  face)
static

Definition at line 52 of file Quad2D.cpp.

const cf3::mesh::ElementType::FaceConnectivity & faces ( )
static

Definition at line 35 of file Quad2D.cpp.

bool is_coord_in_element ( const CoordsT coord,
const NodesT nodes 
)
static

Definition at line 246 of file Quad2D.cpp.

Quad2D::JacobianT jacobian ( const MappedCoordsT mapped_coord,
const NodesT nodes 
)
static

Definition at line 158 of file Quad2D.cpp.

Real jacobian_determinant ( const MappedCoordsT mapped_coord,
const NodesT nodes 
)
static

Definition at line 102 of file Quad2D.cpp.

Quad2D::MappedCoordsT mapped_coordinate ( const CoordsT coord,
const NodesT nodes 
)
static

Definition at line 304 of file Quad2D.cpp.

static CoordsT plane_jacobian_normal ( const MappedCoordsT mapped_coord,
const NodesT nodes,
const CoordRef  orientation 
)
static
Real volume ( const NodesT nodes)
static

Definition at line 67 of file Quad2D.cpp.

Member Data Documentation

RealVector2 m_D
staticprivate

Definition at line 72 of file Quad2D.hpp.

Real m_scale
staticprivate

Definition at line 73 of file Quad2D.hpp.

Eigen::Matrix< Real, Quad2D::nb_nodes, 1 > m_shapeFunc
staticprivate

Definition at line 69 of file Quad2D.hpp.

Eigen::Matrix< Real, Quad2D::nb_nodes, Quad2D::dimensionality > m_shapeFuncDerivs
staticprivate

Definition at line 70 of file Quad2D.hpp.


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