\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack}{\section{Capacitor\-Stack Class Reference}
\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack}\index{Capacitor\-Stack@{Capacitor\-Stack}}
}


Draws the layout of a compact capacitor or a matrix of adjacent identical capacitors.  




Inherits Capacitor\-Unit.

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac775ee34451fdfa742b318538164070e}{\-\_\-\-\_\-init\-\_\-\-\_\-}
\begin{DoxyCompactList}\small\item\em This is the class constructor. \end{DoxyCompactList}\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a4b59d20a15f0e548ed19c24814efbeb6}{\-\_\-\-\_\-is\-Unit\-Cap\-\_\-\-\_\-}
\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a8dbb6274d6cdbb570bdea61d09e54e73}{\-\_\-\-\_\-is\-Matching\-Scheme\-O\-K\-\_\-\-\_\-}
\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a8540eb76875171b18a3ae9e5e5f56fd3}{capacitor\-Id\-Occurence}
\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a5b7ef0221e471e99fa7f0a87a28ba1ea}{create}
\begin{DoxyCompactList}\small\item\em Draw the compact or matrix of capacitors. \end{DoxyCompactList}\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a0357fcbd57878fb26a1b994b13bb0cf7}{capacitor\-Line}
\begin{DoxyCompactList}\small\item\em Iteratively draws a horizontal or vertical line of capacitors according to the {\ttfamily direction} parameter. \end{DoxyCompactList}\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_acd1475de157c5375cd58ccf98f825055}{capacitor\-Matrix}
\begin{DoxyCompactList}\small\item\em Draws a matrix of identical capacitors. \end{DoxyCompactList}\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac5cd73be473bc321a29a75311f808835}{draw\-Abutment\-Box}
\begin{DoxyCompactList}\small\item\em Draws the abutment box of the matrix or campact capacitor. \end{DoxyCompactList}\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac815a7351301379178cd6352e6ee46cd}{draw\-Bottom\-Plates\-R\-Layers}
\begin{DoxyCompactList}\small\item\em Draws the routing layers connecting the bottom plate in the matrix of capacitors. \end{DoxyCompactList}\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac4efd1ea3fef3eaa9a07798c9157ea11}{draw\-Top\-Plates\-R\-Layers}
\begin{DoxyCompactList}\small\item\em Draws the routing layers connecting the top plates in the matrix of capacitors. \end{DoxyCompactList}\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a54ac11219d9fce4c7336f4a50e69959a}{get\-Vertical\-Routing\-Track\-\_\-width}
\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_af5105be38ca05d15559b998f1da475df}{get\-Matrix\-Dim}
\item 
def \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a73209c91d8a68eb52e957dee22e05a55}{get\-Matching\-Scheme}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Draws the layout of a compact capacitor or a matrix of adjacent identical capacitors. 

