Skip to content
Snippets Groups Projects
Commit 4cbd9ebc authored by andy's avatar andy
Browse files

ENH: Added I/O to tableFile data entry

parent f69a2c77
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment