![]() |
|
This file is part of OpenFOAM. OpenFOAM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenFOAM; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Select cells based on cell centres inside rotatex/skewed box (parallelopiped?). Box defined as origin and i,j,k vectors. E.g. box rotated 45 degrees around z-axis with sizes sqrt(0.2^2+0.2^2) (and extra large, 200 in z direction): origin ( 0.4 0.4 -100); i ( 0.2 0.2 0); j (-0.2 0.2 0); k ( 0.0 0.0 100);
Definition in file rotatedBoxToCell.H.
Go to the source code of this file.
Namespaces | |
namespace | Foam |
Classes | |
class | rotatedBoxToCell |