MueLu
Version of the Day
|
Functor for marking nodes as Dirichlet based on rowsum. More...
#include <MueLu_BoundaryDetection.hpp>
Public Member Functions | |
RowSumFunctor (local_matrix_type &A_, boundary_nodes_view boundaryNodes_, magnitudeType rowSumTol_) | |
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 | magATS = Kokkos::ArithTraits< magnitudeType > |
using | boundary_nodes_view = Kokkos::View< bool *, memory_space > |
Private Attributes | |
local_matrix_type | A |
boundary_nodes_view | boundaryNodes |
magnitudeType | rowSumTol |
Functor for marking nodes as Dirichlet based on rowsum.
A row is marked as Dirichlet boundary if the sum of off-diagonal values is smaller in absolute value than the diagonal multiplied by the threshold rowSumTol. It is assumed that boundaryNodes was initialized to false.
Definition at line 161 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 163 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 164 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 165 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 170 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 172 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 176 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 178 of file MueLu_BoundaryDetection.hpp.
|
inline |
Definition at line 185 of file MueLu_BoundaryDetection.hpp.
|
inline |
Definition at line 191 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 180 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 181 of file MueLu_BoundaryDetection.hpp.
|
private |
Definition at line 182 of file MueLu_BoundaryDetection.hpp.