The matrix can be composed of one type of capacitors, either Poly-\/\-Poly or Metal-\/\-Metal in 350 nm A\-M\-S C\-M\-O\-S technology. When matching mode is off, every adjacent plates of any consecutive elementary capacitors are connected to each other using vertical routing layers. Otherwise, when matching mode is on, any of elementary capacitors can belong to, $ C_1 $ or $ C_2 $ according to the entered matching scheme. Thus, routing is not done in this class. In both modes, the complete routing process is done using the {\ttfamily Rout\-Capacitor} class. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac775ee34451fdfa742b318538164070e}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{\-\_\-\-\_\-init\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def \-\_\-\-\_\-init\-\_\-\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{device, }
\item[{}]{capacitance, }
\item[{}]{capacitor\-Type, }
\item[{}]{abutment\-Box\-Position, }
\item[{}]{nets, }
\item[{}]{unit\-Cap = {\ttfamily 0}, }
\item[{}]{matrix\-Dim = {\ttfamily \mbox{[}1}, }
\item[{}]{matching\-Mode = {\ttfamily False}, }
\item[{}]{matching\-Scheme = {\ttfamily \mbox{[}\mbox{]}}, }
\item[{}]{dummy\-Ring = {\ttfamily False}, }
\item[{}]{dummy\-Element = {\ttfamily False}}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac775ee34451fdfa742b318538164070e}


This is the class constructor. 

Basically, the class there are three categories of attributes. There are the ones related to the capacitor caracteristics, its type, dimensions. Also, there are attributes to parametrize the class into matching mode or not and there are other attributes realted to the layout varibales. The class has defaut input values, thus, in this constructor, there are two \char`\"{}sub-\/constructors\char`\"{} according to the entered input parameters. The class attributes are \-:


\begin{DoxyParams}{Parameters}
{\em device} & The {\bf Hurricane} A\-M\-S device into which the layout is drawn. \\
\hline
{\em capacitance} & The value of the capacitor, expressed in femto Farad (f\-F). \\
\hline
{\em capacitor\-Type} & Can be M\-I\-M or P\-I\-P type capacitor. \\
\hline
{\em abutment\-Position} & Refers to the abscissa (X\-Min) of the bottom left corner of the abutment Box. \\
\hline
{\em abutment\-Box\-Y\-Min} & Refers to the ordinate (Y\-Min) of the bottom left corner of the abutment Box.\\
\hline
\end{DoxyParams}
Except the two last arguments, all the parameters are common with the Capacitor\-Unit class because the {\ttfamily \hyperlink{classpython_1_1CapacitorMatrix_1_1CapacitorStack}{Capacitor\-Stack}} constructor calls the mother class constructor to create either a compact capacitor of {\ttfamily capacitance} value or {\ttfamily row\-Number$\ast$} {\ttfamily column\-Number} unity capacitors.


\begin{DoxyParams}{Parameters}
{\em row\-Number} & Number of rows in the matrix of capacitors. \\
\hline
{\em column\-Number} & Number of columns in the matrix of capacitors. \\
\hline
\end{DoxyParams}


References Capacitor\-Stack.\-\_\-\-\_\-are\-Input\-Data\-O\-K\-\_\-\-\_\-(), Capacitor\-Unit.\-\_\-\-\_\-compute\-Cap\-Dim\-\_\-\-\_\-(), Capacitor\-Stack.\-\_\-\-\_\-init\-Given\-Non\-Zero\-Unit\-Cap\-\_\-\-\_\-(), Capacitor\-Stack.\-\_\-\-\_\-init\-Given\-Non\-Zero\-Unit\-Cap\-In\-Matching\-Mode\-\_\-\-\_\-(), Capacitor\-Stack.\-\_\-\-\_\-init\-Given\-Zero\-Unit\-Cap\-\_\-\-\_\-(), Capacitor\-Stack.\-\_\-\-\_\-init\-Given\-Zero\-Unit\-Cap\-In\-Matching\-Mode\-\_\-\-\_\-(), Capacitor\-Stack.\-\_\-\-\_\-init\-Matrix\-Mode\-\_\-\-\_\-(), Capacitor\-Unit.\-\_\-\-\_\-is\-Capacitor\-Unit\-O\-K\-\_\-\-\_\-(), Capacitor\-Stack.\-abutment\-Box, Capacitor\-Unit.\-abutment\-Box, Capacitor\-Stack.\-abutment\-Box\-\_\-spacing, Capacitor\-Stack.\-abutment\-Box\-Position, Capacitor\-Stack.\-capacitance, Capacitor\-Stack.\-capacitor\-Id\-Occurence(), Capacitor\-Stack.\-capacitors\-Number, Capacitor\-Stack.\-capacitor\-Type, Capacitor\-Unit.\-capacitor\-Type, Capacitor\-Stack.\-compact\-Cap\-Dim, Capacitor\-Stack.\-compute\-Unit\-Cap(), Capacitor\-Stack.\-device, Capacitor\-Unit.\-device, Stack.\-device, Capacitor\-Stack.\-do\-Matrix, Capacitor\-Stack.\-dummy\-Element, Capacitor\-Stack.\-dummy\-Ring, Capacitor\-Stack.\-dummy\-Ring\-Position, Capacitor\-Stack.\-evaluate\-Unit\-Cap(), Capacitor\-Stack.\-matching\-Mode, Capacitor\-Stack.\-matching\-Scheme, Capacitor\-Stack.\-matrix\-Dim, Capacitor\-Stack.\-min\-Enclosure\-\_\-h\-Routing\-Layer\-\_\-top\-Plate\-\_\-cut, Capacitor\-Stack.\-min\-Enclosure\-\_\-v\-Routing\-Track\-Cut, Capacitor\-Stack.\-min\-Spacing\-\_\-v\-Routing\-Track, Capacitor\-Stack.\-min\-Spacing\-\_\-v\-Routing\-Track\-Cut, Capacitor\-Stack.\-min\-Width\-\_\-h\-Routing\-Layer\-\_\-top\-Plate\-\_\-cut, Capacitor\-Stack.\-min\-Width\-\_\-v\-Routing\-Track, Capacitor\-Stack.\-min\-Width\-\_\-v\-Routing\-Track\-Cut, Capacitor\-Stack.\-nets, Capacitor\-Stack.\-unit\-Capacitance, Capacitor\-Stack.\-unit\-Cap\-Dim, and Capacitor\-Stack.\-v\-Routing\-Track\-\_\-width.



\subsection{Member Function Documentation}
\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a4b59d20a15f0e548ed19c24814efbeb6}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!\-\_\-\-\_\-is\-Unit\-Cap\-\_\-\-\_\-@{\-\_\-\-\_\-is\-Unit\-Cap\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-is\-Unit\-Cap\-\_\-\-\_\-@{\-\_\-\-\_\-is\-Unit\-Cap\-\_\-\-\_\-}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{\-\_\-\-\_\-is\-Unit\-Cap\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def \-\_\-\-\_\-is\-Unit\-Cap\-\_\-\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a4b59d20a15f0e548ed19c24814efbeb6}
\begin{DoxyReturn}{Returns}
True if the drawn capacitor is a compact one. This function is useful when an instance is called in another class. {\bfseries Example} \-: when the matrix or the compact capacitors are to be fully routed. 
\end{DoxyReturn}
\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a8dbb6274d6cdbb570bdea61d09e54e73}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!\-\_\-\-\_\-is\-Matching\-Scheme\-O\-K\-\_\-\-\_\-@{\-\_\-\-\_\-is\-Matching\-Scheme\-O\-K\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-is\-Matching\-Scheme\-O\-K\-\_\-\-\_\-@{\-\_\-\-\_\-is\-Matching\-Scheme\-O\-K\-\_\-\-\_\-}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{\-\_\-\-\_\-is\-Matching\-Scheme\-O\-K\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def \-\_\-\-\_\-is\-Matching\-Scheme\-O\-K\-\_\-\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a8dbb6274d6cdbb570bdea61d09e54e73}
\begin{DoxyReturn}{Returns}
{\ttfamily True} if the matching scheme specifications are correct. Specifications are \-:
\begin{DoxyItemize}
\item Similar number of elements as total number of elementary capacitor in the matrix.
\item Equal number of affected capacitors to C1 as to C2.
\item Capacitor identifiers equal to '1' or '2' only.
\item Otherwise, the function returns {\ttfamily False}. 
\end{DoxyItemize}
\end{DoxyReturn}


References Capacitor\-Stack.\-matching\-Scheme, and Capacitor\-Stack.\-matrix\-Dim.



Referenced by Capacitor\-Stack.\-capacitor\-Id\-Occurence().

\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a8540eb76875171b18a3ae9e5e5f56fd3}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!capacitor\-Id\-Occurence@{capacitor\-Id\-Occurence}}
\index{capacitor\-Id\-Occurence@{capacitor\-Id\-Occurence}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{capacitor\-Id\-Occurence}]{\setlength{\rightskip}{0pt plus 5cm}def capacitor\-Id\-Occurence (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{capacitor\-Identifier}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a8540eb76875171b18a3ae9e5e5f56fd3}
\begin{DoxyReturn}{Returns}
occurence of capacitor identifier in the entered matching scheme. This is useful to verify that {\ttfamily self.\-matching\-Scheme} is correct. 
\end{DoxyReturn}


References Capacitor\-Stack.\-\_\-\-\_\-are\-Matrix\-Dim\-O\-K\-\_\-\-\_\-(), Capacitor\-Stack.\-\_\-\-\_\-is\-Matching\-Scheme\-O\-K\-\_\-\-\_\-(), Capacitor\-Stack.\-capacitors\-Number, Capacitor\-Stack.\-dummy\-Element, Capacitor\-Stack.\-dummy\-Ring, Capacitor\-Stack.\-matching\-Mode, Capacitor\-Stack.\-matching\-Scheme, and Capacitor\-Stack.\-nets.



Referenced by Capacitor\-Stack.\-\_\-\-\_\-init\-\_\-\-\_\-().

\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a5b7ef0221e471e99fa7f0a87a28ba1ea}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!create@{create}}
\index{create@{create}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}def create (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{bb\-Mode = {\ttfamily False}}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a5b7ef0221e471e99fa7f0a87a28ba1ea}


