name: the name of that counter (this will be used in Fortran)
(self, name, starting_val=1)
| 64 | set""" |
| 65 | |
| 66 | def __init__(self, name, starting_val=1): |
| 67 | """name: the name of that counter (this will be used in Fortran)""" |
| 68 | |
| 69 | self.name = name |
| 70 | |
| 71 | self.numeric = starting_val |
| 72 | |
| 73 | self.cxx_strings = [] |
| 74 | |
| 75 | self.cxx_starting_val = starting_val-1 |
| 76 | |
| 77 | def add_index(self, index): |
| 78 | """increment the counter""" |
nothing calls this directly
no outgoing calls
no test coverage detected