preCICE v3.2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GinkgoDefinitions.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <ginkgo/ginkgo.hpp>
4
5// Every class uses Ginkgo's default_precision = double
6// Ginkgo Data Structures
7using GinkgoVector = gko::matrix::Dense<>;
8using GinkgoMatrix = gko::matrix::Dense<>;
9using GinkgoScalar = gko::matrix::Dense<>;
10// Ginkgo Solver
11using cg = gko::solver::Cg<>;
12using gmres = gko::solver::Gmres<>;
13using triangular = gko::solver::UpperTrs<>;
14// Ginkgo Preconditioner
15using jacobi = gko::preconditioner::Jacobi<>;
16using cholesky = gko::preconditioner::Ic<>;
gko::matrix::Dense<> GinkgoMatrix
gko::solver::Cg<> cg
gko::solver::UpperTrs<> triangular
gko::matrix::Dense<> GinkgoScalar
gko::matrix::Dense<> GinkgoVector
gko::preconditioner::Jacobi<> jacobi
gko::solver::Gmres<> gmres
gko::preconditioner::Ic<> cholesky