$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

multiGridOperations2D.h

Go to the documentation of this file.
00001 /* This file is part of the Palabos library.
00002  *
00003  * Copyright (C) 2011 FlowKit Sarl
00004  * Avenue de Chailly 23
00005  * 1012 Lausanne, Switzerland
00006  * E-mail contact: contact@flowkit.com
00007  *
00008  * The most recent release of Palabos can be downloaded at 
00009  * <http://www.palabos.org/>
00010  *
00011  * The library Palabos is free software: you can redistribute it and/or
00012  * modify it under the terms of the GNU Affero General Public License as
00013  * published by the Free Software Foundation, either version 3 of the
00014  * License, or (at your option) any later version.
00015  *
00016  * The library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU Affero General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Affero General Public License
00022  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00023 */
00024 
00025 /* Main author: Daniel Lagrava
00026  **/
00027 
00031 #ifndef MULTI_GRID_OPERATIONS_2D_H
00032 #define MULTI_GRID_OPERATIONS_2D_H
00033 
00034 #include "core/globalDefs.h"
00035 #include "core/blockStatistics.h"
00036 #include "core/geometry2D.h"
00037 #include "multiGrid/multiGrid2D.h"
00038 #include <vector>
00039 
00040 namespace plb {
00041 
00042 class MultiBlock2D;
00043 struct DataProcessorGenerator2D;
00044 class ReductiveDataProcessorGenerator2D;
00045 
00046 void executeDataProcessor( DataProcessorGenerator2D const& generator,
00047                            std::vector<MultiGrid2D*> multiGrids,
00048                            plint referenceLevel );
00049 
00050 
00051 void executeDataProcessor( DataProcessorGenerator2D const& generator,
00052                            MultiGrid2D& object, plint referenceLevel );
00053 
00054 void executeDataProcessor( DataProcessorGenerator2D const& generator,
00055                            MultiGrid2D& object1, MultiGrid2D& object2,
00056                            plint referenceLevel );
00057 
00058 
00059 void executeDataProcessor( ReductiveDataProcessorGenerator2D& generator,
00060                            std::vector<MultiGrid2D*> multiGrids,
00061                            plint referenceLevel );
00062 
00063 void executeDataProcessor( ReductiveDataProcessorGenerator2D& generator,
00064                            MultiGrid2D& object,
00065                            plint referenceLevel );
00066 
00067 void executeDataProcessor( ReductiveDataProcessorGenerator2D& generator,
00068                            MultiGrid2D& object1, MultiGrid2D& object2,
00069                            plint referenceLevel );
00070 
00071 
00072 void addInternalProcessor( DataProcessorGenerator2D const& generator,
00073                            std::vector<MultiGrid2D*> multiGrids,
00074                            plint referenceLevel,
00075                            plint processorLevel=0 );
00076 
00077 void addInternalProcessor( DataProcessorGenerator2D const& generator,
00078                            MultiGrid2D& object,
00079                            plint referenceLevel,
00080                            plint processorLevel=0 );
00081 
00082 void addInternalProcessor( DataProcessorGenerator2D const& generator,
00083                            MultiGrid2D& object1, MultiGrid2D& object2,
00084                            plint referenceLevel,
00085                            plint processorLevel=0 );
00086 
00087 } // namespace plb
00088 
00089 #endif  // MULTI_GRID_OPERATIONS_2D_H