Feature/user doc
Compare changes
- Stéphane Del Pino authored
+ 258
− 222
@@ -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
@@ -869,10 +870,10 @@ 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. ~++~
@@ -1287,26 +1326,26 @@ This code produces
@@ -1329,7 +1368,7 @@ they follow a few rules.
@@ -1386,7 +1425,7 @@ they follow a few rules.
@@ -1528,7 +1567,7 @@ they follow a few rules.
@@ -1591,7 +1630,7 @@ the output is
@@ -1610,7 +1649,7 @@ script).
@@ -1620,7 +1659,7 @@ operators can never be applied to variables of this kind
@@ -1650,10 +1689,10 @@ In this example, we are dealing with 3 ~mesh~ variables.
@@ -1721,8 +1760,8 @@ It produces the following error
@@ -1755,9 +1794,9 @@ is the operator ~=~.
@@ -1801,7 +1840,7 @@ Observe that the special value ~0~ is used there.
@@ -1816,10 +1855,10 @@ boundary conditions to a method.
@@ -1902,11 +1941,11 @@ are optional. The ~condition~ argument, if it is present, *must* be a
@@ -1986,7 +2025,7 @@ The ~statement~ is either a single instruction or a block of
@@ -2087,10 +2126,10 @@ act as operators.
@@ -2167,10 +2206,10 @@ Using compound types as input and output, one can write
@@ -2187,7 +2226,7 @@ This gives the expected result: the value of the variable ~a~ is
@@ -2209,8 +2248,8 @@ in function expressions.
@@ -2231,7 +2270,7 @@ output since ~cout~ does not handle compound types output. One gets
@@ -2282,19 +2321,19 @@ produces the following compilation time error
@@ -2323,7 +2362,7 @@ mathematical functions, one writes in the preamble of the script
@@ -2332,22 +2371,21 @@ A work in progress
@@ -2387,7 +2425,7 @@ operator ~<<~ is an ~ostream~, the result of the operation is also an
@@ -2423,8 +2461,7 @@ name of the function and its input and output sets.
@@ -2475,8 +2512,8 @@ Running this example gives
@@ -2484,10 +2521,8 @@ name existed, it is *erased*.
@@ -2558,15 +2593,15 @@ their ~C++~ man pages for details.
@@ -2582,23 +2617,23 @@ a ~mesh~ that is either designated by an integer or by a ~string~.
@@ -2634,7 +2669,7 @@ This type is used to designate kinds of items (cell, face, edge or node).
@@ -2645,17 +2680,17 @@ By now, no mathematical operation is defined on ~item_value~ variables.
@@ -2695,7 +2730,7 @@ Creates a zone descriptor from a ~string~ name
@@ -2707,9 +2742,9 @@ Associates a zone descriptor from zone tag
@@ -2866,8 +2901,8 @@ The ~mesh~ is represented in Figure [[fig:gmsh-hybrid-2d]].
@@ -2919,7 +2954,7 @@ The ~mesh~ is represented in Figure [[fig:gmsh-hybrid-2d]].
@@ -2931,7 +2966,9 @@ available in parallel
@@ -2964,8 +3001,8 @@ In this example, we set three arrays defined at all nodes, all the
@@ -2983,7 +3020,7 @@ write_mesh(gnuplot_writer("transformed"), m1);
@@ -3067,10 +3104,10 @@ different meshes produced in this example are displayed in Figure
@@ -3219,7 +3256,7 @@ operand.
@@ -3228,7 +3265,7 @@ The following functions
@@ -3237,7 +3274,7 @@ The following functions
@@ -3373,7 +3410,7 @@ data.
@@ -3448,11 +3485,11 @@ dimension 3.
@@ -3493,7 +3530,7 @@ dimension 3.
@@ -3511,8 +3548,8 @@ Let us consider the following example
@@ -3534,7 +3571,7 @@ cells.
@@ -3653,9 +3690,9 @@ sets of cells where to integrate the list of user functions.
@@ -3666,7 +3703,7 @@ described in this section. These function share some properties.
@@ -3679,10 +3716,10 @@ One should refer to the section [[boundary-condition-descriptor]] for a
@@ -3819,13 +3856,12 @@ functions may vary.
@@ -3837,8 +3873,8 @@ For instance, if an algorithm or a method requires a set of nodes to
@@ -3850,7 +3886,7 @@ that the given boundary is actually *straight* or *planar*.
@@ -3887,7 +3923,8 @@ This function returns the quadrature descriptor associated to Gauss
@@ -3907,8 +3944,8 @@ degree given in argument.
@@ -3918,9 +3955,9 @@ degree given in argument.
@@ -3994,7 +4031,7 @@ no effect.
@@ -4091,7 +4128,7 @@ Let us consider the following example
@@ -4105,7 +4142,7 @@ The following constructions are allowed for ~*~ operator.
@@ -4151,8 +4188,8 @@ An important function is
@@ -4225,14 +4262,14 @@ different.
@@ -4359,7 +4396,7 @@ of ~fh~.
@@ -4395,14 +4432,14 @@ This function give a name to an ~item_value~.
@@ -4456,15 +4493,15 @@ dimension 1 and 2 (~gnuplot_writer~).
@@ -4487,11 +4524,11 @@ Here is an example of preamble of a produced ~gnuplot~ file.
@@ -4570,8 +4607,8 @@ A typical use of this writer is the following.
@@ -4613,8 +4650,8 @@ Running this example produces the following files
@@ -4625,9 +4662,9 @@ times:
@@ -4665,7 +4702,7 @@ Figure [[fig:writer-gp-sin]].
@@ -4713,7 +4750,7 @@ The gnuplot result is displayed on Figure [[fig:writer-gp-2d-cos-sin]].
@@ -4721,8 +4758,8 @@ For more complex post processing (including 3d), ~pugs~ can generate ~vtk~
@@ -4730,7 +4767,7 @@ Observe that each of these files (~vtu~, ~pvtu~ and ~pvd~) contains a
@@ -4744,10 +4781,9 @@ produced ~pvd~ file is built by adding ~.pvd~ to the provided ~string~.
@@ -4755,9 +4791,9 @@ effectively generate the post processing files.
@@ -4854,7 +4890,7 @@ share the same connectivity with the ~mesh~.
@@ -4904,8 +4940,8 @@ Running this example produces the following files