COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
List of all members
Triag3D Struct Reference

3D Lagrange P1 Triangular Element type This class provides the lagrangian shape function describing the representation of the solution and/or the geometry in a P1 (linear) triangular element. More...

#include <Triag3D.hpp>

Inherits ElementTypeBase< Triag3D, Triag3D_traits >.

Static Public Member Functions

Accessor functions
static const ElementTypeFaceConnectivityfaces ()
 
static const ElementTypeface_type (const Uint face)
 
Computation functions
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 Real volume (const NodesT &nodes)
 
static Real area (const NodesT &nodes)
 
static void compute_centroid (const NodesT &nodes, CoordsT &centroid)
 
static void compute_normal (const NodesT &nodes, CoordsT &normal)
 
Non-API static functions
static void normal (const MappedCoordsT &mapped_coord, const NodesT &nodes, CoordsT &result)
 
- Static Public Member Functions inherited from ElementTypeBase< Triag3D, Triag3D_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)
 

Additional Inherited Members

- Public Types inherited from ElementTypeBase< Triag3D, Triag3D_traits >
typedef Triag3D_traits::SF SF
 
typedef Triag3D_traits::SF::MappedCoordsT MappedCoordsT
 
typedef Eigen::Matrix< Real, Triag3D_traits::dimension, 1 > CoordsT
 
typedef Eigen::Matrix< Real, nb_nodes, Triag3D_traits::dimension > NodesT
 
typedef Eigen::Matrix< Real, Triag3D_traits::SF::dimensionality, Triag3D_traits::dimension > JacobianT
 
- Static Public Attributes inherited from ElementTypeBase< Triag3D, Triag3D_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

3D Lagrange P1 Triangular Element type This class provides the lagrangian shape function describing the representation of the solution and/or the geometry in a P1 (linear) triangular element.

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

Definition at line 36 of file Triag3D.hpp.

Member Function Documentation

Real area ( const NodesT nodes)
static

Definition at line 133 of file Triag3D.cpp.

void compute_centroid ( const NodesT nodes,
CoordsT centroid 
)
static

Definition at line 65 of file Triag3D.cpp.

static void compute_jacobian ( const MappedCoordsT mapped_coord,
const NodesT nodes,
MatrixType &  jacobian 
)
static
void compute_normal ( const NodesT nodes,
CoordsT normal 
)
static
Todo:
this could be simpler for this application Jacobian could be avoided

Definition at line 75 of file Triag3D.cpp.

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

Definition at line 57 of file Triag3D.cpp.

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

Definition at line 43 of file Triag3D.cpp.

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

Definition at line 117 of file Triag3D.cpp.

void normal ( const MappedCoordsT mapped_coord,
const NodesT nodes,
CoordsT result 
)
static

Normal vector to the surface.

Parameters
mappedCoordThe mapped coordinates where the Jacobian should be calculated
resultStorage for the resulting Jacobian matrix
Note
this is not the unit normal, but scaled by 1/4*area

Definition at line 146 of file Triag3D.cpp.

Real volume ( const NodesT nodes)
static

Definition at line 126 of file Triag3D.cpp.


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