📄 design.tex
字号:
\chapter{Design}This chapter discusses details of the design of \dolfin{} and isintended mainly for developers of \dolfin{}.\section{Linear algebra}The linear algebra library provides a uniform interface to uBlasand PETSc linear algebra through a set of wrappers for basic datastructures (matrices and vectors) and solvers, such as Krylov subspacesolvers with preconditioners.For both sets of wrappers, a common interface is defined by theclasses \texttt{GenericMatrix} and \texttt{GenericVector}. \dolfin{}provides a number of algorithms, most notably the assembly algorithms,that work only through the common interface, which means that thesealgorithms work for any given representation that implements theinterface specified by \texttt{GenericMatrix} or\texttt{GenericVector}. A class diagram for the \dolfin{} linearalgebra implementation is given in Figure~\ref{fig:laclasses}.\begin{figure}[htbp] \begin{center} \includegraphics[width=0.95\textwidth]{eps/class-diagram-la.eps} \caption{Class diagram of the linear algebra classes in \dolfin{}.} \label{fig:laclasses} \end{center}\end{figure}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -