Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_UtilityAlgs.hpp
Go to the documentation of this file.
1#ifndef __Panzer_UtilityAlgs_hpp__
2#define __Panzer_UtilityAlgs_hpp__
3
4#include <vector>
5#include <functional>
6
7namespace panzer{
8
18void reorder(std::vector<int> & order,std::function<void(int,int)> swapper);
19
20}
21
22#endif
void reorder(std::vector< int > &order, std::function< void(int, int)> swapper)
Using a functor, reorder an array using a order vector.