Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
e72fc103
Commit
e72fc103
authored
Jul 28, 2009
by
Peter Eastman
Browse files
Reorganized headers for Lepton.
parent
f48b8860
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
59 additions
and
17 deletions
+59
-17
libraries/lepton/include/Lepton.h
libraries/lepton/include/Lepton.h
+42
-0
libraries/lepton/include/lepton/CustomFunction.h
libraries/lepton/include/lepton/CustomFunction.h
+0
-0
libraries/lepton/include/lepton/Exception.h
libraries/lepton/include/lepton/Exception.h
+0
-0
libraries/lepton/include/lepton/ExpressionProgram.h
libraries/lepton/include/lepton/ExpressionProgram.h
+0
-0
libraries/lepton/include/lepton/ExpressionTreeNode.h
libraries/lepton/include/lepton/ExpressionTreeNode.h
+0
-0
libraries/lepton/include/lepton/Operation.h
libraries/lepton/include/lepton/Operation.h
+0
-0
libraries/lepton/include/lepton/ParsedExpression.h
libraries/lepton/include/lepton/ParsedExpression.h
+0
-0
libraries/lepton/include/lepton/Parser.h
libraries/lepton/include/lepton/Parser.h
+0
-0
libraries/lepton/include/lepton/windowsIncludes.h
libraries/lepton/include/lepton/windowsIncludes.h
+0
-0
libraries/lepton/src/ExpressionProgram.cpp
libraries/lepton/src/ExpressionProgram.cpp
+3
-3
libraries/lepton/src/ExpressionTreeNode.cpp
libraries/lepton/src/ExpressionTreeNode.cpp
+3
-3
libraries/lepton/src/Operation.cpp
libraries/lepton/src/Operation.cpp
+2
-2
libraries/lepton/src/ParsedExpression.cpp
libraries/lepton/src/ParsedExpression.cpp
+3
-3
libraries/lepton/src/Parser.cpp
libraries/lepton/src/Parser.cpp
+6
-6
No files found.
libraries/lepton/include/Lepton.h
0 → 100644
View file @
e72fc103
#ifndef LEPTON_H_
#define LEPTON_H_
/* -------------------------------------------------------------------------- *
* Lepton *
* -------------------------------------------------------------------------- *
* This is part of the Lepton expression parser originating from *
* Simbios, the NIH National Center for Physics-Based Simulation of *
* Biological Structures at Stanford, funded under the NIH Roadmap for *
* Medical Research, grant U54 GM072970. See https://simtk.org. *
* *
* Portions copyright (c) 2009 Stanford University and the Authors. *
* Authors: Peter Eastman *
* Contributors: *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the "Software"), *
* to deal in the Software without restriction, including without limitation *
* the rights to use, copy, modify, merge, publish, distribute, sublicense, *
* and/or sell copies of the Software, and to permit persons to whom the *
* Software is furnished to do so, subject to the following conditions: *
* *
* The above copyright notice and this permission notice shall be included in *
* all copies or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *
* THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
#include "lepton/CustomFunction.h"
#include "lepton/ExpressionProgram.h"
#include "lepton/ExpressionTreeNode.h"
#include "lepton/Operation.h"
#include "lepton/ParsedExpression.h"
#include "lepton/Parser.h"
#endif
/*LEPTON_H_*/
libraries/lepton/include/CustomFunction.h
→
libraries/lepton/include/
lepton/
CustomFunction.h
View file @
e72fc103
File moved
libraries/lepton/include/Exception.h
→
libraries/lepton/include/
lepton/
Exception.h
View file @
e72fc103
File moved
libraries/lepton/include/ExpressionProgram.h
→
libraries/lepton/include/
lepton/
ExpressionProgram.h
View file @
e72fc103
File moved
libraries/lepton/include/ExpressionTreeNode.h
→
libraries/lepton/include/
lepton/
ExpressionTreeNode.h
View file @
e72fc103
File moved
libraries/lepton/include/Operation.h
→
libraries/lepton/include/
lepton/
Operation.h
View file @
e72fc103
File moved
libraries/lepton/include/ParsedExpression.h
→
libraries/lepton/include/
lepton/
ParsedExpression.h
View file @
e72fc103
File moved
libraries/lepton/include/Parser.h
→
libraries/lepton/include/
lepton/
Parser.h
View file @
e72fc103
File moved
libraries/lepton/include/windowsIncludes.h
→
libraries/lepton/include/
lepton/
windowsIncludes.h
View file @
e72fc103
File moved
libraries/lepton/src/ExpressionProgram.cpp
View file @
e72fc103
...
@@ -29,9 +29,9 @@
...
@@ -29,9 +29,9 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#include "ExpressionProgram.h"
#include "
lepton/
ExpressionProgram.h"
#include "Operation.h"
#include "
lepton/
Operation.h"
#include "ParsedExpression.h"
#include "
lepton/
ParsedExpression.h"
using
namespace
Lepton
;
using
namespace
Lepton
;
using
namespace
std
;
using
namespace
std
;
...
...
libraries/lepton/src/ExpressionTreeNode.cpp
View file @
e72fc103
...
@@ -29,9 +29,9 @@
...
@@ -29,9 +29,9 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#include "ExpressionTreeNode.h"
#include "
lepton/
ExpressionTreeNode.h"
#include "Exception.h"
#include "
lepton/
Exception.h"
#include "Operation.h"
#include "
lepton/
Operation.h"
using
namespace
Lepton
;
using
namespace
Lepton
;
using
namespace
std
;
using
namespace
std
;
...
...
libraries/lepton/src/Operation.cpp
View file @
e72fc103
...
@@ -30,8 +30,8 @@
...
@@ -30,8 +30,8 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#include "Operation.h"
#include "
lepton/
Operation.h"
#include "ExpressionTreeNode.h"
#include "
lepton/
ExpressionTreeNode.h"
using
namespace
Lepton
;
using
namespace
Lepton
;
using
namespace
std
;
using
namespace
std
;
...
...
libraries/lepton/src/ParsedExpression.cpp
View file @
e72fc103
...
@@ -29,9 +29,9 @@
...
@@ -29,9 +29,9 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#include "ParsedExpression.h"
#include "
lepton/
ParsedExpression.h"
#include "ExpressionProgram.h"
#include "
lepton/
ExpressionProgram.h"
#include "Operation.h"
#include "
lepton/
Operation.h"
#include <limits>
#include <limits>
#include <vector>
#include <vector>
...
...
libraries/lepton/src/Parser.cpp
View file @
e72fc103
...
@@ -29,12 +29,12 @@
...
@@ -29,12 +29,12 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#include "Parser.h"
#include "
lepton/
Parser.h"
#include "CustomFunction.h"
#include "
lepton/
CustomFunction.h"
#include "Exception.h"
#include "
lepton/
Exception.h"
#include "ExpressionTreeNode.h"
#include "
lepton/
ExpressionTreeNode.h"
#include "Operation.h"
#include "
lepton/
Operation.h"
#include "ParsedExpression.h"
#include "
lepton/
ParsedExpression.h"
#include <iostream>
#include <iostream>
using
namespace
Lepton
;
using
namespace
Lepton
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment