35 return name + (
'.' +
group);
49 return (model +
':') +
name;
64 template<
class Stream>
67 static bool spacesSet(
false);
68 static char spaces[40];
72 memset(spaces,
' ', 40);
77 spaces[38 - len] =
'\0';
89 "/*--------------------------------------" 90 "-------------------------------------*\\\n";
95 "/*--------------------------------*- C++ " 96 "-*----------------------------------*\\\n";
101 " \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox\n" 102 " \\\\ / O peration | Website: https://openfoam.org\n" 104 " \\\\/ M anipulation |\n" 105 "\\*-----------------------------------------" 106 "----------------------------------*/\n";
112 template<
class Stream>
116 "// * * * * * * * * * * * * * * * * * " 117 "* * * * * * * * * * * * * * * * * * * * //\n";
122 template<
class Stream>
126 "// *****************************************" 127 "******************************** //\n";
const char *const group
Group name for atomic constants.
const word & name() const
Return name.
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.
word group() const
Return group (extension part of name)
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.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
static word modelName(Name name, const word &model)
Return the name of the object within the given model.