42 "fileFormats::STARCDsurfaceFormatCore::readHeader(...)"
44 <<
"cannot read " << signature <<
" " << is.
name()
60 if (header != signature)
62 Info<<
"header mismatch " << signature <<
" " << is.
name()
76 os <<
"PROSTAR_" << filetype <<
nl
104 "fileFormats::STARCDsurfaceFormatCore::readPoints(...)"
106 <<
"Cannot read file " << is.
name()
110 readHeader(is,
"PROSTAR_VERTEX");
117 while ((is >> lineLabel).good())
124 dynPointId.
append(lineLabel);
141 writeHeader(os,
"VERTEX");
147 os.
setf(std::ios::showpoint);
153 << pointLst[ptI].x() <<
" "
154 << pointLst[ptI].y() <<
" "
155 << pointLst[ptI].z() <<
nl;
171 os <<
"! STAR-CD file written " << clock::dateTime().c_str() <<
nl
172 <<
"! " << pointLst.
size() <<
" points, " << nFaces <<
" faces" <<
nl
173 <<
"! case " << caseName <<
nl
174 <<
"! ------------------------------" <<
nl;
178 os <<
"ctable " << zoneI + 1 <<
" shell" << nl
179 <<
"ctname " << zoneI + 1 <<
" "
180 << zoneLst[zoneI].name() <<
nl;
183 os <<
"! ------------------------------" << nl
184 <<
"*set icvo mxv - 1" << nl
185 <<
"vread " << caseName <<
".vrt icvo,,,coded" << nl
186 <<
"cread " << caseName <<
".cel icvo,,,add,coded" << nl