mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: remove unused/spurious Amultiplier definition
This commit is contained in:
@ -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>
|
||||
|
||||
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user