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
e9c0d336
Commit
e9c0d336
authored
May 26, 2020
by
Philipp Schäfer
Browse files
ART - RayToPropagationPath
- added reserve() for speedup
parent
99fa56f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/ITAPropagationPathSim/AtmosphericRayTracing/Utils/RayToPropagationPath.h
View file @
e9c0d336
...
...
@@ -74,6 +74,7 @@ namespace ITAPropagationPathSim
ITAGeo
::
CPropagationPathList
ToPropagationPath
(
const
std
::
vector
<
std
::
shared_ptr
<
CRay
>>&
vpRays
)
{
ITAGeo
::
CPropagationPathList
propagationPathList
;
propagationPathList
.
reserve
(
vpRays
.
size
());
for
each
(
std
::
shared_ptr
<
CRay
>
pRay
in
vpRays
)
{
if
(
!
pRay
)
...
...
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