From f1ba64580222ced2db0f806825bf1b0c35da1eec Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 8 Jun 2009 12:16:12 +0100 Subject: [PATCH] adding scalarIOList --- src/OpenFOAM/Make/files | 1 + src/OpenFOAM/primitives/Lists/scalarIOList.C | 46 +++++++++++++++++++++++++ src/OpenFOAM/primitives/Lists/scalarIOList.H | 51 ++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 src/OpenFOAM/primitives/Lists/scalarIOList.C create mode 100644 src/OpenFOAM/primitives/Lists/scalarIOList.H diff --git a/src/OpenFOAM/Make/files b/src/OpenFOAM/Make/files index 7b137de..03cc86f 100644 --- a/src/OpenFOAM/Make/files +++ b/src/OpenFOAM/Make/files @@ -54,6 +54,7 @@ primitiveLists = primitives/Lists $(primitiveLists)/boolList.C $(primitiveLists)/labelIOList.C $(primitiveLists)/scalarList.C +$(primitiveLists)/scalarIOList.C $(primitiveLists)/vectorList.C $(primitiveLists)/sphericalTensorList.C $(primitiveLists)/symmTensorList.C diff --git a/src/OpenFOAM/primitives/Lists/scalarIOList.C b/src/OpenFOAM/primitives/Lists/scalarIOList.C new file mode 100644 index 0000000..2d30cd4 --- /dev/null +++ b/src/OpenFOAM/primitives/Lists/scalarIOList.C @@ -0,0 +1,46 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / F ield | OpenFOAM: The Open Source CFD Toolbox + \\ / O peration | + \\ / A nd | Copyright (C) 1991-2009 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 2 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, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Description + Declaration of scalar IOList containers + +\*---------------------------------------------------------------------------*/ + +#include "scalarIOList.H" +#include "addToRunTimeSelectionTable.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + defineTemplateTypeNameAndDebugWithName(scalarIOList, "scalarList", 0); + defineTemplateTypeNameAndDebugWithName + ( + scalarListIOList, + "scalarListList", + 0 + ); +} + +// ************************************************************************* // diff --git a/src/OpenFOAM/primitives/Lists/scalarIOList.H b/src/OpenFOAM/primitives/Lists/scalarIOList.H new file mode 100644 index 0000000..5c91ea0 --- /dev/null +++ b/src/OpenFOAM/primitives/Lists/scalarIOList.H @@ -0,0 +1,51 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / F ield | OpenFOAM: The Open Source CFD Toolbox + \\ / O peration | + \\ / A nd | Copyright (C) 1991-2009 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 2 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, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Typedef + Foam::scalarIOList + +Description + Scalar container classes + +\*---------------------------------------------------------------------------*/ + +#ifndef scalarIOList_H +#define scalarIOList_H + +#include "scalarList.H" +#include "IOList.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + typedef IOList scalarIOList; + typedef IOList scalarListIOList; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +#endif + +// ************************************************************************* // -- 2.11.4.GIT