mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-30 16:15:41 +01:00
irpf90_entities pretty
This commit is contained in:
parent
0ca05d60d2
commit
373c638f73
@ -1,5 +1,5 @@
|
|||||||
IRPF90 = python ../src/irpf90.py -I input -a -d
|
IRPF90 = python ../src/irpf90.py -I input -a -d
|
||||||
FC = gfortran
|
FC = ifort -profile-functions
|
||||||
FCFLAGS= -O2
|
FCFLAGS= -O2
|
||||||
|
|
||||||
SRC=
|
SRC=
|
||||||
|
@ -36,8 +36,8 @@ from util import *
|
|||||||
def do_print_short(file,var):
|
def do_print_short(file,var):
|
||||||
assert type(var) == Variable
|
assert type(var) == Variable
|
||||||
print >>file, "%s : %s :: %s %s"%( \
|
print >>file, "%s : %s :: %s %s"%( \
|
||||||
var.line.filename[0].ljust(25),
|
var.line.filename[0].ljust(35),
|
||||||
var.type.ljust(25),
|
var.type.ljust(30),
|
||||||
var.name.ljust(25),
|
var.name.ljust(25),
|
||||||
build_dim(var.dim) )
|
build_dim(var.dim) )
|
||||||
|
|
||||||
|
@ -125,6 +125,7 @@ class Sub(object):
|
|||||||
######################################################################
|
######################################################################
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
from preprocessed_text import preprocessed_text
|
from preprocessed_text import preprocessed_text
|
||||||
|
from variables import variables
|
||||||
from subroutines import subroutines
|
from subroutines import subroutines
|
||||||
print subroutines['run'].needs
|
print map(lambda x: variables[x].needs, subroutines['full_ci'].needs)
|
||||||
print subroutines['run'].to_provide
|
print subroutines['full_ci'].calls
|
||||||
|
Loading…
Reference in New Issue
Block a user