Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmscheller committed Sep 14, 2024
1 parent 186862c commit 5e20b19
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Binary file modified deploy/installer/LANDIS-II-V8 Original Fire 5.0-setup.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# What is the Original Fire Extension?

Original Fire generates wildfires that are dependent upon fire region (or 'landtype') specific inputs. Original Fire follows the principles of older LANDIS versions (v3.6 and earlier) whereby fire patches are put on the landscape following a log-normal size distribution and fire severity is a function of time-since-last-fire.
Original Fire generates wildfires that are dependent upon fire region specific inputs. Original Fire follows the principles of older LANDIS versions (v3.6 and earlier) whereby fire patches are put on the landscape following a log-normal size distribution and fire severity is a function of time-since-last-fire.

# Release Notes

Expand All @@ -15,7 +15,7 @@ To use Original Fire, you need:
- The [LANDIS-II model v8.0](http://www.landis-ii.org/install) installed on your computer.
- Example files (see below)

# Download the Extension
# Download and Install the Extension

The latest version can be downloaded [here](https://github.com/LANDIS-II-Foundation/Extension-Base-Fire/blob/master/deploy/installer/LANDIS-II-V8%20Original%20Fire%205.0-setup.exe). (Look for the download icon in the upper right corner.) Launch the installer.

Expand Down
14 changes: 7 additions & 7 deletions src/PlugIn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,13 @@ private void LogEvent(int currentTime,
//int[] fireSites = new int[FireRegions.Dataset.Count];
//int i = 0;

//foreach (IFireRegion fireregion in FireRegions.Dataset)
//{
// fireSites[i] = FireEvent.SitesInEvent[fireregion.Index];
// i = i + 1;
// totalSitesInEvent += FireEvent.SitesInEvent[fireregion.Index];
// summaryFireRegionEventCount[fireregion.Index] += FireEvent.SitesInEvent[fireregion.Index];
//}
foreach (IFireRegion fireregion in FireRegions.Dataset)
{
//fireSites[i] = FireEvent.SitesInEvent[fireregion.Index];
//i = i + 1;
totalSitesInEvent += FireEvent.SitesInEvent[fireregion.Index];
summaryFireRegionEventCount[fireregion.Index] += FireEvent.SitesInEvent[fireregion.Index];
}
//el.SitesEventByEcoregion = new double[fireSites.Length];
//i = 0;
//while(i < fireSites.Length)
Expand Down

0 comments on commit 5e20b19

Please sign in to comment.