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< 1 >, SupportEtypeT, 1, IsEquationVar > Class Template Reference

Data for scalar element-based fields. More...

#include <ElementData.hpp>

Public Types

typedef ElementBased< 1 > EtypeT
 
typedef Real & ValueResultT
 Type of returned value. More...
 
typedef GeometricSupport< SupportEtypeT > SupportT
 Data type for the geometric support. More...
 
typedef Real EvalT
 
typedef SupportEtypeT::MappedCoordsT MappedCoordsT
 

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...
 
Real & value () const
 
EvalT eval (const MappedCoordsT &mapped_coords=MappedCoordsT()) const
 Calculate and return the interpolation at given mapped coords. More...
 
const 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 = 1
 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, bool IsEquationVar>
class cf3::solver::actions::Proto::EtypeTVariableData< ElementBased< 1 >, SupportEtypeT, 1, IsEquationVar >

Data for scalar element-based fields.

Definition at line 692 of file ElementData.hpp.

Member Typedef Documentation

typedef ElementBased<1> EtypeT

Definition at line 695 of file ElementData.hpp.

typedef Real EvalT

Definition at line 730 of file ElementData.hpp.

typedef SupportEtypeT::MappedCoordsT MappedCoordsT

Definition at line 732 of file ElementData.hpp.

typedef GeometricSupport<SupportEtypeT> SupportT

Data type for the geometric support.

Definition at line 701 of file ElementData.hpp.

typedef Real& ValueResultT

Type of returned value.

Definition at line 698 of file ElementData.hpp.

Constructor & Destructor Documentation

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

Definition at line 710 of file ElementData.hpp.

Member Function Documentation

void compute_values ( const MappedCoordsT mapped_coords) const
inline

Definition at line 751 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 735 of file ElementData.hpp.

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

Definition at line 739 of file ElementData.hpp.

void set_element ( const Uint  element_idx)
inline

Update nodes for the current element.

Definition at line 719 of file ElementData.hpp.

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

Definition at line 745 of file ElementData.hpp.

Real& value ( ) const
inline

Definition at line 724 of file ElementData.hpp.

Member Data Documentation

const Uint dimension = 1
static

The dimension of the variable.

Definition at line 704 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 707 of file ElementData.hpp.

RealMatrix m_dummy_result
private

Definition at line 760 of file ElementData.hpp.

const Uint m_elements_begin
private

Definition at line 758 of file ElementData.hpp.

mesh::Field& m_field
private

Definition at line 756 of file ElementData.hpp.

Uint m_field_idx
private

Definition at line 759 of file ElementData.hpp.

const SupportT& m_support
private

Definition at line 757 of file ElementData.hpp.

const Uint offset

Index in the field array for this variable.

Definition at line 764 of file ElementData.hpp.


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