~ubuntu-branches/debian/squeeze/gmsh/squeeze

« back to all changes in this revision

Viewing changes to Numeric/gmshFunction.h

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2009-01-07 16:02:08 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090107160208-vklhtj69br5yw5bh
Tags: 2.2.6.dfsg-2
* debian/control: fixed lintian warning "debhelper-but-no-misc-depends"
* debian/watch: fixed lintian warning
  "debian-watch-file-should-mangle-version"

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Gmsh - Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
 
2
//
 
3
// See the LICENSE.txt file for license information. Please report all
 
4
// bugs and problems to <gmsh@geuz.org>.
 
5
 
 
6
#ifndef _GMSH_FUNCTION_H_
 
7
#define _GMSH_FUNCTION_H_
 
8
 
 
9
class gmshFunction {
 
10
  double _val;
 
11
 public :
 
12
  gmshFunction(double val = 0) : _val(val) {}
 
13
  virtual ~gmshFunction(){}
 
14
  virtual double operator () (double x, double y, double z) const { return _val; }
 
15
};
 
16
 
 
17
#endif