https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SystemNumberLess Struct Reference

Orders systems by system number. More...

#include <SolveObject.h>

Public Member Functions

bool operator() (const SystemBase *a, const SystemBase *b) const
 

Detailed Description

Orders systems by system number.

Use it for sets of systems that are iterated over with collective operations: pointer order can differ between ranks, system number cannot.

Definition at line 28 of file SolveObject.h.

Member Function Documentation

◆ operator()()

bool SystemNumberLess::operator() ( const SystemBase *  a,
const SystemBase *  b 
) const

Definition at line 38 of file SolveObject.C.

39{
40 return a->number() < b->number();
41}
unsigned int number() const
Gets the number of this system.

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