Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
models
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
Model registry
Operate
Environments
Monitor
Incidents
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
documentation
models
Commits
a8fbd4b4
Commit
a8fbd4b4
authored
2 years ago
by
Guillaume Demesy
Browse files
Options
Downloads
Patches
Plain Diff
phideg psideg to match 3D case
parent
0a143e23
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DiffractionGratings/grating2D_conical.pro
+4
-4
4 additions, 4 deletions
DiffractionGratings/grating2D_conical.pro
with
4 additions
and
4 deletions
DiffractionGratings/grating2D_conical.pro
+
4
−
4
View file @
a8fbd4b4
...
...
@@ -18,8 +18,8 @@
myDir
=
"res2D_conical/"
;
DefineConstant
[
lambda0
=
{
lambda_min
,
Min
lambda_min
,
Max
lambda_max
,
Step
(
lambda_max
-
lambda_min
)
/
(
nb_lambdas
-
1
),
Name
StrCat
[
pp2
,
"1wavelength [nm]"
]
,
Loop
1
,
Highlight
Str
[
colorpp2
],
Graph
"200000200020"
,
ServerAction
"Reset GetDP/T0, GetDP/R0, GetDP/Lambda_step, GetDP/Omegaal absorption"
},
phi
_
deg
=
{
45
,
Name
StrCat
[
pp2
,
"3incident plane wave angle (phi) [deg]"
]
,
Highlight
Str
[
colorpp2
],
Closed
close_menu
},
psi
_
deg
=
{
45
,
Name
StrCat
[
pp2
,
"4incident plane wave angle (psi) [deg]"
]
,
Highlight
Str
[
colorpp2
],
Closed
close_menu
}
phideg
=
{
45
,
Name
StrCat
[
pp2
,
"3incident plane wave angle (phi) [deg]"
]
,
Highlight
Str
[
colorpp2
],
Closed
close_menu
},
psideg
=
{
45
,
Name
StrCat
[
pp2
,
"4incident plane wave angle (psi) [deg]"
]
,
Highlight
Str
[
colorpp2
],
Closed
close_menu
}
];
lambda0
=
lambda0
*
nm
;
lambda_min
=
lambda_min
*
nm
;
...
...
@@ -140,9 +140,9 @@ Function{
k1norm
[]
=
k0
*
n1
[];
k2norm
[]
=
k0
*
n2
[];
phi0
=
phi
_
deg
*
deg2rad
;
phi0
=
phideg
*
deg2rad
;
theta0
=
theta_deg
*
deg2rad
;
psi0
=
psi
_
deg
*
deg2rad
;
psi0
=
psideg
*
deg2rad
;
// Ae = 1/Sqrt[ep0/mu0];
Ae
=
1
;
...
...
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