diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.C b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.C index f29c06ed56..7cec1b4541 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.C +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.C @@ -1,35 +1 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | - \\/ M anipulation | -------------------------------------------------------------------------------- - | Copyright (C) 2011-2012 OpenFOAM Foundation -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM. If not, see . - -\*---------------------------------------------------------------------------*/ - -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -template -Foam::LduInterfaceField::~LduInterfaceField() -{} - - -// ************************************************************************* // +#warning File removed - left for old dependency check only diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.H b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.H index db60513449..0730693046 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.H +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2016 OpenFOAM Foundation @@ -85,7 +85,7 @@ public: //- Destructor - virtual ~LduInterfaceField(); + virtual ~LduInterfaceField() = default; // Member Functions @@ -127,12 +127,6 @@ public: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -#ifdef NoRepository - #include "LduInterfaceField.C" -#endif - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - #endif // ************************************************************************* // diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.C b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.C index 9586f0f3d8..bfc6a396bb 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.C +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2012 OpenFOAM Foundation @@ -31,14 +31,8 @@ License namespace Foam { -defineTypeNameAndDebug(lduInterface, 0); + defineTypeNameAndDebug(lduInterface, 0); } -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::lduInterface::~lduInterface() -{} - - // ************************************************************************* // diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H index a0666cc50e..9b7aaa620c 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011 OpenFOAM Foundation @@ -47,23 +47,12 @@ SourceFiles namespace Foam { -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - /*---------------------------------------------------------------------------*\ Class lduInterface Declaration \*---------------------------------------------------------------------------*/ class lduInterface { - // Private Member Functions - - //- No copy construct - lduInterface(const lduInterface&) = delete; - - //- No copy assignment - void operator=(const lduInterface&) = delete; - - public: //- Runtime type information @@ -73,12 +62,11 @@ public: // Constructors //- Construct null - lduInterface() - {} + lduInterface() = default; //- Destructor - virtual ~lduInterface(); + virtual ~lduInterface() = default; // Member Functions diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.C b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.C index 9805d3d7fa..f9b6ae878d 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.C +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2012 OpenFOAM Foundation @@ -31,38 +31,19 @@ License namespace Foam { -defineTypeNameAndDebug(processorLduInterface, 0); + defineTypeNameAndDebug(processorLduInterface, 0); } // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // -void Foam::processorLduInterface::resizeBuf -( - List& buf, - const label size -) const +void Foam::processorLduInterface::resizeBuf(List& buf, const label size) { if (buf.size() < size) { - buf.setSize(size); + buf.resize(size); } } -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -Foam::processorLduInterface::processorLduInterface() -: - sendBuf_(0), - receiveBuf_(0) -{} - - -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::processorLduInterface::~processorLduInterface() -{} - - // ************************************************************************* // diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.H b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.H index 755332954e..829064831d 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterface.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2016 OpenFOAM Foundation @@ -52,7 +52,7 @@ namespace Foam class processorLduInterface { - // Private data + // Private Data //- Send buffer. // Only sized and used when compressed or non-blocking comms used. @@ -62,8 +62,11 @@ class processorLduInterface // Only sized and used when compressed or non-blocking comms used. mutable List receiveBuf_; - //- Resize the buffer if required - void resizeBuf(List& buf, const label size) const; + + // Private Member Functions + + //- Increase buffer size if required + static void resizeBuf(List& buf, const label size); public: @@ -75,11 +78,11 @@ public: // Constructors //- Construct null - processorLduInterface(); + processorLduInterface() = default; //- Destructor - virtual ~processorLduInterface(); + virtual ~processorLduInterface() = default; // Member Functions @@ -101,25 +104,26 @@ public: //- Return message tag used for sending virtual int tag() const = 0; - // Transfer functions + + // Transfer Functions //- Raw send function template void send ( const Pstream::commsTypes commsType, - const UList& + const UList& f ) const; - //- Raw field receive function + //- Raw receive function template void receive ( const Pstream::commsTypes commsType, - UList& + UList& f ) const; - //- Raw field receive function returning field + //- Raw receive function returning field template tmp> receive ( @@ -128,23 +132,23 @@ public: ) const; - //- Raw field send function with data compression + //- Raw send function with data compression template void compressedSend ( const Pstream::commsTypes commsType, - const UList& + const UList& f ) const; - //- Raw field receive function with data compression + //- Raw receive function with data compression template void compressedReceive ( const Pstream::commsTypes commsType, - UList& + UList& f ) const; - //- Raw field receive function with data compression returning field + //- Raw receive function with data compression returning field template tmp> compressedReceive ( diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterfaceTemplates.C b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterfaceTemplates.C index 35c6e770b5..e6f11c5e6e 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterfaceTemplates.C +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/processorLduInterfaceTemplates.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2017 OpenFOAM Foundation @@ -135,9 +135,9 @@ Foam::tmp> Foam::processorLduInterface::receive const label size ) const { - tmp> tf(new Field(size)); - receive(commsType, tf.ref()); - return tf; + auto tfld = tmp>::New(size); + receive(commsType, tfld.ref()); + return tfld; } @@ -221,6 +221,7 @@ void Foam::processorLduInterface::compressedSend } } + template void Foam::processorLduInterface::compressedReceive ( @@ -278,6 +279,7 @@ void Foam::processorLduInterface::compressedReceive } } + template Foam::tmp> Foam::processorLduInterface::compressedReceive ( @@ -285,9 +287,9 @@ Foam::tmp> Foam::processorLduInterface::compressedReceive const label size ) const { - tmp> tf(new Field(size)); - compressedReceive(commsType, tf.ref()); - return tf; + auto tfld = tmp>::New(size); + compressedReceive(commsType, tfld.ref()); + return tfld; } diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/lduInterfaceField/lduInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/lduInterfaceField/lduInterfaceField.H index 9aaeaacd99..f0ec0f1c1c 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/lduInterfaceField/lduInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/lduInterfaceField/lduInterfaceField.H @@ -133,8 +133,8 @@ public: return true; } - //- Initialise neighbour matrix update. Add - // or subtract coupled contributions to matrix + //- Initialise neighbour matrix update. + //- Add/subtract coupled contributions to matrix virtual void initInterfaceMatrixUpdate ( solveScalarField& result, @@ -146,8 +146,8 @@ public: ) const {} - //- Update result field based on interface functionality. Add - // or subtract coupled contributions to matrix + //- Update result field based on interface functionality. + //- Add/subtract coupled contributions to matrix virtual void updateInterfaceMatrix ( solveScalarField& result, @@ -158,8 +158,7 @@ public: const Pstream::commsTypes commsType ) const = 0; - //- Helper: add (or subtract) weighted contributions to internal - // field + //- Add/subtract weighted contributions to internal field template void addToInternalField ( diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H index f050128e54..e6ee8a8ff9 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2016 OpenFOAM Foundation @@ -205,10 +205,6 @@ protected: ); -private: - - // Private Member Functions - //- No copy construct GAMGAgglomeration(const GAMGAgglomeration&) = delete; diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.C index 57f0f7e58c..56a0033297 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.C +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.C @@ -100,12 +100,6 @@ Foam::cyclicGAMGInterfaceField::cyclicGAMGInterfaceField {} -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::cyclicGAMGInterfaceField::~cyclicGAMGInterfaceField() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // void Foam::cyclicGAMGInterfaceField::updateInterfaceMatrix diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H index 6cfa522af5..9ca341f325 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H @@ -101,7 +101,7 @@ public: //- Destructor - virtual ~cyclicGAMGInterfaceField(); + virtual ~cyclicGAMGInterfaceField() = default; // Member Functions diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.C index c08448ecf3..6183642051 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.C +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.C @@ -84,12 +84,6 @@ Foam::processorGAMGInterfaceField::processorGAMGInterfaceField {} -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::processorGAMGInterfaceField::~processorGAMGInterfaceField() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // void Foam::processorGAMGInterfaceField::initInterfaceMatrixUpdate diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H index 9f30216a01..017f3d487a 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H @@ -120,7 +120,7 @@ public: //- Destructor - virtual ~processorGAMGInterfaceField(); + virtual ~processorGAMGInterfaceField() = default; // Member Functions diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C index 624de5e4a0..da7be18d63 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C @@ -161,12 +161,6 @@ Foam::cyclicGAMGInterface::cyclicGAMGInterface {} -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::cyclicGAMGInterface::~cyclicGAMGInterface() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // Foam::tmp Foam::cyclicGAMGInterface::internalFieldTransfer diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H index 607e2f6042..89694cdb0a 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2013 OpenFOAM Foundation @@ -109,7 +109,7 @@ public: //- Destructor - virtual ~cyclicGAMGInterface(); + virtual ~cyclicGAMGInterface() = default; // Member Functions diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.C index 34a627909c..4ae21e2479 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.C +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.C @@ -178,12 +178,6 @@ Foam::processorGAMGInterface::processorGAMGInterface {} -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::processorGAMGInterface::~processorGAMGInterface() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // void Foam::processorGAMGInterface::initInternalFieldTransfer diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H index 1f219271ae..e6aff8f1ff 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | + \\ / A nd | Copyright (C) 2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2014 OpenFOAM Foundation @@ -125,7 +125,7 @@ public: //- Destructor - virtual ~processorGAMGInterface(); + virtual ~processorGAMGInterface() = default; // Member Functions diff --git a/src/overset/lduPrimitiveProcessorInterface/GAMG/calculatedProcessorGAMGInterface.C b/src/overset/lduPrimitiveProcessorInterface/GAMG/calculatedProcessorGAMGInterface.C index cad5bbee26..17c21a45b5 100644 --- a/src/overset/lduPrimitiveProcessorInterface/GAMG/calculatedProcessorGAMGInterface.C +++ b/src/overset/lduPrimitiveProcessorInterface/GAMG/calculatedProcessorGAMGInterface.C @@ -176,12 +176,6 @@ Foam::calculatedProcessorGAMGInterface::calculatedProcessorGAMGInterface {} -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::calculatedProcessorGAMGInterface::~calculatedProcessorGAMGInterface() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // void Foam::calculatedProcessorGAMGInterface::initInternalFieldTransfer diff --git a/src/overset/lduPrimitiveProcessorInterface/GAMG/calculatedProcessorGAMGInterface.H b/src/overset/lduPrimitiveProcessorInterface/GAMG/calculatedProcessorGAMGInterface.H index ef914f3353..b97dde9b81 100644 --- a/src/overset/lduPrimitiveProcessorInterface/GAMG/calculatedProcessorGAMGInterface.H +++ b/src/overset/lduPrimitiveProcessorInterface/GAMG/calculatedProcessorGAMGInterface.H @@ -126,7 +126,7 @@ public: //- Destructor - virtual ~calculatedProcessorGAMGInterface(); + virtual ~calculatedProcessorGAMGInterface() = default; // Member Functions diff --git a/src/overset/lduPrimitiveProcessorInterface/lduPrimitiveProcessorInterface.H b/src/overset/lduPrimitiveProcessorInterface/lduPrimitiveProcessorInterface.H index fcac67d2ec..884e9dcb30 100644 --- a/src/overset/lduPrimitiveProcessorInterface/lduPrimitiveProcessorInterface.H +++ b/src/overset/lduPrimitiveProcessorInterface/lduPrimitiveProcessorInterface.H @@ -146,7 +146,7 @@ public: ) const; - //- Processor interface functions + // Processor interface functions //- Return communicator used for sending virtual label comm() const