Skip to content
Snippets Groups Projects
Commit 74e83a75 authored by Lukas Müller's avatar Lukas Müller
Browse files

Continued to work on the equations functions and various small bugfixes

Former-commit-id: 98b1ab161dd6ae41c7b90d170e108b41eb40eff2
parent 64f549c0
No related branches found
No related tags found
No related merge requests found
Pipeline #192686 canceled
Showing
with 3 additions and 3 deletions
......@@ -87,7 +87,7 @@ print 'Getting repository connectivity graph (RCG)...'
RCG = KB_sellarProblem.get_rcg(name='RCG')
print 'Adding some equations to the graph for illustration purposes...'
RCG.add_equation_labels()
RCG.add_equation_labels(RCG.get_function_nodes())
RCG.add_equation('A', 'a', 'Python')
RCG.add_equation('A', 'a', 'LaTeX')
RCG.add_equation('A', '<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a</mi></math>', 'MathML')
......@@ -267,7 +267,7 @@ for mdao_definition in mdao_definitions:
destination_folder=kdms_dir,
mpg=MPG)
# Just make sure everything is labeled (for MDF and IDF this might be not the case yet)
MDG.add_equation_labels()
MDG.add_equation_labels(RCG.get_function_nodes())
MDG.save('Mdao_'+mdao_definition,
file_type='cmdows',
description='Mdao CMDOWS file of the well-known Sellar Problem',
......@@ -275,7 +275,7 @@ for mdao_definition in mdao_definitions:
version='0.1',
mpg=MPG,
destination_folder=cmdows_dir,
pretty_print=False)
pretty_print=True)
# Check integrity of CMDOWS
MDG.check_cmdows_integrity(mpg=MPG)
......
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