peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
Loading...
Searching...
No Matches
peclet::dem::MlMatchFilter Struct Reference

The pair filter of the coarse matching, shared by the bid and the commit kernel of matchMlLevelGroups (the two must apply the identical test, or a pair could win the bidding and never be committed): an eligible crossing manifold between two movable, canonical bodies in different groups yields those groups (gA, gB). More...

#include <solver_multilevel.hpp>

Public Member Functions

bool operator() (int idx, int &gA, int &gB) const

Public Attributes

MlEligibility elig
Kokkos::View< const int *, CpMem > realIdx
Kokkos::View< const float *, CpMem > invMass
Kokkos::View< const unsigned char *, CpMem > asleep
Kokkos::View< int *, CpMem > grp
bool excludeImmovable = false
bool haveAsleep = false

Detailed Description

The pair filter of the coarse matching, shared by the bid and the commit kernel of matchMlLevelGroups (the two must apply the identical test, or a pair could win the bidding and never be committed): an eligible crossing manifold between two movable, canonical bodies in different groups yields those groups (gA, gB).

Definition at line 372 of file solver_multilevel.hpp.

Member Function Documentation

◆ operator()()

bool peclet::dem::MlMatchFilter::operator() ( int idx,
int & gA,
int & gB ) const
inline

Member Data Documentation

◆ elig

MlEligibility peclet::dem::MlMatchFilter::elig

Definition at line 373 of file solver_multilevel.hpp.

Referenced by operator()().

◆ realIdx

Kokkos::View<const int*, CpMem> peclet::dem::MlMatchFilter::realIdx

Definition at line 374 of file solver_multilevel.hpp.

Referenced by operator()().

◆ invMass

Kokkos::View<const float*, CpMem> peclet::dem::MlMatchFilter::invMass

Definition at line 375 of file solver_multilevel.hpp.

Referenced by operator()().

◆ asleep

Kokkos::View<const unsigned char*, CpMem> peclet::dem::MlMatchFilter::asleep

Definition at line 376 of file solver_multilevel.hpp.

Referenced by operator()().

◆ grp

Kokkos::View<int*, CpMem> peclet::dem::MlMatchFilter::grp

Definition at line 377 of file solver_multilevel.hpp.

Referenced by operator()().

◆ excludeImmovable

bool peclet::dem::MlMatchFilter::excludeImmovable = false

Definition at line 378 of file solver_multilevel.hpp.

Referenced by operator()().

◆ haveAsleep

bool peclet::dem::MlMatchFilter::haveAsleep = false

Definition at line 379 of file solver_multilevel.hpp.

Referenced by operator()().


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