Go to the documentation of this file.
35 template<
class Form,
class Cmpt, Foam::direction Ncmpts>
54 template<
class Form,
class Cmpt, Foam::direction Ncmpts>
60 std::ostringstream buf;
62 buf <<
'(' << vs.
v_[0];
66 buf <<
',' << vs.
v_[i];
77 template<
class Form,
class Cmpt, Foam::direction Ncmpts>
81 VectorSpace<Form, Cmpt, Ncmpts>& vs
91 is.readEnd(
"VectorSpace");
99 template<
class Form,
class Cmpt, Foam::direction Ncmpts>
103 const VectorSpace<Form, Cmpt, Ncmpts>& vs
106 os << token::BEGIN_LIST << vs.
v_[0];
110 os << token::SPACE << vs.
v_[i];
113 os << token::END_LIST;
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
A class for handling words, derived from Foam::string.
VectorSpace()=default
Default construct.
bool readEnd(const char *funcName)
End read of data chunk, ends with ')'.
Cmpt v_[Ncmpts]
The components of this vector space.
bool readBegin(const char *funcName)
Begin read of data chunk, starts with '('.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual bool check(const char *operation) const
Check IOstream status for given operation.
OBJstream os(runTime.globalPath()/outputName)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...