Draw the compact or matrix of capacitors. 

First, . Second, . Finally, . 

References Capacitor\-Stack.\-\_\-\-\_\-init\-Matching\-Mode\-\_\-\-\_\-(), Capacitor\-Stack.\-abutment\-Box\-\_\-spacing, Capacitor\-Stack.\-abutment\-Box\-Position, Capacitor\-Stack.\-capacitance, Capacitor\-Stack.\-capacitor\-Matrix(), Capacitor\-Stack.\-capacitor\-Type, Capacitor\-Unit.\-capacitor\-Type, Capacitor\-Stack.\-compute\-Bonding\-Box\-Dimensions(), Capacitor\-Stack.\-device, Capacitor\-Unit.\-device, Stack.\-device, Capacitor\-Stack.\-do\-Matrix, Capacitor\-Stack.\-draw\-Abutment\-Box(), Capacitor\-Unit.\-draw\-Abutment\-Box(), Capacitor\-Stack.\-draw\-Bottom\-Plates\-R\-Layers(), Capacitor\-Stack.\-draw\-Capacitor\-Stack(), Capacitor\-Stack.\-draw\-Top\-Plates\-R\-Layers(), Capacitor\-Stack.\-dummy\-Ring, Capacitor\-Stack.\-matching\-Mode, Capacitor\-Stack.\-matrix\-Dim, Capacitor\-Stack.\-nets, Capacitor\-Stack.\-set\-Rules(), and Capacitor\-Unit.\-set\-Rules().



