Loading...
Searching...
No Matches
List_interpolate< E1, E2, E3 > Class Template Reference

Not possible: a *= b has to return a new type so it can never be in-place. More...

#include <ListExpression.H>

Inheritance diagram for List_interpolate< E1, E2, E3 >:
Collaboration diagram for List_interpolate< E1, E2, E3 >:

Classes

struct  const_iterator

Public Types

typedef E1::value_type value_type

Public Member Functions

 List_interpolate (const E1 &u, const E2 &v, const E3 &weight)
value_type operator[] (const label i) const
label size () const
const_iterator cbegin () const
const_iterator cend () const
Public Member Functions inherited from ListExpression< List_interpolate< E1, E2, E3 > >
auto operator[] (const label i) const
auto size () const noexcept
Container & fill (Container &lst) const
 Helper: assign to passed in list.
Container & evaluate (Container &lst) const
 Helper: assign to passed in list.

Static Public Attributes

static constexpr bool is_leaf = false
Static Public Attributes inherited from ListExpression< List_interpolate< E1, E2, E3 > >
static constexpr bool is_leaf

Detailed Description

template<typename E1, typename E2, typename E3>
class Foam::Expression::List_interpolate< E1, E2, E3 >

Not possible: a *= b has to return a new type so it can never be in-place.

EXPRESSION_LIST_OPERATOR(+=, List_inplace_add) EXPRESSION_LIST_OPERATOR(-=, List_inplace_subtract) EXPRESSION_LIST_OPERATOR(*=, List_inplace_multiply) EXPRESSION_LIST_OPERATOR(/=, List_inplace_divide)

Definition at line 1799 of file ListExpression.H.

Member Typedef Documentation

◆ value_type

template<typename E1, typename E2, typename E3>
typedef E1::value_type value_type

Definition at line 1827 of file ListExpression.H.

Constructor & Destructor Documentation

◆ List_interpolate()

template<typename E1, typename E2, typename E3>
List_interpolate ( const E1 & u,
const E2 & v,
const E3 & weight )
inline

Definition at line 1830 of file ListExpression.H.

Member Function Documentation

◆ operator[]()

template<typename E1, typename E2, typename E3>
value_type operator[] ( const label i) const
inline

Definition at line 1837 of file ListExpression.H.

◆ size()

template<typename E1, typename E2, typename E3>
label size ( ) const
inline

Definition at line 1843 of file ListExpression.H.

◆ cbegin()

template<typename E1, typename E2, typename E3>
const_iterator cbegin ( ) const
inline

Definition at line 1964 of file ListExpression.H.

◆ cend()

template<typename E1, typename E2, typename E3>
const_iterator cend ( ) const
inline

Definition at line 1968 of file ListExpression.H.

Member Data Documentation

◆ is_leaf

template<typename E1, typename E2, typename E3>
bool is_leaf = false
staticconstexpr

Definition at line 1825 of file ListExpression.H.


The documentation for this class was generated from the following file: