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
5d9219ec
Commit
5d9219ec
authored
Feb 28, 2012
by
Peter Eastman
Browse files
Mike Garrahan's fix to bug 1594 (set and get not working on Fortran arrays)
parent
0dd32915
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wrappers/FortranWrapper_Source.xslt
wrappers/FortranWrapper_Source.xslt
+4
-4
No files found.
wrappers/FortranWrapper_Source.xslt
View file @
5d9219ec
...
...
@@ -299,16 +299,16 @@ OPENMM_EXPORT void <xsl:value-of select="$name_lower"/>_resize_(<xsl:value-of se
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_upper"
/>
_RESIZE(
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
size) {
<xsl:value-of
select=
"$name"
/>
_resize(array, size);
}
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_lower"
/>
_append_(
<xsl:value-of
select=
"$name"
/>
* const
&
array,
<xsl:value-of
select=
"$element_type"
/>
value) {
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_lower"
/>
_append_(
<xsl:value-of
select=
"$name"
/>
* const
&
array,
const
<xsl:value-of
select=
"$element_type"
/>
&
value) {
<xsl:value-of
select=
"$name"
/>
_append(array, value);
}
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_upper"
/>
_APPEND(
<xsl:value-of
select=
"$name"
/>
* const
&
array,
<xsl:value-of
select=
"$element_type"
/>
value) {
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_upper"
/>
_APPEND(
<xsl:value-of
select=
"$name"
/>
* const
&
array,
const
<xsl:value-of
select=
"$element_type"
/>
&
value) {
<xsl:value-of
select=
"$name"
/>
_append(array, value);
}
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_lower"
/>
_set_(
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
<xsl:value-of
select=
"$element_type"
/>
value) {
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_lower"
/>
_set_(
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
const
<xsl:value-of
select=
"$element_type"
/>
&
value) {
<xsl:value-of
select=
"$name"
/>
_set(array, index-1, value);
}
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_upper"
/>
_SET(
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
<xsl:value-of
select=
"$element_type"
/>
value) {
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_upper"
/>
_SET(
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
const
<xsl:value-of
select=
"$element_type"
/>
&
value) {
<xsl:value-of
select=
"$name"
/>
_set(array, index-1, value);
}
OPENMM_EXPORT void
<xsl:value-of
select=
"$name_lower"
/>
_get_(const
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
<xsl:value-of
select=
"$element_type"
/>
&
result) {
...
...
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