File: constant.h

package info (click to toggle)
stopt 5.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,772 kB
  • sloc: cpp: 70,373; python: 5,942; makefile: 67; sh: 57
file content (20 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2016 EDF
// All Rights Reserved
// This code is published under the GNU Lesser General Public License (GNU LGPL)
#ifndef CONSTANT_H
#define CONSTANT_H
/** \file constant.h
 *  \brief Define constants for program
 *  \author Xavier Warin
 */
namespace StOpt
{

static const double zero = 0. ; ///< Zero values
static const int  ulp   =  10;  ///< units in the last place for double comparison
static const double infty = 1.e30;
static const double small = 1e-3;
static const double tiny = 1e-9;

}
#endif /* CONSTANT_H */