44 template<
class Stream>
47 static bool spacesSet(
false);
48 static char spaces[40];
52 memset(spaces,
' ', 40);
57 spaces[38 - len] =
'\0';
69 "/*--------------------------------------"
70 "-------------------------------------*\\\n";
75 "/*--------------------------------*- C++ "
76 "-*----------------------------------*\\\n";
81 " \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n"
82 " \\\\ / O peration | Website: https://openfoam.org\n"
84 " \\\\/ M anipulation |\n"
85 "\\*-----------------------------------------"
86 "----------------------------------*/\n";
92 template<
class Stream>
96 "// * * * * * * * * * * * * * * * * * "
97 "* * * * * * * * * * * * * * * * * * * * //\n";
102 template<
class Stream>
106 "// *****************************************"
107 "******************************** //\n";
static Stream & writeBanner(Stream &os, bool noHint=false)
Write the standard OpenFOAM file/dictionary banner.
static Stream & writeEndDivider(Stream &os)
Write the standard end file divider.
word group() const
Return group (extension part of name)
static Stream & writeDivider(Stream &os)
Write the standard file section divider.
const word & name() const
Return name.
static word groupName(Name name, const word &group)
A class for handling words, derived from string.
static const word null
An empty word.
const char *const group
Group name for atomic constants.
word name(const bool)
Return a word representation of a bool.
const char *const FOAMversion