~ubuntu-branches/ubuntu/raring/rheolef/raring-proposed

« back to all changes in this revision

Viewing changes to doc/pusrman/dirichlet.tex

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito, Pierre Saramito, Sylvestre Ledru
  • Date: 2012-05-14 14:02:09 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120514140209-dzbdlidkotyflf9e
Tags: 6.1-1
[ Pierre Saramito ]
* New upstream release 6.1 (minor changes):
  - support arbitrarily polynomial order Pk
  - source code supports g++-4.7 (closes: #671996)

[ Sylvestre Ledru ]
* update of the watch file

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
    using namespace std;
137
137
  \end{lstlisting}
138
138
  By default, in order to avoid possible name conflicts when using another library,
139
 
  all classe and function names are prefixed by \code{rheolef::}, as in~\code{rheolef::space}.
 
139
  all class and function names are prefixed by \code{rheolef::}, as in~\code{rheolef::space}.
140
140
  This feature is called the name space.
141
141
  Here, since there is no possible conflict, and in order to simplify the syntax, we drop all the
142
142
  \code{rheolef::} prefixes, and do the same with the standard \code{c++} library classes and
157
157
\cindex{distributed computation}%
158
158
\cindex{parallel computation}%
159
159
\toindex{library!boost}%
160
 
  These two command line parameters are immediatly furnished to the 
 
160
  These two command line parameters are immediately furnished to the 
161
161
  distributed environment initializer of the \code{boost::mpi} library, that is
162
162
  a \code{c++} library based on the usual message passing interface ({\sc mpi}) library.
163
 
  Notice that this initialization is requiered, even when you run with only one processor.
 
163
  Notice that this initialization is required, even when you run with only one processor.
164
164
  \begin{lstlisting}[numbers=none,frame=none]
165
165
    geo omega (argv[1]);
166
166
  \end{lstlisting}
288
288
  \begin{lstlisting}[numbers=none,frame=none]
289
289
    uh.set_u() = sa.solve (lh.u() - a.ub()*uh.b());
290
290
  \end{lstlisting}
291
 
\cindex{algorithm!conjugate gradient}%
 
291
\cindex{method!conjugate gradient algorithm}%
292
292
\cindex{preconditioner!Choleski incomplete factorization}%
293
293
  When $d>3$, a faster iterative strategy is automatically preferred
294
294
  by the {\tt solver} class for solving
484
484
      geo cube.geo -stereo -cut
485
485
  \end{verbatim}
486
486
  The previous commands draw the mesh with all internal edges (\code{-full}),
487
 
  stereoscopic anaglyph (\code{-stereo})and then with a cut (\code{-cut}
 
487
  stereoscopic anaglyph (\code{-stereo})and then with a cut (\code{-cut})
488
488
  inside the internal structure:
489
489
  a simple click on the central arrow draws the cut plane normal vector
490
490
  or its origin, while the red square allows a translation.
539
539
%      \item blue~: \fbox{Button-3} or \fbox{Ctrl-Button-1}
540
540
%   \end{itemize}
541
541
% \fiindex{\file{.vtk} mesh and field data}
542
 
  After this exploration of the 3D visualisation capacities of our environment,
 
542
  After this exploration of the 3D visualization capacities of our environment,
543
543
  let us go back to the Dirichlet problem and
544
544
  perform the \code{P2} approximation:
545
545
  \begin{verbatim}
546
546
      ./dirichlet cube.geo P2 | field -
547
547
  \end{verbatim}
548
548
% ----------------------------------------------------------------
549
 
\section{Quandrangles, prisms and hexahedra}
 
549
\section{Quadrangles, prisms and hexahedra}
550
550
% ----------------------------------------------------------------
551
551
Quadrangles and hexahedra are also supported in meshes:
552
552
\pindex{mkgeo\_grid!-q}%