diff --git a/applications/solvers/modules/multiphaseEuler/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.C b/applications/solvers/modules/multiphaseEuler/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.C index 34e376e64e..62ada17c55 100644 --- a/applications/solvers/modules/multiphaseEuler/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.C +++ b/applications/solvers/modules/multiphaseEuler/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.C @@ -541,7 +541,7 @@ void Foam::BlendedInterfacialModel::postProcessBlendingCoefficients { // Single axis, using the first phase as the x-coordinate static const label nDivisions = 128; - const scalarField divisionis(scalarList(identity(nDivisions))); + const scalarField divisionis(scalarList(identityMap(nDivisions))); fieldNames[0] = fluid.phases()[0].volScalarField::name(); fieldNames[1] = fluid.phases()[1].volScalarField::name(); fields.set(0, new scalarField(divisionis/(nDivisions - 1))); diff --git a/applications/test/Circulator/Test-Circulator.C b/applications/test/Circulator/Test-Circulator.C index 837697508f..5773ae9010 100644 --- a/applications/test/Circulator/Test-Circulator.C +++ b/applications/test/Circulator/Test-Circulator.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -48,7 +48,7 @@ int main(int argc, char *argv[]) Info<< "Test const circulator. First go forwards, then backwards." << nl << endl; - face f(identity(4)); + face f(identityMap(4)); ConstCirculator cStart(f); @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) Info<< nl << nl << "Compare two faces: " << endl; - face a(identity(5)); + face a(identityMap(5)); Info<< "Compare " << a << " and " << a << " Match = " << face::compare(a, a) << endl; @@ -127,11 +127,11 @@ int main(int argc, char *argv[]) Info<< "Compare " << g << " and " << h << " Match = " << face::compare(g, h) << endl; - face face1(identity(1)); + face face1(identityMap(1)); Info<< "Compare " << face1 << " and " << face1 << " Match = " << face::compare(face1, face1) << endl; - face face2(identity(1)+1); + face face2(identityMap(1)+1); Info<< "Compare " << face1 << " and " << face2 << " Match = " << face::compare(face1, face2) << endl; @@ -146,7 +146,7 @@ int main(int argc, char *argv[]) } while (cZero.circulate(CirculatorBase::direction::clockwise)); - fZero = face(identity(5)); + fZero = face(identityMap(5)); // circulator was invalidated so reset cZero = Circulator(fZero); diff --git a/applications/test/CompactIOList/Test-CompactIOList.C b/applications/test/CompactIOList/Test-CompactIOList.C index 3f5395beab..3f0d4da16a 100644 --- a/applications/test/CompactIOList/Test-CompactIOList.C +++ b/applications/test/CompactIOList/Test-CompactIOList.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) size ); - const face f(identity(4)); + const face f(identityMap(4)); forAll(faces2, i) { @@ -134,7 +134,7 @@ int main(int argc, char *argv[]) size ); - const face f(identity(4)); + const face f(identityMap(4)); forAll(faces2, i) { diff --git a/applications/test/DynamicList/Test-DynamicList.C b/applications/test/DynamicList/Test-DynamicList.C index 6f0d3cab57..da120bbff6 100644 --- a/applications/test/DynamicList/Test-DynamicList.C +++ b/applications/test/DynamicList/Test-DynamicList.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-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -208,7 +208,7 @@ int main(int argc, char *argv[]) dlE3 = dlE2; // assign identical printInfo("dlE3", dlE3, true); - DynamicList