https://mooseframework.inl.gov
Public Member Functions | List of all members
CompositionDT::CompareFirst Struct Reference

Comparator for sorting by the value of dt for the TimeStepper sets which stored the pairs of the dt and TimeStepper. More...

#include <CompositionDT.h>

Public Member Functions

bool operator() (const std::pair< Real, TimeStepper *> &a, const std::pair< Real, TimeStepper *> &b) const
 

Detailed Description

Comparator for sorting by the value of dt for the TimeStepper sets which stored the pairs of the dt and TimeStepper.

Definition at line 45 of file CompositionDT.h.

Member Function Documentation

◆ operator()()

bool CompositionDT::CompareFirst::operator() ( const std::pair< Real, TimeStepper *> &  a,
const std::pair< Real, TimeStepper *> &  b 
) const
inline

Definition at line 47 of file CompositionDT.h.

49  {
50  return a.first < b.first;
51  }

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