Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
alta
alta
Commits
0e0fb8e7
Commit
0e0fb8e7
authored
Aug 23, 2013
by
Laurent Belcour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing Fresnel interface
parent
15ca851a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sources/core/function.h
sources/core/function.h
+3
-2
No files found.
sources/core/function.h
View file @
0e0fb8e7
...
...
@@ -259,6 +259,7 @@ class fresnel : public nonlinear_function
params
[
i
]
=
func_params
[
i
];
}
vec
fres_params
=
getFresnelParameters
();
for
(
int
i
=
nb_func_params
;
i
<
nb_params
;
++
i
)
{
params
[
i
]
=
fres_params
[
i
-
nb_func_params
];
...
...
@@ -275,7 +276,7 @@ class fresnel : public nonlinear_function
virtual
vec
parametersJacobian
(
const
vec
&
x
)
const
=
0
;
//! \brief set the value for the base function
setBase
(
nonlinear_function
*
fin
)
void
setBase
(
nonlinear_function
*
fin
)
{
f
=
fin
;
}
...
...
@@ -283,7 +284,7 @@ class fresnel : public nonlinear_function
protected:
// methods
//! \brief the interface for the Fresnel code
virtual
vec
fresnel
(
const
vec
&
x
)
const
=
0
;
virtual
vec
fresnel
Value
(
const
vec
&
x
)
const
=
0
;
//! Number of parameters to this non-linear function
virtual
int
nbFresnelParameters
()
const
=
0
;
...
...
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