10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-12-21 11:53:32 +01:00

Forgot touches

Version:1.1.21
This commit is contained in:
Anthony Scemama 2009-09-17 11:46:06 +02:00
parent 5dcdf67eb8
commit cb52b89616
2 changed files with 27 additions and 1 deletions

26
src/touches.py Normal file
View File

@ -0,0 +1,26 @@
#!/usr/bin/python
from irpf90_t import *
from util import *
from variables import variables
FILENAME=irpdir+'irp_touches.irp.F90'
def create():
out = []
l = variables.keys()
l.sort
for v in l:
var = variables[v]
if var.is_touched:
out += var.toucher
out = map(lambda x: "%s\n"%(x),out)
if not same_file(FILENAME,out):
file = open(FILENAME,'w')
file.writelines(out)
file.close()
if __name__ == '__main__':
create()

View File

@ -1 +1 @@
version = "1.1.20"
version = "1.1.21"