Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
qbox
qbox-public
Commits
9e73872c
Commit
9e73872c
authored
7 years ago
by
Francois Gygi
Browse files
Options
Download
Plain Diff
Merge branch 'hotfix24'
parents
d2a3c52a
4ee30f9a
master
rel1_78_4
rel1_78_3
rel1_78_2
rel1_78_1
rel1_78_0
rel1_77_0
rel1_76_4
rel1_76_3
rel1_76_2
rel1_76_1
rel1_76_0
rel1_75_1
rel1_75_0
rel1_74_4
rel1_74_3
rel1_74_2
rel1_74_1
rel1_74_0
rel1_73_5
rel1_73_4
rel1_73_3
rel1_73_2
rel1_73_1
rel1_72_3
rel1_72_2
rel1_72_1
rel1_72_0
rel1_71_5
rel1_71_4
rel1_71_3
rel1_71_2
rel1_71_1
rel1_71_0
rel1_70_0
rel1_69_1
rel1_69_0
rel1_68_4
rel1_68_3
rel1_68_2
rel1_68_1
rel1_68_0
rel1_67_4
rel1_67_3
rel1_67_2
rel1_67_1
rel1_67_0
rel1_66_3
rel1_66_2
rel1_66_1
rel1_66_0
rel1_65_1
rel1_65_0
rel1_64_0
rel1_63_11
rel1_63_10
rel1_63_9
rel1_63_8
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/TorsionConstraint.C
+5
-1
src/TorsionConstraint.C
with
5 additions
and
1 deletion
+5
-1
src/TorsionConstraint.C
+
5
-
1
View file @
9e73872c
...
...
@@ -348,7 +348,11 @@ double TorsionConstraint::sigma(D3vector a, D3vector b,
D3vector
c
,
D3vector
d
)
const
{
// compute the constraint function
return
torsion_angle
(
a
,
b
,
c
,
d
)
-
angle_
;
double
delta
=
torsion_angle
(
a
,
b
,
c
,
d
)
-
angle_
;
// account for discontinuity at +/- 180 deg
if
(
delta
>
180
.
0
)
delta
-=
360
.
0
;
if
(
delta
<
-
180
.
0
)
delta
+=
360
.
0
;
return
delta
;
}
////////////////////////////////////////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets