Go to the documentation of this file.
56 parent_bctype(ptf,
p, iF, mapper),
57 fixedValue_(ptf.fixedValue_, mapper),
58 writeValue_(ptf.writeValue_)
71 fixedValue_(
"fixedValue",
dict,
p.size()),
72 writeValue_(
dict.getOrDefault(
"writeValue", false))
86 fixedValue_(ptf.fixedValue_),
87 writeValue_(ptf.writeValue_)
98 parent_bctype(ptf, iF),
99 fixedValue_(ptf.fixedValue_),
100 writeValue_(ptf.writeValue_)
112 parent_bctype::autoMap(m);
113 fixedValue_.autoMap(m);
124 parent_bctype::rmap(ptf, addr);
127 refCast<const fixedNormalSlipFvPatchField<Type>>(ptf);
129 fixedValue_.rmap(dmptf.fixedValue_, addr);
143 )*this->
patch().deltaCoeffs();
153 if (!this->updated())
155 this->updateCoeffs();
162 nHat*(nHat & fixedValue_)
189 fixedValue_.writeEntry(
"fixedValue",
os);
194 this->writeEntry(
"value",
os);
virtual void write(Ostream &) const
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
static constexpr const zero Zero
virtual void autoMap(const fvPatchFieldMapper &m)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
friend Ostream & operator(Ostream &, const Field< Type > &)
dimensionSet transform(const dimensionSet &ds)
Field< vector > vectorField
Specialisation of Field<T> for vector.
Generic templated field type.
fixedNormalSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition sets the patch-normal component to the field (vector or tensor) to the patch-...
OBJstream os(runTime.globalPath()/outputName)
tmp< Field< cmptType > > component(const direction) const
PtrList< volScalarField > & Y
virtual tmp< Field< Type > > snGradTransformDiag() const
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual tmp< Field< Type > > snGrad() const
const word & patchType() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A traits class, which is primarily used for primitives.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Ostream & writeEntry(const keyType &key, const T &value)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
virtual void rmap(const fvPatchField< Type > &ptf, const labelList &addr)
static const Identity< scalar > I
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)