48 const bool allowUnmapped
54 forAll(patchFields, patchi)
84 auto& result = tresult.ref();
91 auto& bf = result.boundaryFieldRef();
121 if (allowUnmapped && hasUnmapped)
132 forAll(directAddressing, i)
134 if (directAddressing[i] == -1)
139 bf[patchi].faPatchField<Type>::operator=(value);
161 forAll(patchFields, patchi)
195 auto& result = tresult.ref();
202 auto& bf = result.boundaryFieldRef();
239 const bool allowUnmapped
259 const bool allowUnmapped
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))
const dimensionSet & dimensions() const
Return dimensions.
const orientedType & oriented() const noexcept
Return oriented type.
A templated direct mapper for the given FieldMapper type.
virtual bool hasUnmapped() const
Any unmapped values?
Generic templated field type.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const noexcept
Return the object name.
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_)
label size() const noexcept
The number of elements in the list.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
const Time & time() const
Return reference to time.
const faBoundaryMesh & boundary() const noexcept
Return constant reference to boundary mesh.
virtual const objectRegistry & thisDb() const
Return reference to the mesh database.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
Finite area patch class. Used for 2-D non-Euclidian finite area method.
faePatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cove...
bool interpolate() const noexcept
Same as isPointData()
A class for managing temporary objects.
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
#define forAll(list, i)
Loop across all elements in list.