Loading...
Searching...
No Matches
UniformField< Type > Class Template Reference

A class representing the concept of a uniform field which stores only the single value and providing the operator[] to return it. More...

#include <UniformField.H>

Inheritance diagram for UniformField< Type >:
Collaboration diagram for UniformField< Type >:

Public Member Functions

UniformField field () const
 Method name compatibility with DimensionedField.
Public Member Functions inherited from UniformList< Type >
 UniformList (const Type &val) noexcept
 Construct from given value.
 UniformList (Type &&val) noexcept
 Move construct from given value.
const Type & value () const noexcept
 Return the value.
Type & value () noexcept
 Non-const access to the value.
 operator const Type & () const noexcept
 Implicit cast to the value.
const Type & operator[] (const label) const noexcept
 Return the value.

Detailed Description

template<class Type>
class Foam::UniformField< Type >

A class representing the concept of a uniform field which stores only the single value and providing the operator[] to return it.

Definition at line 44 of file UniformField.H.

Member Function Documentation

◆ field()

template<class Type>
UniformField field ( ) const
inline

Method name compatibility with DimensionedField.

Definition at line 63 of file UniformField.H.

References UniformList< Type >::value().

Here is the call graph for this function:

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