Go to the documentation of this file.
91 if (
dict.found(
"value"))
101 <<
"Essential entry 'value' missing on patch " <<
p.name() <<
nl
112 internalField_(ptf.internalField_)
134 return patch_.boundaryMesh().mesh();
141 if (&patch_ != &(ptf.patch_))
144 <<
"different patches for fvsPatchField<Type>s"
153 const bool oriented = internalField_.oriented()();
173 this->writeEntry(
"value", os);
228 if (&patch_ != &ptf.
patch())
231 <<
"incompatible patches for patch fields"
245 if (&patch_ != &ptf.
patch())
void operator-=(const UList< Type > &)
const objectRegistry & db() const
Return local objectRegistry.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void autoMap(const FieldMapper &map, const bool applyFlip=true)
Map from self.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
void operator+=(const UList< Type > &)
Registry of regIOobjects.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Generic templated field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void rmap(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 reverse-map from the given field
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
fvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
errorManip< error > abort(error &err)
void operator=(const Field< Type > &)
Copy assignment.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void operator/=(const UList< scalar > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const fvPatch & patch() const
Return patch.
virtual void rmap(const fvsPatchField< Type > &, const labelList &)
Reverse map the given fvsPatchField onto this fvsPatchField.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
void operator*=(const UList< scalar > &)
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
void check(const fvsPatchField< Type > &) const
Check fvsPatchField<Type> against given fvsPatchField<Type>
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...