Commit 500a3b62 authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: declare generated methods for blockDescriptor

- remove stray, unused file
parent 056fb32f
......@@ -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
......
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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment