Go to the documentation of this file.
32 template<
class GeoField>
37 const word& defaultPatchFieldType,
38 const typename GeoField::value_type& defaultPatchValue
43 mesh.objectRegistry::lookupClass<GeoField>()
48 GeoField&
fld = *iter();
50 typename GeoField::GeometricBoundaryField& bfld =
53 label sz = bfld.size();
56 if (patchFieldDict.
found(
fld.name()))
64 fld.dimensionedInternalField(),
76 defaultPatchFieldType,
78 fld.dimensionedInternalField()
81 bfld[sz] == defaultPatchValue;
87 template<
class GeoField>
97 mesh.objectRegistry::lookupClass<GeoField>()
102 GeoField&
fld = *iter();
104 typename GeoField::GeometricBoundaryField& bfld =
107 if (patchFieldDict.
found(
fld.name()))
114 mesh.boundary()[patchI],
115 fld.dimensionedInternalField(),
126 template<
class GeoField>
131 const typename GeoField::value_type& value
136 mesh.objectRegistry::lookupClass<GeoField>()
141 GeoField&
fld = *iter();
143 typename GeoField::GeometricBoundaryField& bfld =
146 bfld[patchI] == value;
152 template<
class GeoField>
157 mesh.objectRegistry::lookupClass<GeoField>()
162 GeoField&
fld = *iter();
169 template<
class GeoField>
178 mesh.objectRegistry::lookupClass<GeoField>()
183 GeoField&
fld = *iter();
185 typename GeoField::GeometricBoundaryField& bfld =
188 bfld.reorder(oldToNew);
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e....
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Mesh data needed to do the Finite Volume discretisation.
An STL-conforming hash table.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.