50 forAll(boundaryAddressing_, patchi)
52 const label oldPatchi = boundaryAddressing_[patchi];
61 field.boundaryField()[oldPatchi],
64 patchFieldDecomposerPtrs_[patchi]
79 field.internalField(),
80 processorAreaPatchFieldDecomposerPtrs_[patchi]
119 procMesh_.nInternalEdges()
128 Field<Type> internalField
130 field.internalField(),
139 Field<Type> allEdgeField(
field.mesh().nEdges());
143 allEdgeField[i] =
field.internalField()[i];
148 const Field<Type>&
p =
field.boundaryField()[patchi];
150 const label patchStart =
field.mesh().boundary()[patchi].start();
154 allEdgeField[patchStart + i] =
p[i];
159 PtrList<faePatchField<Type>> patchFields(boundaryAddressing_.size());
161 forAll(boundaryAddressing_, patchi)
163 const label oldPatchi = boundaryAddressing_[patchi];
172 field.boundaryField()[oldPatchi],
173 procMesh_.boundary()[patchi],
175 patchFieldDecomposerPtrs_[patchi]
184 new processorFaePatchField<Type>
186 procMesh_.boundary()[patchi],
191 processorEdgePatchFieldDecomposerPtrs_[patchi]
200 tmp<GeometricField<Type, faePatchField, edgeMesh>>
::New 205 procMesh_.thisDb().time().timeName(),
218 template<
class GeoField>
void size(const label n)
Older name for setAddressableSize.
static const DimensionedField< Type, GeoMesh > & null() noexcept
Return a null DimensionedField (reference to a nullObject).
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.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Generic GeometricField class.
Ignore writing from objectRegistry::writeObject()
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
void decomposeFields(const PtrList< GeoField > &fields) const
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
virtual const objectRegistry & thisDb() const
Reference to the mesh database.
#define forAll(list, i)
Loop across all elements in list.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
A List obtained as a section of another List.
Generic templated field type.
const Time & time() const noexcept
Return time registry.
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.
const faBoundaryMesh & boundary() const noexcept
Return constant reference to boundary mesh.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
static tmp< faePatchField< Type > > New(const word &patchFieldType, const faPatch &, const DimensionedField< Type, edgeMesh > &)
Return a pointer to a new patchField created on freestore given.
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
tmp< GeometricField< Type, faPatchField, areaMesh > > decomposeField(const GeometricField< Type, faPatchField, areaMesh > &field) const
Decompose area field.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.