mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: sampledSet: restore moving flag
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -169,6 +169,7 @@ void Foam::faceOnlySet::calcSamples
|
|||||||
// Set points and cell/face labels to empty lists
|
// Set points and cell/face labels to empty lists
|
||||||
//Info<< "calcSamples : Both start_ and end_ outside domain"
|
//Info<< "calcSamples : Both start_ and end_ outside domain"
|
||||||
// << endl;
|
// << endl;
|
||||||
|
const_cast<polyMesh&>(mesh()).moving(oldMoving);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -276,6 +276,8 @@ void Foam::uniformSet::calcSamples
|
|||||||
// (or is along edge)
|
// (or is along edge)
|
||||||
// Set points and cell/face labels to empty lists
|
// Set points and cell/face labels to empty lists
|
||||||
|
|
||||||
|
const_cast<polyMesh&>(mesh()).moving(oldMoving);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user