Skip to content
Snippets Groups Projects
Commit bb15033f authored by graham's avatar graham
Browse files

ENH: KinematicParcel. Transforming f, angularMomentum and torque in

transformProperties.
parent 6e754e70
Branches
Tags
No related merge requests found
......@@ -449,7 +449,14 @@ template<class ParcelType>
void Foam::KinematicParcel<ParcelType>::transformProperties(const tensor& T)
{
Particle<ParcelType>::transformProperties(T);
U_ = transform(T, U_);
f_ = transform(T, f_);
angularMomentum_ = transform(T, angularMomentum_);
torque_ = transform(T, torque_);
}
......@@ -468,4 +475,3 @@ void Foam::KinematicParcel<ParcelType>::transformProperties
#include "KinematicParcelIO.C"
// ************************************************************************* //
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment