|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
Type-level chain of Kokkos-callable excluders. More...
#include <Excluder.hpp>
Public Types | |
Aliases | |
| using | prior_excluder_type = PriorExcluder |
| using | appended_excluder_type = Excluder |
Public Member Functions | |
Constructors | |
| ExcluderChain ()=default | |
| Default constructor. | |
| ExcluderChain (const prior_excluder_type &prior_excluder, const appended_excluder_type &appended_excluder) | |
| Construct a chain from a previous excluder and a newly appended excluder. | |
Setup | |
| void | setup (const stk::mesh::BulkData &bulk_data, const stk::mesh::Selector &target_selector, const stk::mesh::Selector &source_selector) |
| Prepare every excluder in the chain for the selected source and target chunks. | |
Filtering | |
| template<typename Candidate> | |
| bool | operator() (const Candidate &candidate) const |
| Return whether any excluder in the chain rejects the candidate pair. | |
| template<ExcluderType NextExcluder> | |
| ExcluderChain< ExcluderChain, NextExcluder > | exclude (const NextExcluder &next_excluder) const |
| Return a new excluder chain with one additional appended excluder. | |
Accessors | |
| prior_excluder_type | prior_excluder () const |
| Get the previous excluder. | |
| appended_excluder_type | appended_excluder () const |
| Get the newly appended excluder. | |
Each .exclude(...) call returns a new ExcluderChain containing the previous filtering behavior plus the newly appended excluder.
| using mundy::search::ExcluderChain< PriorExcluder, Excluder >::prior_excluder_type = PriorExcluder |
| using mundy::search::ExcluderChain< PriorExcluder, Excluder >::appended_excluder_type = Excluder |
|
default |
|
inline |
| prior_excluder | [in] Previous excluder. |
| appended_excluder | [in] Newly appended excluder. |
|
inline |
| bulk_data | [in] STK bulk data used for mesh-dependent preparation. |
| target_selector | [in] Selector defining the target chunk. |
| source_selector | [in] Selector defining the source chunk. |
|
inline |
| candidate | [in] Candidate pair produced by a search backend. |
|
inline |
| next_excluder | [in] Excluder to append to the chain. |
|
inline |
|
inline |