45 fieldMap.insert(fieldSet_[i].first(), fieldSet_[i].second());
53 const VolFieldType&
fld = *iter();
55 if (fieldMap.found(fld.name()))
58 const word& sName = fieldMap[fld.name()];
60 if (obr_.found(sName))
62 Info<<
" surface field " << sName <<
" already exists" 67 label sz = sflds.size();
75 Info<<
" interpolated " << fld.name() <<
" to create " 76 << sflds[sz].name() <<
endl;
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > linearInterpolate(const GeometricField< Type, fvPatchField, volMesh > &vf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
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))
void interpolateFields(PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> &) const
A class for handling words, derived from string.
An STL-conforming hash table.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...