IMP
2.3.1
The Integrative Modeling Platform
IMP Mainpage
Modules
Applications
Related Pages
Groups
Classes
Files
Examples
Indexes
File List
File Members
kernel/constants.h
Go to the documentation of this file.
1
/**
2
* \file IMP/kernel/constants.h \brief Various useful constants.
3
*
4
* Copyright 2007-2014 IMP Inventors. All rights reserved.
5
*
6
*/
7
8
#ifndef IMPKERNEL_CONSTANTS_H
9
#define IMPKERNEL_CONSTANTS_H
10
11
#include <IMP/kernel/kernel_config.h>
12
#include <
IMP/algebra/constants.h
>
13
#include <cmath>
14
15
IMPKERNEL_BEGIN_NAMESPACE
16
#if !defined(IMP_DOXYGEN) && !defined(SWIG)
17
static
const
double
PI
=
algebra::PI
;
18
#endif
19
20
//! Use this value when you want to turn off maximum for restraint evaluation
21
IMPKERNELEXPORT
extern
const
double
NO_MAX
;
22
/** Evaluation can return this value if limits are exceeded and
23
it is a ScoringFunction::evaluate_if_below() or
24
ScoringFunction::evaluate_if_good
25
*/
26
IMPKERNELEXPORT
extern
const
double
BAD_SCORE
;
27
IMPKERNEL_END_NAMESPACE
28
29
#endif
/* IMPKERNEL_CONSTANTS_H */
IMP::kernel::NO_MAX
const double NO_MAX
Use this value when you want to turn off maximum for restraint evaluation.
IMP::algebra::PI
static const double PI
the constant pi
Definition:
algebra/constants.h:21
IMP::kernel::BAD_SCORE
const double BAD_SCORE
constants.h
Various useful constants.