mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add test application for fileHander writing
COMP: update applications/test
This commit is contained in:
committed by
Andrew Heather
parent
1af40e7dfe
commit
1d43e45fdd
@ -248,7 +248,7 @@ int main(int argc, char *argv[])
|
||||
addr.emplace_back(2);
|
||||
|
||||
// Can also use the return value
|
||||
Info<< "adding " << addr.emplace_back(4) << endl;
|
||||
Info<< "adding " << addr.emplace_back(4) << nl;
|
||||
|
||||
forAll(dlE2, i)
|
||||
{
|
||||
@ -325,7 +325,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
input1 = list2;
|
||||
|
||||
Info<< nl << "test subset/remove with "
|
||||
Info<< nl << "test remove with "
|
||||
<< flatOutput(input1) << endl;
|
||||
|
||||
for
|
||||
@ -344,11 +344,9 @@ int main(int argc, char *argv[])
|
||||
list2 = input1;
|
||||
|
||||
list1.remove(range);
|
||||
list2.subset(range);
|
||||
|
||||
Info<< "input = " << flatOutput(input1) << nl
|
||||
<< "remove " << range << " = " << flatOutput(list1) << nl
|
||||
<< "subset " << range << " = " << flatOutput(list2) << nl;
|
||||
<< "remove " << range << " = " << flatOutput(list1) << nl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user