Public Member Functions | List of all members
oneFieldField Class Reference

A class representing the concept of a field of oneFields used to avoid unnecessary manipulations for objects which are known to be one at compile-time. More...

Inheritance diagram for oneFieldField:
Inheritance graph
[legend]
Collaboration diagram for oneFieldField:
Collaboration graph
[legend]

Public Member Functions

 oneFieldField () noexcept=default
 
oneField operator[] (const label) const noexcept
 
- Public Member Functions inherited from one
constexpr one () noexcept
 
constexpr one (Istream &) noexcept
 
constexpr operator label () const noexcept
 
constexpr operator float () const noexcept
 
constexpr operator double () const noexcept
 

Additional Inherited Members

- Public Types inherited from one
typedef one value_type
 

Detailed Description

A class representing the concept of a field of oneFields used to avoid unnecessary manipulations for objects which are known to be one at compile-time.

Used for example as the density argument to a function written for compressible to be used for incompressible flow.

Definition at line 47 of file oneFieldField.H.

Constructor & Destructor Documentation

◆ oneFieldField()

oneFieldField ( )
defaultnoexcept

Member Function Documentation

◆ operator[]()

oneField operator[] ( const  label) const
inlinenoexcept

Definition at line 61 of file oneFieldField.H.


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