From 97910c4d4a78604372b562840d1f5853344ab257 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Thu, 17 Jan 2013 11:06:38 +0000 Subject: [PATCH] COMP: Test apps: make compile --- applications/test/BinSum/Test-BinSum.C | 3 ++- applications/test/ListOps/Test-ListOps.C | 4 +-- .../test/dataEntry/dataEntryProperties | 25 +++++++++++++++++++ .../Test-fvSolutionCombine.C | 4 +-- 4 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 applications/test/dataEntry/dataEntryProperties diff --git a/applications/test/BinSum/Test-BinSum.C b/applications/test/BinSum/Test-BinSum.C index fb768f80c67..f8d9532aeb1 100644 --- a/applications/test/BinSum/Test-BinSum.C +++ b/applications/test/BinSum/Test-BinSum.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -29,6 +29,7 @@ Description \*---------------------------------------------------------------------------*/ +#include "List.H" #include "BinSum.H" #include "IOstreams.H" #include "Random.H" diff --git a/applications/test/ListOps/Test-ListOps.C b/applications/test/ListOps/Test-ListOps.C index f6e56951643..fbbe90deb96 100644 --- a/applications/test/ListOps/Test-ListOps.C +++ b/applications/test/ListOps/Test-ListOps.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) Info<< nl << "Face : " << testFace << endl; Info<< "Rotate by 2 : " << rotateList(testFace, 2) << endl; - inplaceRotateList(testFace, -6); + inplaceRotateList<List, label>(testFace, -6); Info<< "Rotate inplace by -6 : " << testFace << nl << endl; Info<< "Test inplace rotate : " << forwardRotate << endl; diff --git a/applications/test/dataEntry/dataEntryProperties b/applications/test/dataEntry/dataEntryProperties new file mode 100644 index 00000000000..93645fbfa39 --- /dev/null +++ b/applications/test/dataEntry/dataEntryProperties @@ -0,0 +1,25 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.2.0 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object dataEntryProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +x0 0.5; +x1 1; + + +dataEntry table ((0 0)(10 1)); + + +// ************************************************************************* // diff --git a/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C b/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C index 0d9775e8495..2ee7fa1df8f 100644 --- a/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C +++ b/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) if (optRewrite && solutionDict.instance() != runTime.system()) { Info<<"instance is not " << runTime.system() - "- disabling rewrite for this file" << nl; + << "- disabling rewrite for this file" << nl; optRewrite = false; } -- GitLab