Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
01fa81df
Commit
01fa81df
authored
8 years ago
by
Van Herck, Walter
Browse files
Options
Downloads
Patches
Plain Diff
Enable FullFresnelMap to retrieve/calculate Fresnel coefficients of any layer
parent
7939d344
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Core/Computation/FullFresnelMap.cpp
+12
-0
12 additions, 0 deletions
Core/Computation/FullFresnelMap.cpp
Core/Computation/FullFresnelMap.h
+11
-0
11 additions, 0 deletions
Core/Computation/FullFresnelMap.h
with
23 additions
and
0 deletions
Core/Computation/FullFresnelMap.cpp
+
12
−
0
View file @
01fa81df
...
@@ -32,6 +32,18 @@ size_t FullFresnelMap::size() const
...
@@ -32,6 +32,18 @@ size_t FullFresnelMap::size() const
return
m_full_map
.
size
();
return
m_full_map
.
size
();
}
}
const
ILayerRTCoefficients
*
FullFresnelMap
::
getOutCoefficients
(
const
SimulationElement
&
sim_element
,
size_t
layer_index
)
const
{
return
layerFresnelMap
(
layer_index
)
->
getOutCoefficients
(
sim_element
);
}
const
ILayerRTCoefficients
*
FullFresnelMap
::
getInCoefficients
(
const
SimulationElement
&
sim_element
,
size_t
layer_index
)
const
{
return
layerFresnelMap
(
layer_index
)
->
getInCoefficients
(
sim_element
);
}
const
ILayerSpecularInfo
*
FullFresnelMap
::
layerFresnelMap
(
size_t
index
)
const
const
ILayerSpecularInfo
*
FullFresnelMap
::
layerFresnelMap
(
size_t
index
)
const
{
{
return
m_full_map
[
index
];
return
m_full_map
[
index
];
...
...
This diff is collapsed.
Click to expand it.
Core/Computation/FullFresnelMap.h
+
11
−
0
View file @
01fa81df
...
@@ -18,7 +18,9 @@
...
@@ -18,7 +18,9 @@
#include
"SafePointerVector.h"
#include
"SafePointerVector.h"
class
ILayerRTCoefficients
;
class
ILayerSpecularInfo
;
class
ILayerSpecularInfo
;
class
SimulationElement
;
class
FullFresnelMap
class
FullFresnelMap
{
{
...
@@ -30,6 +32,15 @@ public:
...
@@ -30,6 +32,15 @@ public:
size_t
size
()
const
;
size_t
size
()
const
;
//! Retrieves the amplitude coefficients for a (time-reversed) outgoing wavevector.
const
ILayerRTCoefficients
*
getOutCoefficients
(
const
SimulationElement
&
sim_element
,
size_t
layer_index
)
const
;
//! Retrieves the amplitude coefficients for an incoming wavevector.
const
ILayerRTCoefficients
*
getInCoefficients
(
const
SimulationElement
&
sim_element
,
size_t
layer_index
)
const
;
const
ILayerSpecularInfo
*
layerFresnelMap
(
size_t
index
)
const
;
const
ILayerSpecularInfo
*
layerFresnelMap
(
size_t
index
)
const
;
private:
private:
SafePointerVector
<
ILayerSpecularInfo
>
m_full_map
;
SafePointerVector
<
ILayerSpecularInfo
>
m_full_map
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment