mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects: Improved handling of multi-file indexing and code style
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2216
This commit is contained in:
@ -96,11 +96,11 @@ void Foam::functionObjects::fieldValues::volFieldValue::writeFileHeader
|
||||
|
||||
writeCommented(file(), "Time");
|
||||
|
||||
forAll(fields_, i)
|
||||
forAll(fields_, fieldi)
|
||||
{
|
||||
file()
|
||||
<< tab << operationTypeNames_[operation_]
|
||||
<< "(" << fields_[i] << ")";
|
||||
<< "(" << fields_[fieldi] << ")";
|
||||
}
|
||||
|
||||
file() << endl;
|
||||
|
||||
Reference in New Issue
Block a user