Go to the documentation of this file.
37 const DimensionedField<Type, edgeMesh>& iF
40 Field<Type>(
p.size()),
50 const DimensionedField<Type, edgeMesh>& iF,
63 const faePatchField<Type>& ptf,
65 const DimensionedField<Type, edgeMesh>& iF,
66 const faPatchFieldMapper& mapper
69 Field<Type>(ptf, mapper),
79 const DimensionedField<Type, edgeMesh>& iF,
80 const dictionary&
dict
83 Field<Type>(
p.size()),
87 if (
dict.found(
"value"))
91 Field<Type>(
"value",
dict,
p.size())
104 const faePatchField<Type>& ptf
109 internalField_(ptf.internalField_)
116 const faePatchField<Type>& ptf,
117 const DimensionedField<Type, edgeMesh>& iF
132 return internalField_.
db();
139 if (&patch_ != &(ptf.patch_))
142 <<
"different patches for faePatchField<Type>s"
151 const faPatchFieldMapper& m
172 os.writeEntry(
"type",
type());
181 const UList<Type>& ul
191 const faePatchField<Type>& ptf
202 const faePatchField<Type>& ptf
213 const faePatchField<Type>& ptf
224 const faePatchField<scalar>& ptf
227 if (&patch_ != &ptf.
patch())
230 <<
"incompatible patches for patch fields"
241 const faePatchField<scalar>& ptf
244 if (&patch_ != &ptf.
patch())
247 <<
" incompatible patches for patch fields"
258 const Field<Type>& tf
268 const Field<Type>& tf
348 const faePatchField<Type>& ptf
358 const Field<Type>& tf
void check(const faePatchField< Type > &) const
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const objectRegistry & db() const
void operator-=(const UList< Type > &)
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))
virtual void write(Ostream &) const
void autoMap(const FieldMapper &map, const bool applyFlip=true)
friend Ostream & operator(Ostream &, const faePatchField< Type > &)
void operator+=(const UList< Type > &)
Registry of regIOobjects.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
virtual void autoMap(const faPatchFieldMapper &)
static void check(const int retVal, const char *what)
Generic templated field type.
virtual void rmap(const faePatchField< Type > &, const labelList &)
const faPatch & patch() const
faePatchField(const faPatch &, const DimensionedField< Type, edgeMesh > &)
void rmap(const UList< Type > &mapF, const labelUList &mapAddressing)
virtual bool check(const char *operation) const
OBJstream os(runTime.globalPath()/outputName)
virtual bool write(const token &tok)=0
errorManip< error > abort(error &err)
void operator=(const Field< Type > &)
void operator/=(const UList< scalar > &)
#define FatalErrorInFunction
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
fileName::Type type(const fileName &name, const bool followLink=true)
void operator*=(const UList< scalar > &)
Ostream & writeEntry(const keyType &key, const T &value)
virtual void operator=(const UList< Type > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const objectRegistry & db() const noexcept