home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.12.0
The Integrative Modeling Platform
IMP Manual
Reference Guide
Tutorial Index
Modules
Classes
Examples
include
IMP
version 2.12.0
constants.h
Go to the documentation of this file.
1
/**
2
* \file IMP/constants.h \brief Various useful constants.
3
*
4
* Copyright 2007-2019 IMP Inventors. All rights reserved.
5
*
6
*/
7
8
#ifndef IMPKERNEL_CONSTANTS_H
9
#define IMPKERNEL_CONSTANTS_H
10
11
#include <IMP/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::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::BAD_SCORE
const double BAD_SCORE
constants.h
Various useful constants.