diff --git a/src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C b/src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C index 9732f9b70d8228875c2a7f90ebbaa4f4c260d36d..7da363f275e7d0027d2ebe62a6aa8d9d787a583c 100644 --- a/src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C +++ b/src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation - \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd. + \\/ M anipulation | Copyright (C) 2016-2018 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -647,7 +647,7 @@ Foam::sampledTriSurfaceMesh::sampledTriSurfaceMesh surfaceName, mesh.time().constant(), // instance "triSurface", // local - mesh, // registry + mesh.time(), // registry IOobject::MUST_READ, IOobject::NO_WRITE, false @@ -679,7 +679,7 @@ Foam::sampledTriSurfaceMesh::sampledTriSurfaceMesh dict.lookup("surface"), mesh.time().constant(), // instance "triSurface", // local - mesh, // registry + mesh.time(), // registry IOobject::MUST_READ, IOobject::NO_WRITE, false @@ -713,7 +713,7 @@ Foam::sampledTriSurfaceMesh::sampledTriSurfaceMesh name, mesh.time().constant(), // instance "triSurface", // local - mesh, // registry + mesh.time(), // registry IOobject::NO_READ, IOobject::NO_WRITE, false diff --git a/src/sampling/surface/triSurfaceMesh/discreteSurface.C b/src/sampling/surface/triSurfaceMesh/discreteSurface.C index 9ea692374851c39d925c51e3c87660f90617953f..d9165dd031556134f098c5bc240ed8a5a170fbf3 100644 --- a/src/sampling/surface/triSurfaceMesh/discreteSurface.C +++ b/src/sampling/surface/triSurfaceMesh/discreteSurface.C @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation - \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd. + \\/ M anipulation | Copyright (C) 2016-2018 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -642,7 +642,7 @@ Foam::discreteSurface::discreteSurface surfaceName, mesh.time().constant(), // instance "triSurface", // local - mesh, // registry + mesh.time(), // registry IOobject::MUST_READ, IOobject::NO_WRITE, false @@ -680,7 +680,7 @@ Foam::discreteSurface::discreteSurface dict.lookup("surface"), mesh.time().constant(), // instance "triSurface", // local - mesh, // registry + mesh.time(), // registry IOobject::MUST_READ, IOobject::NO_WRITE, false @@ -716,7 +716,7 @@ Foam::discreteSurface::discreteSurface name, mesh.time().constant(), // instance "triSurface", // local - mesh, // registry + mesh.time(), // registry IOobject::NO_READ, IOobject::NO_WRITE, false