COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Types | Public Member Functions | Private Attributes | List of all members
ElementLooper< ElementTypesT, ExprT > Struct Template Reference

mpl::for_each compatible functor to loop over elements, using the correct shape function for the geometry More...

#include <ElementLooper.hpp>

Public Types

typedef ExpressionProperties< ExprT >::VariablesT VariablesT
 

Public Member Functions

 ElementLooper (mesh::Elements &elements, const ExprT &expr, VariablesT &variables)
 
template<typename ETYPE >
void operator() (const ETYPE &sf) const
 This looks up the support shape function. More...
 
template<typename ETYPE >
void dispatch (const boost::mpl::int_< 1 > &, const ETYPE &sf) const
 Static dispatch in case everything has the same ETYPE. More...
 
template<typename T , typename ETYPE >
void dispatch (const T &, const ETYPE &sf) const
 Static dispatch in case different ETYPE are possible. More...
 

Private Attributes

mesh::Elementsm_elements
 
const ExprT & m_expr
 
VariablesTm_variables
 

Detailed Description

template<typename ElementTypesT, typename ExprT>
struct cf3::solver::actions::Proto::ElementLooper< ElementTypesT, ExprT >

mpl::for_each compatible functor to loop over elements, using the correct shape function for the geometry

Definition at line 212 of file ElementLooper.hpp.

Member Typedef Documentation

Definition at line 216 of file ElementLooper.hpp.

Constructor & Destructor Documentation

ElementLooper ( mesh::Elements elements,
const ExprT &  expr,
VariablesT variables 
)
inline

Definition at line 218 of file ElementLooper.hpp.

Member Function Documentation

void dispatch ( const boost::mpl::int_< 1 > &  ,
const ETYPE sf 
) const
inline

Static dispatch in case everything has the same ETYPE.

Definition at line 247 of file ElementLooper.hpp.

void dispatch ( const T &  ,
const ETYPE sf 
) const
inline

Static dispatch in case different ETYPE are possible.

Definition at line 262 of file ElementLooper.hpp.

void operator() ( const ETYPE sf) const
inline

This looks up the support shape function.

Definition at line 228 of file ElementLooper.hpp.

Member Data Documentation

mesh::Elements& m_elements
private

Definition at line 282 of file ElementLooper.hpp.

const ExprT& m_expr
private

Definition at line 283 of file ElementLooper.hpp.

VariablesT& m_variables
private

Definition at line 284 of file ElementLooper.hpp.


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