Previous Up Next
Previous: 3.9.5 One Dimensional Plots
Up: 3.9 Other features
Next: 3.9.7 Exec(), user(), how to link an external function to Gfem

3.9.6 Precise

This keyword warns Gfem that precise quadrature formula must be used. Hence array-functions are discretized as piecewise linear discontinuous functions on the triangulation. Then all integrals are computed with 3 inner Gauss points slightly inside each triangle.

This option consumes more memory (3nt instead of ns per functions, i.e. 9 times more approximately, but still it is nothing compared with the memory that a matrix of the linear system of a PDE requires) because each array-function is stored by 3 values on each triangles.

It is a good idea to use it in conjunction with convect and/or discontinuous nonlinear terms.


Christophe Prud'homme

Previous Up Next