reading particle position from file for partilclesPhasicFlow

This commit is contained in:
HRN
2025-02-24 13:55:56 +03:30
parent 05b256ba39
commit b44c4de3f6
4 changed files with 51 additions and 11 deletions

View File

@ -69,7 +69,7 @@ pFlow::ioErrorMessage(
)
{
errorStream << "\n>>> Fatal IO file error\n"
<< " IO error at number " << Red_Text(fileLineNumber)
<< " IO error at number " << Red_Text(fileLineNumber+1)
<< " of file " << Red_Text(fileName) << '\n';
errorStream << " IO operation is peformed from function "
<< Red_Text(fnName) << " in file " << Red_Text(fName)

View File

@ -356,7 +356,7 @@ public:
/// Token is WORD, DIRECTIVE, STRING, VARIABLE or VERBATIM
inline bool isStringType() const;
inline bool isComma()const;
//- Access
/// Return boolean token value.

View File

@ -673,6 +673,13 @@ inline bool pFlow::token::isStringType() const
return (isWord() || isString());
}
inline bool pFlow::token::isComma()const
{
if( type_ == tokenType::PUNCTUATION &&
pToken() == punctuationToken::COMMA) return true;
return false;
}
inline void pFlow::token::setBad()
{
reset();