Difference between revisions of "Template:Dimensions"
From mintOC
Line 1: | Line 1: | ||
<includeonly>{| class="infobox dimensions" style="text-align:center; padding:2.5px; width:200px;" | <includeonly>{| class="infobox dimensions" style="text-align:center; padding:2.5px; width:200px;" | ||
− | |- style="text-align:center;" | + | |- style="text-align:center; width:{{{box_width|26em}}}; text-align:left; font-size:85%;" |
|- | |- | ||
!colspan="2" align="center"|{{PAGENAME}} | !colspan="2" align="center"|{{PAGENAME}} | ||
Line 6: | Line 6: | ||
{{#if:{{{nx|}}}| | {{#if:{{{nx|}}}| | ||
{{!}}align="left"{{!}}'''Differential states:''' | {{!}}align="left"{{!}}'''Differential states:''' | ||
− | {{!}}align=" | + | {{!}}align="right"{{!}}{{{nx}}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{nz|}}}| | {{#if:{{{nz|}}}| | ||
{{!}}align="left"{{!}}'''Algebraic states:''' | {{!}}align="left"{{!}}'''Algebraic states:''' | ||
− | {{!}}align=" | + | {{!}}align="right"{{!}}{{{nz}}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{nu|}}}| | {{#if:{{{nu|}}}| | ||
{{!}}align="left"{{!}}'''Continuous control functions:''' | {{!}}align="left"{{!}}'''Continuous control functions:''' | ||
− | {{!}}align=" | + | {{!}}align="right"{{!}}{{{nu}}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{nw|}}}| | {{#if:{{{nw|}}}| | ||
{{!}}align="left"{{!}}'''Discrete control functions:''' | {{!}}align="left"{{!}}'''Discrete control functions:''' | ||
− | {{!}}align=" | + | {{!}}align="right"{{!}}{{{nw}}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{np|}}}| | {{#if:{{{np|}}}| | ||
{{!}}align="left"{{!}}'''Continuous control values:''' | {{!}}align="left"{{!}}'''Continuous control values:''' | ||
− | {{!}}align=" | + | {{!}}align="right"{{!}}{{{np}}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{nrho|}}}| | {{#if:{{{nrho|}}}| | ||
{{!}}align="left"{{!}}'''Discrete control values:''' | {{!}}align="left"{{!}}'''Discrete control values:''' | ||
− | {{!}}align=" | + | {{!}}align="right"{{!}}{{{nrho}}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{nc|}}}| | {{#if:{{{nc|}}}| | ||
{{!}}align="left"{{!}}'''Path constraints:''' | {{!}}align="left"{{!}}'''Path constraints:''' | ||
− | {{!}}align=" | + | {{!}}align="right"{{!}}{{{nc}}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{nri|}}}| | {{#if:{{{nri|}}}| | ||
{{!}}align="left"{{!}}'''Interior point inequalities:''' | {{!}}align="left"{{!}}'''Interior point inequalities:''' | ||
− | {{!}}align=" | + | {{!}}align="right"{{!}}{{{nri}}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{nre|}}}| | {{#if:{{{nre|}}}| | ||
{{!}}align="left"{{!}}'''Interior point equalities:''' | {{!}}align="left"{{!}}'''Interior point equalities:''' | ||
− | {{!}}align=" | + | {{!}}align="right"{{!}}{{{nri}}} |
{{!}}- | {{!}}- | ||
|}} | |}} | ||
Line 52: | Line 52: | ||
<noinclude><pre> | <noinclude><pre> | ||
{{Dimensions | {{Dimensions | ||
− | |||
− | |||
− | |||
− | |||
|abovestyle = background:transparent; text-align:center; font-size:125% | |abovestyle = background:transparent; text-align:center; font-size:125% | ||
|nd = enter the number of partial derivatives (3 for a time-dependent 2d problem) | |nd = enter the number of partial derivatives (3 for a time-dependent 2d problem) |
Revision as of 22:48, 6 July 2008
{{Dimensions |abovestyle = background:transparent; text-align:center; font-size:125% |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 }}