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

#include <NodeData.hpp>

Classes

struct  DataType
 Return the type of the data stored for variable I (I being an Integral Constant in the boost::mpl sense) More...
 
struct  DeleteVariablesData
 Delete stored per-variable data. More...
 
struct  InitVariablesData
 Initializes the pointers in a VariablesDataT fusion sequence. More...
 
struct  SetNode
 Set the element on each stored data item. More...
 

Public Types

typedef boost::fusion::result_of::size< VariablesT >::type NbVarsT
 Number of variales that we have stored. More...
 
typedef boost::mpl::transform< VariablesT, AddNodeData< NbDims::value > >::type VariablesDataT
 Type of the per-variable data. More...
 
typedef Eigen::Matrix< Real, NbDims::value, 1 > CoordsT
 Type of the coordinates. More...
 

Public Member Functions

template<typename I >
DataType< I >::type & var_data (const I &)
 Return the data stored at index I. More...
 
template<typename ExprT >
 NodeData (VariablesT &variables, mesh::Region &region, const common::Table< Real > &coords, const ExprT &expr)
 
 ~NodeData ()
 
void set_node (const Uint idx)
 Update node index. More...
 
Uint node_idx () const
 
const CoordsTcoordinates () const
 Access to the current coordinates. More...
 

Public Attributes

Uint m_node_idx
 Current node index. More...
 

Static Public Attributes

static const Uint dimension = NbDims::value
 The dimension of the problem. More...
 

Private Attributes

VariablesTm_variables
 Variables used in the expression. More...
 
mesh::Regionm_region
 Referred region. More...
 
const common::Table< Real > & m_coordinates
 Aray holding the coordinate values. More...
 
VariablesDataT m_variables_data
 Data associated with each numbered variable. More...
 
CoordsT m_position
 Current coordinates. More...
 

Detailed Description

template<typename VariablesT, typename NbDims>
class cf3::solver::actions::Proto::NodeData< VariablesT, NbDims >

Definition at line 309 of file NodeData.hpp.

Member Typedef Documentation

typedef Eigen::Matrix<Real, NbDims::value, 1> CoordsT

Type of the coordinates.

Definition at line 345 of file NodeData.hpp.

typedef boost::fusion::result_of::size<VariablesT>::type NbVarsT

Number of variales that we have stored.

Definition at line 313 of file NodeData.hpp.

typedef boost::mpl::transform< VariablesT, AddNodeData<NbDims::value> >::type VariablesDataT

Type of the per-variable data.

Definition at line 319 of file NodeData.hpp.

Constructor & Destructor Documentation

NodeData ( VariablesT variables,
mesh::Region region,
const common::Table< Real > &  coords,
const ExprT &  expr 
)
inline

Definition at line 348 of file NodeData.hpp.

~NodeData ( )
inline

Definition at line 356 of file NodeData.hpp.

Member Function Documentation

const CoordsT& coordinates ( ) const
inline

Access to the current coordinates.

Definition at line 377 of file NodeData.hpp.

Uint node_idx ( ) const
inline

Definition at line 368 of file NodeData.hpp.

void set_node ( const Uint  idx)
inline

Update node index.

Definition at line 362 of file NodeData.hpp.

DataType<I>::type& var_data ( const I &  )
inline

Return the data stored at index I.

Definition at line 339 of file NodeData.hpp.

Member Data Documentation

const Uint dimension = NbDims::value
static

The dimension of the problem.

Definition at line 316 of file NodeData.hpp.

const common::Table<Real>& m_coordinates
private

Aray holding the coordinate values.

Definition at line 395 of file NodeData.hpp.

Uint m_node_idx

Current node index.

Definition at line 374 of file NodeData.hpp.

CoordsT m_position
mutableprivate

Current coordinates.

Definition at line 401 of file NodeData.hpp.

mesh::Region& m_region
private

Referred region.

Definition at line 392 of file NodeData.hpp.

VariablesT& m_variables
private

Variables used in the expression.

Definition at line 389 of file NodeData.hpp.

VariablesDataT m_variables_data
private

Data associated with each numbered variable.

Definition at line 398 of file NodeData.hpp.


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