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

Classes

class  file_obj
 

Functions

def run (files=None, verbose=True, overwrite=None, output=None, macros={}, build="")
 
def write_depend (outfile="makefile.dep", dep=[], overwrite=False, build="")
 
def get_source (ext=[".f90", ".F90"])
 
def create_file_objs (files=None, macros={})
 
def get_uses (infile=None, macros={})
 
def get_contains (infile=None)
 
def file_objs_to_mod_dict (file_objs=[])
 
def get_depends (fob=[], m2f=[])
 

Variables

 parser = argparse.ArgumentParser(description="Generate Fortran dependencies")
 
 nargs
 
 help
 
 action
 
 metavar
 
 default
 
 args = parser.parse_args()
 
dictionary macros = {}
 
 temp = var.split("=")
 
 output = args.output[0] if args.output else None
 
string build = args.build[0] if args.build else ""
 
 files
 
 verbose
 
 overwrite
 

Function Documentation

◆ create_file_objs()

def fort_depend.create_file_objs (   files = None,
  macros = {} 
)

Definition at line 66 of file fort_depend.py.

References get_contains(), get_source(), and get_uses().

Referenced by run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ file_objs_to_mod_dict()

def fort_depend.file_objs_to_mod_dict (   file_objs = [])

Definition at line 127 of file fort_depend.py.

Referenced by run().

Here is the caller graph for this function:

◆ get_contains()

def fort_depend.get_contains (   infile = None)

Definition at line 109 of file fort_depend.py.

References blockpointers.p.

Referenced by create_file_objs().

Here is the caller graph for this function:

◆ get_depends()

def fort_depend.get_depends (   fob = [],
  m2f = [] 
)

Definition at line 136 of file fort_depend.py.

Referenced by run().

Here is the caller graph for this function:

◆ get_source()

def fort_depend.get_source (   ext = [".f90", ".F90"])

Definition at line 57 of file fort_depend.py.

Referenced by create_file_objs().

Here is the caller graph for this function:

◆ get_uses()

def fort_depend.get_uses (   infile = None,
  macros = {} 
)

Definition at line 84 of file fort_depend.py.

References blockpointers.p.

Referenced by create_file_objs().

Here is the caller graph for this function:

◆ run()

def fort_depend.run (   files = None,
  verbose = True,
  overwrite = None,
  output = None,
  macros = {},
  build = "" 
)

Definition at line 7 of file fort_depend.py.

References create_file_objs(), file_objs_to_mod_dict(), get_depends(), and write_depend().

Here is the call graph for this function:

◆ write_depend()

def fort_depend.write_depend (   outfile = "makefile.dep",
  dep = [],
  overwrite = False,
  build = "" 
)

Definition at line 28 of file fort_depend.py.

Referenced by run().

Here is the caller graph for this function:

Variable Documentation

◆ action

fort_depend.action

Definition at line 183 of file fort_depend.py.

◆ args

fort_depend.args = parser.parse_args()

Definition at line 193 of file fort_depend.py.

◆ build

fort_depend.build = args.build[0] if args.build else ""

Definition at line 204 of file fort_depend.py.

◆ default

fort_depend.default

Definition at line 187 of file fort_depend.py.

◆ files

fort_depend.files

Definition at line 206 of file fort_depend.py.

◆ help

fort_depend.help

Definition at line 179 of file fort_depend.py.

◆ macros

fort_depend.macros = {}

Definition at line 196 of file fort_depend.py.

◆ metavar

fort_depend.metavar

Definition at line 184 of file fort_depend.py.

◆ nargs

fort_depend.nargs

Definition at line 179 of file fort_depend.py.

◆ output

fort_depend.output = args.output[0] if args.output else None

Definition at line 203 of file fort_depend.py.

◆ overwrite

fort_depend.overwrite

Definition at line 206 of file fort_depend.py.

◆ parser

fort_depend.parser = argparse.ArgumentParser(description="Generate Fortran dependencies")

Definition at line 178 of file fort_depend.py.

◆ temp

fort_depend.temp = var.split("=")

◆ verbose

fort_depend.verbose

Definition at line 206 of file fort_depend.py.