MueLu
Version of the Day
|
Functor for marking nodes as Dirichlet. More...
#include <MueLu_BoundaryDetection.hpp>
Public Member Functions | |
PointDirichletFunctor (local_matrix_type &A_, boundary_nodes_view boundaryNodes_, magnitudeType dirichletThreshold_, local_ordinal_type dirichletNonzeroThreshold_) | |
KOKKOS_FORCEINLINE_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 | 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 |
boundary_nodes_view | boundaryNodes |
magnitudeType | dirichletThreshold |
local_ordinal_type | dirichletNonzeroThreshold |
Functor for marking nodes as Dirichlet.
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 34 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 36 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 37 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 38 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 40 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 41 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 42 of file MueLu_BoundaryDetection.hpp.
|
inline |
Definition at line 50 of file MueLu_BoundaryDetection.hpp.
|
inline |
Definition at line 57 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 44 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 45 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 46 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 47 of file MueLu_BoundaryDetection.hpp.