Difference between revisions of "Template:Dimensions"

From mintOC
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{| class="infobox dimensions"
 
<includeonly>{| class="infobox dimensions"
|- style="text-align:center; width:{{{box_width|35em}}}; text-align:left; font-size:85%;"
+
|- style="text-align:center; width:{{{box_width|40em}}}; text-align:left; font-size:85%;"
 
|-
 
|-
 
!colspan="2" align="center" color="red" font-size="125%"|{{PAGENAME}}
 
!colspan="2" align="center" color="red" font-size="125%"|{{PAGENAME}}
Line 10: Line 10:
 
|}}
 
|}}
 
{{#if:{{{nx|}}}|
 
{{#if:{{{nx|}}}|
{{!}}align="left"{{!}}'Differential states:'
+
{{!}}align="left"{{!}}''Differential states:''
 
{{!}}align="right"{{!}}'''{{{nx}}}'''
 
{{!}}align="right"{{!}}'''{{{nx}}}'''
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
 
{{#if:{{{nz|}}}|
 
{{#if:{{{nz|}}}|
{{!}}align="left"{{!}}'''Algebraic states:'''
+
{{!}}align="left"{{!}}''Algebraic states:''
{{!}}align="right"{{!}}{{{nz}}}
+
{{!}}align="right"{{!}}'''{{{nz}}}'''
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
 
{{#if:{{{nu|}}}|
 
{{#if:{{{nu|}}}|
{{!}}align="left"{{!}}'''Continuous control functions:'''
+
{{!}}align="left"{{!}}''Continuous control functions:''
{{!}}align="right"{{!}}{{{nu}}}
+
{{!}}align="right"{{!}}'''{{{nu}}}'''
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
 
{{#if:{{{nw|}}}|
 
{{#if:{{{nw|}}}|
{{!}}align="left"{{!}}'''Discrete control functions:'''
+
{{!}}align="left"{{!}}''Discrete control functions:''
{{!}}align="right"{{!}}{{{nw}}}
+
{{!}}align="right"{{!}}'''{{{nw}}}'''
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
 
{{#if:{{{np|}}}|
 
{{#if:{{{np|}}}|
{{!}}align="left"{{!}}'''Continuous control values:'''
+
{{!}}align="left"{{!}}''Continuous control values:''
{{!}}align="right"{{!}}{{{np}}}
+
{{!}}align="right"{{!}}'''{{{np}}}'''
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
 
{{#if:{{{nrho|}}}|
 
{{#if:{{{nrho|}}}|
{{!}}align="left"{{!}}'''Discrete control values:'''
+
{{!}}align="left"{{!}}''Discrete control values:''
{{!}}align="right"{{!}}{{{nrho}}}
+
{{!}}align="right"{{!}}'''{{{nrho}}}'''
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
 
{{#if:{{{nc|}}}|
 
{{#if:{{{nc|}}}|
{{!}}align="left"{{!}}'''Path constraints:'''
+
{{!}}align="left"{{!}}''Path constraints:''
{{!}}align="right"{{!}}{{{nc}}}
+
{{!}}align="right"{{!}}'''{{{nc}}}'''
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
 
{{#if:{{{nri|}}}|
 
{{#if:{{{nri|}}}|
{{!}}align="left"{{!}}'''Interior point inequalities:'''
+
{{!}}align="left"{{!}}''Interior point inequalities:''
{{!}}align="right"{{!}}{{{nri}}}
+
{{!}}align="right"{{!}}'''{{{nri}}}'''
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
 
{{#if:{{{nre|}}}|
 
{{#if:{{{nre|}}}|
{{!}}align="left"{{!}}'''Interior point equalities:'''
+
{{!}}align="left"{{!}}''Interior point equalities:''
{{!}}align="right"{{!}}{{{nri}}}
+
{{!}}align="right"{{!}}'''{{{nri}}}'''
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}

Revision as of 22:57, 6 July 2008

{{Dimensions
|nd        = enter the number of partial derivatives (3 for a time-dependent 2d problem)
|nx        = enter the number of differential states
|nz        = enter the number of algebraic states
|nu        = enter the number of continuous control functions
|nw        = enter the number of discrete-valued control functions
|np        = enter the number of time-independent, continuous control values
|nrho      = enter the number of time-independent, discrete control values
|nc        = enter the number of path- and control constraints
|nri       = enter the number of interior point inequalities
|nre       = enter the number of interior point equalities
}}