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
8afc5d2b
Commit
8afc5d2b
authored
11 years ago
by
Van Herck, Walter
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some compilation issues and moved source file
parent
79d2a9b7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Core/Algorithms/inc/SpecularMatrix.h
+4
-2
4 additions, 2 deletions
Core/Algorithms/inc/SpecularMatrix.h
Core/Algorithms/src/SpecularMatrix.cpp
+0
-0
0 additions, 0 deletions
Core/Algorithms/src/SpecularMatrix.cpp
Core/Core.pro
+2
-0
2 additions, 0 deletions
Core/Core.pro
with
6 additions
and
2 deletions
Core/Algorithms/inc/SpecularMatrix.h
+
4
−
2
View file @
8afc5d2b
...
...
@@ -17,6 +17,8 @@
#define SPECULARMATRIX_H_
#include
"Types.h"
#include
"ISimulation.h"
#include
"MultiLayer.h"
//! Implements the matrix formalism for the calculation of wave amplitudes of
//! the coherent wave solution in a multilayer
...
...
@@ -50,13 +52,13 @@ public:
inline
size_t
size
()
const
{
return
m_data
.
size
();
}
inline
void
clear
()
{
m_data
.
clear
();
}
inline
void
resize
(
size_t
size
)
{
m_data
.
resize
(
size
);
}
private
:
std
::
vector
<
LayerMatrixCoeff
>
m_data
;
complex_t
R
;
// total reflection coefficient
complex_t
L11
;
complex_t
L12
;
complex_t
L21
;
complex_t
L22
;
private
:
std
::
vector
<
LayerMatrixCoeff
>
m_data
;
};
typedef
MultiLayerMatrixCoeff
MultiLayerCoeff_t
;
// set of layer coefficients for matrix formalism
...
...
This diff is collapsed.
Click to expand it.
App
/src/SpecularMatrix.cpp
→
Core/Algorithms
/src/SpecularMatrix.cpp
+
0
−
0
View file @
8afc5d2b
File moved
This diff is collapsed.
Click to expand it.
Core/Core.pro
+
2
−
0
View file @
8afc5d2b
...
...
@@ -72,6 +72,7 @@ SOURCES += \
Algorithms
/
src
/
ResolutionFunction2DSimple
.
cpp
\
Algorithms
/
src
/
Simulation
.
cpp
\
Algorithms
/
src
/
SizeSpacingCorrelationApproximationStrategy
.
cpp
\
Algorithms
/
src
/
SpecularMatrix
.
cpp
\
Algorithms
/
src
/
StrategyBuilder
.
cpp
\
\
FormFactors
/
src
/
FormFactorBox
.
cpp
\
...
...
@@ -219,6 +220,7 @@ HEADERS += \
Algorithms
/
inc
/
Simulation
.
h
\
Algorithms
/
inc
/
SimulationParameters
.
h
\
Algorithms
/
inc
/
SizeSpacingCorrelationApproximationStrategy
.
h
\
Algorithms
/
inc
/
SpecularMatrix
.
h
\
Algorithms
/
inc
/
StrategyBuilder
.
h
\
Algorithms
/
inc
/
ThreadInfo
.
h
\
\
...
...
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