mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: replace surfMesh/fields support with polySurface/fields support (#1206)
- fits better into the general sampling framework, improves flexibilty and allows code reduction. ENH: include surface fields on sampledSurfaces that support it
This commit is contained in:
@ -26,13 +26,19 @@ License
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "Time.H"
|
||||
#include "sampledSurface.H"
|
||||
|
||||
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||
|
||||
inline bool Foam::functionObjects::fieldValues::surfaceFieldValue::
|
||||
withSurfaceFields() const
|
||||
{
|
||||
return (stFaceZone == regionType_ || stPatch == regionType_);
|
||||
return
|
||||
(
|
||||
stFaceZone == regionType_
|
||||
|| stPatch == regionType_
|
||||
|| (sampledPtr_.valid() && sampledPtr_->withSurfaceFields())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user