Anasazi
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
epetra
src
ModalAnalysisSolvers
SortingTools.h
1
// @HEADER
2
// *****************************************************************************
3
// Anasazi: Block Eigensolvers Package
4
//
5
// Copyright 2004 NTESS and the Anasazi contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
// This software is a result of the research described in the report
11
//
12
// "A comparison of algorithms for modal analysis in the absence
13
// of a sparse direct method", P. Arbenz, R. Lehoucq, and U. Hetmaniuk,
14
// Sandia National Laboratories, Technical report SAND2003-1028J.
15
//
16
// It is based on the Epetra, AztecOO, and ML packages defined in the Trilinos
17
// framework ( http://trilinos.org/ ).
18
19
#ifndef SORTING_TOOLS_H
20
#define SORTING_TOOLS_H
21
22
#include <cstring>
23
using
std::memcpy;
24
25
class
SortingTools {
26
27
public
:
28
29
int
sortScalars(
int
n,
double
*y,
int
*perm = 0)
const
;
30
31
int
sortScalars_Vectors(
int
,
double
*,
double
* = 0,
int
= 0)
const
;
32
33
};
34
35
#endif
Generated on Fri Jul 25 2025 09:18:09 for Anasazi by
1.8.5