92 if (dict.
found(
"value"))
103 "fvsPatchField<Type>::fvsPatchField\n" 105 " const fvPatch& p,\n" 106 " const DimensionedField<Type, surfaceMesh>& iF,\n" 107 " const dictionary& dict\n" 110 ) <<
"essential value entry not provided" 124 internalField_(ptf.internalField_)
146 return patch_.boundaryMesh().mesh();
153 if (&patch_ != &(ptf.patch_))
155 FatalErrorIn(
"PatchField<Type>::check(const fvsPatchField<Type>&)")
156 <<
"different patches for fvsPatchField<Type>s" 190 this->writeEntry(
"value", os);
207 void fvsPatchField<Type>::operator=
218 void fvsPatchField<Type>::operator+=
229 void fvsPatchField<Type>::operator-=
240 void fvsPatchField<Type>::operator*=
245 if (&patch_ != &ptf.
patch())
249 "PatchField<Type>::operator*=(const fvsPatchField<scalar>& ptf)" 250 ) <<
"incompatible patches for patch fields" 259 void fvsPatchField<Type>::operator/=
264 if (&patch_ != &ptf.
patch())
268 "PatchField<Type>::operator/=(const fvsPatchField<scalar>& ptf)" 269 ) <<
" incompatible patches for patch fields" 278 void fvsPatchField<Type>::operator+=
288 void fvsPatchField<Type>::operator-=
298 void fvsPatchField<Type>::operator*=
308 void fvsPatchField<Type>::operator/=
318 void fvsPatchField<Type>::operator=
328 void fvsPatchField<Type>::operator+=
338 void fvsPatchField<Type>::operator-=
348 void fvsPatchField<Type>::operator*=
358 void fvsPatchField<Type>::operator/=
369 void fvsPatchField<Type>::operator==
379 void fvsPatchField<Type>::operator==
389 void fvsPatchField<Type>::operator==
401 Ostream& operator<<(Ostream& os, const fvsPatchField<Type>& ptf)
405 os.check(
"Ostream& operator<<(Ostream&, const fvsPatchField<Type>&");
void check(const fvsPatchField< Type > &) const
Check fvsPatchField<Type> against given fvsPatchField<Type>
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
void operator+=(const UList< Type > &)
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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){word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject( name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE ))
const fvPatch & patch() const
Return patch.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Foam::fvPatchFieldMapper.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void operator*=(const UList< scalar > &)
void autoMap(const FieldMapper &map)
Map from self.
void operator=(const Field< Type > &)
virtual void write(Ostream &) const
Write.
const objectRegistry & db() const
Return local objectRegistry.
fvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
Pre-declare SubField and related Field type.
errorManip< error > abort(error &err)
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
void operator-=(const UList< Type > &)
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
virtual void rmap(const fvsPatchField< Type > &, const labelList &)
Reverse map the given fvsPatchField onto this fvsPatchField.
void rmap(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 reverse-map from the given field
Registry of regIOobjects.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void operator/=(const UList< scalar > &)
virtual label size() const
Return size.
#define FatalIOErrorIn(functionName, ios)
Report an error message using Foam::FatalIOError.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...