Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Alina::AggregationCoarsening< Backend > Struct Template Reference

Non-smoothed aggregation. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/alina/arccore/alina/Coarsening.h>

Collaboration diagram for Arcane::Alina::AggregationCoarsening< Backend >:

Classes

struct  params
 Coarsening parameters. More...

Public Types

typedef pointwise_aggregates Aggregates

Public Member Functions

 AggregationCoarsening (const params &prm=params())
template<class Matrix>
std::tuple< std::shared_ptr< Matrix >, std::shared_ptr< Matrix > > transfer_operators (const Matrix &A)
 Creates transfer operators for the given system matrix.
template<class Matrix>
std::shared_ptr< Matrixcoarse_operator (const Matrix &A, const Matrix &P, const Matrix &R) const
 Creates system matrix for the coarser level.

Public Attributes

struct Arcane::Alina::AggregationCoarsening::params prm

Detailed Description

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

Non-smoothed aggregation.

Definition at line 639 of file Coarsening.h.

Member Typedef Documentation

◆ Aggregates

template<class Backend>
typedef pointwise_aggregates Arcane::Alina::AggregationCoarsening< Backend >::Aggregates

Definition at line 641 of file Coarsening.h.

Constructor & Destructor Documentation

◆ AggregationCoarsening()

template<class Backend>
Arcane::Alina::AggregationCoarsening< Backend >::AggregationCoarsening ( const params & prm = params())
inlineexplicit

Definition at line 688 of file Coarsening.h.

Member Function Documentation

◆ coarse_operator()

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

Creates system matrix for the coarser level.

Parameters
AThe system matrix at the finer level.
PProlongation operator returned by transfer_operators().
RRestriction operator returned by transfer_operators().
Returns
System matrix for the coarser level.

Definition at line 727 of file Coarsening.h.

◆ transfer_operators()

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

Creates transfer operators for the given system matrix.

Parameters
AThe system matrix.
prmCoarsening parameters.
Returns
A tuple of prolongation and restriction operators.

Definition at line 701 of file Coarsening.h.

References Arcane::Alina::pointwise_aggregates::count, and Arcane::Alina::pointwise_aggregates::id.


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