Commit 9a3daeca authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

STYLE: provide boolField and labelField typedefs in Field.H

- as per boolList, labelList typedefs in List.H
parent 09e34414
......@@ -69,6 +69,11 @@ Ostream& operator<<(Ostream&, const Field<Type>&);
template<class Type>
Ostream& operator<<(Ostream&, const tmp<Field<Type>>&);
// Basic Field types
typedef Field<bool> boolField; //!< A Field of bools
typedef Field<label> labelField; //!< A Field of labels
/*---------------------------------------------------------------------------*\
Class Field Declaration
\*---------------------------------------------------------------------------*/
......
......@@ -23,9 +23,6 @@ License
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Description
Specialisation of Field\<T\> for label.
\*---------------------------------------------------------------------------*/
#include "labelField.H"
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\ / A nd | Copyright (C) 2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2011 OpenFOAM Foundation
......@@ -48,7 +48,8 @@ SourceFiles
namespace Foam
{
typedef Field<label> labelField;
// labelField = defined in Field.H
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment