preCICE v3.1.1
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
GinkgoRadialBasisFctSolver.hpp File Reference
#include <array>
#include <cmath>
#include <functional>
#include <ginkgo/ginkgo.hpp>
#include <ginkgo/kernels/kernel_declaration.hpp>
#include <numeric>
#include "mapping/config/MappingConfiguration.hpp"
#include "mapping/impl/BasisFunctions.hpp"
#include "mesh/Mesh.hpp"
#include "precice/impl/Types.hpp"
#include "profiling/Event.hpp"
Include dependency graph for GinkgoRadialBasisFctSolver.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  precice::mapping::GinkgoRadialBasisFctSolver< RADIAL_BASIS_FUNCTION_T >
 

Namespaces

namespace  precice
 Main namespace of the precice library.
 
namespace  precice::mapping
 contains data mapping from points to meshes.
 

Typedefs

using GinkgoVector = gko::matrix::Dense<>
 
using GinkgoMatrix = gko::matrix::Dense<>
 
using GinkgoScalar = gko::matrix::Dense<>
 
using cg = gko::solver::Cg<>
 
using gmres = gko::solver::Gmres<>
 
using triangular = gko::solver::UpperTrs<>
 
using jacobi = gko::preconditioner::Jacobi<>
 
using cholesky = gko::preconditioner::Ic<>
 

Enumerations

enum class  precice::mapping::GinkgoSolverType { precice::mapping::CG , precice::mapping::GMRES , precice::mapping::QR }
 
enum class  precice::mapping::GinkgoPreconditionerType { precice::mapping::Jacobi , precice::mapping::Cholesky , precice::mapping::None }
 

Functions

 GKO_DECLARE_UNIFIED (template< typename ValueType, typename EvalFunctionType > void create_rbf_system_matrix(std::shared_ptr< const DefaultExecutor > exec, const std::size_t n1, const std::size_t n2, const std::size_t dataDimensionality, const std::array< bool, 3 > activeAxis, ValueType *mtx, ValueType *supportPoints, ValueType *targetPoints, EvalFunctionType f, const RadialBasisParameters rbf_params, const std::size_t inputRowLength, const std::size_t outputRowLength, const bool addPolynomial, const unsigned int extraDims=0))
 
 GKO_DECLARE_UNIFIED (template< typename ValueType > void fill_polynomial_matrix(std::shared_ptr< const DefaultExecutor > exec, const std::size_t n1, const std::size_t n2, ValueType *mtx, ValueType *x, const std::size_t supportPointsRowLength, const unsigned int dims=4))
 
 GKO_REGISTER_UNIFIED_OPERATION (rbf_fill_operation, create_rbf_system_matrix)
 
 GKO_REGISTER_UNIFIED_OPERATION (polynomial_fill_operation, fill_polynomial_matrix)
 

Variables

const std::map< std::string, GinkgoSolverTypeprecice::mapping::solverTypeLookup
 
const std::map< std::string, GinkgoPreconditionerTypeprecice::mapping::preconditionerTypeLookup
 
const std::map< std::string, std::function< std::shared_ptr< gko::Executor >(const unsigned int, const bool)> > precice::mapping::ginkgoExecutorLookup
 

Typedef Documentation

◆ cg

using cg = gko::solver::Cg<>

Definition at line 28 of file GinkgoRadialBasisFctSolver.hpp.

◆ cholesky

using cholesky = gko::preconditioner::Ic<>

Definition at line 33 of file GinkgoRadialBasisFctSolver.hpp.

◆ GinkgoMatrix

using GinkgoMatrix = gko::matrix::Dense<>

Definition at line 25 of file GinkgoRadialBasisFctSolver.hpp.

◆ GinkgoScalar

using GinkgoScalar = gko::matrix::Dense<>

Definition at line 26 of file GinkgoRadialBasisFctSolver.hpp.

◆ GinkgoVector

using GinkgoVector = gko::matrix::Dense<>

Definition at line 24 of file GinkgoRadialBasisFctSolver.hpp.

◆ gmres

using gmres = gko::solver::Gmres<>

Definition at line 29 of file GinkgoRadialBasisFctSolver.hpp.

◆ jacobi

using jacobi = gko::preconditioner::Jacobi<>

Definition at line 32 of file GinkgoRadialBasisFctSolver.hpp.

◆ triangular

using triangular = gko::solver::UpperTrs<>

Definition at line 30 of file GinkgoRadialBasisFctSolver.hpp.

Function Documentation

◆ GKO_DECLARE_UNIFIED() [1/2]

GKO_DECLARE_UNIFIED ( template< typename ValueType > void fill_polynomial_matrixstd::shared_ptr< const DefaultExecutor > exec, const std::size_t n1, const std::size_t n2, ValueType *mtx, ValueType *x, const std::size_t supportPointsRowLength, const unsigned int dims=4)

◆ GKO_DECLARE_UNIFIED() [2/2]

GKO_DECLARE_UNIFIED ( template< typename ValueType, typename EvalFunctionType > void create_rbf_system_matrixstd::shared_ptr< const DefaultExecutor > exec, const std::size_t n1, const std::size_t n2, const std::size_t dataDimensionality, const std::array< bool, 3 > activeAxis, ValueType *mtx, ValueType *supportPoints, ValueType *targetPoints, EvalFunctionType f, const RadialBasisParameters rbf_params, const std::size_t inputRowLength, const std::size_t outputRowLength, const bool addPolynomial, const unsigned int extraDims=0)

◆ GKO_REGISTER_UNIFIED_OPERATION() [1/2]

GKO_REGISTER_UNIFIED_OPERATION ( polynomial_fill_operation ,
fill_polynomial_matrix  )

◆ GKO_REGISTER_UNIFIED_OPERATION() [2/2]

GKO_REGISTER_UNIFIED_OPERATION ( rbf_fill_operation ,
create_rbf_system_matrix  )