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...

Public Types

typedef pTraits< Type >::cmptType cmptType
 Component type. More...
 

Public Member Functions

 UniformField (const Type &value)
 Construct given value. More...
 
 operator Type () const
 
Type operator[] (const label) const
 
UniformField field () const
 

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 47 of file UniformField.H.

Member Typedef Documentation

◆ cmptType

typedef pTraits<Type>::cmptType cmptType

Component type.

Definition at line 59 of file UniformField.H.

Constructor & Destructor Documentation

◆ UniformField()

UniformField ( const Type &  value)
inline

Construct given value.

Definition at line 31 of file UniformFieldI.H.

Member Function Documentation

◆ operator Type()

operator Type
inline

Definition at line 38 of file UniformFieldI.H.

◆ operator[]()

Type operator[] ( const  label) const
inline

Definition at line 45 of file UniformFieldI.H.

◆ field()

Foam::UniformField< Type > field
inline

Definition at line 52 of file UniformFieldI.H.


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