Unverified Commit 8dd60914 authored by Tristan Croll's avatar Tristan Croll Committed by GitHub
Browse files

Merge pull request #3 from openmm/master

Sync with official repo
parents 3475b790 75c1fcb6
......@@ -196,10 +196,11 @@ class Simulation(object):
while stepsToGo > 10:
self.integrator.step(10) # Only take 10 steps at a time, to give Python more chances to respond to a control-c.
stepsToGo -= 10
self.currentStep += 10
if endTime is not None and datetime.now() >= endTime:
return
self.integrator.step(stepsToGo)
self.currentStep += nextSteps
self.currentStep += stepsToGo
if anyReport:
# One or more reporters are ready to generate reports. Organize them into three
# groups: ones that want wrapped positions, ones that want unwrapped positions,
......
......@@ -237,6 +237,8 @@ joules = joule = Unit({joule_base_unit: 1.0})
define_prefixed_units(joule_base_unit, module = sys.modules[__name__])
erg_base_unit = ScaledUnit(1.0, dyne * centimeter, "erg", "erg")
erg = ergs = Unit({erg_base_unit: 1.0})
hartree_base_unit = ScaledUnit(4.3597447222071e-18, joule, "hartree", "Ha")
hartree = hartrees = Unit({hartree_base_unit: 1.0})
# In molecular simulations, "kilojoules" are in microscopic units
# And you really only want to use kilojoules/mole.
......
# Doxyfile 1.5.9
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project
#
# All text after a hash (#) is considered a comment and will be ignored
# The format is:
# TAG = value [value, ...]
# For lists items can also be appended using:
# TAG += value [value, ...]
# Values that contain spaces should be placed between quotes (" ")
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
# This tag specifies the encoding used for all characters in the config file
# that follow. The default is UTF-8 which is also the encoding used for all
# text before the first occurrence of this tag. Doxygen uses libiconv (or the
# iconv built into libc) for the transcoding. See
# http://www.gnu.org/software/libiconv for the list of possible encodings.
DOXYFILE_ENCODING = UTF-8
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
# by quotes) that should identify the project.
PROJECT_NAME =
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER =
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
OUTPUT_DIRECTORY =
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
# format and will distribute the generated files over these directories.
# Enabling this option can be useful when feeding doxygen a huge amount of
# source files, where putting all generated files in the same directory would
# otherwise cause performance problems for the file system.
CREATE_SUBDIRS = NO
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
# documentation generated by doxygen is written. Doxygen will use this
# information to generate all constant output in the proper language.
# The default language is English, other supported languages are:
# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak,
# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
OUTPUT_LANGUAGE = English
# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
# include brief member descriptions after the members that are listed in
# the file and class documentation (similar to JavaDoc).
# Set to NO to disable this.
BRIEF_MEMBER_DESC = YES
# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
# the brief description of a member or function before the detailed description.
# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
# brief descriptions will be completely suppressed.
REPEAT_BRIEF = YES
# This tag implements a quasi-intelligent brief description abbreviator
# that is used to form the text in various listings. Each string
# in this list, if found as the leading text of the brief description, will be
# stripped from the text and the result after processing the whole list, is
# used as the annotated text. Otherwise, the brief description is used as-is.
# If left blank, the following values are used ("$name" is automatically
# replaced with the name of the entity): "The $name class" "The $name widget"
# "The $name file" "is" "provides" "specifies" "contains"
# "represents" "a" "an" "the"
ABBREVIATE_BRIEF =
# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
# Doxygen will generate a detailed section even if there is only a brief
# description.
ALWAYS_DETAILED_SEC = NO
# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
# inherited members of a class in the documentation of that class as if those
# members were ordinary class members. Constructors, destructors and assignment
# operators of the base classes will not be shown.
INLINE_INHERITED_MEMB = NO
# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
# path before files name in the file list and in the header files. If set
# to NO the shortest path that makes the file name unique will be used.
FULL_PATH_NAMES = YES
# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
# can be used to strip a user-defined part of the path. Stripping is
# only done if one of the specified strings matches the left-hand part of
# the path. The tag can be used to show relative paths in the file list.
# If left blank the directory from which doxygen is run is used as the
# path to strip.
STRIP_FROM_PATH =
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
# the path mentioned in the documentation of a class, which tells
# the reader which header file to include in order to use a class.
# If left blank only the name of the header file containing the class
# definition is used. Otherwise one should specify the include paths that
# are normally passed to the compiler using the -I flag.
STRIP_FROM_INC_PATH =
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
# (but less readable) file names. This can be useful is your file systems
# doesn't support long names like on DOS, Mac, or CD-ROM.
SHORT_NAMES = NO
# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
# will interpret the first line (until the first dot) of a JavaDoc-style
# comment as the brief description. If set to NO, the JavaDoc
# comments will behave just like regular Qt-style comments
# (thus requiring an explicit @brief command for a brief description.)
JAVADOC_AUTOBRIEF = NO
# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
# interpret the first line (until the first dot) of a Qt-style
# comment as the brief description. If set to NO, the comments
# will behave just like regular Qt-style comments (thus requiring
# an explicit \brief command for a brief description.)
QT_AUTOBRIEF = NO
# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
# treat a multi-line C++ special comment block (i.e. a block of //! or ///
# comments) as a brief description. This used to be the default behaviour.
# The new default is to treat a multi-line C++ comment block as a detailed
# description. Set this tag to YES if you prefer the old behaviour instead.
MULTILINE_CPP_IS_BRIEF = NO
# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
# member inherits the documentation from any documented member that it
# re-implements.
INHERIT_DOCS = YES
# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
# a new page for each member. If set to NO, the documentation of a member will
# be part of the file/class/namespace that contains it.
SEPARATE_MEMBER_PAGES = NO
# The TAB_SIZE tag can be used to set the number of spaces in a tab.
# Doxygen uses this value to replace tabs by spaces in code fragments.
TAB_SIZE = 8
# This tag can be used to specify a number of aliases that acts
# as commands in the documentation. An alias has the form "name=value".
# For example adding "sideeffect=\par Side Effects:\n" will allow you to
# put the command \sideeffect (or @sideeffect) in the documentation, which
# will result in a user-defined paragraph with heading "Side Effects:".
# You can put \n's in the value part of an alias to insert newlines.
ALIASES =
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
# sources only. Doxygen will then generate output that is more tailored for C.
# For instance, some of the names that are used will be different. The list
# of all members will be omitted, etc.
OPTIMIZE_OUTPUT_FOR_C = NO
# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
# sources only. Doxygen will then generate output that is more tailored for
# Java. For instance, namespaces will be presented as packages, qualified
# scopes will look different, etc.
OPTIMIZE_OUTPUT_JAVA = NO
# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
# sources only. Doxygen will then generate output that is more tailored for
# Fortran.
OPTIMIZE_FOR_FORTRAN = NO
# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
# sources. Doxygen will then generate output that is tailored for
# VHDL.
OPTIMIZE_OUTPUT_VHDL = NO
# Doxygen selects the parser to use depending on the extension of the files it parses.
# With this tag you can assign which parser to use for a given extension.
# Doxygen has a built-in mapping, but you can override or extend it using this tag.
# The format is ext=language, where ext is a file extension, and language is one of
# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP,
# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
# use: inc=Fortran f=C. Note that for custom extensions you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
EXTENSION_MAPPING =
# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
# to include (a tag file for) the STL sources as input, then you should
# set this tag to YES in order to let doxygen match functions declarations and
# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
# func(std::string) {}). This also make the inheritance and collaboration
# diagrams that involve STL classes more complete and accurate.
BUILTIN_STL_SUPPORT = NO
# If you use Microsoft's C++/CLI language, you should set this option to YES to
# enable parsing support.
CPP_CLI_SUPPORT = NO
# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
# Doxygen will parse them like normal C++ but will assume all classes use public
# instead of private inheritance when no explicit protection keyword is present.
SIP_SUPPORT = NO
# For Microsoft's IDL there are propget and propput attributes to indicate getter
# and setter methods for a property. Setting this option to YES (the default)
# will make doxygen to replace the get and set methods by a property in the
# documentation. This will only work if the methods are indeed getting or
# setting a simple type. If this is not the case, or you want to show the
# methods anyway, you should set this option to NO.
IDL_PROPERTY_SUPPORT = YES
# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
# tag is set to YES, then doxygen will reuse the documentation of the first
# member in the group (if any) for the other members of the group. By default
# all members of a group must be documented explicitly.
DISTRIBUTE_GROUP_DOC = NO
# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
# the same type (for instance a group of public functions) to be put as a
# subgroup of that type (e.g. under the Public Functions section). Set it to
# NO to prevent subgrouping. Alternatively, this can be done per class using
# the \nosubgrouping command.
SUBGROUPING = YES
# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
# is documented as struct, union, or enum with the name of the typedef. So
# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
# with name TypeT. When disabled the typedef will appear as a member of a file,
# namespace, or class. And the struct will be named TypeS. This can typically
# be useful for C code in case the coding convention dictates that all compound
# types are typedef'ed and only the typedef is referenced, never the tag name.
TYPEDEF_HIDES_STRUCT = NO
# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
# determine which symbols to keep in memory and which to flush to disk.
# When the cache is full, less often used symbols will be written to disk.
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will rougly double the
# memory usage. The cache size is given by this formula:
# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
# corresponding to a cache size of 2^16 = 65536 symbols
SYMBOL_CACHE_SIZE = 0
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
# documentation are documented, even if no documentation was available.
# Private class members and static file members will be hidden unless
# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
EXTRACT_ALL = NO
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
# will be included in the documentation.
EXTRACT_PRIVATE = NO
# If the EXTRACT_STATIC tag is set to YES all static members of a file
# will be included in the documentation.
EXTRACT_STATIC = NO
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
# defined locally in source files will be included in the documentation.
# If set to NO only classes defined in header files are included.
EXTRACT_LOCAL_CLASSES = YES
# This flag is only useful for Objective-C code. When set to YES local
# methods, which are defined in the implementation section but not in
# the interface are included in the documentation.
# If set to NO (the default) only methods in the interface are included.
EXTRACT_LOCAL_METHODS = NO
# If this flag is set to YES, the members of anonymous namespaces will be
# extracted and appear in the documentation as a namespace called
# 'anonymous_namespace{file}', where file will be replaced with the base
# name of the file that contains the anonymous namespace. By default
# anonymous namespace are hidden.
EXTRACT_ANON_NSPACES = NO
# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
# undocumented members of documented classes, files or namespaces.
# If set to NO (the default) these members will be included in the
# various overviews, but no documentation section is generated.
# This option has no effect if EXTRACT_ALL is enabled.
HIDE_UNDOC_MEMBERS = NO
# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
# undocumented classes that are normally visible in the class hierarchy.
# If set to NO (the default) these classes will be included in the various
# overviews. This option has no effect if EXTRACT_ALL is enabled.
HIDE_UNDOC_CLASSES = NO
# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
# friend (class|struct|union) declarations.
# If set to NO (the default) these declarations will be included in the
# documentation.
HIDE_FRIEND_COMPOUNDS = NO
# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
# documentation blocks found inside the body of a function.
# If set to NO (the default) these blocks will be appended to the
# function's detailed documentation block.
HIDE_IN_BODY_DOCS = NO
# The INTERNAL_DOCS tag determines if documentation
# that is typed after a \internal command is included. If the tag is set
# to NO (the default) then the documentation will be excluded.
# Set it to YES to include the internal documentation.
INTERNAL_DOCS = NO
# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
# file names in lower-case letters. If set to YES upper-case letters are also
# allowed. This is useful if you have classes or files whose names only differ
# in case and if your file system supports case sensitive file names. Windows
# and Mac users are advised to set this option to NO.
CASE_SENSE_NAMES = YES
# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
# will show members with their full class and namespace scopes in the
# documentation. If set to YES the scope will be hidden.
HIDE_SCOPE_NAMES = NO
# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
# will put a list of the files that are included by a file in the documentation
# of that file.
SHOW_INCLUDE_FILES = YES
# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
# is inserted in the documentation for inline members.
INLINE_INFO = YES
# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
# will sort the (detailed) documentation of file and class members
# alphabetically by member name. If set to NO the members will appear in
# declaration order.
SORT_MEMBER_DOCS = YES
# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
# brief documentation of file, namespace and class members alphabetically
# by member name. If set to NO (the default) the members will appear in
# declaration order.
SORT_BRIEF_DOCS = NO
# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
# hierarchy of group names into alphabetical order. If set to NO (the default)
# the group names will appear in their defined order.
SORT_GROUP_NAMES = NO
# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
# sorted by fully-qualified names, including namespaces. If set to
# NO (the default), the class list will be sorted only by class name,
# not including the namespace part.
# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
# Note: This option applies only to the class list, not to the
# alphabetical list.
SORT_BY_SCOPE_NAME = NO
# The GENERATE_TODOLIST tag can be used to enable (YES) or
# disable (NO) the todo list. This list is created by putting \todo
# commands in the documentation.
GENERATE_TODOLIST = YES
# The GENERATE_TESTLIST tag can be used to enable (YES) or
# disable (NO) the test list. This list is created by putting \test
# commands in the documentation.
GENERATE_TESTLIST = YES
# The GENERATE_BUGLIST tag can be used to enable (YES) or
# disable (NO) the bug list. This list is created by putting \bug
# commands in the documentation.
GENERATE_BUGLIST = YES
# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
# disable (NO) the deprecated list. This list is created by putting
# \deprecated commands in the documentation.
GENERATE_DEPRECATEDLIST= YES
# The ENABLED_SECTIONS tag can be used to enable conditional
# documentation sections, marked by \if sectionname ... \endif.
ENABLED_SECTIONS =
# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
# the initial value of a variable or define consists of for it to appear in
# the documentation. If the initializer consists of more lines than specified
# here it will be hidden. Use a value of 0 to hide initializers completely.
# The appearance of the initializer of individual variables and defines in the
# documentation can be controlled using \showinitializer or \hideinitializer
# command in the documentation regardless of this setting.
MAX_INITIALIZER_LINES = 30
# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
# at the bottom of the documentation of classes and structs. If set to YES the
# list will mention the files that were used to generate the documentation.
SHOW_USED_FILES = YES
# If the sources in your project are distributed over multiple directories
# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
# in the documentation. The default is NO.
SHOW_DIRECTORIES = NO
# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
# This will remove the Files entry from the Quick Index and from the
# Folder Tree View (if specified). The default is YES.
SHOW_FILES = YES
# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
# Namespaces page.
# This will remove the Namespaces entry from the Quick Index
# and from the Folder Tree View (if specified). The default is YES.
SHOW_NAMESPACES = YES
# The FILE_VERSION_FILTER tag can be used to specify a program or script that
# doxygen should invoke to get the current version for each file (typically from
# the version control system). Doxygen will invoke the program by executing (via
# popen()) the command <command> <input-file>, where <command> is the value of
# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
# provided by doxygen. Whatever the program writes to standard output
# is used as the file version. See the manual for examples.
FILE_VERSION_FILTER =
# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
# doxygen. The layout file controls the global structure of the generated output files
# in an output format independent way. The create the layout file that represents
# doxygen's defaults, run doxygen with the -l option. You can optionally specify a
# file name after the option, if omitted DoxygenLayout.xml will be used as the name
# of the layout file.
LAYOUT_FILE =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
# The QUIET tag can be used to turn on/off the messages that are generated
# by doxygen. Possible values are YES and NO. If left blank NO is used.
QUIET = NO
# The WARNINGS tag can be used to turn on/off the warning messages that are
# generated by doxygen. Possible values are YES and NO. If left blank
# NO is used.
WARNINGS = YES
# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
# automatically be disabled.
WARN_IF_UNDOCUMENTED = NO
# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
# potential errors in the documentation, such as not documenting some
# parameters in a documented function, or documenting parameters that
# don't exist or using markup commands wrongly.
WARN_IF_DOC_ERROR = YES
# This WARN_NO_PARAMDOC option can be abled to get warnings for
# functions that are documented, but have no documentation for their parameters
# or return value. If set to NO (the default) doxygen will only warn about
# wrong or incomplete parameter documentation, but not about the absence of
# documentation.
WARN_NO_PARAMDOC = NO
# The WARN_FORMAT tag determines the format of the warning messages that
# doxygen can produce. The string should contain the $file, $line, and $text
# tags, which will be replaced by the file and line number from which the
# warning originated and the warning text. Optionally the format may contain
# $version, which will be replaced by the version of the file (if it could
# be obtained via FILE_VERSION_FILTER)
WARN_FORMAT = "$file:$line: $text"
# The WARN_LOGFILE tag can be used to specify a file to which warning
# and error messages should be written. If left blank the output is written
# to stderr.
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
# The INPUT tag can be used to specify the files and/or directories that contain
# documented source files. You may enter file names like "myfile.cpp" or
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = "$(OPENMM_INCLUDE_PATH)/OpenMM.h" \
"$(OPENMM_INCLUDE_PATH)/openmm"
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
# also the default input encoding. Doxygen uses libiconv (or the iconv built
# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
# the list of possible encodings.
INPUT_ENCODING = UTF-8
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank the following patterns are tested:
# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
FILE_PATTERNS =
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
# If left blank NO is used.
RECURSIVE = YES
# The EXCLUDE tag can be used to specify files and/or directories that should
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE =
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded
# from the input.
EXCLUDE_SYMLINKS = NO
# If the value of the INPUT tag contains directories, you can use the
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
# certain files from those directories. Note that the wildcards are matched
# against the file with absolute path, so to exclude all test directories
# for example use the pattern */test/*
#EXCLUDE_PATTERNS = */tests/* \
# */src/* \
# */.svn/*
EXCLUDE_PATTERNS = */tests/* \
*/.svn/*
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the
# output. The symbol name can be a fully qualified name, a word, or if the
# wildcard * is used, a substring. Examples: ANamespace, AClass,
# AClass::ANamespace, ANamespace::*Test
EXCLUDE_SYMBOLS = StandardMMForceField::*Info \
GBSAOBCForceField::AtomInfo \
System::ConstraintInfo
# The EXAMPLE_PATH tag can be used to specify one or more files or
# directories that contain example code fragments that are included (see
# the \include command).
EXAMPLE_PATH =
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank all files are included.
EXAMPLE_PATTERNS =
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
# searched for input files to be used with the \include or \dontinclude
# commands irrespective of the value of the RECURSIVE tag.
# Possible values are YES and NO. If left blank NO is used.
EXAMPLE_RECURSIVE = NO
# The IMAGE_PATH tag can be used to specify one or more files or
# directories that contain image that are included in the documentation (see
# the \image command).
IMAGE_PATH =
# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
# by executing (via popen()) the command <filter> <input-file>, where <filter>
# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
# input file. Doxygen will then use the output that the filter program writes
# to standard output.
# If FILTER_PATTERNS is specified, this tag will be
# ignored.
INPUT_FILTER =
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
# basis.
# Doxygen will compare the file name with each pattern and apply the
# filter if there is a match.
# The filters are a list of the form:
# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER
# is applied to all files.
FILTER_PATTERNS =
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
# INPUT_FILTER) will be used to filter the input files when producing source
# files to browse (i.e. when SOURCE_BROWSER is set to YES).
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
# If the SOURCE_BROWSER tag is set to YES then a list of source files will
# be generated. Documented entities will be cross-referenced with these sources.
# Note: To get rid of all source code in the generated output, make sure also
# VERBATIM_HEADERS is set to NO.
SOURCE_BROWSER = NO
# Setting the INLINE_SOURCES tag to YES will include the body
# of functions and classes directly in the documentation.
INLINE_SOURCES = NO
# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
# doxygen to hide any special comment blocks from generated source code
# fragments. Normal C and C++ comments will always remain visible.
STRIP_CODE_COMMENTS = YES
# If the REFERENCED_BY_RELATION tag is set to YES
# then for each documented function all documented
# functions referencing it will be listed.
REFERENCED_BY_RELATION = NO
# If the REFERENCES_RELATION tag is set to YES
# then for each documented function all documented entities
# called/used by that function will be listed.
REFERENCES_RELATION = NO
# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
# link to the source code.
# Otherwise they will link to the documentation.
REFERENCES_LINK_SOURCE = YES
# If the USE_HTAGS tag is set to YES then the references to source code
# will point to the HTML generated by the htags(1) tool instead of doxygen
# built-in source browser. The htags tool is part of GNU's global source
# tagging system (see http://www.gnu.org/software/global/global.html). You
# will need version 4.8.6 or higher.
USE_HTAGS = NO
# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
# will generate a verbatim copy of the header file for each class for
# which an include is specified. Set to NO to disable this.
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
# of all compounds will be generated. Enable this if the project
# contains a lot of classes, structs, unions or interfaces.
ALPHABETICAL_INDEX = NO
# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
# in which this list will be split (can be a number in the range [1..20])
COLS_IN_ALPHA_INDEX = 5
# In case all classes in a project start with a common prefix, all
# classes will be put under the same header in the alphabetical index.
# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
# should be ignored while generating the index headers.
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
# generate HTML output.
GENERATE_HTML = YES
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `html' will be used as the default path.
HTML_OUTPUT = html
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
# doxygen will generate files with .html extension.
HTML_FILE_EXTENSION = .html
# The HTML_HEADER tag can be used to specify a personal HTML header for
# each generated HTML page. If it is left blank doxygen will generate a
# standard header.
HTML_HEADER =
# The HTML_FOOTER tag can be used to specify a personal HTML footer for
# each generated HTML page. If it is left blank doxygen will generate a
# standard footer.
HTML_FOOTER =
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
# style sheet that is used by each HTML page. It can be used to
# fine-tune the look of the HTML output. If the tag is left blank doxygen
# will generate a default style sheet. Note that doxygen will try to copy
# the style sheet file to the HTML output directory, so don't put your own
# stylesheet in the HTML output directory as well, or it will be erased!
HTML_STYLESHEET =
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
# files or namespaces will be aligned in HTML using tables. If set to
# NO a bullet list will be used.
HTML_ALIGN_MEMBERS = YES
# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
# documentation will contain sections that can be hidden and shown after the
# page has loaded. For this to work a browser that supports
# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
HTML_DYNAMIC_SECTIONS = NO
# If the GENERATE_DOCSET tag is set to YES, additional index files
# will be generated that can be used as input for Apple's Xcode 3
# integrated development environment, introduced with OSX 10.5 (Leopard).
# To create a documentation set, doxygen will generate a Makefile in the
# HTML output directory. Running make will produce the docset in that
# directory and running "make install" will install the docset in
# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
# it at startup.
# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information.
GENERATE_DOCSET = NO
# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
# feed. A documentation feed provides an umbrella under which multiple
# documentation sets from a single provider (such as a company or product suite)
# can be grouped.
DOCSET_FEEDNAME = "Doxygen generated docs"
# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
# should uniquely identify the documentation set bundle. This should be a
# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
# will append .docset to the name.
DOCSET_BUNDLE_ID = org.doxygen.Project
# If the GENERATE_HTMLHELP tag is set to YES, additional index files
# will be generated that can be used as input for tools like the
# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
# of the generated HTML documentation.
GENERATE_HTMLHELP = NO
# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
# be used to specify the file name of the resulting .chm file. You
# can add a path in front of the file if the result should not be
# written to the html output directory.
CHM_FILE =
# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
# be used to specify the location (absolute path including file name) of
# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
# the HTML help compiler on the generated index.hhp.
HHC_LOCATION =
# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
# controls if a separate .chi index file is generated (YES) or that
# it should be included in the master .chm file (NO).
GENERATE_CHI = NO
# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
# is used to encode HtmlHelp index (hhk), content (hhc) and project file
# content.
CHM_INDEX_ENCODING =
# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
# controls whether a binary table of contents is generated (YES) or a
# normal table of contents (NO) in the .chm file.
BINARY_TOC = NO
# The TOC_EXPAND flag can be set to YES to add extra items for group members
# to the contents of the HTML help documentation and to the tree view.
TOC_EXPAND = NO
# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER
# are set, an additional index file will be generated that can be used as input for
# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated
# HTML documentation.
GENERATE_QHP = NO
# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
# be used to specify the file name of the resulting .qch file.
# The path specified is relative to the HTML output folder.
QCH_FILE =
# The QHP_NAMESPACE tag specifies the namespace to use when generating
# Qt Help Project output. For more information please see
# http://doc.trolltech.com/qthelpproject.html#namespace
QHP_NAMESPACE =
# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
# Qt Help Project output. For more information please see
# http://doc.trolltech.com/qthelpproject.html#virtual-folders
QHP_VIRTUAL_FOLDER = doc
# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add.
# For more information please see
# http://doc.trolltech.com/qthelpproject.html#custom-filters
QHP_CUST_FILTER_NAME =
# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see
# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">Qt Help Project / Custom Filters</a>.
QHP_CUST_FILTER_ATTRS =
# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's
# filter section matches.
# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">Qt Help Project / Filter Attributes</a>.
QHP_SECT_FILTER_ATTRS =
# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
# be used to specify the location of Qt's qhelpgenerator.
# If non-empty doxygen will try to run qhelpgenerator on the generated
# .qhp file.
QHG_LOCATION =
# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
# top of each HTML page. The value NO (the default) enables the index and
# the value YES disables it.
DISABLE_INDEX = NO
# This tag can be used to set the number of enum values (range [1..20])
# that doxygen will group on one line in the generated HTML documentation.
ENUM_VALUES_PER_LINE = 4
# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
# structure should be generated to display hierarchical information.
# If the tag value is set to FRAME, a side panel will be generated
# containing a tree-like index structure (just like the one that
# is generated for HTML Help). For this to work a browser that supports
# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+,
# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are
# probably better off using the HTML help feature. Other possible values
# for this tag are: HIERARCHIES, which will generate the Groups, Directories,
# and Class Hierarchy pages using a tree view instead of an ordered list;
# ALL, which combines the behavior of FRAME and HIERARCHIES; and NONE, which
# disables this behavior completely. For backwards compatibility with previous
# releases of Doxygen, the values YES and NO are equivalent to FRAME and NONE
# respectively.
GENERATE_TREEVIEW = NONE
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
# used to set the initial width (in pixels) of the frame in which the tree
# is shown.
TREEVIEW_WIDTH = 250
# Use this tag to change the font size of Latex formulas included
# as images in the HTML documentation. The default is 10. Note that
# when you change the font size after a successful doxygen run you need
# to manually remove any form_*.png images from the HTML output directory
# to force them to be regenerated.
FORMULA_FONTSIZE = 10
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
# generate Latex output.
GENERATE_LATEX = NO
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `latex' will be used as the default path.
LATEX_OUTPUT = latex
# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
# invoked. If left blank `latex' will be used as the default command name.
LATEX_CMD_NAME = latex
# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
# generate index for LaTeX. If left blank `makeindex' will be used as the
# default command name.
MAKEINDEX_CMD_NAME = makeindex
# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
# LaTeX documents. This may be useful for small projects and may help to
# save some trees in general.
COMPACT_LATEX = NO
# The PAPER_TYPE tag can be used to set the paper type that is used
# by the printer. Possible values are: a4, a4wide, letter, legal and
# executive. If left blank a4wide will be used.
PAPER_TYPE = a4wide
# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
# packages that should be included in the LaTeX output.
EXTRA_PACKAGES =
# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
# the generated latex document. The header should contain everything until
# the first chapter. If it is left blank doxygen will generate a
# standard header. Notice: only use this tag if you know what you are doing!
LATEX_HEADER =
# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
# is prepared for conversion to pdf (using ps2pdf). The pdf file will
# contain links (just like the HTML output) instead of page references
# This makes the output suitable for online browsing using a pdf viewer.
PDF_HYPERLINKS = YES
# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
# plain latex in the generated Makefile. Set this option to YES to get a
# higher quality PDF documentation.
USE_PDFLATEX = YES
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
# command to the generated LaTeX files. This will instruct LaTeX to keep
# running if errors occur, instead of asking the user for help.
# This option is also used when generating formulas in HTML.
LATEX_BATCHMODE = NO
# If LATEX_HIDE_INDICES is set to YES then doxygen will not
# include the index chapters (such as File Index, Compound Index, etc.)
# in the output.
LATEX_HIDE_INDICES = NO
# If LATEX_SOURCE_CODE is set to YES then doxygen will include source code with syntax highlighting in the LaTeX output. Note that which sources are shown also depends on other settings such as SOURCE_BROWSER.
LATEX_SOURCE_CODE = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
# The RTF output is optimized for Word 97 and may not look very pretty with
# other RTF readers or editors.
GENERATE_RTF = NO
# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `rtf' will be used as the default path.
RTF_OUTPUT = rtf
# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
# RTF documents. This may be useful for small projects and may help to
# save some trees in general.
COMPACT_RTF = NO
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
# will contain hyperlink fields. The RTF file will
# contain links (just like the HTML output) instead of page references.
# This makes the output suitable for online browsing using WORD or other
# programs which support those fields.
# Note: wordpad (write) and others do not support links.
RTF_HYPERLINKS = NO
# Load stylesheet definitions from file. Syntax is similar to doxygen's
# config file, i.e. a series of assignments. You only have to provide
# replacements, missing definitions are set to their default value.
RTF_STYLESHEET_FILE =
# Set optional variables used in the generation of an rtf document.
# Syntax is similar to doxygen's config file.
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
# generate man pages
GENERATE_MAN = NO
# The MAN_OUTPUT tag is used to specify where the man pages will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `man' will be used as the default path.
MAN_OUTPUT = man
# The MAN_EXTENSION tag determines the extension that is added to
# the generated man pages (default is the subroutine's section .3)
MAN_EXTENSION = .3
# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
# then it will generate one additional man file for each entity
# documented in the real man page(s). These additional files
# only source the real man page, but without them the man command
# would be unable to find the correct page. The default is NO.
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
# If the GENERATE_XML tag is set to YES Doxygen will
# generate an XML file that captures the structure of
# the code including all documentation.
GENERATE_XML = YES
# The XML_OUTPUT tag is used to specify where the XML pages will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `xml' will be used as the default path.
XML_OUTPUT = xml
# The XML_SCHEMA tag can be used to specify an XML schema,
# which can be used by a validating XML parser to check the
# syntax of the XML files.
XML_SCHEMA =
# The XML_DTD tag can be used to specify an XML DTD,
# which can be used by a validating XML parser to check the
# syntax of the XML files.
XML_DTD =
# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
# dump the program listings (including syntax highlighting
# and cross-referencing information) to the XML output. Note that
# enabling this will significantly increase the size of the XML output.
XML_PROGRAMLISTING = NO
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
# generate an AutoGen Definitions (see autogen.sf.net) file
# that captures the structure of the code including all
# documentation. Note that this feature is still experimental
# and incomplete at the moment.
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
# If the GENERATE_PERLMOD tag is set to YES Doxygen will
# generate a Perl module file that captures the structure of
# the code including all documentation. Note that this
# feature is still experimental and incomplete at the
# moment.
GENERATE_PERLMOD = NO
# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
# the necessary Makefile rules, Perl scripts and LaTeX code to be able
# to generate PDF and DVI output from the Perl module output.
PERLMOD_LATEX = NO
# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
# nicely formatted so it can be parsed by a human reader.
# This is useful
# if you want to understand what is going on.
# On the other hand, if this
# tag is set to NO the size of the Perl module output will be much smaller
# and Perl will parse it just the same.
PERLMOD_PRETTY = YES
# The names of the make variables in the generated doxyrules.make file
# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
# This is useful so different doxyrules.make files included by the same
# Makefile don't overwrite each other's variables.
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
# evaluate all C-preprocessor directives found in the sources and include
# files.
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
# names in the source code. If set to NO (the default) only conditional
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
MACRO_EXPANSION = NO
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
# then the macro expansion is limited to the macros specified with the
# PREDEFINED and EXPAND_AS_DEFINED tags.
EXPAND_ONLY_PREDEF = NO
# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
# in the INCLUDE_PATH (see below) will be search if a #include is found.
SEARCH_INCLUDES = YES
# The INCLUDE_PATH tag can be used to specify one or more directories that
# contain include files that are not input files but should be processed by
# the preprocessor.
INCLUDE_PATH =
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the
# directories. If left blank, the patterns specified with FILE_PATTERNS will
# be used.
INCLUDE_FILE_PATTERNS =
# The PREDEFINED tag can be used to specify one or more macro names that
# are defined before the preprocessor is started (similar to the -D option of
# gcc). The argument of the tag is a list of macros of the form: name
# or name=definition (no spaces). If the definition and the = are
# omitted =1 is assumed. To prevent a macro definition from being
# undefined via #undef or recursively expanded use the := operator
# instead of the = operator.
PREDEFINED =
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.
# The macro definition that is found in the sources will be used.
# Use the PREDEFINED tag if you want to use a different macro definition.
EXPAND_AS_DEFINED =
# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
# doxygen's preprocessor will remove all function-like macros that are alone
# on a line, have an all uppercase name, and do not end with a semicolon. Such
# function macros are typically used for boiler-plate code, and will confuse
# the parser if not removed.
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
# The TAGFILES option can be used to specify one or more tagfiles.
# Optionally an initial location of the external documentation
# can be added for each tagfile. The format of a tag file without
# this location is as follows:
#
# TAGFILES = file1 file2 ...
# Adding location for the tag files is done as follows:
#
# TAGFILES = file1=loc1 "file2 = loc2" ...
# where "loc1" and "loc2" can be relative or absolute paths or
# URLs. If a location is present for each tag, the installdox tool
# does not have to be run to correct the links.
# Note that each tag file must have a unique name
# (where the name does NOT include the path)
# If a tag file is not located in the directory in which doxygen
# is run, you must also specify the path to the tagfile here.
TAGFILES =
# When a file name is specified after GENERATE_TAGFILE, doxygen will create
# a tag file that is based on the input files it reads.
GENERATE_TAGFILE =
# If the ALLEXTERNALS tag is set to YES all external classes will be listed
# in the class index. If set to NO only the inherited external classes
# will be listed.
ALLEXTERNALS = NO
# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
# in the modules index. If set to NO, only the current project's groups will
# be listed.
EXTERNAL_GROUPS = YES
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of `which perl').
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
# or super classes. Setting the tag to NO turns the diagrams off. Note that
# this option is superseded by the HAVE_DOT option below. This is only a
# fallback. It is recommended to install and use dot, since it yields more
# powerful graphs.
CLASS_DIAGRAMS = YES
# You can define message sequence charts within doxygen comments using the \msc
# command. Doxygen will then run the mscgen tool (see
# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
# documentation. The MSCGEN_PATH tag allows you to specify the directory where
# the mscgen tool resides. If left empty the tool is assumed to be found in the
# default search path.
MSCGEN_PATH =
# If set to YES, the inheritance and collaboration graphs will hide
# inheritance and usage relations if the target is undocumented
# or is not a class.
HIDE_UNDOC_RELATIONS = YES
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
# available from the path. This tool is part of Graphviz, a graph visualization
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
# have no effect if this option is set to NO (the default)
HAVE_DOT = NO
# By default doxygen will write a font called FreeSans.ttf to the output
# directory and reference it in all dot files that doxygen generates. This
# font does not include all possible unicode characters however, so when you need
# these (or just want a differently looking font) you can specify the font name
# using DOT_FONTNAME. You need need to make sure dot is able to find the font,
# which can be done by putting it in a standard location or by setting the
# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
# containing the font.
DOT_FONTNAME = FreeSans
# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
# The default size is 10pt.
DOT_FONTSIZE = 10
# By default doxygen will tell dot to use the output directory to look for the
# FreeSans.ttf font (which doxygen will put there itself). If you specify a
# different font using DOT_FONTNAME you can set the path where dot
# can find it using this tag.
DOT_FONTPATH =
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect inheritance relations. Setting this tag to YES will force the
# the CLASS_DIAGRAMS tag to NO.
CLASS_GRAPH = YES
# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect implementation dependencies (inheritance, containment, and
# class references variables) of the class with other documented classes.
COLLABORATION_GRAPH = YES
# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for groups, showing the direct groups dependencies
GROUP_GRAPHS = YES
# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
# collaboration diagrams in a style similar to the OMG's Unified Modeling
# Language.
UML_LOOK = NO
# If set to YES, the inheritance and collaboration graphs will show the
# relations between templates and their instances.
TEMPLATE_RELATIONS = NO
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
# tags are set to YES then doxygen will generate a graph for each documented
# file showing the direct and indirect include dependencies of the file with
# other documented files.
INCLUDE_GRAPH = YES
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
# documented header file showing the documented files that directly or
# indirectly include this file.
INCLUDED_BY_GRAPH = YES
# If the CALL_GRAPH and HAVE_DOT options are set to YES then
# doxygen will generate a call dependency graph for every global function
# or class method. Note that enabling this option will significantly increase
# the time of a run. So in most cases it will be better to enable call graphs
# for selected functions only using the \callgraph command.
CALL_GRAPH = NO
# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
# doxygen will generate a caller dependency graph for every global function
# or class method. Note that enabling this option will significantly increase
# the time of a run. So in most cases it will be better to enable caller
# graphs for selected functions only using the \callergraph command.
CALLER_GRAPH = NO
# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
# will graphical hierarchy of all classes instead of a textual one.
GRAPHICAL_HIERARCHY = YES
# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
# then doxygen will show the dependencies a directory has on other directories
# in a graphical way. The dependency relations are determined by the #include
# relations between the files in the directories.
DIRECTORY_GRAPH = YES
# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
# generated by dot. Possible values are png, jpg, or gif
# If left blank png will be used.
DOT_IMAGE_FORMAT = png
# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.
DOT_PATH =
# The DOTFILE_DIRS tag can be used to specify one or more directories that
# contain dot files that are included in the documentation (see the
# \dotfile command).
DOTFILE_DIRS =
# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
# nodes that will be shown in the graph. If the number of nodes in a graph
# becomes larger than this value, doxygen will truncate the graph, which is
# visualized by representing a node as a red box. Note that doxygen if the
# number of direct children of the root node in a graph is already larger than
# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
DOT_GRAPH_MAX_NODES = 50
# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
# graphs generated by dot. A depth value of 3 means that only nodes reachable
# from the root by following a path via at most 3 edges will be shown. Nodes
# that lay further from the root node will be omitted. Note that setting this
# option to 1 or 2 may greatly reduce the computation time needed for large
# code bases. Also note that the size of a graph can be further restricted by
# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
MAX_DOT_GRAPH_DEPTH = 0
# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
# background. This is disabled by default, because dot on Windows does not
# seem to support this out of the box. Warning: Depending on the platform used,
# enabling this option may lead to badly anti-aliased labels on the edges of
# a graph (i.e. they become hard to read).
DOT_TRANSPARENT = NO
# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
# files in one run (i.e. multiple -o and -T options on the command line). This
# makes dot run faster, but since only newer versions of dot (>1.8.10)
# support this, this feature is disabled by default.
DOT_MULTI_TARGETS = NO
# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
# generate a legend page explaining the meaning of the various boxes and
# arrows in the dot generated graphs.
GENERATE_LEGEND = YES
# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
# remove the intermediate dot files that are used to generate
# the various graphs.
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Options related to the search engine
#---------------------------------------------------------------------------
# The SEARCHENGINE tag specifies whether or not a search engine should be
# used. If set to NO the values of all tags below this one will be ignored.
SEARCHENGINE = NO
......@@ -588,7 +588,7 @@ INPUT_ENCODING = UTF-8
# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
FILE_PATTERNS =
FILE_PATTERNS = *.h
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
......
......@@ -446,6 +446,7 @@ class SwigInputBuilder:
#write only non Constructor and Destructor methods and python mods
self.fOut.write("\n")
methodsWithOutputArgs = set()
for items in methodList:
clearOutput=""
(shortClassName, memberNode,
......@@ -479,6 +480,7 @@ class SwigInputBuilder:
(INDENT, simpleType, pType, pName))
clearOutput = "%s%s%%clear %s %s;\n" \
% (clearOutput, INDENT, pType, pName)
methodsWithOutputArgs.add((shortClassName, methName))
mArgsstring = getText("argsstring", memberNode)
try:
......@@ -503,7 +505,10 @@ class SwigInputBuilder:
paramList = findNodes(memberNode, 'param')
# write pythonprepend blocks
mArgsstring = getText("argsstring", memberNode)
if isConstructors:
mArgsstring = '' # specifying args to constructors seems to prevent append and prepend from working
else:
mArgsstring = getText("argsstring", memberNode)
if self.fOutPythonprepend and \
len(paramList) and \
mArgsstring.find('=0') < 0:
......@@ -523,6 +528,28 @@ class SwigInputBuilder:
s = ("the %s object does not own its corresponding OpenMM object"
% self.__class__.__name__)
raise Exception(s)'''.format(argName=argName)
# Convert input arguments to the proper units, if specified.
if key not in methodsWithOutputArgs:
if key in self.configModule.UNITS:
argUnits=self.configModule.UNITS[key][1]
elif ("*", methName) in self.configModule.UNITS:
argUnits=self.configModule.UNITS[("*", methName)][1]
else:
argUnits = ()
if len(argUnits) > 0 and (self.SWIG_COMPACT_ARGUMENTS or isConstructors):
textInside += '''
args = list(args)'''
for i, units in enumerate(argUnits):
if units is not None:
if self.SWIG_COMPACT_ARGUMENTS or isConstructors:
argName = 'args[%s]' % i
else:
argName = getText('declname', paramList[i])
textInside += '''
if unit.is_quantity({argName}):
{argName} = {argName}.value_in_unit({units})'''.format(argName=argName, units=units)
for argNum in self.configModule.REQUIRE_ORDERED_SET.get(key, []):
if self.SWIG_COMPACT_ARGUMENTS:
argName = 'args[%s]' % argNum
......@@ -568,7 +595,7 @@ class SwigInputBuilder:
% (addText, INDENT, valueUnits[0])
for vUnit in valueUnits[1]:
if vUnit is not None:
if vUnit is not None and key in methodsWithOutputArgs:
addText = "%s%sval[%s]=unit.Quantity(val[%s], %s)\n" \
% (addText, INDENT, index, index, vUnit)
index+=1
......
......@@ -117,9 +117,6 @@ SKIP_METHODS = [('State', 'getPositions'),
# The build script assumes method args that are non-const references are
# used to output values. This list gives excpetions to this rule.
NO_OUTPUT_ARGS = [('LocalEnergyMinimizer', 'minimize', 'context'),
('System', 'getDefaultPeriodicBoxVectors', 'a'),
('System', 'getDefaultPeriodicBoxVectors', 'b'),
('System', 'getDefaultPeriodicBoxVectors', 'c'),
('Platform', 'setPropertyValue', 'context'),
('AmoebaTorsionTorsionForce', 'setTorsionTorsionGrid', 'grid'),
('AmoebaVdwForce', 'setParticleExclusions', 'exclusions'),
......@@ -175,8 +172,14 @@ UNITS = {
("*", "getDefaultPressureX") : ("unit.bar", ()),
("*", "getDefaultPressureY") : ("unit.bar", ()),
("*", "getDefaultPressureZ") : ("unit.bar", ()),
("*", "setDefaultPressure") : (None, ("unit.bar",)),
("*", "setDefaultPressureX") : (None, ("unit.bar",)),
("*", "setDefaultPressureY") : (None, ("unit.bar",)),
("*", "setDefaultPressureZ") : (None, ("unit.bar",)),
("*", "getDefaultSurfaceTension") : ("unit.bar*unit.nanometer", ()),
("*", "setDefaultSurfaceTension") : (None, ("unit.bar*unit.nanometer",)),
("*", "getDefaultTemperature") : ("unit.kelvin", ()),
("*", "setDefaultTemperature") : (None, ("unit.kelvin",)),
("*", "getErrorTolerance") : (None, ()),
("*", "getEwaldErrorTolerance") : (None, ()),
("*", "getFriction") : ("1/unit.picosecond", ()),
......@@ -205,6 +208,7 @@ UNITS = {
("*", "getSoluteDielectric") : (None, ()),
("*", "getSolventDielectric") : (None, ()),
("*", "getStepSize") : ("unit.picosecond", ()),
("*", "getMaximumStepSize") : ("unit.picosecond", ()),
("*", "getSystem") : (None, ()),
("*", "getTabulatedFunction") : (None, ()),
("*", "getUseDispersionCorrection") : (None, ()),
......@@ -309,15 +313,14 @@ UNITS = {
("AmoebaTorsionTorsionForce", "getTorsionTorsionParameters") : ( None, ()),
("AmoebaTorsionTorsionForce", "getTorsionTorsionGrid") : ( None, ()),
# LPW 2012-10 : Is this a duplicate entry?
#("AmoebaVdwForce", "getParticleParameters") : ( None, (None, None, None, 'unit.nanometer', 'unit.kilojoule_per_mole', None)),
("AmoebaVdwForce", "getSigmaCombiningRule") : ( None, ()),
("AmoebaVdwForce", "getEpsilonCombiningRule") : ( None, ()),
("AmoebaVdwForce", "getParticleExclusions") : ( None, ()),
("AmoebaVdwForce", "getAlchemicalMethod") : ( None, ()),
("AmoebaVdwForce", "getSoftcorePower") : ( None, ()),
("AmoebaVdwForce", "getSoftcoreAlpha") : ( None, ()),
("AmoebaVdwForce", "getCutoff") : ( 'unit.nanometer', ()),
# LPW 2012-10 Modified because it no longer returns ivIndex and classIndex.
# ("AmoebaVdwForce", "getParticleParameters") : ( None, (None, None, 'unit.nanometer', 'unit.kilojoule_per_mole', None)),
("AmoebaVdwForce", "getParticleParameters") : ( None, (None, 'unit.nanometer', 'unit.kilojoule_per_mole', None)),
("AmoebaVdwForce", "getParticleParameters") : ( None, (None, 'unit.nanometer', 'unit.kilojoule_per_mole', None, None)),
("AmoebaWcaDispersionForce", "getParticleParameters") : ( None, ('unit.nanometer', 'unit.kilojoule_per_mole')),
("AmoebaWcaDispersionForce", "getAwater") : ( '1/(unit.nanometer*unit.nanometer*unit.nanometer)',()),
......@@ -459,6 +462,7 @@ UNITS = {
("System", "getVirtualSite") : (None, ()),
("DrudeLangevinIntegrator", "getDrudeTemperature") : ("unit.kelvin", ()),
("DrudeLangevinIntegrator", "getMaxDrudeDistance") : ("unit.nanometer", ()),
("MonteCarloMembraneBarostat", "MonteCarloMembraneBarostat") : (None, ("unit.bar", "unit.bar*unit.nanometer", "unit.kelvin", None, None, None)),
("MonteCarloMembraneBarostat", "getXYMode") : (None, ()),
("MonteCarloMembraneBarostat", "getZMode") : (None, ()),
("DrudeLangevinIntegrator", "getDrudeFriction") : ("1/unit.picosecond", ()),
......
......@@ -20,6 +20,16 @@ PyObject *copyVVec3ToList(std::vector<Vec3> vVec3) {
return pyList;
}
int isNumpyAvailable() {
static bool initialized = false;
static bool available = false;
if (!initialized) {
initialized = true;
available = (_import_array() >= 0);
}
return available;
}
} // namespace OpenMM
%}
......
......@@ -156,13 +156,49 @@ OpenMM::Vec3 Py_SequenceToVec3(PyObject* obj, int& status) {
%fragment("Py_SequenceToVecDouble", "header", fragment="Py_StripOpenMMUnits") {
int Py_SequenceToVecDouble(PyObject* obj, std::vector<double>& out) {
PyObject* stripped = NULL;
PyObject* stripped = Py_StripOpenMMUnits(obj);
PyObject* item = NULL;
PyObject* item1 = NULL;
PyObject* iterator = NULL;
stripped = Py_StripOpenMMUnits(obj);
iterator = PyObject_GetIter(stripped);
if (isNumpyAvailable()) {
if (PyArray_Check(stripped) && PyArray_ISCARRAY_RO(stripped) && PyArray_NDIM(stripped) == 1) {
int type = PyArray_TYPE(stripped);
int length = PyArray_SIZE(stripped);
void* data = PyArray_DATA((PyArrayObject*) stripped);
if (type == NPY_DOUBLE) {
out.resize(length);
memcpy(&out[0], data, sizeof(double)*length);
Py_DECREF(stripped);
return SWIG_OK;
}
if (type == NPY_FLOAT) {
out.resize(length);
float* floatData = (float*) data;
for (int i = 0; i < length; i++)
out[i] = floatData[i];
Py_DECREF(stripped);
return SWIG_OK;
}
if (type == NPY_INT32) {
out.resize(length);
int* intData = (int*) data;
for (int i = 0; i < length; i++)
out[i] = intData[i];
Py_DECREF(stripped);
return SWIG_OK;
}
if (type == NPY_INT64) {
out.resize(length);
long long* longData = (long long*) data;
for (int i = 0; i < length; i++)
out[i] = longData[i];
Py_DECREF(stripped);
return SWIG_OK;
}
}
}
PyObject* iterator = PyObject_GetIter(stripped);
if (iterator == NULL) {
Py_DECREF(stripped);
return SWIG_ERROR;
......@@ -194,16 +230,6 @@ int Py_SequenceToVecDouble(PyObject* obj, std::vector<double>& out) {
}
%fragment("Py_SequenceToVecVec3", "header", fragment="Py_SequenceToVec3") {
int isNumpyAvailable() {
static bool initialized = false;
static bool available = false;
if (!initialized) {
initialized = true;
available = (_import_array() >= 0);
}
return available;
}
int Py_SequenceToVecVec3(PyObject* obj, std::vector<Vec3>& out) {
PyObject* stripped = Py_StripOpenMMUnits(obj); // new reference
if (isNumpyAvailable()) {
......
......@@ -969,7 +969,7 @@ class TestAPIUnits(unittest.TestCase):
self.assertEqual(force.getNumParticles(), 3)
p, sig, eps, scale = force.getParticleParameters(0)
p, sig, eps, scale, alchemical = force.getParticleParameters(0)
self.assertEqual(p, 0)
self.assertEqual(sig, 0.1*nanometers)
self.assertIs(sig.unit, nanometers)
......@@ -977,7 +977,7 @@ class TestAPIUnits(unittest.TestCase):
self.assertIs(eps.unit, kilojoules_per_mole)
self.assertEqual(scale, 1.0)
p, sig, eps, scale = force.getParticleParameters(1)
p, sig, eps, scale, alchemical = force.getParticleParameters(1)
self.assertEqual(p, 1)
self.assertEqual(sig, 1.0*angstroms)
self.assertIs(sig.unit, nanometers)
......@@ -985,7 +985,7 @@ class TestAPIUnits(unittest.TestCase):
self.assertIs(eps.unit, kilojoules_per_mole)
self.assertEqual(scale, 0.5)
p, sig, eps, scale = force.getParticleParameters(2)
p, sig, eps, scale, alchemical = force.getParticleParameters(2)
self.assertEqual(p, 1)
self.assertAlmostEqualUnit(sig, 0.8*angstroms)
self.assertIs(sig.unit, nanometers)
......@@ -1176,6 +1176,28 @@ class TestAPIUnits(unittest.TestCase):
self.assertEqual(force.getDefaultTemperature(), 298.15*kelvin)
self.assertAlmostEqualUnit(force.getDefaultCollisionFrequency(), 1/picosecond)
def testMonteCarloMembraneBarostat(self):
""" Tests the MonteCarloMembraneBarostat API features """
force = MonteCarloMembraneBarostat(1.0, 1.5, 300, MonteCarloMembraneBarostat.XYAnisotropic, MonteCarloMembraneBarostat.ZFixed, 25)
self.assertEqual(force.getDefaultPressure(), 1.0*bar)
self.assertEqual(force.getDefaultSurfaceTension(), 1.5*bar*nanometer)
self.assertEqual(force.getDefaultTemperature(), 300*kelvin)
self.assertEqual(force.getXYMode(), MonteCarloMembraneBarostat.XYAnisotropic)
self.assertEqual(force.getZMode(), MonteCarloMembraneBarostat.ZFixed)
self.assertEqual(force.getFrequency(), 25)
force = MonteCarloMembraneBarostat(1.1*bar, 2.0*bar*nanometer, 350*kelvin, MonteCarloMembraneBarostat.XYAnisotropic, MonteCarloMembraneBarostat.ZFixed, 25)
self.assertEqual(force.getDefaultPressure(), 1.1*bar)
self.assertEqual(force.getDefaultSurfaceTension(), 2.0*bar*nanometer)
self.assertEqual(force.getDefaultTemperature(), 350*kelvin)
force.setDefaultPressure(1.2*bar)
force.setDefaultSurfaceTension(2.5*bar*nanometer)
force.setDefaultTemperature(298.15)
self.assertEqual(force.getDefaultPressure(), 1.2*bar)
self.assertEqual(force.getDefaultSurfaceTension(), 2.5*bar*nanometer)
self.assertEqual(force.getDefaultTemperature(), 298.15*kelvin)
def testDrudeSCFIntegrator(self):
""" Tests the DrudeSCFIntegrator API features """
integrator = DrudeSCFIntegrator(0.002)
......
......@@ -127,6 +127,14 @@ class TestAmberPrmtopFile(unittest.TestCase):
self.assertTrue(found_matching_solvent_dielectric and
found_matching_solute_dielectric)
def test_ImplicitSolventZeroSA(self):
"""Test that requesting gbsaModel=None yields a surface area energy of 0 when
prmtop.createSystem produces a GBSAOBCForce"""
system = prmtop2.createSystem(implicitSolvent=OBC2, gbsaModel=None)
for force in system.getForces():
if isinstance(force, GBSAOBCForce):
self.assertEqual(force.getSurfaceAreaEnergy(), 0*kilojoule/(nanometer**2*mole))
def test_HydrogenMass(self):
"""Test that altering the mass of hydrogens works correctly."""
......@@ -376,5 +384,21 @@ class TestAmberPrmtopFile(unittest.TestCase):
self.assertRaises(ValueError, lambda: f.addParticle([0, 0.9, 0.5]))
self.assertRaises(ValueError, lambda: f.addParticle([0, 0.21, 0.5]))
def testNucleicGBParametes(self):
"""Test that correct GB parameters are used for nucleic acids."""
prmtop = AmberPrmtopFile('systems/DNA_mbondi3.prmtop')
inpcrd = AmberInpcrdFile('systems/DNA_mbondi3.inpcrd')
sanderEnergy = [-19223.87993545, -19527.40433175, -19788.1070698]
for solvent, expectedEnergy in zip([OBC2, GBn, GBn2], sanderEnergy):
system = prmtop.createSystem(implicitSolvent=solvent, gbsaModel=None)
for f in system.getForces():
if isinstance(f, CustomGBForce) or isinstance(f, GBSAOBCForce):
f.setForceGroup(1)
integrator = VerletIntegrator(0.001)
context = Context(system, integrator, Platform.getPlatformByName('Reference'))
context.setPositions(inpcrd.positions)
energy = context.getState(getEnergy=True, groups={1}).getPotentialEnergy().value_in_unit(kilojoules_per_mole)
self.assertAlmostEqual(energy, expectedEnergy, delta=5e-4*abs(energy))
if __name__ == '__main__':
unittest.main()
......@@ -5,7 +5,13 @@ from simtk.openmm import *
from simtk.unit import *
import simtk.openmm.app.element as elem
import math
import os
import tempfile
import warnings
if sys.version_info >= (3,0):
from io import StringIO
else:
from cStringIO import StringIO
class TestCharmmFiles(unittest.TestCase):
......@@ -93,12 +99,10 @@ class TestCharmmFiles(unittest.TestCase):
def test_NBFIX(self):
"""Tests CHARMM systems with NBFIX Lennard-Jones modifications"""
warnings.filterwarnings('ignore', category=CharmmPSFWarning)
psf = CharmmPsfFile('systems/ala3_solv.psf')
psf = CharmmPsfFile('systems/ala3_solv.psf', unitCellDimensions=Vec3(32.7119500, 32.9959600, 33.0071500)*angstroms)
crd = CharmmCrdFile('systems/ala3_solv.crd')
params = CharmmParameterSet('systems/par_all36_prot.prm',
'systems/toppar_water_ions.str')
# Box dimensions (found from bounding box)
psf.setBox(32.7119500*angstroms, 32.9959600*angstroms, 33.0071500*angstroms)
# Turn off charges so we only test the Lennard-Jones energies
for a in psf.atom_list:
......@@ -114,7 +118,7 @@ class TestCharmmFiles(unittest.TestCase):
state = con.getState(getEnergy=True, enforcePeriodicBox=True)
ene = state.getPotentialEnergy().value_in_unit(kilocalories_per_mole)
self.assertAlmostEqual(ene, 15490.0033559, delta=0.05)
self.assertAlmostEqual(ene, 15559.71602, delta=0.05)
def test_Drude(self):
"""Test CHARMM systems with Drude force field"""
......@@ -127,14 +131,14 @@ class TestCharmmFiles(unittest.TestCase):
# Now compute the full energy
plat = Platform.getPlatformByName('Reference')
system = psf.createSystem(params, nonbondedMethod=PME)
system = psf.createSystem(params, nonbondedMethod=PME, ewaldErrorTolerance=0.00005)
integrator = DrudeLangevinIntegrator(300*kelvin, 1.0/picosecond, 1*kelvin, 10/picosecond, 0.001*picoseconds)
con = Context(system, integrator, plat)
con.setPositions(crd.positions)
state = con.getState(getEnergy=True, enforcePeriodicBox=True)
ene = state.getPotentialEnergy().value_in_unit(kilocalories_per_mole)
self.assertAlmostEqual(ene, -1831.54, delta=0.5)
self.assertAlmostEqual(ene, -1788.36644, delta=1.0)
def test_Lonepair(self):
"""Test the lonepair facilities, in particular the colinear type of lonepairs"""
......@@ -169,12 +173,11 @@ class TestCharmmFiles(unittest.TestCase):
def testSystemOptions(self):
""" Test various options in CharmmPsfFile.createSystem """
warnings.filterwarnings('ignore', category=CharmmPSFWarning)
psf = CharmmPsfFile('systems/ala3_solv.psf')
psf = CharmmPsfFile('systems/ala3_solv.psf',
periodicBoxVectors=(Vec3(32.7119500, 0, 0)*angstroms, Vec3(0, 32.9959600, 0)*angstroms, Vec3(0, 0, 33.0071500)*angstroms))
crd = CharmmCrdFile('systems/ala3_solv.crd')
params = CharmmParameterSet('systems/par_all36_prot.prm',
'systems/toppar_water_ions.str')
# Box dimensions (found from bounding box)
psf.setBox(32.7119500*angstroms, 32.9959600*angstroms, 33.0071500*angstroms)
# Check some illegal options
self.assertRaises(ValueError, lambda:
......@@ -275,6 +278,77 @@ class TestCharmmFiles(unittest.TestCase):
dtheta = math.pi-angle
self.assertAlmostEqual(energy, dtheta**2, delta=1e-5)
def test_Residues(self):
"""Test that residues are read correctly, even if they have the same RESID while being in separate segments."""
m14 = (["C{}".format(i) for i in range(1,14)]
+ ["H{}".format(i) for i in range(1,12)]
+ ["N{}".format(i) for i in range(1,4)]
)
tip3 = ["OH2", "H1", "H2"]
pot = ["POT"]
cla = ["CLA"]
psf = CharmmPsfFile('systems/charmm-solvated/isa_wat.3_kcl.m14.psf')
for residue in psf.topology.residues():
atoms = [atom.name for atom in residue.atoms()]
if residue.name == "M14":
self.assertEqual(sorted(m14), sorted(atoms))
elif residue.name == "TIP3":
self.assertEqual(sorted(tip3), sorted(atoms))
elif residue.name == "POT":
self.assertEqual(sorted(pot), sorted(atoms))
elif residue.name == "CLA":
self.assertEqual(sorted(cla), sorted(atoms))
else:
self.assertTrue(False)
def test_NoLongRangeCorrection(self):
"""Test that long range correction is disabled."""
parameters = CharmmParameterSet(
'systems/charmm-solvated/envi.str',
'systems/charmm-solvated/m14.rtf',
'systems/charmm-solvated/m14.prm'
)
psf = CharmmPsfFile('systems/charmm-solvated/isa_wat.3_kcl.m14.psf')
psf.setBox(3.0584*nanometers,3.0584*nanometers,3.0584*nanometers)
system = psf.createSystem(parameters, nonbondedMethod=PME)
for force in system.getForces():
if isinstance(force, CustomNonbondedForce):
self.assertFalse(force.getUseLongRangeCorrection())
if isinstance(force, NonbondedForce):
self.assertFalse(force.getUseDispersionCorrection())
def test_NoPsfWarning(self):
"""Test that PSF warning is not thrown."""
parameters = CharmmParameterSet(
'systems/charmm-solvated/envi.str',
'systems/charmm-solvated/m14.rtf',
'systems/charmm-solvated/m14.prm'
)
with warnings.catch_warnings():
warnings.simplefilter("error", CharmmPSFWarning)
psf = CharmmPsfFile('systems/charmm-solvated/isa_wat.3_kcl.m14.psf')
psf.setBox(3.0584*nanometers,3.0584*nanometers,3.0584*nanometers)
psf.createSystem(parameters, nonbondedMethod=PME)
def test_NBXMod(self):
"""Test that all values of NBXMod are interpreted correctly."""
crd = CharmmCrdFile('systems/ala_ala_ala.crd')
with open('systems/charmm22.par') as parfile:
par = parfile.read()
# The following values were computed with CHARMM.
modeEnergy = {0: 754318.20507, 1: 754318.20507, 2: 908.35224, 3: 59.65279, 4: -241.12856, 5: 39.13169}
for nbxmod in range(-5, 6):
with tempfile.NamedTemporaryFile(suffix='.par', mode='w', delete=False) as parfile:
parfile.write(par.replace('nbxmod 5', 'nbxmod %d' % nbxmod))
parfile.close()
params = CharmmParameterSet('systems/charmm22.rtf', parfile.name)
os.remove(parfile.name)
system = self.psf_c.createSystem(params, nonbondedMethod=NoCutoff)
context = Context(system, VerletIntegrator(1*femtoseconds), Platform.getPlatformByName('Reference'))
context.setPositions(crd.positions)
energy = context.getState(getEnergy=True).getPotentialEnergy().value_in_unit(kilocalories_per_mole)
self.assertAlmostEqual(energy, modeEnergy[abs(nbxmod)], delta=1e-3*abs(energy))
if __name__ == '__main__':
unittest.main()
......
......@@ -6,6 +6,7 @@ from simtk.unit import *
import simtk.openmm.app.element as elem
import simtk.openmm.app.forcefield as forcefield
import math
import textwrap
try:
from cStringIO import StringIO
except ImportError:
......@@ -50,16 +51,77 @@ class TestForceField(unittest.TestCase):
for f in forces))
def test_DispersionCorrection(self):
"""Test to make sure the nonbondedCutoff parameter is passed correctly."""
for useDispersionCorrection in [True, False]:
system = self.forcefield1.createSystem(self.pdb1.topology,
nonbondedCutoff=2*nanometer,
useDispersionCorrection=useDispersionCorrection)
"""Test to make sure that the dispersion/long-range correction is set properly."""
top = Topology()
chain = top.addChain()
for lrc in (True, False):
xml = textwrap.dedent(
"""
<ForceField>
<LennardJonesForce lj14scale="0.3" useDispersionCorrection="{lrc}">
<Atom type="A" sigma="1" epsilon="0.1"/>
<Atom type="B" sigma="2" epsilon="0.2"/>
<NBFixPair type1="A" type2="B" sigma="2.5" epsilon="1.1"/>
</LennardJonesForce>
<NonbondedForce coulomb14scale="0.833333" lj14scale="0.5" useDispersionCorrection="{lrc2}">
<Atom type="A" sigma="0.315" epsilon="0.635"/>
</NonbondedForce>
</ForceField>
"""
)
ff = ForceField(StringIO(xml.format(lrc=lrc, lrc2=lrc)))
system = ff.createSystem(top)
checked_nonbonded = False
checked_custom = False
for force in system.getForces():
if isinstance(force, NonbondedForce):
self.assertEqual(useDispersionCorrection, force.getUseDispersionCorrection())
self.assertEqual(force.getUseDispersionCorrection(), lrc)
checked_nonbonded = True
elif isinstance(force, CustomNonbondedForce):
self.assertEqual(force.getUseLongRangeCorrection(), lrc)
checked_custom = True
self.assertTrue(checked_nonbonded and checked_custom)
# check that the keyword argument overwrites xml input
lrc_kwarg = not lrc
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always")
system2 = ff.createSystem(top, useDispersionCorrection=lrc_kwarg)
self.assertTrue(len(w) == 2)
assert "conflict" in str(w[-1].message).lower()
checked_nonbonded = False
checked_custom = False
for force in system2.getForces():
if isinstance(force, NonbondedForce):
self.assertEqual(force.getUseDispersionCorrection(), lrc_kwarg)
checked_nonbonded = True
elif isinstance(force, CustomNonbondedForce):
self.assertEqual(force.getUseLongRangeCorrection(), lrc_kwarg)
checked_custom = True
self.assertTrue(checked_nonbonded and checked_custom)
# check that no warning is generated when useDispersionCorrection is not in the xml file
xml = textwrap.dedent(
"""
<ForceField>
<LennardJonesForce lj14scale="0.3">
<Atom type="A" sigma="1" epsilon="0.1"/>
<Atom type="B" sigma="2" epsilon="0.2"/>
<NBFixPair type1="A" type2="B" sigma="2.5" epsilon="1.1"/>
</LennardJonesForce>
<NonbondedForce coulomb14scale="0.833333" lj14scale="0.5">
<Atom type="A" sigma="0.315" epsilon="0.635"/>
</NonbondedForce>
</ForceField>
"""
)
ff = ForceField(StringIO(xml))
system = ff.createSystem(top)
for lrc_kwarg in [True, False]:
with warnings.catch_warnings():
warnings.simplefilter("error")
system2 = ff.createSystem(top, useDispersionCorrection=lrc_kwarg)
def test_Cutoff(self):
"""Test to make sure the nonbondedCutoff parameter is passed correctly."""
......@@ -227,7 +289,7 @@ class TestForceField(unittest.TestCase):
angles = forcefield.HarmonicAngleGenerator(ff)
angles.registerAngle({'class1':'HW', 'class2':'OW', 'class3':'HW', 'angle':1.82421813418*radians, 'k':836.8*kilojoules_per_mole/radian})
ff.registerGenerator(angles)
nonbonded = forcefield.NonbondedGenerator(ff, 0.833333, 0.5)
nonbonded = forcefield.NonbondedGenerator(ff, 0.833333, 0.5, True)
nonbonded.registerAtom({'type':'tip3p-O', 'charge':-0.834, 'sigma':0.31507524065751241*nanometers, 'epsilon':0.635968*kilojoules_per_mole})
nonbonded.registerAtom({'type':'tip3p-H', 'charge':0.417, 'sigma':1*nanometers, 'epsilon':0*kilojoules_per_mole})
ff.registerGenerator(nonbonded)
......@@ -415,7 +477,7 @@ class TestForceField(unittest.TestCase):
self.assertEqual(unmatched_residues[0].chain.id, 'X')
self.assertEqual(unmatched_residues[0].id, '1')
def test_ggenerateTemplatesForUnmatchedResidues(self):
def test_generateTemplatesForUnmatchedResidues(self):
"""Test generation of blank forcefield residue templates for unmatched residues."""
#
# Test where we generate parameters for only a ligand.
......@@ -712,7 +774,7 @@ class TestForceField(unittest.TestCase):
<Atom name="SOD" type="SOD"/>
</Residue>
</Residues>
<LennardJonesForce lj14scale="1.0">
<LennardJonesForce lj14scale="1.0" useDispersionCorrection="False">
<Atom type="CLA" sigma="0.404468018036" epsilon="0.6276"/>
<Atom type="SOD" sigma="0.251367073323" epsilon="0.1962296"/>
<NBFixPair type1="CLA" type2="SOD" sigma="0.33239431" epsilon="0.350933"/>
......@@ -852,6 +914,33 @@ class TestForceField(unittest.TestCase):
forcefield = ForceField(ff)
system = forcefield.createSystem(pdb.topology)
def test_IdenticalTemplates(self):
"""Test a case where patches produce two identical templates."""
ff = ForceField('charmm36.xml')
pdb = PDBFile(StringIO("""
ATOM 1 N HIS 1A -2.670 -0.476 0.475 1.00 0.00 N
ATOM 2 HT1 HIS 1A -2.645 -1.336 1.036 1.00 0.00 H
ATOM 3 HT2 HIS 1A -2.859 -0.751 -0.532 1.00 0.00 H
ATOM 4 HT3 HIS 1A -3.415 0.201 0.731 1.00 0.00 H
ATOM 5 CA HIS 1A -1.347 0.163 0.471 1.00 0.00 C
ATOM 6 HA HIS 1A -1.111 0.506 1.479 1.00 0.00 H
ATOM 7 CB HIS 1A -0.352 -0.857 -0.040 1.00 0.00 C
ATOM 8 HB1 HIS 1A -0.360 -1.741 0.636 1.00 0.00 H
ATOM 9 HB2 HIS 1A -0.640 -1.175 -1.046 1.00 0.00 H
ATOM 10 CG HIS 1A 1.003 -0.275 -0.063 1.00 0.00 C
ATOM 11 CD2 HIS 1A 2.143 -0.931 -0.476 1.00 0.00 C
ATOM 12 HD2 HIS 1A 2.217 -1.952 -0.840 1.00 0.00 H
ATOM 13 NE2 HIS 1A 3.137 -0.024 -0.328 1.00 0.00 N
ATOM 14 HE2 HIS 1A 4.132 -0.238 -0.565 1.00 0.00 H
ATOM 15 CE1 HIS 1A 2.649 1.130 0.150 1.00 0.00 C
ATOM 16 HE1 HIS 1A 3.233 2.020 0.360 1.00 0.00 H
ATOM 17 ND1 HIS 1A 1.323 0.973 0.314 1.00 0.00 N
ATOM 18 C HIS 1A -1.465 1.282 -0.497 1.00 0.00 C
ATOM 19 OT1 HIS 1A -2.108 2.309 -0.180 1.00 0.00 O
ATOM 20 OT2 HIS 1A -0.864 1.172 -1.737 1.00 0.00 O
END"""))
# If the check is not done correctly, this will throw an exception.
ff.createSystem(pdb.topology)
class AmoebaTestForceField(unittest.TestCase):
"""Test the ForceField.createSystem() method with the AMOEBA forcefield."""
......@@ -940,5 +1029,6 @@ class AmoebaTestForceField(unittest.TestCase):
diff = norm(f1-f2)
self.assertTrue(diff < 0.1 or diff/norm(f1) < 1e-3)
if __name__ == '__main__':
unittest.main()
......@@ -172,6 +172,13 @@ class TestGromacsTopFile(unittest.TestCase):
top = GromacsTopFile('systems/bnz.top')
gro = GromacsGroFile('systems/bnz.gro')
for atom in top.topology.atoms():
if atom.name.startswith('C'):
self.assertEqual(elem.carbon, atom.element)
elif atom.name.startswith('H'):
self.assertEqual(elem.hydrogen, atom.element)
else:
self.assertIsNone(atom.element)
system = top.createSystem()
self.assertEqual(26, system.getNumParticles())
......
import unittest
from simtk.openmm import *
from simtk.openmm.app import *
from simtk.unit import *
class TestMetadynamics(unittest.TestCase):
"""Test the Metadynamics class"""
def testHarmonicOscillator(self):
"""Test running metadynamics on a harmonic oscillator."""
system = System()
system.addParticle(1.0)
system.addParticle(1.0)
force = HarmonicBondForce()
force.addBond(0, 1, 1.0, 100000.0)
system.addForce(force)
cv = CustomBondForce('r')
cv.addBond(0, 1)
bias = BiasVariable(cv, 0.94, 1.06, 0.02)
meta = Metadynamics(system, [bias], 300*kelvin, 2.0, 5.0, 10)
integrator = LangevinIntegrator(300*kelvin, 10/picosecond, 0.001*picosecond)
topology = Topology()
chain = topology.addChain()
residue = topology.addResidue('H2', chain)
topology.addAtom('H1', element.hydrogen, residue)
topology.addAtom('H2', element.hydrogen, residue)
simulation = Simulation(topology, system, integrator, Platform.getPlatformByName('Reference'))
simulation.context.setPositions([Vec3(0, 0, 0), Vec3(1, 0, 0)])
meta.step(simulation, 200000)
fe = meta.getFreeEnergy()
center = bias.gridWidth//2
fe -= fe[center]
# Energies should be reasonably well converged over the central part of the range.
for i in range(center-3, center+4):
r = bias.minValue + i*(bias.maxValue-bias.minValue)/(bias.gridWidth-1)
e = 0.5*100000.0*(r-1.0)**2*kilojoules_per_mole
assert abs(fe[i]-e) < 1.0*kilojoules_per_mole
\ No newline at end of file
from collections import defaultdict
import unittest
import math
import sys
from validateModeller import *
from simtk.openmm.app import *
from simtk.openmm import *
from simtk.unit import *
from collections import defaultdict
if sys.version_info >= (3, 0):
from io import StringIO
else:
......@@ -593,6 +597,51 @@ class TestModeller(unittest.TestCase):
validate_equivalence(self, topology_start, topology_after)
def test_addHydrogensPdb3_keepPositions(self):
""" Test addHydrogens() does not change existing Hs positions """
# build the Modeller
topology_start = self.topology_start3
positions = self.positions3.value_in_unit(nanometers)
modeller = Modeller(topology_start, positions)
# Record original hydrogen positions
oriH = [atom.index for atom in modeller.topology.atoms() if atom.element == element.hydrogen]
oriH_pos = [positions[i] for i in oriH]
# Remove hydrogens from last residue
res_list = list(topology_start.residues())
toDelete = [atom for atom in res_list[-1].atoms() if atom.element == element.hydrogen]
modeller.delete(toDelete)
n_deleted = len(toDelete)
# Add hydrogen atoms back.
modeller.addHydrogens(self.forcefield)
topology_after = modeller.getTopology()
# Fetch 'new' positions
new_positions = modeller.positions.value_in_unit(nanometers)
newH = [atom.index for atom in topology_after.atoms() if atom.element == element.hydrogen]
newH_pos = [new_positions[i] for i in newH]
# Did we add all Hs back in correctly?
self.assertEqual(len(newH), len(oriH))
# Are the old ones at the same position?
# Negative control
oriH_fixed = oriH_pos[:-1*n_deleted]
newH_fixed = newH_pos[:-1*n_deleted]
xyz_diff = any([norm(o-n) > 1e-6 for o, n in zip(oriH_fixed, newH_fixed)])
self.assertEqual(xyz_diff, False)
# Were the new ones optimized?
# Positive control
oriH_added = oriH_pos[-1*n_deleted:]
newH_added = newH_pos[-1*n_deleted:]
xyz_diff = all([norm(o-n) > 1e-6 for o, n in zip(oriH_added, newH_added)])
self.assertEqual(xyz_diff, True)
def test_addHydrogensASH(self):
""" Test of addHydrogens() in which we force ASH to be a variant using the variants parameter. """
......@@ -1078,27 +1127,50 @@ class TestModeller(unittest.TestCase):
def test_addMembrane(self):
"""Test adding a membrane."""
pdb = PDBFile('systems/alanine-dipeptide-implicit.pdb')
modeller = Modeller(pdb.topology, pdb.positions)
"""Test adding a membrane to a realistic system."""
mol = PDBxFile('systems/gpcr.cif')
modeller = Modeller(mol.topology, mol.positions)
ff = ForceField('amber14-all.xml', 'amber14/tip3p.xml')
# Add a membrane around alanine dipeptide??? I know, it's a silly thing to do,
# but it's fast, and all we care about is whether it works!
# Add a membrane around the GPCR
modeller.addMembrane(ff, minimumPadding=1.1*nanometers, ionicStrength=1*molar)
modeller.addMembrane(ff, minimumPadding=0.5*nanometers, ionicStrength=1*molar)
# Make sure we added everything correctly
resCount = defaultdict(int)
for res in modeller.topology.residues():
resCount[res.name] += 1
self.assertTrue(resCount['POP'] > 1)
self.assertEqual(16, resCount['ALA'])
self.assertEqual(226, resCount['POP']) # 2x128 - overlapping
self.assertTrue(resCount['HOH'] > 1)
self.assertTrue(resCount['CL'] > 1)
self.assertEqual(resCount['CL'], resCount['NA'])
self.assertEqual(1, resCount['ALA'])
originalSize = max(pdb.positions) - min(pdb.positions)
deltaQ = resCount['CL'] - resCount['NA']
self.assertEqual(deltaQ, 10) # protein net q: +10
# Check _addIons did the right thing.
expected_ion_fraction = 1.0*molar/(55.4*molar)
total_water = resCount['HOH']
total_water_ions = resCount['HOH'] + resCount['CL'] + resCount['NA']
# total_water_ions - protein charge
expected_sodium = math.floor((total_water_ions-10)*expected_ion_fraction+0.5)
expected_chlorine = expected_sodium + 10
self.assertEqual(resCount['CL'], expected_chlorine)
self.assertEqual(resCount['NA'], expected_sodium)
# Check lipid numbering for repetitions
lipidIdList = [(r.chain.id, r.id) for r in modeller.topology.residues()
if r.name == 'POP']
self.assertEqual(len(lipidIdList), len(set(lipidIdList)))
# Check dimensions to see if padding was respected
originalSize = max(mol.positions) - min(mol.positions)
newSize = modeller.topology.getUnitCellDimensions()
for i in range(3):
self.assertTrue(newSize[i] >= originalSize[i]+0.5*nanometers)
self.assertTrue(newSize[i] >= originalSize[i]+1.1*nanometers)
def assertVecAlmostEqual(self, p1, p2, tol=1e-7):
......
......@@ -11,7 +11,29 @@ else:
class TestPdbxFile(unittest.TestCase):
"""Test the PDBx/mmCIF file parser"""
def test_FormatConversion(self):
"""Test conversion from PDB to PDBx"""
mol = PDBFile('systems/ala_ala_ala.pdb')
# Write to 'file'
output = StringIO()
PDBxFile.writeFile(mol.topology, mol.positions, output,
keepIds=True)
# Read from 'file'
input = StringIO(output.getvalue())
try:
pdbx = PDBxFile(input)
except Exception:
self.fail('Parser failed to read PDBx/mmCIF file')
# Close file handles
output.close()
input.close()
def test_Triclinic(self):
"""Test parsing a file that describes a triclinic box."""
pdb = PDBxFile('systems/triclinic.pdbx')
......
import unittest
from simtk.openmm import *
from simtk.openmm.app import *
from simtk.unit import *
class TestSimulatedTempering(unittest.TestCase):
"""Test the SimulatedTempering class"""
def testHarmonicOscillator(self):
"""Test running simulated tempering on a harmonic oscillator."""
system = System()
system.addParticle(1.0)
system.addParticle(1.0)
force = HarmonicBondForce()
force.addBond(0, 1, 1.0, 1000.0)
system.addForce(force)
integrator = LangevinIntegrator(300*kelvin, 10/picosecond, 0.001*picosecond)
topology = Topology()
chain = topology.addChain()
residue = topology.addResidue('H2', chain)
topology.addAtom('H1', element.hydrogen, residue)
topology.addAtom('H2', element.hydrogen, residue)
simulation = Simulation(topology, system, integrator, Platform.getPlatformByName('Reference'))
st = SimulatedTempering(simulation, numTemperatures=10, minTemperature=200*kelvin, maxTemperature=400*kelvin, tempChangeInterval=5, reportInterval=10000)
self.assertEqual(10, len(st.temperatures))
self.assertEqual(200*kelvin, st.temperatures[0])
self.assertEqual(400*kelvin, st.temperatures[-1])
simulation.context.setPositions([Vec3(0, 0, 0), Vec3(1, 0, 0)])
# Run for a little while to let the weights stabilize.
st.step(10000)
# Run for a while and record the temperatures and distances.
distances = [[] for i in range(10)]
count = 0
for i in range(7000):
st.step(5)
pos = simulation.context.getState(getPositions=True).getPositions().value_in_unit(nanometers)
r = norm(pos[0]-pos[1])
distances[st.currentTemperature].append(r)
count += 1
# Check that it spent roughly equal time at each temperature, and that the distributions
# are correct.
for d, t in zip(distances, st.temperatures):
n = len(d)
assert count/20 < n < count/5
meanDist = sum(d)/n
assert 0.97 < meanDist < 1.03
meanEnergy = sum([0.5*1000*(r-1)**2 for r in d])/n
expectedEnergy = (0.5*MOLAR_GAS_CONSTANT_R*t).value_in_unit(kilojoules_per_mole)
self.assertAlmostEqual(expectedEnergy, meanEnergy, delta=expectedEnergy*0.3)
\ No newline at end of file
......@@ -146,6 +146,12 @@ class TestSimulation(unittest.TestCase):
self.assertTrue(endTime >= startTime+timedelta(seconds=5))
self.assertTrue(endTime < startTime+timedelta(seconds=10))
# Check that the time and step count are consistent.
time = simulation.context.getState().getTime().value_in_unit(picoseconds)
expectedTime = simulation.currentStep*integrator.getStepSize().value_in_unit(picoseconds)
self.assertAlmostEqual(expectedTime, time)
# Load the checkpoint and state and make sure they are both correct.
......
default_name
628
-1.0164436 9.7204202 -1.3496514 -1.5620000 8.9700000 -1.1030000
-2.3800000 8.3410000 -2.1080000 -1.7179782 7.9601325 -2.8856681
-3.0821711 9.0510193 -2.5449544 -3.1520000 7.1860000 -1.5010000
-4.0109994 7.0112223 -2.1488220 -2.4040000 5.9370000 -1.5420000
-2.4650000 5.3370000 -0.2560000 -3.3042020 4.6425056 -0.2170330
-1.2970000 4.4760000 -0.1030000 0.0080000 4.8710000 0.0720000
0.2697674 5.9181807 0.1079058 0.8370000 3.8690000 0.1800000
0.0320000 2.7420000 0.0700000 0.3670000 1.3650000 0.1110000
1.4810000 0.8470000 0.2580000 -0.7570000 0.5590000 -0.0400000
-0.6224177 -0.4317938 -0.0253663 -2.0390000 1.0200000 -0.2090000
-2.9910000 0.0830000 -0.3390000 -2.8621932 -0.9187515 -0.3370285
-3.9355033 0.4149725 -0.4724460 -2.3650000 2.3010000 -0.2490000
-1.2880000 3.1010000 -0.1050000 -3.5320000 7.3410000 -0.0280000
-3.5123763 8.3641638 0.3473002 -2.5000000 6.5010000 0.7270000
-1.7984795 7.1599851 1.2385736 -3.0074918 5.8728140 1.4590750
-4.8180000 6.7680000 0.1780000 -5.8420000 7.9490000 1.9600000
-6.6600000 9.0120000 1.3350000 -5.0280000 8.3570000 3.1270000
-6.7800000 6.7170000 2.3660000 -7.0690000 5.7060000 1.3810000
-6.3331501 5.7993265 0.5823041 -8.0811551 5.8464212 1.0016260
-6.9570000 4.3290000 2.0030000 -7.5464700 3.6571448 1.3791130
-5.6030000 3.7970000 1.9340000 -5.2520000 3.3030000 3.2170000
-5.4904599 2.2410471 3.2760949 -3.7870000 3.3370000 3.3330000
-3.1070000 4.5160000 3.4680000 -3.6473914 5.4507935 3.4911987
-1.7720000 4.5350000 3.5730000 -1.2564625 5.4892729 3.6810955
-1.0930000 3.2840000 3.5380000 0.2390000 3.2410000 3.6390000
0.6830222 2.3343046 3.6098747 0.7696948 4.0943254 3.7404903
-1.7470000 2.1280000 3.4070000 -3.0960000 2.1240000 3.3020000
-3.7380000 1.0700000 3.1790000 -7.3140000 4.2390000 3.4870000
-7.9144987 5.0655961 3.8667881 -5.9660000 4.2150000 4.2080000
-5.8013377 5.1717774 4.7035427 -5.9646181 3.4169155 4.9504011
-7.9760000 3.0020000 3.7260000 -9.3240000 3.6410000 5.5670000
-10.6180000 4.0540000 4.9780000 -8.8450000 4.4470000 6.7120000
-9.3940000 2.0990000 5.9870000 -9.0950000 1.0920000 5.0010000
-8.5645733 1.5750459 4.1803818 -10.0221846 0.6359194 4.6539843
-8.2090000 0.0210000 5.6050000 -8.3371874 -0.8716110 4.9926986
-6.7920000 0.3430000 5.4890000 -6.1840000 0.1430000 6.7560000
-5.7825725 -0.8688055 6.8126118 -4.9970000 0.9900000 6.8270000
-4.9620000 2.3590000 6.9540000 -5.8738631 2.9347696 7.0122840
-3.7490000 2.8380000 6.9900000 -2.9320000 1.7200000 6.8820000
-1.5190000 1.6120000 6.8620000 -0.6760000 2.5140000 6.9410000
-1.1070000 0.2890000 6.7370000 -0.1234970 0.1097499 6.7127162
-1.9490000 -0.7920000 6.6430000 -1.3590000 -1.9920000 6.5270000
-0.3674884 -2.1808308 6.4902842 -1.9723579 -2.7905925 6.4486228
-3.2680000 -0.7050000 6.6600000 -3.6890000 0.5710000 6.7800000
-8.4060000 -0.2410000 7.0990000 -9.3552262 0.1077726 7.5057261
-7.2560000 0.5040000 7.7780000 -7.6426972 1.3919120 8.2781767
-6.7826230 -0.1485106 8.5116513 -8.2500000 -1.6340000 7.3450000
-9.6070000 -2.1800000 9.2120000 -10.8980000 -2.6490000 8.6600000
-9.6900000 -1.2400000 10.3520000 -8.7080000 -3.4390000 9.6190000
-7.8820000 -4.0610000 8.6160000 -7.7790523 -3.3607937 7.7870170
-8.3458037 -4.9914356 8.2884694 -6.5110000 -4.3620000 9.1870000
-6.0834186 -5.1516884 8.5692090 -5.5900000 -3.2430000 9.0380000
-4.9540000 -3.0190000 10.2870000 -4.0159596 -3.5729975 10.3225840
-4.5290000 -1.6130000 10.3360000 -5.4320000 -0.5960000 10.4780000
-6.4857431 -0.8189733 10.5574249 -5.0340000 0.6810000 10.5210000
-5.7773556 1.4699821 10.6351496 -3.6370000 0.9380000 10.4140000
-3.1800000 2.1930000 10.4520000 -2.1827618 2.3321121 10.3728525
-3.8219922 2.9656474 10.5567060 -2.7460000 -0.0470000 10.2750000
-3.1640000 -1.3330000 10.2330000 -2.3670000 -2.2750000 10.1060000
-6.4670000 -4.6780000 10.6830000 -7.4205169 -4.9791591 11.1168290
-5.9960000 -3.3800000 11.3390000 -6.8317655 -2.9103316 11.8576587
-5.2031228 -3.6004128 12.0537476 -5.4860000 -5.6830000 10.9120000
-6.4270000 -6.7010000 12.8340000 -7.2460000 -7.8220000 12.3190000
-6.9920000 -5.9560000 13.9810000 -4.9650000 -7.2320000 13.2060000
-3.9610000 -7.2940000 12.1750000 -4.2932710 -6.6675165 11.3472232
-3.8302188 -8.3281013 11.8562031 -2.6420000 -6.7650000 12.7020000
-1.8616519 -7.1849960 12.0673666 -2.5150000 -5.3230000 12.5310000
-2.0790000 -4.7640000 13.7610000 -0.9912566 -4.6939661 13.7639629
-2.5150000 -3.3710000 13.8040000 -3.7980000 -2.9090000 13.9740000
-4.6238576 -3.5945880 14.0937095 -3.8770000 -1.6060000 13.9690000
-2.5680000 -1.1810000 13.7860000 -2.0290000 0.1270000 13.6980000
-2.6220000 1.2110000 13.7670000 -0.6510000 0.1040000 13.5110000
-0.1778738 0.9819332 13.4376278 0.1120000 -1.0350000 13.4200000
1.4290000 -0.8510000 13.2380000 1.9130654 0.0310652 13.1500112
1.9946079 -1.6842686 13.1615015 -0.3780000 -2.2610000 13.5020000
-1.7150000 -2.2610000 13.6830000 -2.3860000 -6.9830000 14.1940000
-2.9923453 -7.7621770 14.6558738 -2.7070000 -5.6350000 14.8430000
-3.6473613 -5.7088956 15.3892227 -1.9074376 -5.3634206 15.5322349
-1.0030000 -7.2590000 14.3870000 -0.8220000 -8.6540000 16.2960000
-0.8010000 -10.0440000 15.7900000 -1.6890000 -8.4020000 17.4690000
0.6710000 -8.1770000 16.6200000 1.4720000 -7.6200000 15.5600000
0.8007167 -7.3327300 14.7507073 2.1977505 -8.3608756 15.2246045
2.2070000 -6.3920000 16.0570000 3.0611861 -6.2524930 15.3944268
1.4220000 -5.1740000 15.9020000 1.4630000 -4.4580000 17.1260000
2.2811380 -3.7382382 17.0996860 0.2610000 -3.6150000 17.2010000
-0.9780000 -4.1530000 17.4180000 -1.0888032 -5.2204626 17.5390214
-2.0660000 -3.3760000 17.4840000 -3.0402391 -3.8330400 17.6574154
-1.8830000 -1.9730000 17.3210000 -2.9320000 -1.1480000 17.3780000
-2.7594942 -0.1601674 17.2574630 -3.8597395 -1.5142917 17.5368435
-0.6780000 -1.4380000 17.1090000 0.4130000 -2.2360000 17.0440000
1.5480000 -1.7760000 16.8500000 2.5890000 -6.3980000 17.5370000
2.5993699 -7.3826345 18.0044250 1.5320000 -5.5240000 18.2130000
0.8511530 -6.1537671 18.7856604 2.0197362 -4.8150087 18.8819879
3.8580000 -5.7700000 17.6880000 4.6210000 -6.9150000 19.6170000
5.4090000 -8.0590000 19.1040000 3.7910000 -7.1820000 20.8130000
5.5940000 -5.6790000 19.9030000 5.9170000 -4.7790000 18.8250000
5.1809968 -4.9285318 18.0350383 6.9256405 -4.9864668 18.4676451
5.8450000 -3.3440000 19.3080000 6.4564338 -2.7549869 18.6243980
4.5080000 -2.7820000 19.1780000 4.1670000 -2.1520000 20.4040000
4.4375573 -1.0970298 20.3600010 2.7120000 -2.1310000 20.5130000
1.8830000 -3.2010000 20.7570000 2.2840469 -4.1946171 20.8922346
0.6210000 -2.8710000 20.7980000 0.6140000 -1.5010000 20.5690000
-0.4670000 -0.5860000 20.4980000 -1.6770000 -0.8100000 20.6290000
-0.0260000 0.7090000 20.2470000 -0.7173199 1.4284061 20.1796934
1.2870000 1.0770000 20.0840000 1.5110000 2.3790000 19.8470000
0.8186781 3.1098080 19.7650829 2.4739352 2.6548260 19.7174750
2.3040000 0.2340000 20.1480000 1.8980000 -1.0300000 20.3910000
6.2000000 -3.1180000 20.7780000 6.7736449 -3.9206164 21.2415054
4.8500000 -2.9820000 21.4850000 4.6547319 -3.8793468 22.0721443
4.8703687 -2.1142902 22.1443672 6.8980000 -1.8840000 20.8980000
8.3670000 -2.0770000 22.7490000 9.6710000 -2.5060000 22.1970000
7.9130000 -2.7820000 23.9680000 8.3900000 -0.5000000 23.0190000
8.0600000 0.3980000 21.9420000 7.5434235 -0.1781573 21.1743468
8.9726988 0.8463811 21.5495258 7.1420000 1.4950000 22.4440000
7.2430386 2.3275711 21.7477846 5.7370000 1.1220000 22.3650000
5.1240000 1.4240000 23.6090000 4.6917269 2.4237842 23.5681236
3.9560000 0.5470000 23.7670000 4.0940000 -0.7890000 24.0240000
5.0794757 -1.2212915 24.1154420 3.0220000 -1.5800000 24.1660000
3.1627782 -2.6415980 24.3692030 1.7390000 -0.9760000 24.0400000
0.6340000 -1.7140000 24.1720000 -0.2565303 -1.2473729 24.0754826
0.7023947 -2.7036568 24.3617446 1.5930000 0.3270000 23.7890000
2.6850000 1.1140000 23.6480000 2.5900000 2.3290000 23.4170000
7.3330000 1.9060000 23.9040000 8.2932558 1.6262424 24.3372936
6.2080000 1.1960000 24.6570000 6.6227941 0.3737560 25.2400608
5.7151797 1.9021944 25.3252199 7.1360000 3.3110000 24.0160000
8.5470000 3.7460000 25.8690000 9.8540000 4.1220000 25.2830000
8.5980000 2.9150000 27.0930000 7.6860000 5.0640000 26.1500000
6.8830000 5.6130000 25.0880000 6.7619185 4.8408654 24.3282320
7.3758321 6.4943355 24.6775552 5.5190000 6.0070000 25.6200000
5.1177105 6.7474854 24.9280842 4.5650000 4.9070000 25.5710000
3.9180000 4.8210000 26.8320000 2.9974109 5.4042001 26.8098070
3.4530000 3.4480000 27.0080000 4.2240000 2.3370000 27.2550000
5.2979937 2.4143869 27.3383714 3.5230000 1.2420000 27.3660000
2.2090000 1.6530000 27.1820000 1.0020000 0.9090000 27.1920000
0.8480000 -0.3060000 27.3710000 -0.1030000 1.7200000 26.9620000
-1.0029788 1.2842958 26.9479047 -0.0540000 3.0760000 26.7510000
-1.2320000 3.6860000 26.5460000 -2.1441441 3.2531200 26.5193843
-1.2016531 4.6820544 26.3815140 1.0640000 3.7830000 26.7400000
2.1500000 3.0130000 26.9600000 5.4800000 6.4640000 27.0790000
6.4410063 6.7756753 27.4881750 4.9670000 5.2480000 27.8520000
5.7862036 4.8045434 28.4179956 4.1787377 5.5587771 28.5376824
4.5290000 7.5150000 27.2070000 5.2520000 8.9120000 28.9800000
6.0370000 9.9990000 28.3550000 5.8370000 8.3030000 30.1960000
3.7730000 9.4330000 29.3000000 2.7690000 9.3620000 28.2690000
3.1209393 8.6665679 27.5070204 2.6077636 10.3548903 27.8491520
1.4670000 8.8490000 28.8480000 0.6756813 9.1798251 28.1753420
1.3830000 7.3950000 28.8230000 0.9620000 6.9490000 30.1030000
-0.1231724 6.8471821 30.1145435 1.4420000 5.5720000 30.2870000
2.7660000 5.2970000 30.4930000 3.4857415 6.1016302 30.5236981
3.1920000 4.0380000 30.6590000 4.2527815 3.8488328 30.8234950
2.2160000 3.0030000 30.6120000 2.5810000 1.7280000 30.7720000
1.8578611 1.0240444 30.7317855 3.5506330 1.4916312 30.9270582
0.9210000 3.2600000 30.4120000 0.5050000 4.5370000 30.2460000
-0.6890000 4.8170000 30.0580000 1.2020000 9.2070000 30.3110000
1.7838797 10.0466269 30.6911862 1.5620000 7.9430000 31.0910000
2.4986836 8.0999176 31.6258832 0.7697469 7.7180450 31.8050242
-0.1900000 9.4600000 30.4770000 -0.4556964 9.6945525 31.3691822
-6.4046301 -6.2620556 31.6392957 -6.4310000 -5.3370000 31.3840000
-6.7870000 -4.3500000 32.3710000 -6.0483911 -4.3968665 33.1712256
-7.7783825 -4.5438430 32.7804955 -6.7650000 -2.9660000 31.7530000
-7.3975401 -2.3355782 32.3779495 -5.4480000 -2.3470000 31.8250000
-5.1280000 -1.8260000 30.5440000 -5.4351049 -0.7816994 30.4872226
-3.6740000 -1.7650000 30.4310000 -2.8080000 -2.8230000 30.2900000
-3.1734657 -3.8386036 30.2528125 -1.5580000 -2.4540000 30.2140000
-1.6000000 -1.0690000 30.3110000 -0.5530000 -0.1140000 30.2910000
0.6650000 -0.3070000 30.1800000 -1.0390000 1.1830000 30.4170000
-0.3737792 1.9296378 30.4135087 -2.3640000 1.5180000 30.5460000
-2.6350000 2.8280000 30.6570000 -1.9694813 3.5876610 30.6670586
-3.6074380 3.0802891 30.7609936 -3.3510000 0.6370000 30.5650000
-2.9000000 -0.6290000 30.4450000 -7.1250000 -2.8950000 30.2680000
-7.6694959 -3.7581354 29.8850889 -5.7790000 -2.7810000 29.5490000
-5.5513966 -3.7236220 29.0512445 -5.8284150 -1.9824782 28.8087160
-7.8660000 -1.7040000 30.0310000 -9.3240000 -2.1260000 28.2090000
-10.6130000 -2.5460000 28.8020000 -8.8430000 -2.9290000 27.0630000
-9.4020000 -0.5850000 27.7880000 -9.1060000 0.4240000 28.7740000
-8.5706365 -0.0564898 29.5929112 -10.0348150 0.8751581 29.1230840
-8.2270000 1.4990000 28.1670000 -8.3583910 2.3908738 28.7796964
-6.8090000 1.1850000 28.2790000 -6.2050000 1.3880000 27.0100000
-5.8081139 2.4016434 26.9542540 -5.0060000 0.5410000 26.9360000
-5.0970000 -0.8170000 26.8100000 -6.0666455 -1.2902634 26.7629970
-3.9980000 -1.5800000 26.7430000 -4.1004771 -2.6604591 26.6419710
-2.7370000 -0.9210000 26.8080000 -1.6060000 -1.6290000 26.7450000
-0.7326617 -1.1240981 26.7945471 -1.6390933 -2.6340780 26.6510615
-2.6380000 0.4040000 26.9310000 -3.7570000 1.1620000 26.9970000
-3.7050000 2.3960000 27.1100000 -8.4300000 1.7600000 26.6740000
-9.3784890 1.4060128 26.2700688 -7.2780000 1.0210000 25.9920000
-7.6613283 0.1308192 25.4932648 -6.8102685 1.6757780 25.2567495
-8.2820000 3.1540000 26.4270000 -9.7050000 3.3580000 24.5430000
-11.0250000 3.7430000 25.0920000 -9.7240000 2.4120000 23.4050000
-8.8900000 4.6730000 24.1340000 -8.1080000 5.3500000 25.1370000
-7.9608289 4.6592305 25.9672278 -8.6322331 6.2487977 25.4617199
-6.7580000 5.7390000 24.5670000 -6.3837983 6.5565858 25.1831379
-5.7670000 4.6830000 24.7210000 -5.1140000 4.4980000 23.4730000
-4.2145000 5.1125618 23.4367688 -4.6010000 3.1320000 23.4290000
-5.3320000 1.9760000 23.2920000 -6.4079448 2.0065211 23.2036078
-4.5920000 0.9010000 23.2860000 -3.2940000 1.3740000 23.4270000
-2.0620000 0.6750000 23.4870000 -1.8640000 -0.5450000 23.4250000
-0.9860000 1.5440000 23.6350000 -0.0708497 1.1443558 23.6877542
-1.0840000 2.9110000 23.7150000 0.0720000 3.5790000 23.8580000
0.9987517 3.1829196 23.9239683 0.0065039 4.5845579 23.9262976
-2.2260000 3.5750000 23.6600000 -3.2840000 2.7500000 23.5170000
-6.7330000 6.0540000 23.0710000 -7.7034398 6.2905730 22.6346761
-6.1760000 4.7880000 22.4190000 -6.9780766 4.2626514 21.9005589
-5.3984151 5.0585384 21.7046675 -5.8200000 7.1200000 22.8410000
-6.5880000 8.3140000 20.9420000 -7.4130000 9.4280000 21.4610000
-7.1500000 7.5700000 19.7920000 -5.1290000 8.8540000 20.5710000
-4.1250000 8.9180000 21.6030000 -4.4542527 8.2863168 22.4280267
-3.9995586 9.9517758 21.9249823 -2.8040000 8.3970000 21.0730000
-2.0261643 8.8192075 21.7092482 -2.6690000 6.9560000 21.2390000
-2.2300000 6.4040000 20.0060000 -1.1419076 6.3396911 20.0016951
-2.6610000 5.0000000 19.9570000 -3.9730000 4.6590000 19.7810000
-4.7198686 5.4317572 19.6740728 -4.3550000 3.3770000 19.7380000
-5.4082947 3.1362196 19.5941408 -3.3430000 2.3850000 19.8830000
-3.6630000 1.0890000 19.8470000 -2.9158713 0.4177925 19.9536764
-4.6235298 0.8051847 19.7168737 -2.0580000 2.7070000 20.0550000
-1.6880000 4.0080000 20.0970000 -0.5050000 4.3460000 20.2540000
-2.5490000 8.6220000 19.5820000 -3.1595701 9.4001005 19.1238924
-2.8630000 7.2770000 18.9280000 -3.8035793 7.3487368 18.3818648
-2.0619912 7.0121975 18.2378082 -1.1670000 8.9070000 19.3900000
-1.3270000 10.2600000 17.4510000 -1.3960000 11.6520000 17.9520000
-2.1790000 9.9480000 16.2820000 0.1920000 9.8820000 17.1250000
1.0310000 9.3820000 18.1850000 0.3822746 9.0546490 18.9974633
1.7075788 10.1699368 18.5159038 1.8440000 8.2030000 17.6910000
2.7072575 8.1218541 18.3515309 1.1400000 6.9370000 17.8530000
1.2250000 6.2190000 16.6310000 2.0883952 5.5541782 16.6566894
0.0880000 5.3060000 16.5630000 -1.2300000 5.6370000 16.3530000
-1.5299006 6.6655161 16.2165587 -2.0220000 4.5990000 16.3440000
-1.1780000 3.5180000 16.5610000 -1.4630000 2.1320000 16.6530000
-2.5580000 1.5630000 16.5580000 -0.3120000 1.3850000 16.8790000
-0.4115714 0.3932031 16.9591432 0.9530000 1.9050000 17.0010000
1.9370000 1.0200000 17.2190000 1.8440403 0.0187528 17.3136722
2.8687953 1.3967970 17.3184105 1.2330000 3.1950000 16.9160000
0.1290000 3.9390000 16.6980000 2.2210000 8.2280000 16.2090000
2.1656707 9.2091943 15.7375180 1.2210000 7.2830000 15.5390000
0.4986711 7.8643970 14.9660099 1.7523925 6.6048962 14.8712444
3.5270000 7.6840000 16.0570000 4.5110000 8.7230000 14.1670000
5.2900000 9.8700000 14.6850000 3.6850000 8.9880000 12.9680000
5.4920000 7.4920000 13.8810000 5.8160000 6.5920000 14.9580000
5.0770025 6.7354381 15.7462945 6.8221052 6.8044844 15.3195290
5.7540000 5.1580000 14.4720000 6.3656414 4.5704633 15.1566859
4.4200000 4.5880000 14.5940000 4.0880000 3.9590000 13.3650000
4.3637534 2.9053904 13.4093395 2.6230000 3.9300000 13.2490000
1.9020000 5.0660000 13.0020000 2.4086235 6.0129378 12.8878010
0.5680000 5.0270000 12.8980000 0.0198099 5.9482250 12.7006871
-0.0670000 3.7630000 13.0540000 -1.3960000 3.6630000 12.9600000
-1.8074137 2.7480327 13.0769365 -1.9566545 4.4831257 12.7778962
0.6270000 2.6480000 13.2960000 1.9750000 2.7020000 13.3980000
2.6550000 1.6890000 13.6210000 6.1160000 4.9380000 13.0030000
6.6874275 5.7450600 12.5444987 4.7710000 4.7970000 12.2900000
4.5732851 5.6953120 11.7051550 4.7992372 3.9317695 11.6276715
6.8230000 3.7070000 12.8830000 8.1500000 4.2140000 10.9870000
9.4270000 4.7270000 11.5310000 7.6440000 4.8880000 9.7700000
8.2750000 2.6420000 10.7170000 8.0100000 1.7250000 11.7960000
7.4605582 2.2661289 12.5663203 8.9521082 1.3379241 12.1842074
7.1640000 0.5700000 11.2990000 7.3229233 -0.2540577 11.9945369
5.7370000 0.8510000 11.3860000 5.1380000 0.5080000 10.1450000
4.7724936 -0.5180357 10.1868935 3.9220000 1.3020000 9.9950000
3.8390000 2.6500000 9.7370000 4.7298530 3.2496542 9.6221183
2.6090000 3.0800000 9.6570000 1.8320000 1.9490000 9.8740000
0.4240000 1.7930000 9.9060000 -0.4510000 2.6540000 9.7430000
0.0590000 0.4750000 10.1590000 -0.9176253 0.2641648 10.2008347
0.9380000 -0.5610000 10.3560000 0.3910000 -1.7640000 10.5880000
-0.5932476 -1.9836089 10.6439368 1.0321992 -2.5289225 10.7424606
2.2540000 -0.4300000 10.3280000 2.6300000 0.8430000 10.0850000
7.3730000 0.1720000 9.8380000 8.3097832 0.5141013 9.3981106
6.1980000 0.8060000 9.0920000 6.5534915 1.6542594 8.5070376
5.7492721 0.0687479 8.4262653 7.2670000 -1.2430000 9.7270000
8.6450000 -1.9180000 7.9200000 9.9510000 -2.2850000 8.5120000
8.6970000 -1.0900000 6.6940000 7.7920000 -3.2420000 7.6370000
6.9870000 -3.7930000 8.6970000 6.8585988 -3.0194037 9.4540746
7.4825909 -4.6708743 9.1115202 5.6280000 -4.1950000 8.1600000
5.2277154 -4.9362316 8.8516988 4.6680000 -3.1010000 8.2020000
4.0260000 -3.0210000 6.9380000 3.1080633 -3.6084757 6.9570758
3.5520000 -1.6420000 6.7540000 4.4190000 -0.6130000 6.5140000
5.4801650 -0.8052026 6.4558028 3.9760000 0.6400000 6.3480000
4.6909680 1.4404290 6.1576466 2.5710000 0.8560000 6.4320000
2.0700000 2.0840000 6.2750000 1.0682966 2.1944877 6.3419573
2.6843303 2.8654469 6.0960014 1.7150000 -0.1420000 6.6670000
2.1780000 -1.4030000 6.8320000 1.4150000 -2.3560000 7.0510000
5.5990000 -4.6560000 6.7020000 6.5636024 -4.9632869 6.2980003
5.0830000 -3.4450000 5.9240000 5.9024866 -2.9979318 5.3612647
4.3001069 -3.7618456 5.2349518 4.6540000 -5.7130000 6.5720000
5.6340000 -6.8770000 4.7560000 6.4910000 -7.9140000 5.3750000
6.1740000 -6.2270000 3.5420000 4.1920000 -7.4930000 4.4390000
3.1890000 -7.4910000 5.4730000 3.4975514 -6.7766054 6.2362408
3.0942573 -8.4936374 5.8899445 1.8530000 -7.0620000 4.9000000
1.0869842 -7.4459106 5.5737446 1.6750000 -5.6160000 4.9310000
1.2220000 -5.1940000 3.6530000 0.1324592 -5.1644836 3.6416460
1.6070000 -3.7980000 3.4750000 2.8740000 -3.3080000 3.2600000
3.7238309 -3.9723273 3.2065340 2.9070000 -2.0090000 3.1390000
1.5830000 -1.6150000 3.2820000 0.9980000 -0.3240000 3.2450000
1.5530000 0.7680000 3.0710000 -0.3790000 -0.3790000 3.4350000
-0.8832334 0.4844898 3.4234868 -1.1010000 -1.5300000 3.6370000
-2.4240000 -1.3760000 3.8030000 -2.9391247 -0.5072448 3.8063723
-2.9598550 -2.2174786 3.9607151 -0.5680000 -2.7390000 3.6730000
0.7690000 -2.7090000 3.4910000 1.6070000 -7.4320000 3.4360000
2.2411112 -8.2304127 3.0505925 1.8820000 -6.1430000 2.6600000
2.8253191 -6.2364448 2.1219328 1.0746984 -5.9670158 1.9490894
0.2360000 -7.7740000 3.2730000 0.1070000 -9.3520000 1.5080000
0.1350000 -10.6870000 2.1460000 0.9670000 -9.1840000 0.3150000
-1.4010000 -8.9630000 1.1420000 -2.2230000 -8.3340000 2.1440000
-1.5634084 -7.9465600 2.9204852 -2.9229570 -9.0637396 2.5509900
-3.0000000 -7.1870000 1.5330000 -3.8598665 -7.0147340 2.1803433
-2.2590000 -5.9330000 1.5690000 -2.3230000 -5.3400000 0.2810000
-3.1663490 -4.6507105 0.2392668 -1.1520000 -4.4660000 0.1230000
0.1050000 -4.9780000 -0.0430000 0.2532187 -6.0476423 -0.0602193
1.1660000 -4.1730000 -0.1860000 2.1558360 -4.6096997 -0.3187345
0.9330000 -2.7680000 -0.1580000 1.9520000 -1.9160000 -0.2970000
1.7446019 -0.9278532 -0.2714544 2.8921980 -2.2629310 -0.4225705
-0.2910000 -2.2580000 0.0030000 -1.3530000 -3.0840000 0.1460000
-2.5040000 -2.6480000 0.2980000 -3.3790000 -7.3490000 0.0600000
-3.3542540 -8.3737211 -0.3107197 -2.3520000 -6.5080000 -0.6980000
-1.6479131 -7.1657806 -1.2075935 -2.8626471 -5.8846952 -1.4320509
-4.6690000 -6.7840000 -0.1480000 -4.9947625 -6.8385221 -1.0493905
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment