ENH: Added I/O to tableFile data entry

This commit is contained in:
andy
2011-11-22 15:15:57 +00:00
parent f69a2c7776
commit 4cbd9ebc13

View File

@ -51,6 +51,12 @@ template<class Type>
void Foam::TableFile<Type>::writeData(Ostream& os) const
{
DataEntry<Type>::writeData(os);
os << token::END_STATEMENT << nl
<< indent << word(type() + "Coeffs") << nl
<< indent << token::BEGIN_BLOCK << nl << incrIndent;
os.writeKeyword("fileName")<< fName_ << token::END_STATEMENT << nl;
os << decrIndent << indent << token::END_BLOCK << endl;
}