GIT: Initial state after latest Foundation merge

This commit is contained in:
Andrew Heather
2016-09-20 14:49:08 +01:00
4571 changed files with 115696 additions and 74609 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -36,13 +36,9 @@ License
namespace Foam
{
defineTypeNameAndDebug(fieldToCell, 0);
addToRunTimeSelectionTable(topoSetSource, fieldToCell, word);
addToRunTimeSelectionTable(topoSetSource, fieldToCell, istream);
defineTypeNameAndDebug(fieldToCell, 0);
addToRunTimeSelectionTable(topoSetSource, fieldToCell, word);
addToRunTimeSelectionTable(topoSetSource, fieldToCell, istream);
}
@ -71,11 +67,11 @@ void Foam::fieldToCell::applyToSet
Info<< " Adding all cells with value of field " << fieldName_
<< " within range " << min_ << ".." << max_ << endl;
forAll(field, cellI)
forAll(field, celli)
{
if (field[cellI] >= min_ && field[cellI] <= max_)
if (field[celli] >= min_ && field[celli] <= max_)
{
set.insert(cellI);
set.insert(celli);
}
}
}
@ -84,11 +80,11 @@ void Foam::fieldToCell::applyToSet
Info<< " Removing all cells with value of field " << fieldName_
<< " within range " << min_ << ".." << max_ << endl;
forAll(field, cellI)
forAll(field, celli)
{
if (field[cellI] >= min_ && field[cellI] <= max_)
if (field[celli] >= min_ && field[celli] <= max_)
{
set.erase(cellI);
set.erase(celli);
}
}
}
@ -121,7 +117,7 @@ Foam::fieldToCell::fieldToCell
)
:
topoSetSource(mesh),
fieldName_(dict.lookup("fieldName")),
fieldName_(dict.lookup("field")),
min_(readScalar(dict.lookup("min"))),
max_(readScalar(dict.lookup("max")))
{}
@ -168,15 +164,15 @@ void Foam::fieldToCell::applyToSet
// const polyBoundaryMesh& patches = mesh().boundaryMesh();
//
// List<polyPatch*> newPatches(patches.size());
// forAll(patches, patchI)
// forAll(patches, patchi)
// {
// const polyPatch& pp = patches[patchI];
// const polyPatch& pp = patches[patchi];
//
// newPatches[patchI] =
// patches[patchI].clone
// newPatches[patchi] =
// patches[patchi].clone
// (
// fMesh.boundaryMesh(),
// patchI,
// patchi,
// pp.size(),
// pp.start()
// ).ptr();