diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixATmul.C b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixATmul.C index 565068d4d9..50cbf806b2 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixATmul.C +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixATmul.C @@ -28,36 +28,6 @@ License #include "LduMatrix.H" -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - -template -class Amultiplier -: - public LduInterfaceField::Amultiplier -{ - const Field& A_; - -public: - - Amultiplier(const Field& A) - : - A_(A) - {} - - virtual ~Amultiplier() = default; - - virtual void addAmul(Field& Apsi, const Field& psi) const - { - Apsi += A_*psi; - } -}; - -} - - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // template diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C index 0b63849d53..1e36a82086 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C @@ -60,7 +60,6 @@ void Foam::LduMatrix::initMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier(interfaceCoeffs[interfacei]), commsType ); } @@ -89,7 +88,6 @@ void Foam::LduMatrix::initMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier(interfaceCoeffs[interfacei]), UPstream::commsTypes::blocking ); } @@ -141,7 +139,6 @@ void Foam::LduMatrix::updateMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier(interfaceCoeffs[interfacei]), commsType ); } @@ -168,7 +165,6 @@ void Foam::LduMatrix::updateMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier(interfaceCoeffs[interfacei]), commsType ); } @@ -182,7 +178,6 @@ void Foam::LduMatrix::updateMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier(interfaceCoeffs[interfacei]), commsType ); } @@ -208,8 +203,7 @@ void Foam::LduMatrix::updateMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier(interfaceCoeffs[interfacei]), - Pstream::commsTypes::blocking + UPstream::commsTypes::blocking ); } }