48 forAll(boundaryAddressing_, patchi)
50 if (patchFieldDecomposerPtrs_.set(patchi))
57 field.boundaryField()[boundaryAddressing_[patchi]],
60 patchFieldDecomposerPtrs_[patchi]
99template<
class GeoField>
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Generic templated field type.
Generic GeometricField class.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const T * set(const label i) const
static word timeName(const scalar t, const int precision=precision_)
void size(const label n)
Older name for setAddressableSize.
const Time & time() const noexcept
Return time registry.
void decomposeFields(const PtrList< GeoField > &fields) const
Decompose list of fields.
tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField(const GeometricField< Type, pointPatchField, pointMesh > &) const
Decompose point field.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
const pointBoundaryMesh & boundary() const
Return reference to boundary mesh.
Abstract base class for point-mesh patch fields.
Foam::processorPointPatchField.
A class for managing temporary objects.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
#define forAll(list, i)
Loop across all elements in list.