32 template<
class GeoField>
33 void Foam::fvMeshTools::setPatchFields
35 typename GeoField::Mesh&
mesh,
37 const dictionary& patchFieldDict
40 objectRegistry& obr =
const_cast<objectRegistry&
>(
mesh.
thisDb());
42 HashTable<GeoField*>
fields(obr.lookupClass<GeoField>());
46 GeoField& field = *iter();
48 if (GeoField::Mesh::geometryFields.
found(field.name()))
continue;
50 typename GeoField::Boundary& bfield = field.boundaryFieldRef();
54 patchFieldDict.found(field.name())
65 patchFieldDict.subDict(field.name())
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
static bool constraintType(const word &pt)
Return true if the given type is a constraint type.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
Info<< "Calculating turbulent flame speed field St\n"<< endl;volScalarField St(IOobject("St", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.