Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added several methods to drawfire_PLUS_Energy for time independent display #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kcbeely
Copy link

@Kcbeely Kcbeely commented Aug 4, 2022

Description

Added another ignition class object called ignite that reads in the data from ignite.dat. The data is then displayed on another image that shows a time independent graph. Arrows or time of ignition for each point can be added to the graph with the variable arrow_flag, line 598. There are several new methods for this plot, including label_ignitions, indexing_maximum, map_ignite and plot_ignite. All exist within a try function that catches the error if ignite.dat is not found and continues the program.

Motivation and Context

This project was assigned by Daniel Giron, allows drawfire to display a graph that is time independent, reducing the effort needed to see the beginning and end of the run.

Test Cases

Works for both atv line and aerial ignitions. Some very odd cases with aerial ignitions can have weird arrows due to the nature of trying to plot arrows from evolving points. Should work for most cases however. ATV ignitions are easier and thus had little issues with plotting.

Cheklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warning

drawfire_Arrows

drawfire_Time

s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant