ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Variables
pyf_preprocessor Namespace Reference

Variables

string header_str
 
 mode = sys.argv[1]
 
 f = open(sys.argv[2], "r")
 
 orig_lines = f.readlines()
 
 g = open(sys.argv[2] + ".autogen", "w")
 
string cur_mode = "both"
 

Variable Documentation

◆ cur_mode

string pyf_preprocessor.cur_mode = "both"

Definition at line 47 of file pyf_preprocessor.py.

◆ f

pyf_preprocessor.f = open(sys.argv[2], "r")

Definition at line 30 of file pyf_preprocessor.py.

◆ g

pyf_preprocessor.g = open(sys.argv[2] + ".autogen", "w")

◆ header_str

string pyf_preprocessor.header_str
Initial value:
1 = """ pyf_processor.py is used to automatically process a
2 particular form of pyf file that allows the specification of both the
3 real and complex wrapping functions in one place. This is eliminates
4 duplication in the pyf files.
5 
6 pyf_processor.py is called in the following manner:
7 
8 python pyf_processor.py <real|complex> <pyf_file>
9 
10 The resulting "clean" pyf file is written to pyf_file.autogen. This
11 .autogen file is what should be passed to f2py to generate the actual
12 wrapper.
13 """

Definition at line 3 of file pyf_preprocessor.py.

◆ mode

pyf_preprocessor.mode = sys.argv[1]

Definition at line 23 of file pyf_preprocessor.py.

◆ orig_lines

pyf_preprocessor.orig_lines = f.readlines()

Definition at line 31 of file pyf_preprocessor.py.