Go to the documentation of this file.
42 const DimensionedField<Type, surfaceMesh>& iF
45 Field<Type>(
p.size()),
55 const DimensionedField<Type, surfaceMesh>& iF,
68 const fvsPatchField<Type>& ptf,
70 const DimensionedField<Type, surfaceMesh>& iF,
71 const fvPatchFieldMapper& mapper
74 Field<Type>(ptf, mapper),
84 const DimensionedField<Type, surfaceMesh>& iF,
85 const dictionary&
dict
88 Field<Type>(
p.size()),
96 Field<Type>(
"value",
dict,
p.size())
104 ) <<
"essential value entry not provided"
113 const fvsPatchField<Type>& ptf
118 internalField_(ptf.internalField_)
125 const fvsPatchField<Type>& ptf,
126 const DimensionedField<Type, surfaceMesh>& iF
140 return patch_.boundaryMesh().mesh();
147 if (&patch_ != &(ptf.
patch_))
150 <<
"different patches for fvsPatchField<Type>s"
184 this->writeEntry(
"value", os);
203 const fvsPatchField<Type>& ptf
214 const fvsPatchField<Type>& ptf
225 const fvsPatchField<Type>& ptf
236 const fvsPatchField<scalar>& ptf
239 if (&patch_ != &ptf.
patch())
242 <<
"incompatible patches for patch fields"
253 const fvsPatchField<scalar>& ptf
256 if (&patch_ != &ptf.
patch())
269 const Field<Type>&
tf
279 const Field<Type>&
tf
360 const fvsPatchField<Type>& ptf
370 const Field<Type>&
tf
394 os.
check(
"Ostream& operator<<(Ostream&, const fvsPatchField<Type>&");
void operator-=(const UList< Type > &)
const fvPatch & patch_
Reference to patch.
friend Ostream & operator(Ostream &, const fvsPatchField< Type > &)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
void operator+=(const UList< Type > &)
const objectRegistry & db() const
Return local objectRegistry.
Registry of regIOobjects.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Pre-declare SubField and related Field type.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
std::ostream & operator<<(std::ostream &os, const Vector< C > &v)
fvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
errorManip< error > abort(error &err)
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))
void operator=(const Field< Type > &)
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.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
volScalarField scalarField(fieldObject, mesh)
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
void operator*=(const UList< scalar > &)
#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,...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.