GIT: remove unused/spurious Amultiplier definition

This commit is contained in:
Mark Olesen
2023-04-11 14:51:55 +02:00
parent 9fbc484cdf
commit e1cb12509e
2 changed files with 1 additions and 37 deletions

View File

@ -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>

View File

@ -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
);
}
}