https://mooseframework.inl.gov
geochemistry
include
utils
GeochemistrySortedIndices.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
#include "
MooseTypes.h
"
12
16
namespace
GeochemistrySortedIndices
17
{
28
std::vector<unsigned>
sortedIndices
(
const
std::vector<Real> & to_sort,
bool
ascending);
29
}
// namespace GeochemistrySortedIndices
GeochemistrySortedIndices
Utility to produce sorted information.
Definition:
GeochemistrySortedIndices.h:16
MooseTypes.h
GeochemistrySortedIndices::sortedIndices
std::vector< unsigned > sortedIndices(const std::vector< Real > &to_sort, bool ascending)
Produces a vector of indices corresponding to the smallest-to-biggest entries in to_sort (or biggest-...
Definition:
GeochemistrySortedIndices.C:15
Generated on Fri Jul 18 2025 11:56:07 for https://mooseframework.inl.gov by
1.8.14