35 return name + (
'.' +
group);
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";
83 " OpenFOAM: The Open Source CFD Toolbox |\n" 84 "| \\\\ / O peration |" 87 " Web: www.OpenFOAM.org |\n" 88 "| \\\\/ M anipulation |" 90 "\\*-----------------------------------------" 91 "----------------------------------*/\n";
97 template<
class Stream>
101 "// * * * * * * * * * * * * * * * * * " 102 "* * * * * * * * * * * * * * * * * * * * //\n";
107 template<
class Stream>
111 "// *****************************************" 112 "******************************** //\n";
const char *const group
Group name for atomic constants.
static Stream & writeBanner(Stream &os, bool noHint=false)
Write the standard OpenFOAM file/dictionary banner.
static Stream & writeDivider(Stream &os)
Write the standard file section divider.
const char *const FOAMversion
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
static const word null
An empty word.
word name(const complex &)
Return a string representation of a complex.
static Stream & writeEndDivider(Stream &os)
Write the standard end file divider.
word group() const
Return group (extension part of name)
const word & name() const
Return name.