--- a +++ b/doc/API/assemble_system.tex @@ -0,0 +1,21 @@ +% This file was converted from HTML to LaTeX with +% gnuhtml2latex program +% (c) Tomasz Wegrzanowski <maniek@beer.com> 1999 +% (c) Gunnar Wolf <gwolf@gwolf.org> 2005-2010 +% Version : 0.4. + +\par Function File: [\textit{A}], [\textit{b}], [\textit{x}(Optional)] \textbf{=}\textit{ assemble\_system }(\textit{form\_a, form\_L, DirichletBC})\textit{}\\ +\begin{quotation}\par Construct the discretization of a system and apply essential BC. +The input arguments are + \begin{itemize} +\item \textit{form\_a} which is the BilinearForm to assemble. +\item \textit{form\_L} which is the LinearForm to assemble. +\item \textit{DirichletBC} represents the optional BC applied to the system. +\end{itemize} + The output \textit{A} is a matrix representing the \textit{form\_a} while \textit{b} represents \textit{form\_L}. +If boundary conditions have to be applied to a vector for a nonlinear problem then it should be provide as 3rd argument and it will be given back as the 3rd output argument. For an example of this situation, please refer to the HyperElasticity example. + + \par \textbf{See also:} BilinearForm, LinearForm, ResidualForm, JacobianForm, Functional. + + \end{quotation} +