mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: cannot resolve read in UnsortedMeshedSurface constructor
- fix linkage for cellModeller compat methods
This commit is contained in:
@ -258,7 +258,7 @@ int main(int argc, char *argv[])
|
|||||||
// UnsortedMeshedSurface<face> surf2;
|
// UnsortedMeshedSurface<face> surf2;
|
||||||
// is >> surf2;
|
// is >> surf2;
|
||||||
|
|
||||||
// surf2.read(is); // FAIL: private method
|
// surf2.readIstream(is); // FAIL: private method
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.found("orient"))
|
if (args.found("orient"))
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
\\ / A nd | www.openfoam.com
|
\\ / A nd | www.openfoam.com
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2017-2020 OpenCFD Ltd.
|
Copyright (C) 2017-2021 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
|
This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
|
||||||
@ -38,7 +38,7 @@ struct cellModeller
|
|||||||
//- Deprecated(2017-11) equivalent to cellModel::ptr static method.
|
//- Deprecated(2017-11) equivalent to cellModel::ptr static method.
|
||||||
// \deprecated(2017-11) use cellModel::ptr instead
|
// \deprecated(2017-11) use cellModel::ptr instead
|
||||||
FOAM_DEPRECATED_FOR(2017-11, "cellModel::ptr() static method")
|
FOAM_DEPRECATED_FOR(2017-11, "cellModel::ptr() static method")
|
||||||
const cellModel* lookup(const word& modelName)
|
static const cellModel* lookup(const word& modelName)
|
||||||
{
|
{
|
||||||
return cellModel::ptr(modelName);
|
return cellModel::ptr(modelName);
|
||||||
}
|
}
|
||||||
@ -46,7 +46,7 @@ struct cellModeller
|
|||||||
//- Deprecated(2017-11) equivalent to cellModel::ptr static method.
|
//- Deprecated(2017-11) equivalent to cellModel::ptr static method.
|
||||||
// \deprecated(2017-11) use cellModel::ptr instead
|
// \deprecated(2017-11) use cellModel::ptr instead
|
||||||
FOAM_DEPRECATED_FOR(2017-11, "cellModel::ptr() static method")
|
FOAM_DEPRECATED_FOR(2017-11, "cellModel::ptr() static method")
|
||||||
const cellModel* lookup(const label modelIndex)
|
static const cellModel* lookup(const label modelIndex)
|
||||||
{
|
{
|
||||||
return cellModel::ptr(modelIndex);
|
return cellModel::ptr(modelIndex);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,7 +27,6 @@ License
|
|||||||
|
|
||||||
#include "PDRblock.H"
|
#include "PDRblock.H"
|
||||||
#include "ListOps.H"
|
#include "ListOps.H"
|
||||||
#include "cellModeller.H"
|
|
||||||
#include "gradingDescriptors.H"
|
#include "gradingDescriptors.H"
|
||||||
#include "objectRegistry.H"
|
#include "objectRegistry.H"
|
||||||
#include "Time.H"
|
#include "Time.H"
|
||||||
|
|||||||
@ -280,7 +280,7 @@ Foam::UnsortedMeshedSurface<Face>::UnsortedMeshedSurface
|
|||||||
:
|
:
|
||||||
UnsortedMeshedSurface<Face>()
|
UnsortedMeshedSurface<Face>()
|
||||||
{
|
{
|
||||||
read(is);
|
readIstream(is);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user