mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: remove erroneous reference in dynamicCast use
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
\\ / A nd | www.openfoam.com
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2018 OpenCFD Ltd.
|
||||
Copyright (C) 2018-2021 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -162,20 +162,20 @@ Foam::label Foam::cuttingPlane::calcCellCuts
|
||||
|
||||
if (debug && isA<fvMesh>(mesh))
|
||||
{
|
||||
const fvMesh& fvm = dynamicCast<const fvMesh&>(mesh);
|
||||
const auto& fvmesh = dynamicCast<const fvMesh>(mesh);
|
||||
|
||||
volScalarField cCuts
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"cuttingPlane.cellCuts",
|
||||
fvm.time().timeName(),
|
||||
fvm.time(),
|
||||
fvmesh.time().timeName(),
|
||||
fvmesh.time(),
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
),
|
||||
fvm,
|
||||
fvmesh,
|
||||
dimensionedScalar(dimless, Zero)
|
||||
);
|
||||
|
||||
|
||||
@ -1196,7 +1196,7 @@ Foam::isoSurfaceCell::isoSurfaceCell
|
||||
|
||||
if (debug && isA<fvMesh>(mesh))
|
||||
{
|
||||
const fvMesh& fvmesh = dynamicCast<const fvMesh&>(mesh);
|
||||
const auto& fvmesh = dynamicCast<const fvMesh>(mesh);
|
||||
|
||||
volScalarField debugField
|
||||
(
|
||||
|
||||
@ -1021,7 +1021,7 @@ Foam::isoSurfaceTopo::isoSurfaceTopo
|
||||
|
||||
if (debug && isA<fvMesh>(mesh))
|
||||
{
|
||||
const fvMesh& fvmesh = dynamicCast<const fvMesh&>(mesh);
|
||||
const auto& fvmesh = dynamicCast<const fvMesh>(mesh);
|
||||
|
||||
volScalarField debugField
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user