Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITAPropagationPathSim
Commits
f58b48db
Commit
f58b48db
authored
Apr 16, 2020
by
Philipp Schäfer
Browse files
Atmospheric Ray Tracing - ODESolver
- fixed indicing bug
parent
cb07bff0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ITAPropagationPathSim/AtmosphericRayTracing/ODESolver/ODESolver.cpp
View file @
f58b48db
...
...
@@ -28,7 +28,7 @@ VistaVector3D WFPositionDerivative(const VistaVector3D& s, const double& omega,
//! Calculates the derivative of the slowness vector z-component according to the ODEs for a stratified medium
double
SlownessZDerivativeStratified
(
const
VistaVector3D
&
s
,
const
double
&
omega
,
const
double
&
c
,
const
double
&
dc
,
const
VistaVector3D
&
dv
)
{
return
-
(
omega
/
c
*
dc
+
s
[
1
]
*
dv
[
1
]
+
s
[
2
]
*
dv
[
2
]
);
return
-
(
omega
/
c
*
dc
+
s
[
Vista
::
X
]
*
dv
[
Vista
::
X
]
+
s
[
Vista
::
Y
]
*
dv
[
Vista
::
Y
]
);
}
//! Calculates the derivatives of the wavefront position and slowness vector according to the ODEs for a stratified medium
...
...
Write
Preview
Supports
Markdown
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