diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixATmul.C b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixATmul.C index 565068d4d93ac3449a4ba620964562a94dd0d2a2..50cbf806b2e2cda977658ed0a0b77c9b029808af 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 Type, class LUType> -class Amultiplier -: - public LduInterfaceField<Type>::Amultiplier -{ - const Field<LUType>& A_; - -public: - - Amultiplier(const Field<LUType>& A) - : - A_(A) - {} - - virtual ~Amultiplier() = default; - - virtual void addAmul(Field<Type>& Apsi, const Field<Type>& psi) const - { - Apsi += A_*psi; - } -}; - -} - - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // template<class Type, class DType, class LUType> diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C index 0b63849d53bd7a16473d25df727f9c8ffd301bed..1e36a8208676165af43b2f6ca3dae68ca403a9b5 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C @@ -60,7 +60,6 @@ void Foam::LduMatrix<Type, DType, LUType>::initMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier<Type, LUType>(interfaceCoeffs[interfacei]), commsType ); } @@ -89,7 +88,6 @@ void Foam::LduMatrix<Type, DType, LUType>::initMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier<Type, LUType>(interfaceCoeffs[interfacei]), UPstream::commsTypes::blocking ); } @@ -141,7 +139,6 @@ void Foam::LduMatrix<Type, DType, LUType>::updateMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier<Type, LUType>(interfaceCoeffs[interfacei]), commsType ); } @@ -168,7 +165,6 @@ void Foam::LduMatrix<Type, DType, LUType>::updateMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier<Type, LUType>(interfaceCoeffs[interfacei]), commsType ); } @@ -182,7 +178,6 @@ void Foam::LduMatrix<Type, DType, LUType>::updateMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier<Type, LUType>(interfaceCoeffs[interfacei]), commsType ); } @@ -208,8 +203,7 @@ void Foam::LduMatrix<Type, DType, LUType>::updateMatrixInterfaces interfacei, psiif, interfaceCoeffs[interfacei], - //Amultiplier<Type, LUType>(interfaceCoeffs[interfacei]), - Pstream::commsTypes::blocking + UPstream::commsTypes::blocking ); } }