mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: declare generated methods for blockDescriptor
- remove stray, unused file
This commit is contained in:
@ -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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user