30 template<
class ... OtherFields>
37 OtherFields& ... otherFields
44 if (celli[iOld] != -1)
47 celli[
iNew] = celli[iOld];
48 facei[
iNew] = facei[iOld];
49 faceTrii[
iNew] = faceTrii[iOld];
51 (void)std::initializer_list<nil>
53 otherFields[
iNew] = otherFields[iOld],
66 (void)std::initializer_list<nil>
68 otherFields.resize(
iNew),
#define forAll(list, i)
Loop across all elements in list.
Pre-declare SubField and related Field type.
static void filter(barycentricField &coordinates, labelField &celli, labelField &facei, labelField &faceTrii, OtherFields &... otherFields)
Filter out injected elements that are on other processes. These.
void resize(const label)
Alias for setSize(const label)
A zero-sized class without any storage. Used, for example, in HashSet.
barycentric coordinates(const polyMesh &mesh, const point &position, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
Return the coordinates given the position and tet topology.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.