Skip to content
Snippets Groups Projects
Commit f7f43913 authored by imcovangent's avatar imcovangent
Browse files

resolved #109 : Developed and tested (on Sellar and wing_design) the addition...

resolved #109 : Developed and tested (on Sellar and wing_design) the addition of process hierarchy determination using cycles and storage of the hierarchy as metadata in CMDOWS.


Former-commit-id: f5fc7c3f470fae05faf4163c321fe6e9055998ac
parent 3b45e5e5
No related branches found
No related tags found
No related merge requests found
Showing
with 2 additions and 12 deletions
......@@ -237,17 +237,6 @@ for mdao_definition in mdao_definitions:
# Get Mdao graphs
mpg = fpg.get_mpg(name='mpg Sellar problem')
cycles = nx.simple_cycles(mpg)
print 'Cycles:'
for cycle in cycles:
print cycle
iterative_nodes, process_info, nested_functions = mpg.get_nested_process_ordering()
print 'Ordering:'
print iterative_nodes
print process_info
print nested_functions
print ''
mdg = fpg.get_mdg(name='mdg Sellar problem')
mdg.graph['name'] = 'XDSM - ' + mdao_definition
mdg.graph['description'] = 'Solution strategy to solve the Sellar problem using the strategy: ' \
......@@ -267,6 +256,7 @@ for mdao_definition in mdao_definitions:
creator='Imco van Gent',
version='0.1',
pretty_print=True,
integrity=True)
integrity=True,
convention=True)
print 'Done!'
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment