KASKADE 7 development version
enums.hh
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the library KASKADE 7 */
4/* https://www.zib.de/research/projects/kaskade7-finite-element-toolbox */
5/* */
6/* Copyright (C) 2002-2019 Zuse Institute Berlin */
7/* */
8/* KASKADE 7 is distributed under the terms of the ZIB Academic License. */
9/* see $KASKADE/academic.txt */
10/* */
11/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
12
13#ifndef KASKADE_ENUMS_HH_
14#define KASKADE_ENUMS_HH_
15
16#include <iostream>
17
20
21std::ostream& operator<<(std::ostream& out, PrecondType direct);
22
23enum class IterateType { CG, BICGSTAB, GMRES, PCG, APCG, SGS };
24
25std::ostream& operator<<(std::ostream& out, IterateType direct);
26
35enum class DirectType { ANY=-1,
68 UMFPACK64 };
69
70std::ostream& operator<<(std::ostream& out, DirectType direct);
71
77
78std::ostream& operator<<(std::ostream& out, MatrixProperties direct);
79
80
84enum class ParallelMode {
87 // group operations in blocks, perform sequential within blocks, do blocks in parallel
89 // perform all operations in parallel (at least conceptually), independent of each other
90 PARALLEL };
91
92#endif /* KASKADE_ENUMS_HH_ */
std::ostream & operator<<(std::ostream &out, DynamicMatrix< Entry > const &A)
pretty output of dense matrices
PrecondType
Definition: enums.hh:18
ParallelMode
Whether to execute some algorithm in sequential or parallel manner.
Definition: enums.hh:84
@ SEQUENTIAL
perform all operations in sequential order
IterateType
Definition: enums.hh:23
DirectType
Available direct solvers for linear equation systems.
Definition: enums.hh:35
@ UMFPACK3264
NO LONGER SUPPORTED.
@ MUMPS
MUMPS sparse solver.
@ UMFPACK
UMFPack from SuiteSparse, using 32 bit integer indices.
@ UMFPACK64
UMFPack from SuiteSparse, using 64 bit integer indices.
MatrixProperties
Characterizations of sparse matrix properties.
Definition: enums.hh:76