~ubuntu-branches/ubuntu/wily/dolfin/wily-proposed

« back to all changes in this revision

Viewing changes to test/unit/function/cpp/Expression.cpp

  • Committer: Package Import Robot
  • Author(s): Johannes Ring
  • Date: 2015-03-17 07:57:11 UTC
  • mfrom: (1.1.18) (19.1.24 experimental)
  • Revision ID: package-import@ubuntu.com-20150317075711-1v207zbty9qmygow
Tags: 1.5.0-1
* New upstream release (closes: #780359).
* debian/control:
  - Bump Standards-Version to 3.9.6 (no changes needed).
  - Bump X-Python-Version to >= 2.7.
  - Update package names for new SONAME 1.5 (libdolfin1.4 ->
    libdolfin1.5, libdolfin1.4-dbg -> libdolfin1.5-dbg and
    libdolfin1.4-dev -> libdolfin1.5-dev).
  - Bump minimum required version for python-instant, python-ufl and
    python-ffc to 1.5.0.
  - Add python-sympy and python-six to Depends for binary package
    python-dolfin.
  - Add dh-python to Build-Depends.
  - Remove libcgal-dev from {Build-}Depends.
* Remove CSGCGALMeshGenerator3D-oom.patch since CGAL is no longer used
  by DOLFIN.
* Move debian/libdolfin1.4.install -> debian/libdolfin1.5.install.
* debian/rules: No longer any non DFSG-free stuff to remove, so update
  get-orig-source target (update debian/watch accordingly).
* Update debian/copyright and debian/copyright_hints.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
// Modified by Benjamin Kehlet 2012
21
21
//
22
22
// First added:  2007-05-24
23
 
// Last changed: 2012-11-12
 
23
// Last changed: 2014-08-12
24
24
//
25
25
// Unit tests for the function library
26
26
 
83
83
                                 sin(3.0*x[0])*sin(3.0*x[1])*sin(3.0*x[2]),
84
84
                                 DOLFIN_EPS);
85
85
 
86
 
    #ifdef HAS_CGAL
87
86
    if (dolfin::MPI::size(mesh.mpi_comm()) == 1)
88
87
    {
89
88
      // Test evaluation of a discrete function
99
98
      g.eval(u1, x);
100
99
      CPPUNIT_ASSERT(std::abs(u0[0]-u1[0]) < tol);
101
100
    }
102
 
    #endif
103
101
  }
104
102
};
105
103