本文整理汇总了C++中Ostream::writeKeyword方法的典型用法代码示例。如果您正苦于以下问题:C++ Ostream::writeKeyword方法的具体用法?C++ Ostream::writeKeyword怎么用?C++ Ostream::writeKeyword使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Ostream
的用法示例。
在下文中一共展示了Ostream::writeKeyword方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: write
void mutUSpaldingBlowingWallFunctionFvPatchScalarField::write(Ostream& os) const
{
fvPatchField<scalar>::write(os);
writeLocalEntries(os);
os.writeKeyword("hOCp") << hOCp_ << token::END_STATEMENT << nl;
os.writeKeyword("rPhi") << rPhi_ << token::END_STATEMENT << nl;
writeEntry("value", os);
}
开发者ID:ashishvinayak,项目名称:fireFoam-2.4.x,代码行数:8,代码来源:mutUSpaldingBlowingWallFunctionFvPatchScalarField.C
示例2:
void oscillatingFixedValueFvPatchField<Type>::write(Ostream& os) const
{
fixedValueFvPatchField<Type>::write(os);
refValue_.writeEntry("refValue", os);
os.writeKeyword("offset") << offset_ << token::END_STATEMENT << nl;
amplitude_->writeData(os);
frequency_->writeData(os);
}
示例3:
void Foam::sixDoFRigidBodyMotionConstraints::point::write
(
Ostream& os
) const
{
os.writeKeyword("centreOfRotation")
<< centreOfRotation_ << token::END_STATEMENT << nl;
}
示例4: write
// Write
void solidTractionFreeFvPatchVectorField::write(Ostream& os) const
{
fvPatchVectorField::write(os);
os.writeKeyword("nonLinear")
<< nonLinearGeometry::nonLinearNames_[nonLinear_]
<< token::END_STATEMENT << nl;
writeEntry("value", os);
}
开发者ID:Unofficial-Extend-Project-Mirror,项目名称:openfoam-extend-foam-extend-3.0,代码行数:9,代码来源:solidTractionFreeFvPatchVectorField.C
示例5: writeEntry
void Foam::fixedShearStressFvPatchVectorField::write(Ostream& os) const
{
fixedValueFvPatchVectorField::write(os);
writeEntryIfDifferent<word>(os, "phi", "phi", phiName_);
writeEntryIfDifferent<word>(os, "rho", "rho", rhoName_);
os.writeKeyword("tau") << tau0_ << token::END_STATEMENT << nl;
writeEntry("value", os);
}
示例6:
void Foam::patchIdentifier::write(Ostream& os) const
{
if (physicalType_.size())
{
os.writeKeyword("physicalType") << physicalType_
<< token::END_STATEMENT << nl;
}
}
示例7:
void Foam::SubModelBase<CloudType>::write(Ostream& os) const
{
os.writeKeyword("owner") << owner_.name() << token::END_STATEMENT << nl;
// not writing complete cloud dictionary, only coeffs
// os << dict_;
os << coeffDict_;
}
示例8: writeEntry
void Foam::syringePressureFvPatchScalarField::write(Ostream& os) const
{
fvPatchScalarField::write(os);
os.writeKeyword("Ap") << Ap_ << token::END_STATEMENT << nl;
os.writeKeyword("Sp") << Sp_ << token::END_STATEMENT << nl;
os.writeKeyword("VsI") << VsI_ << token::END_STATEMENT << nl;
os.writeKeyword("tas") << tas_ << token::END_STATEMENT << nl;
os.writeKeyword("tae") << tae_ << token::END_STATEMENT << nl;
os.writeKeyword("tds") << tds_ << token::END_STATEMENT << nl;
os.writeKeyword("tde") << tde_ << token::END_STATEMENT << nl;
os.writeKeyword("psI") << psI_ << token::END_STATEMENT << nl;
os.writeKeyword("psi") << psi_ << token::END_STATEMENT << nl;
os.writeKeyword("ams") << ams_ << token::END_STATEMENT << nl;
writeEntry("value", os);
}
示例9:
void
UniformFixedValuePointPatchField
<PatchField, Mesh, PointPatch, MatrixType, Type>::write(Ostream& os) const
{
PatchField<Type>::write(os);
os.writeKeyword("uniformValue")
<< uniformValue_ << token::END_STATEMENT << nl;
}
示例10:
void waveTransmissiveFvPatchField<Type>::write(Ostream& os) const
{
advectiveFvPatchField<Type>::write(os);
if (this->phiName_ != "phi")
{
os.writeKeyword("phi") << this->phiName_ << token::END_STATEMENT << nl;
}
if (this->rhoName_ != "rho")
{
os.writeKeyword("rho") << this->rhoName_ << token::END_STATEMENT << nl;
}
if (this->UName_ != "U")
{
os.writeKeyword("U") << this->UName_ << token::END_STATEMENT << nl;
}
if (psiName_ != "psi")
{
os.writeKeyword("psi") << psiName_ << token::END_STATEMENT << nl;
}
os.writeKeyword("gamma") << gamma_ << token::END_STATEMENT << nl;
if (this->lInf_ > SMALL)
{
os.writeKeyword("fieldInf") << this->fieldInf_
<< token::END_STATEMENT << nl;
os.writeKeyword("lInf") << this->lInf_
<< token::END_STATEMENT << nl;
}
this->writeEntry("value", os);
}
示例11:
void Foam::semiTransSurfaceCoupledFvPatchScalarField::write
(
Ostream& os
) const
{
mixedFvPatchScalarField::write(os);
os.writeKeyword("neighbourFieldName")<< neighbourFieldName_
<< token::END_STATEMENT << nl;
}
示例12: word
void waveTransmissiveFvPatchField<Type>::write(Ostream& os) const
{
advectiveFvPatchField<Type>::write(os);
this->writeEntryIfDifferent(os, "U", word("U"), UName_);
this->writeEntryIfDifferent(os, "psi", word("psi"), psiName_);
os.writeKeyword("gamma") << gamma_ << token::END_STATEMENT << nl;
}
示例13: gradient
void Foam::fixedFluxPressureFvPatchScalarField::write(Ostream& os) const
{
fvPatchScalarField::write(os);
writeEntryIfDifferent<word>(os, "U", "U", UName_);
writeEntryIfDifferent<word>(os, "phi", "phi", phiName_);
writeEntryIfDifferent<word>(os, "rho", "rho", rhoName_);
os.writeKeyword("adjoint") << adjoint_ << token::END_STATEMENT << nl;
gradient().writeEntry("gradient", os);
}
示例14:
void Foam::fixedEnthalpyFluxTemperatureFvPatchScalarField::
write(Ostream& os) const
{
fvPatchField<scalar>::write(os);
os.writeKeyword("phi") << phiName_ << token::END_STATEMENT << nl;
os.writeKeyword("rho") << rhoName_ << token::END_STATEMENT << nl;
Tinf_.writeEntry("Tinf", os);
this->writeEntry("value", os);
}
开发者ID:ashishvinayak,项目名称:fireFoam-2.4.x,代码行数:9,代码来源:fixedEnthalpyFluxTemperatureFvPatchScalarField.C
示例15:
void Foam::alphaContactAngleFvPatchScalarField::write
(
Ostream& os
) const
{
fixedGradientFvPatchScalarField::write(os);
os.writeKeyword("limit")
<< limitControlNames_[limit_] << token::END_STATEMENT << nl;
}