Classes | Functions
Slab.hpp File Reference

Defines class Slab. More...

#include <cstddef>
#include <functional>
#include <iosfwd>
#include <limits>
#include "ErrorHandling/Assert.hpp"

Go to the source code of this file.

Classes

class  Slab
 A chunk of time. Every element must reach slab boundaries exactly, no matter how it actually takes time steps to get there. The simulation can only be assumed to have global data available at slab boundaries. More...
 

Functions

bool operator== (const Slab &a, const Slab &b) noexcept
 
bool operator!= (const Slab &a, const Slab &b) noexcept
 
std::ostreamoperator<< (std::ostream &os, const Slab &s) noexcept
 
size_t hash_value (const Slab &s) noexcept
 
bool operator< (const Slab &a, const Slab &b) noexcept
 Slab comparison operators give the time ordering. Overlapping unequal slabs should not be compared (and will trigger an assertion).
 
bool operator> (const Slab &a, const Slab &b) noexcept
 Slab comparison operators give the time ordering. Overlapping unequal slabs should not be compared (and will trigger an assertion).
 
bool operator<= (const Slab &a, const Slab &b) noexcept
 Slab comparison operators give the time ordering. Overlapping unequal slabs should not be compared (and will trigger an assertion).
 
bool operator>= (const Slab &a, const Slab &b) noexcept
 Slab comparison operators give the time ordering. Overlapping unequal slabs should not be compared (and will trigger an assertion).
 

Detailed Description

Defines class Slab.