62 auto& result = tresult.
ref();
68 auto& bf = result.boundaryFieldRef();
74 const labelList& agglom = patchFaceAgglomeration_[patchi];
75 label nAgglom =
max(agglom)+1;
82 forAll(coarseToFine, coarseI)
84 const labelList& fineFaces = coarseToFine[coarseI];
99 result.internalField(),
118 result.internalField(),
List< scalar > scalarList
List of scalar.
void size(const label n)
Older name for setAddressableSize.
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Map volField. Internal field set to average, patch fields straight copies.
const Internal::FieldType & primitiveField() const noexcept
Return a const-reference to the internal field values.
const word & name() const noexcept
Return the object name.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type set(const label i, bool val=true)
A bitSet::set() method for a list of bool.
void inplaceReorder(const labelUList &oldToNew, ListType &input, const bool prune=false)
Inplace reorder the elements of a list.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Patch field mapper class for agglomerated meshes.
Generic GeometricField class.
Ignore writing from objectRegistry::writeObject()
const Time & time() const
Return the top-level database.
DirectFieldMapper< fvPatchFieldMapper > directFvPatchFieldMapper
A fvPatchFieldMapper with direct mapping.
#define forAll(list, i)
Loop across all elements in list.
labelListList invertOneToMany(const label len, const labelUList &map)
Invert one-to-many map. Unmapped elements will be size 0.
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i), works like std::iota() but returning a...
static word timeName(const scalar t, const int precision=precision_)
Return a time name for the given scalar time value formatted with the given precision.
bool agglomerate() const noexcept
Type gAverage(const FieldField< Field, Type > &f)
static const word & calculatedType() noexcept
The type name for calculated patch fields.
const fvBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
const dimensionSet & dimensions() const noexcept
Return dimensions.