MueLu
Version of the Day
|
Functor for marking nodes as Dirichlet in a block operator. More...
#include <MueLu_BoundaryDetection.hpp>
Public Member Functions | |
VectorDirichletFunctor (local_matrix_type &A_, local_ordinal_type blockSize_, boundary_nodes_view boundaryNodes_, magnitudeType dirichletThreshold_, local_ordinal_type dirichletNonzeroThreshold_) | |
KOKKOS_FORCEINLINE_FUNCTION void | operator() (const local_ordinal_type rblid) 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 | ATS = Kokkos::ArithTraits< scalar_type > |
using | magnitudeType = typename ATS::magnitudeType |
using | boundary_nodes_view = Kokkos::View< bool *, memory_space > |
Private Attributes | |
local_matrix_type | A |
local_ordinal_type | blockSize |
boundary_nodes_view | boundaryNodes |
magnitudeType | dirichletThreshold |
local_ordinal_type | dirichletNonzeroThreshold |
Functor for marking nodes as Dirichlet in a block operator.
Assumes a single fixed block size specified by blockSize. Marks blocks as Dirichlet when one row is Dirichlet (useGreedyDirichlet==true) or when all rows are Dirichlet (useGreedyDirichlet==false). A row is marked as Dirichlet boundary if fewer than dirichletNonzeroThreshold entries are larger in absolute value than dirichletThreshold. It is assumed that boundaryNodes was initialized to false.
Definition at line 84 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 86 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 87 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 88 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 90 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 91 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 92 of file MueLu_BoundaryDetection.hpp.
|
inline |
Definition at line 101 of file MueLu_BoundaryDetection.hpp.
|
inline |
Definition at line 109 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 94 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 95 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 96 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 97 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 98 of file MueLu_BoundaryDetection.hpp.