36 [[nodiscard]]
static Event makeEvent(
37 const DurationSize time,
70 const DurationSize time,
109 const DurationSize time,
124 const DurationSize time,
140 const DurationSize time,
176 [[nodiscard]]
constexpr DurationSize
time()
const
216 [[nodiscard]]
constexpr ROSSize
ros()
const
232 [[nodiscard]]
constexpr CellIndex
source()
const
246 constexpr Event(
const DurationSize time,
253 const DurationSize time_at_location)
280 IntensitySize intensity_;
A specific Event scheduled in a specific Scenario.
Definition Event.h:19
static Event makeFireSpread(const DurationSize time, const IntensitySize intensity, const ROSSize ros, const Direction raz, const Cell &cell)
Make fire spread event.
Definition Event.h:123
static Event makeFireSpread(const DurationSize time, const IntensitySize intensity, const ROSSize ros, const Direction raz)
Make fire spread event.
Definition Event.h:108
constexpr DurationSize timeAtLocation() const
Duration that Event Cell has been burning (decimal days)
Definition Event.h:192
constexpr DurationSize time() const
Time of Event (decimal days)
Definition Event.h:176
Event(const Event &rhs)=delete
Copy constructor.
constexpr Event(const DurationSize time, const Cell &cell, const CellIndex source, const Type type, const IntensitySize intensity, const ROSSize ros, const Direction raz, const DurationSize time_at_location)
Constructor.
Definition Event.h:246
constexpr const Cell & cell() const
Cell Event takes place in.
Definition Event.h:224
CellIndex source_
Spread information at time and place of event.
Definition Event.h:290
constexpr Type type() const
Type of Event.
Definition Event.h:184
Type
Type of Event.
Definition Event.h:30
DurationSize time_
Time to schedule for.
Definition Event.h:267
Cell cell_
Cell to spread in.
Definition Event.h:275
Event & operator=(Event &&rhs) noexcept=default
Move assignment.
static Event makeNewFire(const DurationSize time, const Cell &cell)
Make new fire event.
Definition Event.h:69
constexpr CellIndex source() const
CellIndex for relative Cell that spread into from.
Definition Event.h:232
Type type_
Type of Event.
Definition Event.h:279
Event & operator=(const Event &rhs)=delete
Copy assignment.
constexpr IntensitySize intensity() const
Burn Intensity (kW/m)
Definition Event.h:200
Event(Event &&rhs) noexcept=default
Move constructor.
static constexpr Cell NoLocation
Cell representing no location.
Definition Event.h:24
static Event makeSave(const DurationSize time)
Make simulation save event.
Definition Event.h:83
constexpr wx::Direction raz() const
Head fire spread direction.
Definition Event.h:208
static Event makeFireSpread(const DurationSize time)
Make fire spread event.
Definition Event.h:95
static Event makeFireSpread(const DurationSize time, const IntensitySize intensity, const ROSSize ros, const Direction raz, const Cell &cell, const CellIndex source)
Make fire spread event.
Definition Event.h:139
static Event makeEnd(const DurationSize time)
Make simulation end event.
Definition Event.h:56
constexpr ROSSize ros() const
Head fire rate of spread (m/min)
Definition Event.h:216
DurationSize time_at_location_
Duration that Event Cell has been burning (decimal days)
Definition Event.h:271
A Position with a Slope, Aspect, and Fuel.
Definition Cell.h:20
Direction with access to degrees or radians.
Definition Weather.h:64