Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gyacomo
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
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Cyril David Hoffmann
Gyacomo
Commits
13d13c84
Commit
13d13c84
authored
1 year ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
clarification of the error message for even Npol
parent
9a78d555
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/geometry_mod.F90
+8
-3
8 additions, 3 deletions
src/geometry_mod.F90
with
8 additions
and
3 deletions
src/geometry_mod.F90
+
8
−
3
View file @
13d13c84
...
@@ -95,7 +95,6 @@ CONTAINS
...
@@ -95,7 +95,6 @@ CONTAINS
ERROR STOP
'>> ERROR << Parallel BC not recognized'
ERROR STOP
'>> ERROR << Parallel BC not recognized'
END
SELECT
END
SELECT
CALL
speak
(
'Parallel BC : '
//
parallel_bc
)
CALL
speak
(
'Parallel BC : '
//
parallel_bc
)
END
SUBROUTINE
geometry_readinputs
END
SUBROUTINE
geometry_readinputs
subroutine
eval_magnetic_geometry
subroutine
eval_magnetic_geometry
...
@@ -143,7 +142,10 @@ CONTAINS
...
@@ -143,7 +142,10 @@ CONTAINS
CASE
(
'miller'
,
'Miller'
)
CASE
(
'miller'
,
'Miller'
)
CALL
speak
(
'Miller geometry'
)
CALL
speak
(
'Miller geometry'
)
IF
(
FLOOR
(
Npol
)
.NE.
CEILING
(
Npol
))
ERROR STOP
"ERROR STOP: Npol must be integer for Miller geometry"
IF
(
FLOOR
(
Npol
)
.NE.
CEILING
(
Npol
))
ERROR STOP
"ERROR STOP: Npol must be integer for Miller geometry"
IF
(
MODULO
(
FLOOR
(
Npol
),
2
)
.EQ.
0
)
ERROR STOP
"Npol must be odd for Miller"
IF
(
MODULO
(
FLOOR
(
Npol
),
2
)
.EQ.
0
)
THEN
write
(
*
,
*
)
"Npol must be odd for Miller, (Npol = "
,
Npol
,
")"
ERROR STOP
ENDIF
call
set_miller_parameters
(
kappa
,
s_kappa
,
delta
,
s_delta
,
zeta
,
s_zeta
)
call
set_miller_parameters
(
kappa
,
s_kappa
,
delta
,
s_delta
,
zeta
,
s_zeta
)
call
get_miller
(
eps
,
major_R
,
major_Z
,
q0
,
shear
,
FLOOR
(
Npol
),
alpha_MHD
,
edge_opt
,&
call
get_miller
(
eps
,
major_R
,
major_Z
,
q0
,
shear
,
FLOOR
(
Npol
),
alpha_MHD
,
edge_opt
,&
C_y
,
C_xy
,
Cyq0_x0
,
xpdx_pm_geom
,
gxx
,
gxy
,
gxz
,
gyy
,
gyz
,
gzz
,&
C_y
,
C_xy
,
Cyq0_x0
,
xpdx_pm_geom
,
gxx
,
gxy
,
gxz
,
gyy
,
gyz
,
gzz
,&
...
@@ -151,7 +153,10 @@ CONTAINS
...
@@ -151,7 +153,10 @@ CONTAINS
CASE
(
'circular'
,
'circ'
)
CASE
(
'circular'
,
'circ'
)
CALL
speak
(
'Circular geometry'
)
CALL
speak
(
'Circular geometry'
)
IF
(
FLOOR
(
Npol
)
.NE.
CEILING
(
Npol
))
ERROR STOP
"ERROR STOP: Npol must be integer for circular geometry"
IF
(
FLOOR
(
Npol
)
.NE.
CEILING
(
Npol
))
ERROR STOP
"ERROR STOP: Npol must be integer for circular geometry"
IF
(
MODULO
(
FLOOR
(
Npol
),
2
)
.EQ.
0
)
ERROR STOP
"Npol must be odd for circular"
IF
(
MODULO
(
FLOOR
(
Npol
),
2
)
.EQ.
0
)
THEN
write
(
*
,
*
)
"Npol must be odd for circular, (Npol = "
,
Npol
,
")"
ERROR STOP
ENDIF
call
get_circ
(
eps
,
major_R
,
major_Z
,
q0
,
shear
,&
call
get_circ
(
eps
,
major_R
,
major_Z
,
q0
,
shear
,&
C_y
,
C_xy
,
Cyq0_x0
,
gxx
,
gxy
,
gxz
,
gyy
,
gyz
,
gzz
,&
C_y
,
C_xy
,
Cyq0_x0
,
gxx
,
gxy
,
gxz
,
gyy
,
gyz
,
gzz
,&
dBdx
,
dBdy
,
dBdz
,
hatB
,
jacobian
,
hatR
,
hatZ
,
dxdR
,
dxdZ
)
dBdx
,
dBdy
,
dBdz
,
hatB
,
jacobian
,
hatR
,
hatZ
,
dxdR
,
dxdZ
)
...
...
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