Referenced by Capacitor\-Stack.\-capacitor\-Line(), and Capacitor\-Stack.\-capacitor\-Matrix().

\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a0357fcbd57878fb26a1b994b13bb0cf7}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!capacitor\-Line@{capacitor\-Line}}
\index{capacitor\-Line@{capacitor\-Line}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{capacitor\-Line}]{\setlength{\rightskip}{0pt plus 5cm}def capacitor\-Line (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{dy, }
\item[{}]{abutment\-Box\-\_\-spacing, }
\item[{}]{matching\-Scheme\-Row\-Index = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a0357fcbd57878fb26a1b994b13bb0cf7}


Iteratively draws a horizontal or vertical line of capacitors according to the {\ttfamily direction} parameter. 

An exception is raised if the specified direction is different from {\ttfamily \{'horizontal'},'vertical'\}. At every iteration, an instance of the Capacitor\-Unit class is created and its layout is drawn. \begin{DoxyReturn}{Returns}
a list containing the drawn capacitors. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em dy} & the vertical position of the first cut in cut line. \\
\hline
\end{DoxyParams}
\begin{DoxyRemark}{Remarks}
An exception is raised if the specified direction is different from {\ttfamily \{'horizontal'},'vertical'\} 
\end{DoxyRemark}


References Capacitor\-Stack.\-abutment\-Box\-Position, Capacitor\-Stack.\-capacitor\-Type, Capacitor\-Unit.\-capacitor\-Type, Capacitor\-Stack.\-create(), Capacitor\-Stack.\-create\-Element\-In\-Capacitor\-Line(), Capacitor\-Stack.\-device, Capacitor\-Unit.\-device, Stack.\-device, Capacitor\-Stack.\-dummy\-Ring, Capacitor\-Stack.\-matching\-Mode, Capacitor\-Stack.\-matching\-Scheme, Capacitor\-Stack.\-matrix\-Dim, Capacitor\-Stack.\-nets, and Capacitor\-Stack.\-unit\-Capacitance.



Referenced by Capacitor\-Stack.\-capacitor\-Matrix().

\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_acd1475de157c5375cd58ccf98f825055}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!capacitor\-Matrix@{capacitor\-Matrix}}
\index{capacitor\-Matrix@{capacitor\-Matrix}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{capacitor\-Matrix}]{\setlength{\rightskip}{0pt plus 5cm}def capacitor\-Matrix (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{abutment\-Box\-\_\-spacing = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_acd1475de157c5375cd58ccf98f825055}


Draws a matrix of identical capacitors. 

The matrix is iterativelly constructed. At every iteration, a new horizontal line of capacitors is drawn. \begin{DoxyReturn}{Returns}
a nested list of elementary capacitors. 
\end{DoxyReturn}


References Capacitor\-Stack.\-abutment\-Box\-\_\-spacing, Capacitor\-Stack.\-abutment\-Box\-Position, Capacitor\-Stack.\-capacitor\-Line(), Capacitor\-Stack.\-capacitor\-Type, Capacitor\-Unit.\-capacitor\-Type, Capacitor\-Stack.\-create(), Capacitor\-Stack.\-device, Capacitor\-Unit.\-device, Stack.\-device, Capacitor\-Stack.\-dummy\-Ring, Capacitor\-Stack.\-get\-Cap\-Dim(), Capacitor\-Stack.\-matrix\-Dim, Capacitor\-Stack.\-nets, and Capacitor\-Stack.\-unit\-Capacitance.



Referenced by Capacitor\-Stack.\-create().

\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac5cd73be473bc321a29a75311f808835}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!draw\-Abutment\-Box@{draw\-Abutment\-Box}}
\index{draw\-Abutment\-Box@{draw\-Abutment\-Box}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{draw\-Abutment\-Box}]{\setlength{\rightskip}{0pt plus 5cm}def draw\-Abutment\-Box (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{abutment\-Box\-\_\-spacing = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac5cd73be473bc321a29a75311f808835}


Draws the abutment box of the matrix or campact capacitor. 



References Capacitor\-Stack.\-abutment\-Box, Capacitor\-Unit.\-abutment\-Box, Capacitor\-Stack.\-abutment\-Box\-\_\-spacing, Capacitor\-Stack.\-abutment\-Box\-Position, Capacitor\-Stack.\-compute\-Abutment\-Box\-Dimensions(), and Capacitor\-Unit.\-compute\-Abutment\-Box\-Dimensions().



Referenced by Capacitor\-Stack.\-create().

\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac815a7351301379178cd6352e6ee46cd}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!draw\-Bottom\-Plates\-R\-Layers@{draw\-Bottom\-Plates\-R\-Layers}}
\index{draw\-Bottom\-Plates\-R\-Layers@{draw\-Bottom\-Plates\-R\-Layers}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{draw\-Bottom\-Plates\-R\-Layers}]{\setlength{\rightskip}{0pt plus 5cm}def draw\-Bottom\-Plates\-R\-Layers (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{bottom\-Plate\-R\-Layer, }
\item[{}]{drawn\-Capacitor}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac815a7351301379178cd6352e6ee46cd}


Draws the routing layers connecting the bottom plate in the matrix of capacitors. 

First, the relative positions of the routing layer is of the is extracted from the elementary capacitor instance. Then, its width is computed in a way to connect adjacent plates. Then, the routing layers are iterativelly drawn. The two borders are . 

References Capacitor\-Stack.\-matrix\-Dim, and Capacitor\-Stack.\-nets.



Referenced by Capacitor\-Stack.\-create().

\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac4efd1ea3fef3eaa9a07798c9157ea11}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!draw\-Top\-Plates\-R\-Layers@{draw\-Top\-Plates\-R\-Layers}}
\index{draw\-Top\-Plates\-R\-Layers@{draw\-Top\-Plates\-R\-Layers}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{draw\-Top\-Plates\-R\-Layers}]{\setlength{\rightskip}{0pt plus 5cm}def draw\-Top\-Plates\-R\-Layers (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{top\-Plate\-R\-Layer, }
\item[{}]{drawn\-Capacitor}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_ac4efd1ea3fef3eaa9a07798c9157ea11}


Draws the routing layers connecting the top plates in the matrix of capacitors. 

First, the relative positions of the routing layers is of the is extracted from the elementary capacitor instance. Then, its width is computed in a way to connect adjacent plates. Then, the routing layers are iterativelly drawn. The two borders are . \begin{DoxyRemark}{Remarks}
An exception is raised if the number of rows in the matrix is lower than 2. 
\end{DoxyRemark}


References Capacitor\-Stack.\-matrix\-Dim, and Capacitor\-Stack.\-nets.



Referenced by Capacitor\-Stack.\-create().

\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a54ac11219d9fce4c7336f4a50e69959a}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!get\-Vertical\-Routing\-Track\-\_\-width@{get\-Vertical\-Routing\-Track\-\_\-width}}
\index{get\-Vertical\-Routing\-Track\-\_\-width@{get\-Vertical\-Routing\-Track\-\_\-width}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{get\-Vertical\-Routing\-Track\-\_\-width}]{\setlength{\rightskip}{0pt plus 5cm}def get\-Vertical\-Routing\-Track\-\_\-width (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a54ac11219d9fce4c7336f4a50e69959a}
\begin{DoxyReturn}{Returns}
The width of the vertical routing tracks in matching mode. 
\end{DoxyReturn}
\begin{DoxyParagraph}{Remark\-:}
This function is useful in matching mode, ie., in  Rout\-Capacitor class, when routing the two capacitors. 
\end{DoxyParagraph}
\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_af5105be38ca05d15559b998f1da475df}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!get\-Matrix\-Dim@{get\-Matrix\-Dim}}
\index{get\-Matrix\-Dim@{get\-Matrix\-Dim}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{get\-Matrix\-Dim}]{\setlength{\rightskip}{0pt plus 5cm}def get\-Matrix\-Dim (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_af5105be38ca05d15559b998f1da475df}
\begin{DoxyReturn}{Returns}
A dictionary contaning capacitor matrix's dimensions 
\end{DoxyReturn}


References Capacitor\-Stack.\-compact\-Cap\-Dim, and Capacitor\-Stack.\-do\-Matrix.

\hypertarget{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a73209c91d8a68eb52e957dee22e05a55}{\index{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}!get\-Matching\-Scheme@{get\-Matching\-Scheme}}
\index{get\-Matching\-Scheme@{get\-Matching\-Scheme}!python::CapacitorMatrix::CapacitorStack@{python\-::\-Capacitor\-Matrix\-::\-Capacitor\-Stack}}
\subsubsection[{get\-Matching\-Scheme}]{\setlength{\rightskip}{0pt plus 5cm}def get\-Matching\-Scheme (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classpython_1_1CapacitorMatrix_1_1CapacitorStack_a73209c91d8a68eb52e957dee22e05a55}
\begin{DoxyReturn}{Returns}
the matching scheme. The function is useful in {\ttfamily Rout\-Matched\-Capacitor} class to load {\ttfamily self.\-matching\-Scheme} attribute. 
\end{DoxyReturn}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Capacitor\-Matrix.\-py\end{DoxyCompactItemize}
