~ubuntu-branches/ubuntu/wily/rheolef/wily

« back to all changes in this revision

Viewing changes to doc/pexamples/sinusprod_laplace.icc

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito, Pierre Saramito, Sylvestre Ledru
  • Date: 2013-04-30 11:29:51 UTC
  • mfrom: (1.2.1) (11.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130430112951-g69nuqin77t75dek
Tags: 6.4-1
[ Pierre Saramito ]
* New upstream release 6.4 (major changes):
  - new powerful c++ expressions for FEM specifications
  - configure script improved (portability increased)
  - minor bug fixes
* control:
  - all architectures are considered (armel & armhf are back)
  - no more circular-dependency librheolef-dev <--> rheolef
* rules: add security compiler flags (hardening and -W,-l,relro)
* watch: include an updated version, thanks to B. Martens <bartm@debian.org>
* copyright: various file format fixes

[ Sylvestre Ledru ]
*  Standards-Version updated to 3.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "sinusprod.icc"
2
 
struct f : std::unary_function<point,Float> {
 
2
struct f : field_functor<f,Float> {
3
3
  Float operator() (const point& x) const { return d*sqr(pi)*_u(x); }
4
4
  f(size_t d1) : d(d1), _u(d1) {}
5
5
  size_t d;
6
6
  u _u;
7
7
};
8
 
struct g : std::unary_function<point,Float> {
 
8
struct g : field_functor<g,Float> {
9
9
  Float operator() (const point& x) const {
10
10
    switch (d) {
11
11
     case 0:  return 0;