|
Palabos
Version 1.0
|
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 00034 #ifndef ATOMIC_BLOCK_OPERATIONS_2D_H 00035 #define ATOMIC_BLOCK_OPERATIONS_2D_H 00036 00037 #include "core/globalDefs.h" 00038 #include "atomicBlock/dataProcessor2D.h" 00039 #include "atomicBlock/atomicBlock2D.h" 00040 #include <vector> 00041 00042 namespace plb { 00043 00044 void executeDataProcessor( DataProcessorGenerator2D const& generator, 00045 std::vector<AtomicBlock2D*> objects ); 00046 00047 void executeDataProcessor( DataProcessorGenerator2D const& generator, 00048 AtomicBlock2D& object ); 00049 00050 void executeDataProcessor( DataProcessorGenerator2D const& generator, 00051 AtomicBlock2D& object1, AtomicBlock2D& object2 ); 00052 00053 00054 void executeDataProcessor( ReductiveDataProcessorGenerator2D& generator, 00055 std::vector<AtomicBlock2D*> objects ); 00056 00057 void executeDataProcessor( ReductiveDataProcessorGenerator2D& generator, 00058 AtomicBlock2D& object ); 00059 00060 void executeDataProcessor( ReductiveDataProcessorGenerator2D& generator, 00061 AtomicBlock2D& object1, AtomicBlock2D& object2 ); 00062 00063 00064 void addInternalProcessor( DataProcessorGenerator2D const& generator, 00065 std::vector<AtomicBlock2D*> objects, plint level=0 ); 00066 00067 void addInternalProcessor( DataProcessorGenerator2D const& generator, 00068 AtomicBlock2D& object, plint level=0 ); 00069 00070 void addInternalProcessor( DataProcessorGenerator2D const& generator, 00071 AtomicBlock2D& object1, AtomicBlock2D& object2, 00072 plint level=0 ); 00073 00074 } // namespace plb 00075 00076 #endif // ATOMIC_BLOCK_OPERATIONS_2D_H