Panzer
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
core
src
Panzer_UtilityAlgs.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Panzer: A partial differential equation assembly
4
// engine for strongly coupled complex multiphysics systems
5
//
6
// Copyright 2011 NTESS and the Panzer contributors.
7
// SPDX-License-Identifier: BSD-3-Clause
8
// *****************************************************************************
9
// @HEADER
10
11
#ifndef __Panzer_UtilityAlgs_hpp__
12
#define __Panzer_UtilityAlgs_hpp__
13
14
#include <vector>
15
#include <functional>
16
17
namespace
panzer{
18
28
void
reorder
(std::vector<int> & order,std::function<
void
(
int
,
int
)> swapper);
29
30
}
31
32
#endif
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:15
Generated on Fri Dec 20 2024 09:16:53 for Panzer by
1.8.5