MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping > Class Template Reference

Functor that fills the filtered matrix while reusing the graph of the matrix before dropping, blockSize == 1. More...

#include <MueLu_MatrixConstruction.hpp>

Public Member Functions

 PointwiseFillReuseFunctor (local_matrix_type &A_, results_view &results_, local_matrix_type &filteredA_, local_graph_type &graph_, magnitudeType dirichletThreshold_)
 
KOKKOS_INLINE_FUNCTION void operator() (const local_ordinal_type rlid) const
 

Private Types

using scalar_type = typename local_matrix_type::value_type
 
using local_ordinal_type = typename local_matrix_type::ordinal_type
 
using memory_space = typename local_matrix_type::memory_space
 
using results_view = Kokkos::View< DecisionType *, memory_space >
 
using ATS = Kokkos::ArithTraits< scalar_type >
 
using magnitudeType = typename ATS::magnitudeType
 

Private Attributes

local_matrix_type A
 
results_view results
 
local_matrix_type filteredA
 
local_graph_type graph
 
magnitudeType dirichletThreshold
 
const scalar_type zero = ATS::zero()
 
const scalar_type one = ATS::one()
 

Detailed Description

template<class local_matrix_type, class local_graph_type, bool lumping>
class MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >

Functor that fills the filtered matrix while reusing the graph of the matrix before dropping, blockSize == 1.

The dropped graph is built from scratch. The filtered matrix reuses the graph of the matrix before dropping. Lumps dropped entries to the diagonal if lumping==true.

Definition at line 246 of file MueLu_MatrixConstruction.hpp.

Member Typedef Documentation

template<class local_matrix_type, class local_graph_type, bool lumping>
using MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::scalar_type = typename local_matrix_type::value_type
private

Definition at line 248 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
using MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::local_ordinal_type = typename local_matrix_type::ordinal_type
private

Definition at line 249 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
using MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::memory_space = typename local_matrix_type::memory_space
private

Definition at line 250 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
using MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::results_view = Kokkos::View<DecisionType*, memory_space>
private

Definition at line 251 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
using MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::ATS = Kokkos::ArithTraits<scalar_type>
private

Definition at line 252 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
using MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::magnitudeType = typename ATS::magnitudeType
private

Definition at line 253 of file MueLu_MatrixConstruction.hpp.

Constructor & Destructor Documentation

template<class local_matrix_type, class local_graph_type, bool lumping>
MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::PointwiseFillReuseFunctor ( local_matrix_type &  A_,
results_view results_,
local_matrix_type &  filteredA_,
local_graph_type &  graph_,
magnitudeType  dirichletThreshold_ 
)
inline

Definition at line 264 of file MueLu_MatrixConstruction.hpp.

Member Function Documentation

template<class local_matrix_type, class local_graph_type, bool lumping>
KOKKOS_INLINE_FUNCTION void MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::operator() ( const local_ordinal_type  rlid) const
inline

Definition at line 272 of file MueLu_MatrixConstruction.hpp.

Member Data Documentation

template<class local_matrix_type, class local_graph_type, bool lumping>
local_matrix_type MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::A
private

Definition at line 255 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
results_view MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::results
private

Definition at line 256 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
local_matrix_type MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::filteredA
private

Definition at line 257 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
local_graph_type MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::graph
private

Definition at line 258 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
magnitudeType MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::dirichletThreshold
private

Definition at line 259 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
const scalar_type MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::zero = ATS::zero()
private

Definition at line 260 of file MueLu_MatrixConstruction.hpp.

template<class local_matrix_type, class local_graph_type, bool lumping>
const scalar_type MueLu::MatrixConstruction::PointwiseFillReuseFunctor< local_matrix_type, local_graph_type, lumping >::one = ATS::one()
private

Definition at line 261 of file MueLu_MatrixConstruction.hpp.


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