Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Alina::CoarseningRuntime< Backend > Struct Template Reference
Collaboration diagram for Arcane::Alina::CoarseningRuntime< Backend >:

Public Types

typedef Alina::PropertyTree params

Public Member Functions

 CoarseningRuntime (params prm=params())
template<class Matrix>
std::tuple< std::shared_ptr< Matrix >, std::shared_ptr< Matrix > > transfer_operators (const Matrix &A)
template<class Matrix>
std::shared_ptr< Matrixcoarse_operator (const Matrix &A, const Matrix &P, const Matrix &R) const
template<template< class > class Coarsening>
std::enable_if_t< backend::coarsening_is_supported< Backend, Coarsening >::value, void * > call_constructor (const params &prm)
template<template< class > class Coarsening>
std::enable_if_t<!backend::coarsening_is_supported< Backend, Coarsening >::value, void * > call_constructor (const params &)
template<template< class > class Coarsening>
std::enable_if_t< backend::coarsening_is_supported< Backend, Coarsening >::value, void > call_destructor ()
template<template< class > class Coarsening>
std::enable_if_t<!backend::coarsening_is_supported< Backend, Coarsening >::value, void > call_destructor ()
template<template< class > class Coarsening, class Matrix>
std::enable_if_t< backend::coarsening_is_supported< Backend, Coarsening >::value, std::tuple< std::shared_ptr< Matrix >, std::shared_ptr< Matrix > > > make_operators (const Matrix &A) const
template<template< class > class Coarsening, class Matrix>
std::enable_if_t<!backend::coarsening_is_supported< Backend, Coarsening >::value, std::tuple< std::shared_ptr< Matrix >, std::shared_ptr< Matrix > > > make_operators (const Matrix &)
template<template< class > class Coarsening, class Matrix>
std::enable_if_t< backend::coarsening_is_supported< Backend, Coarsening >::value, std::shared_ptr< Matrix > > make_coarse (const Matrix &A, const Matrix &P, const Matrix &R) const
template<template< class > class Coarsening, class Matrix>
std::enable_if_t<!backend::coarsening_is_supported< Backend, Coarsening >::value, std::shared_ptr< Matrix > > make_coarse (const Matrix &, const Matrix &, const Matrix &) const

Public Attributes

eCoarserningType c
bool as_scalar
void * handle = nullptr

Detailed Description

template<class Backend>
struct Arcane::Alina::CoarseningRuntime< Backend >

Definition at line 97 of file CoarseningRuntime.h.

Member Typedef Documentation

◆ params

template<class Backend>
typedef Alina::PropertyTree Arcane::Alina::CoarseningRuntime< Backend >::params

Definition at line 99 of file CoarseningRuntime.h.

Constructor & Destructor Documentation

◆ CoarseningRuntime()

template<class Backend>
Arcane::Alina::CoarseningRuntime< Backend >::CoarseningRuntime ( params prm = params())
inlineexplicit

Definition at line 104 of file CoarseningRuntime.h.

◆ ~CoarseningRuntime()

template<class Backend>
Arcane::Alina::CoarseningRuntime< Backend >::~CoarseningRuntime ( )
inline

Definition at line 141 of file CoarseningRuntime.h.

Member Function Documentation

◆ call_constructor() [1/2]

template<class Backend>
template<template< class > class Coarsening>
std::enable_if_t<!backend::coarsening_is_supported< Backend, Coarsening >::value, void * > Arcane::Alina::CoarseningRuntime< Backend >::call_constructor ( const params & )
inline

Definition at line 222 of file CoarseningRuntime.h.

◆ call_constructor() [2/2]

template<class Backend>
template<template< class > class Coarsening>
std::enable_if_t< backend::coarsening_is_supported< Backend, Coarsening >::value, void * > Arcane::Alina::CoarseningRuntime< Backend >::call_constructor ( const params & prm)
inline

Definition at line 215 of file CoarseningRuntime.h.

◆ call_destructor() [1/2]

template<class Backend>
template<template< class > class Coarsening>
std::enable_if_t<!backend::coarsening_is_supported< Backend, Coarsening >::value, void > Arcane::Alina::CoarseningRuntime< Backend >::call_destructor ( )
inline

Definition at line 236 of file CoarseningRuntime.h.

◆ call_destructor() [2/2]

template<class Backend>
template<template< class > class Coarsening>
std::enable_if_t< backend::coarsening_is_supported< Backend, Coarsening >::value, void > Arcane::Alina::CoarseningRuntime< Backend >::call_destructor ( )
inline

Definition at line 229 of file CoarseningRuntime.h.

◆ coarse_operator()

template<class Backend>
template<class Matrix>
std::shared_ptr< Matrix > Arcane::Alina::CoarseningRuntime< Backend >::coarse_operator ( const Matrix & A,
const Matrix & P,
const Matrix & R ) const
inline

Definition at line 190 of file CoarseningRuntime.h.

◆ make_coarse() [1/2]

template<class Backend>
template<template< class > class Coarsening, class Matrix>
std::enable_if_t<!backend::coarsening_is_supported< Backend, Coarsening >::value, std::shared_ptr< Matrix > > Arcane::Alina::CoarseningRuntime< Backend >::make_coarse ( const Matrix & ,
const Matrix & ,
const Matrix &  ) const
inline

Definition at line 269 of file CoarseningRuntime.h.

◆ make_coarse() [2/2]

template<class Backend>
template<template< class > class Coarsening, class Matrix>
std::enable_if_t< backend::coarsening_is_supported< Backend, Coarsening >::value, std::shared_ptr< Matrix > > Arcane::Alina::CoarseningRuntime< Backend >::make_coarse ( const Matrix & A,
const Matrix & P,
const Matrix & R ) const
inline

Definition at line 261 of file CoarseningRuntime.h.

◆ make_operators() [1/2]

template<class Backend>
template<template< class > class Coarsening, class Matrix>
std::enable_if_t<!backend::coarsening_is_supported< Backend, Coarsening >::value, std::tuple< std::shared_ptr< Matrix >, std::shared_ptr< Matrix > > > Arcane::Alina::CoarseningRuntime< Backend >::make_operators ( const Matrix & )
inline

Definition at line 253 of file CoarseningRuntime.h.

◆ make_operators() [2/2]

template<class Backend>
template<template< class > class Coarsening, class Matrix>
std::enable_if_t< backend::coarsening_is_supported< Backend, Coarsening >::value, std::tuple< std::shared_ptr< Matrix >, std::shared_ptr< Matrix > > > Arcane::Alina::CoarseningRuntime< Backend >::make_operators ( const Matrix & A) const
inline

Definition at line 243 of file CoarseningRuntime.h.

◆ transfer_operators()

template<class Backend>
template<class Matrix>
std::tuple< std::shared_ptr< Matrix >, std::shared_ptr< Matrix > > Arcane::Alina::CoarseningRuntime< Backend >::transfer_operators ( const Matrix & A)
inline

Definition at line 166 of file CoarseningRuntime.h.

Member Data Documentation

◆ as_scalar

template<class Backend>
bool Arcane::Alina::CoarseningRuntime< Backend >::as_scalar

Definition at line 101 of file CoarseningRuntime.h.

◆ c

template<class Backend>
eCoarserningType Arcane::Alina::CoarseningRuntime< Backend >::c

Definition at line 100 of file CoarseningRuntime.h.

◆ handle

template<class Backend>
void* Arcane::Alina::CoarseningRuntime< Backend >::handle = nullptr

Definition at line 102 of file CoarseningRuntime.h.


The documentation for this struct was generated from the following file: