Public Member Functions
geometricOneField Class Reference

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

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

Public Member Functions

 geometricOneField ()
 Construct null. More...
 
const dimensionSetdimensions () const
 
scalar operator[] (const label) const
 
oneField field () const
 
oneField oldTime () const
 
oneFieldField boundaryField () const
 
- Public Member Functions inherited from one
 one ()
 Construct null. More...
 

Detailed Description

A class representing the concept of a GeometricField of 1 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 52 of file geometricOneField.H.

Constructor & Destructor Documentation

◆ geometricOneField()

geometricOneField ( )
inline

Construct null.

Definition at line 62 of file geometricOneField.H.

Member Function Documentation

◆ dimensions()

const Foam::dimensionSet & dimensions ( ) const
inline

Definition at line 30 of file geometricOneFieldI.H.

References Foam::dimless.

◆ operator[]()

Foam::scalar operator[] ( const  label) const
inline

Definition at line 35 of file geometricOneFieldI.H.

◆ field()

Foam::oneField field ( ) const
inline

Definition at line 40 of file geometricOneFieldI.H.

◆ oldTime()

Foam::oneField oldTime ( ) const
inline

Definition at line 45 of file geometricOneFieldI.H.

◆ boundaryField()

Foam::oneFieldField boundaryField ( ) const
inline

Definition at line 50 of file geometricOneFieldI.H.


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