Go to the documentation of this file.
74 <<
"On field " << iF.name() <<
" patch " <<
p.name()
75 <<
" patchField " << this->
type()
76 <<
" : mapper does not map all values." <<
nl
77 <<
" To avoid this warning fully specify the mapping in derived"
78 <<
" patch fields." <<
endl;
139 return this->patch().deltaCoeffs()*(*this);
156 refCast<const mappedPatchBase>(this->patch().patch());
162 refCast<const fvMesh>(nbrMesh).boundary()[samplePatchI];
189 Info <<
endl<<
"the neighbourPatch Index is =======" <<
endl;
195 Info <<
"neighbourPatch Name is : " << nbrPatch.
name()<<
endl;
200 Info <<
"neighbourPatch TypeName is : " << nbrPatch.typeName_()<<
endl;
213 Info <<
"==== neighbourPatch Field typeName_ is : " << nbrField.fvPatchField<Type>::typeName_() <<
endl;
214 Info <<
"==== neighbourPatch Field fixesvalue is : " << nbrField.
fixesValue() <<
endl;
226 Info <<
"patchField Utmp is ========" <<
endl;
259 Info <<
endl<<
"after get the data from neighbour patch, the parents patch(*this) now is :====" <<
endl;
261 Info <<
"update the value of Up successfully!" <<
endl;
262 Info <<
"=============================" <<
endl;
263 Info <<
"=============================" <<
endl;
276 if (!this->updated())
278 this->updateCoeffs();
300 this->writeEntry(
"value", os);
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
virtual void write(Ostream &) const
Write.
virtual void operator==(const fvPatchField< Type > &)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field, sets Updated to false.
A class for handling words, derived from string.
virtual void write(Ostream &) const
Write.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
A class for managing temporary objects.
bool notNull(const T &t)
Return true if t is not a reference to the nullObject of type T.
const polyPatch & samplePolyPatch() const
Get the patch on the region.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
coupledFixedValueFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual bool hasUnmapped() const =0
Are there unmapped values? I.e. do all size() elements get.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Mesh consisting of general polyhedral cells.
const word & name() const
Return name.
const polyMesh & sampleMesh() const
Get the region mesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by any number of values (e....
To & refCast(From &r)
Reference type cast template function.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
static int & msgType()
Message tag of standard messages.
commsTypes
Types of communications.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
Traits class for primitives.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field.
virtual bool fixesValue() const
Return true if this patch field fixes a value.
const GeometricField::PatchFieldType & lookupPatchField(const word &name, const GeometricField *=NULL, const Type *=NULL) const
Lookup and return the patchField of the named field from the.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
#define WarningInFunction
Report a warning using Foam::Warning.
label index() const
Return the index of this patch in the boundaryMesh.
const Field< Type > & internalField() const
Return internal field reference.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...