49 forAll(patchFields, patchi)
89 Boundary& bf = resF.boundaryFieldRef();
95 const labelList& agglom = patchFaceAgglomeration_[patchi];
96 label nAgglom =
max(agglom)+1;
103 forAll(coarseToFine, coarseI)
105 const labelList& fineFaces = coarseToFine[coarseI];
void size(const label n)
Older name for setAddressableSize.
const word & name() const noexcept
Return the object name.
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.
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Map volField. Internal field set to average, patch fields straight copies.
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)
Generic templated field type.
label size() const noexcept
The number of elements in the list.
List< scalar > scalarList
A List of scalars.
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
static word timeName(const scalar t, const int precision=precision_)
Return time name of given scalar time formatted with the given precision.
Type gAverage(const FieldField< Field, Type > &f)
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
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.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.