108 os <<
"# Values: value snGrad refValue refGrad valueFraction" <<
endl;
121 const scalarField& valueFraction(this->valueFraction());
139 ISstream& iss =
dynamic_cast<ISstream&
>(is);
146 IStringStream lineStr(line);
155 >> this->refValue()[facei]
156 >> this->refGrad()[facei]
157 >> this->valueFraction()[facei];
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Generic input stream using a standard (STL) stream.
ISstream & getLine(std::string &str, char delim='\n')
Raw, low-level getline (until delimiter) into a string.
Input from string buffer, using a ISstream. Always UNCOMPRESSED.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Type & operator[](const label i)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Extends the mixed boundary condition with serialisation functions.
virtual void readData(Istream &is)
Read data.
virtual void writeHeader(Ostream &os) const
Write header.
virtual void writeData(Ostream &os) const
Write data.
externalCoupledMixedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a base class for 'mixed' type boundary conditions,...
mixedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual Field< Type > & refGrad()
virtual Field< Type > & refValue()
virtual scalarField & valueFraction()
OBJstream os(runTime.globalPath()/outputName)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static constexpr const zero Zero
Global zero (0).
constexpr char nl
The newline '\n' character (0x0a).
#define forAll(list, i)
Loop across all elements in list.