Commit 745d8e47 authored by Mark Olesen's avatar Mark Olesen
Browse files

probes - use new HashSet::insert() method

parent a4f4a904
......@@ -104,26 +104,11 @@ Foam::label Foam::probes::prepare()
{
wordHashSet currentFields;
forAll(scalarFields_, fieldI)
{
currentFields.set(scalarFields_[fieldI]);
}
forAll(vectorFields_, fieldI)
{
currentFields.set(vectorFields_[fieldI]);
}
forAll(sphericalTensorFields_, fieldI)
{
currentFields.set(sphericalTensorFields_[fieldI]);
}
forAll(symmTensorFields_, fieldI)
{
currentFields.set(symmTensorFields_[fieldI]);
}
forAll(tensorFields_, fieldI)
{
currentFields.set(tensorFields_[fieldI]);
}
currentFields.insert(scalarFields_);
currentFields.insert(vectorFields_);
currentFields.insert(sphericalTensorFields_);
currentFields.insert(symmTensorFields_);
currentFields.insert(tensorFields_);
if (debug)
{
......
Supports Markdown
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