diff --git a/applications/test/Function1/Test-Function1.C b/applications/test/Function1/Test-Function1.C index 620995e31e..ce23370c72 100644 --- a/applications/test/Function1/Test-Function1.C +++ b/applications/test/Function1/Test-Function1.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -63,7 +63,7 @@ int main(int argc, char *argv[]) Info<< "Calculating values\n" << endl; const scalarField ys(function.value(xs)); - const scalarField integralYs(function.integrate(scalarField(nX, x0), xs)); + const scalarField integralYs(function.integral(scalarField(nX, x0), xs)); scalarField trapezoidIntegralYs(nX, 0); for (label i = 1; i < nX; ++ i) { diff --git a/applications/test/nonUniformTable/Test-nonUniformTable.C b/applications/test/nonUniformTable/Test-nonUniformTable.C index 9d8dd0156c..502b3c7a41 100644 --- a/applications/test/nonUniformTable/Test-nonUniformTable.C +++ b/applications/test/nonUniformTable/Test-nonUniformTable.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2020-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -30,7 +30,7 @@ Description \*---------------------------------------------------------------------------*/ -#include "nonUniformTable1DThermophysicalFunction.H" +#include "NonUniformTable1.H" #include "IFstream.H" using namespace Foam; @@ -42,7 +42,7 @@ int main(int argc, char *argv[]) { dictionary dict(IFstream("thermoDict")()); - thermophysicalFunctions::nonUniformTable1D table(dict); + Function1s::NonUniformTable table("table", dict); const label n = 1000; const scalar T0 = table.values().first().first(); @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) for (int i = 0; i small) {