Panzer
Version of the Day
core
src
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
7
namespace
panzer
{
8
18
void
reorder
(std::vector<int> & order,std::function<
void
(
int
,
int
)> swapper);
19
20
}
21
22
#endif
panzer
Definition:
Panzer_BasisValues_Evaluator_decl.hpp:54
panzer::reorder
void reorder(std::vector< int > &order, std::function< void(int, int)> swapper)
Using a functor, reorder an array using a order vector.
Definition:
Panzer_UtilityAlgs.cpp:5
Generated by
1.8.14