UniformFieldField< Type > Class Template Reference

A class representing the concept of a field of uniform fields 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

 UniformFieldField (const Type &value)
 Construct given value. More...
 
UniformField< Type > operator[] (const label) const
 

Detailed Description

template<class Type>
class Foam::UniformFieldField< Type >

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

Source files

Definition at line 50 of file UniformFieldField.H.

Member Typedef Documentation

◆ cmptType

typedef pTraits<Type>::cmptType cmptType

Component type.

Definition at line 62 of file UniformFieldField.H.

Constructor & Destructor Documentation

◆ UniformFieldField()

UniformFieldField ( const Type &  value)
inline

Construct given value.

Definition at line 31 of file UniformFieldFieldI.H.

Member Function Documentation

◆ operator[]()

Foam::UniformField< Type > operator[] ( const label  ) const
inline

Definition at line 39 of file UniformFieldFieldI.H.


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