Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
- updated wording
- added docstrings
  • Loading branch information
anshchaube committed Nov 24, 2024
1 parent c915948 commit 6066950
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 1 addition & 5 deletions framework/doc/content/source/postprocessors/NumTimeSteps.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# TimestepSize
# NumTimeSteps

!syntax description /Postprocessors/NumTimeSteps

## Description

`NumTimeSteps` reports the timestep size.

## Example Input Syntax

!listing /Users/achaube/tools/moose/test/tests/postprocessors/num_time_steps/moose.i block=Postprocessors
Expand Down
3 changes: 3 additions & 0 deletions framework/include/postprocessors/NumTimeSteps.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

#include "GeneralPostprocessor.h"

/**
* Reports on the number of time steps already taken in the transient
*/
class NumTimeSteps : public GeneralPostprocessor
{
public:
Expand Down
4 changes: 2 additions & 2 deletions test/tests/postprocessors/num_time_steps/tests
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
type = 'CSVDiff'
input = 'numtimesteps.i'
csvdiff = 'numtimesteps_out.csv'
requirement = 'The postprocessor `NumTimeSteps` shall count the number of time-steps accurately'
'over the course of a transient solve'
requirement = 'The shall be able to count the number of time-steps that have been taken '
'over the course of the simulation of a transient.'
[]
[]

0 comments on commit 6066950

Please sign in to comment.