mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: avoid autoPtr copy assignment and implicit casting
This commit is contained in:
@ -593,8 +593,6 @@ void Foam::radiation::laserDTRM::calculate()
|
||||
|
||||
labelField reflectingCells(mesh_.nCells(), -1);
|
||||
|
||||
autoPtr<interpolationCellPoint<vector>> nHatIntrPtr;
|
||||
|
||||
UPtrList<reflectionModel> reflectionUPtr;
|
||||
|
||||
if (reflectionSwitch_)
|
||||
@ -653,10 +651,7 @@ void Foam::radiation::laserDTRM::calculate()
|
||||
}
|
||||
}
|
||||
|
||||
nHatIntrPtr.reset
|
||||
(
|
||||
new interpolationCellPoint<vector>(nHat)
|
||||
);
|
||||
interpolationCellPoint<vector> nHatInterp(nHat);
|
||||
|
||||
DTRMParticle::trackingData td
|
||||
(
|
||||
@ -665,7 +660,7 @@ void Foam::radiation::laserDTRM::calculate()
|
||||
eInterp,
|
||||
EInterp,
|
||||
TInterp,
|
||||
nHatIntrPtr,
|
||||
nHatInterp,
|
||||
reflectingCells,
|
||||
reflectionUPtr,
|
||||
Q_
|
||||
|
||||
Reference in New Issue
Block a user