OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

commSchedule.H File Reference


Detailed Description

View commSchedule.H
License
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
Description
Given a set of processors that need to talk to one another determines
the order in which they should do so to
- have maximum overlap
- allow blocking communication without deadlock
Does a very simple scheduling which assumes same time for all operations.

After construction:
- schedule() gives the order in which the input communication should happen
- procSchedule()[procI] gives per procI  ,,    ,,

Does not care whether 'talking' is first send, second receive or maybe
full swap. This is all responsability of caller. See ProcessorTopology
class for use in scheduling processor boundary swaps.

Source files

Definition in file commSchedule.H.

Go to the source code of this file.


Namespaces

namespace  Foam

Classes

class  commSchedule
Copyright © 2000-2007 OpenCFD Ltd