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

Add a function to return the number of elapsed timesteps in Simulation class object #2337

Merged
merged 3 commits into from Dec 15, 2022

Conversation

oskooi
Copy link
Collaborator

@oskooi oskooi commented Dec 10, 2022

Adds a new member function to the Simulation class which returns the number of elapsed timesteps (an integer). Also includes a unit test.

cc @dalarev

@codecov-commenter
Copy link

codecov-commenter commented Dec 10, 2022

Codecov Report

Merging #2337 (6e01f8e) into master (9473d31) will increase coverage by 0.55%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master    #2337      +/-   ##
==========================================
+ Coverage   71.99%   72.55%   +0.55%     
==========================================
  Files          17       17              
  Lines        5032     5156     +124     
==========================================
+ Hits         3623     3741     +118     
- Misses       1409     1415       +6     
Impacted Files Coverage Δ
python/simulation.py 76.62% <75.00%> (-0.20%) ⬇️
python/source.py 94.19% <0.00%> (-1.12%) ⬇️

@oskooi oskooi merged commit 6e44cb8 into NanoComp:master Dec 15, 2022
@oskooi oskooi deleted the timesteps branch December 15, 2022 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants