Go to the documentation of this file.
35 Foam::sampledPlane::sampleOnFaces
40 return sampledSurface::sampleOnFaces
52 Foam::sampledPlane::sampleOnPoints
64 auto&
values = tvalues.ref();
72 const face&
f = fcs[facei];
73 const label celli = elements[facei];
75 for (
const label pointi :
f)
77 if (pointDone.
set(pointi))
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
void set(const bitSet &bitset)
Set specified bits from another bitset.
#define forAll(list, i)
Loop across all elements in list.
Abstract base class for interpolation.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
A face is a list of labels corresponding to mesh vertices.
virtual Type interpolate(const vector &position, const label celli, const label facei=-1) const =0
Interpolate field to the given point in the given cell.