mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: trackedParticle: non-const access
This commit is contained in:
@ -169,7 +169,7 @@ void Foam::trackedParticle::hitProcessorPatch
|
||||
trackingData& td
|
||||
)
|
||||
{
|
||||
// Remove particle
|
||||
// Move to different processor
|
||||
td.switchProcessor = true;
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -163,12 +163,24 @@ public:
|
||||
return end_;
|
||||
}
|
||||
|
||||
//- transported label
|
||||
label i() const
|
||||
{
|
||||
return i_;
|
||||
}
|
||||
|
||||
//- transported label
|
||||
label& i()
|
||||
{
|
||||
return i_;
|
||||
}
|
||||
|
||||
//- transported label
|
||||
label j() const
|
||||
{
|
||||
return j_;
|
||||
}
|
||||
|
||||
//- transported label
|
||||
label& j()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user