STYLE: declare generated methods for blockDescriptor

- remove stray, unused file
This commit is contained in:
Mark Olesen
2020-01-27 13:37:52 +01:00
parent 056fb32f8f
commit 500a3b62ca
2 changed files with 9 additions and 28 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2017 OpenFOAM Foundation
Copyright (C) 2019 OpenCFD Ltd.
Copyright (C) 2019-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -126,12 +126,17 @@ class blockDescriptor
void findCurvedFaces();
public:
// Generated Methods
//- Copy construct
blockDescriptor(const blockDescriptor&) = default;
//- No copy assignment
void operator=(const blockDescriptor&) = delete;
public:
// Constructors
//- Construct from components. Optional cellSet/zone name.
@ -143,7 +148,7 @@ public:
const blockFaceList& faces,
const labelVector& density,
const UList<gradingDescriptors>& expand,
const word& zoneName = ""
const word& zoneName = word::null
);
//- Construct from Istream

View File

@ -1,24 +0,0 @@
namespace Foam
{
inline point faceCorr(const point& p)
{
return p/mag(p);
}
}
Foam::label Foam::blockDescriptor::correctFacePoints
(
FixedList<List<point>, 6>& facePoints
) const
{
forAll(facePoints, facei)
{
forAll(facePoints[facei], pointi)
{
facePoints[facei][pointi] = faceCorr(facePoints[facei][pointi]);
}
}
return 6;
}