FreeFOAM The Cross-Platform CFD Toolkit
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...

#include <OpenFOAM/oneFieldField.H>


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 51 of file oneFieldField.H.

+ Inheritance diagram for oneFieldField:
+ Collaboration diagram for oneFieldField:

List of all members.

Public Member Functions

 oneFieldField ()
 Construct null.
oneField operator[] (const label) const
- Public Member Functions inherited from one
 one ()
 Construct null.

Constructor & Destructor Documentation

oneFieldField ( )
inline

Construct null.

Definition at line 61 of file oneFieldField.H.


Member Function Documentation

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

Definition at line 30 of file oneFieldFieldI.H.


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