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

#include <NodeData.hpp>

Public Types

typedef Eigen::Matrix< Real, Dim, 1 > ValueT
 
typedef const ValueTValueResultT
 

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW NodeVarData (const VectorField &placeholder, mesh::Region &region)
 
 ~NodeVarData ()
 
void set_node (const Uint idx)
 
ValueResultT value () const
 Return a reference to the stored value. More...
 
template<typename VectorT >
void set_value (boost::proto::tag::assign, const VectorT &v)
 Sets values using a vector-like container. More...
 
template<typename VectorT >
void set_value (boost::proto::tag::plus_assign, const VectorT &v)
 
template<typename VectorT >
void set_value (boost::proto::tag::minus_assign, const VectorT &v)
 
void set_value_component (boost::proto::tag::assign, const Real &v, const Uint i)
 
void set_value_component (boost::proto::tag::plus_assign, const Real &v, const Uint i)
 
void set_value_component (boost::proto::tag::minus_assign, const Real &v, const Uint i)
 

Public Attributes

Uint offset
 Offset for the variable in the field. More...
 
Uint nb_dofs
 Total nb dofs in the field. More...
 

Static Public Attributes

static const Uint dimension = Dim
 

Private Attributes

mesh::Fieldm_field
 
Uint m_var_begin
 
ValueT m_value
 
Uint m_idx
 
bool m_need_synchronization
 

Detailed Description

template<Uint Dim>
struct cf3::solver::actions::Proto::NodeVarData< VectorField, Dim >

Definition at line 180 of file NodeData.hpp.

Member Typedef Documentation

typedef const ValueT& ValueResultT

Definition at line 183 of file NodeData.hpp.

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

Definition at line 182 of file NodeData.hpp.

Constructor & Destructor Documentation

EIGEN_MAKE_ALIGNED_OPERATOR_NEW NodeVarData ( const VectorField placeholder,
mesh::Region region 
)
inline

Definition at line 189 of file NodeData.hpp.

~NodeVarData ( )
inline

Definition at line 203 of file NodeData.hpp.

Member Function Documentation

void set_node ( const Uint  idx)
inline

Definition at line 215 of file NodeData.hpp.

void set_value ( boost::proto::tag::assign  ,
const VectorT &  v 
)
inline

Sets values using a vector-like container.

Definition at line 230 of file NodeData.hpp.

void set_value ( boost::proto::tag::plus_assign  ,
const VectorT &  v 
)
inline

Definition at line 239 of file NodeData.hpp.

void set_value ( boost::proto::tag::minus_assign  ,
const VectorT &  v 
)
inline

Definition at line 248 of file NodeData.hpp.

void set_value_component ( boost::proto::tag::assign  ,
const Real &  v,
const Uint  i 
)
inline

Definition at line 256 of file NodeData.hpp.

void set_value_component ( boost::proto::tag::plus_assign  ,
const Real &  v,
const Uint  i 
)
inline

Definition at line 263 of file NodeData.hpp.

void set_value_component ( boost::proto::tag::minus_assign  ,
const Real &  v,
const Uint  i 
)
inline

Definition at line 270 of file NodeData.hpp.

ValueResultT value ( ) const
inline

Return a reference to the stored value.

Definition at line 223 of file NodeData.hpp.

Member Data Documentation

const Uint dimension = Dim
static

Definition at line 185 of file NodeData.hpp.

mesh::Field& m_field
private

Definition at line 284 of file NodeData.hpp.

Uint m_idx
private

Definition at line 287 of file NodeData.hpp.

bool m_need_synchronization
private

Definition at line 288 of file NodeData.hpp.

ValueT m_value
private

Definition at line 286 of file NodeData.hpp.

Uint m_var_begin
private

Definition at line 285 of file NodeData.hpp.

Uint nb_dofs

Total nb dofs in the field.

Definition at line 281 of file NodeData.hpp.

Uint offset

Offset for the variable in the field.

Definition at line 278 of file NodeData.hpp.


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