MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / writeData

Function writeData

src/OpenFOAM/primitives/functions/Function1/ramp/ramp.C:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
56
57void Foam::Function1Types::ramp::writeData(Ostream& os) const
58{
59 Function1<scalar>::writeData(os);
60 os << token::END_STATEMENT << nl;
61 os << indent << word(this->name() + "Coeffs") << nl;
62 os << indent << token::BEGIN_BLOCK << incrIndent << nl;
63 os.writeKeyword("start") << start_ << token::END_STATEMENT << nl;
64 os.writeKeyword("duration") << duration_ << token::END_STATEMENT << nl;
65 os << decrIndent << indent << token::END_BLOCK << endl;
66}
67
68
69// ************************************************************************* //

Callers 12

TimeFunction1.CFile · 0.50
Sine.CFile · 0.50
TableBase.CFile · 0.50
Function1.CFile · 0.50
Constant.CFile · 0.50
Square.CFile · 0.50
TableFile.CFile · 0.50
OneConstant.CFile · 0.50
CSV.CFile · 0.50
ZeroConstant.CFile · 0.50
PolynomialEntry.CFile · 0.50
Scale.CFile · 0.50

Calls 2

wordClass · 0.85
nameMethod · 0.45

Tested by

no test coverage detected