45 manipulatedMatrix_(
false)
61 manipulatedMatrix_(
false)
71 const bool valueRequired
78 manipulatedMatrix_(
false)
82 if (dict.
found(
"value"))
94 ) <<
"Essential entry 'value' missing" 108 const bool mappingRequired
115 manipulatedMatrix_(
false)
140 manipulatedMatrix_(
false)
149 return patch_.boundaryMesh().mesh();
156 if (&patch_ != &(ptf.patch_))
159 <<
"different patches for fvPatchField<Type>s" 168 return patch_.deltaCoeffs()*(*
this - patchInternalField());
176 return patch_.patchInternalField(internalField_);
183 patch_.patchInternalField(internalField_, pif);
193 mapper(*
this, *
this);
231 manipulatedMatrix_ =
false;
238 manipulatedMatrix_ =
true;
247 if (overridesConstraint())
257 void Foam::fvPatchField<Type>::operator=
267 void Foam::fvPatchField<Type>::operator=
278 void Foam::fvPatchField<Type>::operator+=
289 void Foam::fvPatchField<Type>::operator-=
300 void Foam::fvPatchField<Type>::operator*=
305 if (&patch_ != &ptf.
patch())
308 <<
"incompatible patches for patch fields" 317 void Foam::fvPatchField<Type>::operator/=
322 if (&patch_ != &ptf.
patch())
333 void Foam::fvPatchField<Type>::operator+=
343 void Foam::fvPatchField<Type>::operator-=
353 void Foam::fvPatchField<Type>::operator*=
363 void Foam::fvPatchField<Type>::operator/=
373 void Foam::fvPatchField<Type>::operator=
383 void Foam::fvPatchField<Type>::operator+=
393 void Foam::fvPatchField<Type>::operator-=
403 void Foam::fvPatchField<Type>::operator*=
413 void Foam::fvPatchField<Type>::operator/=
423 void Foam::fvPatchField<Type>::operator==
433 void Foam::fvPatchField<Type>::operator==
443 void Foam::fvPatchField<Type>::operator==
455 Foam::Ostream& Foam::operator<<(Ostream& os, const fvPatchField<Type>& ptf)
459 os.check(
"Ostream& operator<<(Ostream&, const fvPatchField<Type>&");
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
commsTypes
Types of communications.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
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))
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
Pre-declare SubField and related Field type.
Foam::fvPatchFieldMapper.
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
virtual bool hasUnmapped() const =0
Are there unmapped values? I.e. do all size() elements get.
virtual void manipulateMatrix(fvMatrix< Type > &matrix)
Manipulate matrix.
void check(const fvPatchField< Type > &) const
Check fvPatchField<Type> against given fvPatchField<Type>
errorManip< error > abort(error &err)
const fvPatch & patch() const
Return patch.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
bool notNull(const T &t)
Return true if t is not a reference to the nullObject of type T.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const objectRegistry & db() const
Return local objectRegistry.
A class for managing temporary objects.
Registry of regIOobjects.
fvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.