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
EtypeTVariableData< ElementBased< Dim >, SupportEtypeT, Dim, IsEquationVar > Class Template Reference

Data for element-based fields. More...

#include <ElementData.hpp>

Public Types

typedef ElementBased< DimEtypeT
 
typedef Eigen::Map< Eigen::Matrix< Real, 1, Dim > > ValueResultT
 Type of returned value. More...
 
typedef GeometricSupport< SupportEtypeT > SupportT
 Data type for the geometric support. More...
 
typedef SupportEtypeT::MappedCoordsT MappedCoordsT
 
typedef ValueResultT EvalT
 

Public Member Functions

template<typename VariableT >
 EtypeTVariableData (const VariableT &placeholder, mesh::Elements &elements, const SupportT &support)
 
void set_element (const Uint element_idx)
 Update nodes for the current element. More...
 
ValueResultT value () const
 
EvalT eval (const MappedCoordsT &mapped_coords=MappedCoordsT()) const
 Calculate and return the interpolation at given mapped coords. More...
 
RealMatrixnabla (RealMatrix mapped_coords=RealMatrix()) const
 
const RealMatrixshape_function (RealMatrix mapped_coords=RealMatrix()) const
 
void compute_values (const MappedCoordsT &mapped_coords) const
 

Public Attributes

const Uint offset
 Index in the field array for this variable. More...
 

Static Public Attributes

static const Uint dimension = Dim
 The dimension of the variable. More...
 
static const bool is_equation_variable = IsEquationVar
 True if this variable is an unknow in the system of equations. More...
 

Private Attributes

mesh::Fieldm_field
 
const SupportTm_support
 
const Uint m_elements_begin
 
Uint m_field_idx
 
RealMatrix m_dummy_result
 

Detailed Description

template<typename SupportEtypeT, Uint Dim, bool IsEquationVar>
class cf3::solver::actions::Proto::EtypeTVariableData< ElementBased< Dim >, SupportEtypeT, Dim, IsEquationVar >

Data for element-based fields.

Definition at line 615 of file ElementData.hpp.

Member Typedef Documentation

Definition at line 618 of file ElementData.hpp.

Definition at line 653 of file ElementData.hpp.

typedef SupportEtypeT::MappedCoordsT MappedCoordsT

Definition at line 652 of file ElementData.hpp.

typedef GeometricSupport<SupportEtypeT> SupportT

Data type for the geometric support.

Definition at line 624 of file ElementData.hpp.

typedef Eigen::Map< Eigen::Matrix<Real, 1, Dim> > ValueResultT

Type of returned value.

Definition at line 621 of file ElementData.hpp.

Constructor & Destructor Documentation

EtypeTVariableData ( const VariableT &  placeholder,
mesh::Elements elements,
const SupportT support 
)
inline

Definition at line 633 of file ElementData.hpp.

Member Function Documentation

void compute_values ( const MappedCoordsT mapped_coords) const
inline

Definition at line 674 of file ElementData.hpp.

EvalT eval ( const MappedCoordsT mapped_coords = MappedCoordsT()) const
inline

Calculate and return the interpolation at given mapped coords.

Definition at line 656 of file ElementData.hpp.

RealMatrix& nabla ( RealMatrix  mapped_coords = RealMatrix()) const
inline

Definition at line 662 of file ElementData.hpp.

void set_element ( const Uint  element_idx)
inline

Update nodes for the current element.

Definition at line 642 of file ElementData.hpp.

const RealMatrix& shape_function ( RealMatrix  mapped_coords = RealMatrix()) const
inline

Definition at line 668 of file ElementData.hpp.

ValueResultT value ( ) const
inline

Definition at line 647 of file ElementData.hpp.

Member Data Documentation

const Uint dimension = Dim
static

The dimension of the variable.

Definition at line 627 of file ElementData.hpp.

const bool is_equation_variable = IsEquationVar
static

True if this variable is an unknow in the system of equations.

Definition at line 630 of file ElementData.hpp.

RealMatrix m_dummy_result
private

Definition at line 683 of file ElementData.hpp.

const Uint m_elements_begin
private

Definition at line 681 of file ElementData.hpp.

mesh::Field& m_field
private

Definition at line 679 of file ElementData.hpp.

Uint m_field_idx
private

Definition at line 682 of file ElementData.hpp.

const SupportT& m_support
private

Definition at line 680 of file ElementData.hpp.

const Uint offset

Index in the field array for this variable.

Definition at line 687 of file ElementData.hpp.


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