30 bool Foam::ensightFile::allowUndef_ =
false;
36 Foam::ensightFile::ensightFile
70 bool old = allowUndef_;
81 scalar old = undefValue_;
93 stream().
write(buf, count);
102 for (string::size_type i = 0; i < 80; ++i)
107 string::size_type n = value.size();
113 for (string::size_type i = 0; i < n; ++i)
122 reinterpret_cast<char const *>(buf),
139 unsigned int ivalue(value);
143 reinterpret_cast<char const *>(&ivalue),
160 const label fieldWidth
165 unsigned int ivalue(value);
169 reinterpret_cast<char const *>(&ivalue),
175 stream().width(fieldWidth);
191 reinterpret_cast<char const *>(&fvalue),
225 write(key +
" undef");
254 char buf[16] =
"********";
263 sprintf(buf,
"%08d", n);