Interface for sorting dependent vectors of objects. More...
#include <DependencyResolverInterface.h>
Public Member Functions | |
| DependencyResolverInterface () | |
| Constructor. More... | |
| DependencyResolverInterface (const DependencyResolverInterface &, const Moose::Kokkos::FunctorCopy &) | |
| Special constructor used for Kokkos functor copy during parallel dispatch. More... | |
| virtual const std::set< std::string > & | getRequestedItems ()=0 |
| Return a set containing the names of items requested by the object. More... | |
| virtual const std::set< std::string > & | getSuppliedItems ()=0 |
| Return a set containing the names of items owned by the object. More... | |
Static Public Member Functions | |
| template<typename T > | |
| static void | sort (typename std::vector< T > &vector) |
| Given a vector, sort using the getRequested/SuppliedItems sets. More... | |
| template<typename T > | |
| static void | sortDFS (typename std::vector< T > &vector) |
| Given a vector, sort using the depth-first search. More... | |
| template<typename T , typename T2 > | |
| static void | cyclicDependencyError (CyclicDependencyException< T2 > &e, const std::string &header) |
| A helper method for cyclic errors. More... | |
Interface for sorting dependent vectors of objects.
Definition at line 25 of file DependencyResolverInterface.h.
|
inline |
|
inline |
Special constructor used for Kokkos functor copy during parallel dispatch.
Definition at line 37 of file DependencyResolverInterface.h.
|
static |
A helper method for cyclic errors.
Definition at line 129 of file DependencyResolverInterface.h.
|
pure virtual |
Return a set containing the names of items requested by the object.
Implemented in MaterialBase, UserObject, InitialConditionBase, Marker, AuxKernelBase, ScalarInitialCondition, FVInitialConditionBase, and AuxScalarKernel.
|
pure virtual |
Return a set containing the names of items owned by the object.
Implemented in MaterialBase, UserObject, InitialConditionBase, Marker, AuxKernelBase, ScalarInitialCondition, FVInitialConditionBase, and AuxScalarKernel.
|
static |
Given a vector, sort using the getRequested/SuppliedItems sets.
Definition at line 74 of file DependencyResolverInterface.h.
Referenced by TheWarehouse::prepare().
|
static |
Given a vector, sort using the depth-first search.
Class that represents the dependency as a graph
Definition at line 81 of file DependencyResolverInterface.h.
Referenced by sort().
1.8.14