Feature/user doc
Compare changes
- Stéphane Del Pino authored
+ 165
− 131
@@ -149,7 +149,7 @@ already be discussed.
@@ -181,13 +181,13 @@ boundary conditions, equations of state, source terms for a specific
@@ -200,9 +200,9 @@ There are lots of reasons not to use data files. By data file, we
@@ -215,7 +215,7 @@ methods or their settings.
@@ -237,10 +237,10 @@ files or scripts), but it presents several drawbacks.
@@ -259,7 +259,7 @@ solution to all problems. However, it offers some advantages.
@@ -292,10 +292,10 @@ developer, by reading it, the user will have a better understanding of
@@ -307,7 +307,7 @@ writing of new methods.
@@ -324,7 +324,7 @@ writing of new methods.
@@ -332,12 +332,12 @@ writing of new methods.
@@ -348,7 +348,7 @@ too much freedom: it is not easy to protect data. For instance in the
@@ -363,7 +363,7 @@ Finally, python is ugly.
@@ -409,7 +409,7 @@ define high-level optimizations.
@@ -430,8 +430,8 @@ linefeed string (there is no character type in ~pugs~, just strings).
@@ -443,7 +443,7 @@ To declare a variable ~v~ of a given type ~V~, one simply writes
@@ -589,7 +589,7 @@ we give a few examples.
@@ -613,9 +613,9 @@ read.
@@ -624,14 +624,15 @@ in ~pugs~ and are *not implicitly* convertible from one to the other!
@@ -639,8 +640,8 @@ This may sound strange but there are few reasons for that.
@@ -735,9 +736,9 @@ which is not a surprise. However, the use of the ~+=~ operator results
@@ -868,11 +869,11 @@ are sorted by type of left hand side variable.
@@ -971,6 +972,27 @@ are sorted by type of left hand side variable.
@@ -1044,6 +1066,23 @@ are sorted by type of left hand side variable.
@@ -1181,8 +1220,8 @@ are sorted by type of left hand side variable.
@@ -1234,7 +1273,7 @@ The ~not~, ~+~ and ~-~ operators apply to the *expression* on their right. ~++~
@@ -1591,7 +1630,7 @@ the output is
@@ -1620,7 +1659,7 @@ operators can never be applied to variables of these kinds
@@ -1721,8 +1760,8 @@ It produces the following error
@@ -1816,7 +1855,7 @@ boundary conditions to a method.
@@ -2087,10 +2126,10 @@ act as operators.
@@ -2167,7 +2206,7 @@ Using compound types as input and output, one can write
@@ -2209,7 +2248,7 @@ in function expressions.
@@ -2231,7 +2270,7 @@ output since ~cout~ does not handle compound types output. One gets
@@ -2282,9 +2321,9 @@ produces the following compilation time error
@@ -2294,7 +2333,7 @@ functions. They differ from user-defined functions in three points.
@@ -2323,7 +2362,7 @@ mathematical functions, one writes in the preamble of the script
@@ -2332,7 +2371,7 @@ A work in progress
@@ -2386,7 +2425,7 @@ operator ~<<~ is an ~ostream~, the result of the operation is also an
@@ -2422,8 +2461,7 @@ name of the function and its input and output sets.
@@ -2483,10 +2521,8 @@ name existed, it is *erased*.
@@ -2557,9 +2593,9 @@ their ~C++~ man pages for details.
@@ -2581,7 +2617,7 @@ a ~mesh~ that is either designated by an integer or by a ~string~.
@@ -2592,7 +2628,7 @@ items).
@@ -2707,8 +2743,7 @@ cartesian grid is aligned with the axis and made of identical cells.
@@ -2918,7 +2953,7 @@ The ~mesh~ is represented in Figure [[fig:gmsh-hybrid-2d]].
@@ -2984,7 +3019,7 @@ write_mesh(gnuplot_writer("transformed"), m1);
@@ -3220,7 +3255,7 @@ operand.
@@ -3229,7 +3264,7 @@ The following functions
@@ -3238,7 +3273,7 @@ The following functions
@@ -3449,11 +3484,11 @@ dimension 3.
@@ -3512,8 +3547,8 @@ Let us consider the following example
@@ -3535,7 +3570,7 @@ cells.
@@ -3667,7 +3702,7 @@ described in this section. These functions share some properties.
@@ -3680,10 +3715,10 @@ One should refer to the section [[boundary-condition-descriptor]] for a
@@ -3820,8 +3855,7 @@ functions may vary.
@@ -3838,8 +3872,8 @@ For instance, if an algorithm or a method requires a set of nodes to
@@ -3888,7 +3922,8 @@ This function returns the quadrature descriptor associated to Gauss
@@ -3908,8 +3943,8 @@ degree given in argument.
@@ -3919,9 +3954,9 @@ degree given in argument.
@@ -3995,7 +4030,7 @@ no effect.
@@ -4092,7 +4127,7 @@ Let us consider the following example
@@ -4226,7 +4261,7 @@ different.
@@ -4463,9 +4498,9 @@ series.
@@ -4488,11 +4523,11 @@ Here is an example of preamble of a produced ~gnuplot~ file.
@@ -4571,8 +4606,8 @@ A typical use of this writer is the following.
@@ -4626,9 +4661,9 @@ saving times:
@@ -4714,7 +4749,7 @@ The gnuplot result is displayed on Figure [[fig:writer-gp-2d-cos-sin]].
@@ -4722,7 +4757,7 @@ For more complex post processing (including 3d), ~pugs~ can generate ~vtk~
@@ -4731,7 +4766,7 @@ Observe that each of these files (~vtu~, ~pvtu~ and ~pvd~) contains a
@@ -4745,10 +4780,9 @@ produced ~pvd~ file is built by adding ~.pvd~ to the provided ~string~.
@@ -4855,7 +4889,7 @@ share the same connectivity with the ~mesh~.
@@ -4905,8 +4939,8 @@ Running this example produces the following files