mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fvMatrix: add dimension checking to assignment
This commit is contained in:
@ -927,6 +927,7 @@ void Foam::fvMatrix<Type>::operator=(const fvMatrix<Type>& fvmv)
|
|||||||
<< abort(FatalError);
|
<< abort(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dimensions_ = fvmv.dimensions_;
|
||||||
lduMatrix::operator=(fvmv);
|
lduMatrix::operator=(fvmv);
|
||||||
source_ = fvmv.source_;
|
source_ = fvmv.source_;
|
||||||
internalCoeffs_ = fvmv.internalCoeffs_;
|
internalCoeffs_ = fvmv.internalCoeffs_;
|
||||||
|
|||||||
Reference in New Issue
Block a user