diff --git a/src/OpenFOAM/fields/Fields/triadField/triadField.H b/src/OpenFOAM/fields/Fields/triadField/triadField.H index 53ba1f37d3..bdddd47add 100644 --- a/src/OpenFOAM/fields/Fields/triadField/triadField.H +++ b/src/OpenFOAM/fields/Fields/triadField/triadField.H @@ -35,25 +35,12 @@ SourceFiles #ifndef triadField_H #define triadField_H +#include "triadFieldFwd.H" #include "Field.H" -#include "triad.H" #define TEMPLATE #include "FieldFunctionsM.H" -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - -typedef Field triadField; - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - #include "undefFieldFunctionsM.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/fields/Fields/triadField/triadFieldFwd.H b/src/OpenFOAM/fields/Fields/triadField/triadFieldFwd.H new file mode 100644 index 0000000000..74cf564c53 --- /dev/null +++ b/src/OpenFOAM/fields/Fields/triadField/triadFieldFwd.H @@ -0,0 +1,58 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / F ield | OpenFOAM: The Open Source CFD Toolbox + \\ / O peration | + \\ / A nd | Copyright (C) 2017 OpenCFD Ltd. + \\/ M anipulation | +------------------------------------------------------------------------------- +License + This file is part of OpenFOAM. + + OpenFOAM is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + OpenFOAM is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + along with OpenFOAM. If not, see . + +Typedef + Foam::triadField + +Description + Forward declarations of the specialisation of Field\ for triad. + +SourceFiles + triadField.C + +\*---------------------------------------------------------------------------*/ + +#ifndef triadFieldFwd_H +#define triadFieldFwd_H + +#include "triad.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +template class Field; +typedef Field triadField; + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +} // End namespace Foam + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +#endif + +// ************************************************************************* //