ug4
|
#include "common/common.h"
#include "common/profiler/profiler.h"
#include "common/error.h"
#include "lib_algebra/ordering_strategies/algorithms/native_cuthill_mckee.h"
#include <vector>
Go to the source code of this file.
Classes | |
class | ug::BOOL |
Namespaces | |
ug | |
the ug namespace | |
Macros | |
#define | HAVE_BOOL |
#define | HAVE_IS_PERMUTATION |
Functions | |
template<typename TSparseMatrix > | |
void | ug::GetCuthillMcKeeOrder (const TSparseMatrix &mat, std::vector< size_t > &newIndex, bool reverse=true, bool bPreserveConsec=false) |
bool | ug::GetInversePermutation (const std::vector< size_t > &perm, std::vector< size_t > &invPerm) |
template<typename O_t > | |
bool | ug::is_permutation (O_t &o) |
template<typename TMatrix > | |
static void | ug::SetMatrixAsPermutation (TMatrix &PA, const TMatrix &A, const std::vector< size_t > &perm) |
template<typename TVector > | |
static void | ug::SetVectorAsPermutation (TVector &Pv, const TVector &v, const std::vector< size_t > &perm) |
#define HAVE_BOOL |
#define HAVE_IS_PERMUTATION |