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
b51bfde6
Commit
b51bfde6
authored
3 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
Scripts update
parent
05dc14e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
matlab/write_fort90.m
+0
-1
0 additions, 1 deletion
matlab/write_fort90.m
wk/marconi_run.m
+10
-11
10 additions, 11 deletions
wk/marconi_run.m
with
10 additions
and
12 deletions
matlab/write_fort90.m
+
0
−
1
View file @
b51bfde6
...
@@ -64,7 +64,6 @@ fprintf(fid,'/\n');
...
@@ -64,7 +64,6 @@ fprintf(fid,'/\n');
fprintf
(
fid
,
'&INITIAL_CON\n'
);
fprintf
(
fid
,
'&INITIAL_CON\n'
);
fprintf
(
fid
,[
' INIT_NOISY_PHI ='
,
INITIAL
.
init_noisy_phi
,
'\n'
]);
fprintf
(
fid
,[
' INIT_NOISY_PHI ='
,
INITIAL
.
init_noisy_phi
,
'\n'
]);
% fprintf(fid,[' only_Na00 =', '.false.','\n']);
fprintf
(
fid
,[
' initback_moments ='
,
num2str
(
INITIAL
.
initback_moments
),
'\n'
]);
fprintf
(
fid
,[
' initback_moments ='
,
num2str
(
INITIAL
.
initback_moments
),
'\n'
]);
fprintf
(
fid
,[
' initnoise_moments ='
,
num2str
(
INITIAL
.
initnoise_moments
),
'\n'
]);
fprintf
(
fid
,[
' initnoise_moments ='
,
num2str
(
INITIAL
.
initnoise_moments
),
'\n'
]);
fprintf
(
fid
,[
' iseed ='
,
num2str
(
INITIAL
.
iseed
),
'\n'
]);
fprintf
(
fid
,[
' iseed ='
,
num2str
(
INITIAL
.
iseed
),
'\n'
]);
...
...
This diff is collapsed.
Click to expand it.
wk/marconi_run.m
+
10
−
11
View file @
b51bfde6
...
@@ -8,28 +8,28 @@ CLUSTER.TIME = '12:00:00'; % allocation time hh:mm:ss
...
@@ -8,28 +8,28 @@ CLUSTER.TIME = '12:00:00'; % allocation time hh:mm:ss
CLUSTER
.
PART
=
'prod'
;
% dbg or prod
CLUSTER
.
PART
=
'prod'
;
% dbg or prod
CLUSTER
.
MEM
=
'16GB'
;
% Memory
CLUSTER
.
MEM
=
'16GB'
;
% Memory
CLUSTER
.
JNAME
=
'gamma_inf'
;
% Job name
CLUSTER
.
JNAME
=
'gamma_inf'
;
% Job name
NP_P
=
1
;
% MPI processes along p
NP_P
=
2
;
% MPI processes along p
NP_KR
=
24
;
% MPI processes along kr
NP_KR
=
24
;
% MPI processes along kr
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% PHYSICAL PARAMETERS
%% PHYSICAL PARAMETERS
NU
=
0.1
;
% Collision frequency
NU
=
0.1
;
% Collision frequency
ETAB
=
0.6
;
% Magnetic gradient
ETAB
=
0.6
;
% Magnetic gradient
NU_HYP
=
1
0
.0
;
% Hyperdiffusivity coefficient
NU_HYP
=
1.0
;
% Hyperdiffusivity coefficient
%% GRID PARAMETERS
%% GRID PARAMETERS
N
=
200
;
% Frequency gridpoints (Nkr = N/2)
N
=
200
;
% Frequency gridpoints (Nkr = N/2)
L
=
120
;
% Size of the squared frequency domain
L
=
120
;
% Size of the squared frequency domain
P
=
0
4
;
% Electron and Ion highest Hermite polynomial degree
P
=
1
0
;
% Electron and Ion highest Hermite polynomial degree
J
=
0
4
;
% Electron and Ion highest Laguerre polynomial degree
J
=
0
5
;
% Electron and Ion highest Laguerre polynomial degree
MU_P
=
0
;
% Hermite hyperdiffusivity -mu_p*(d/dvpar)^4 f
MU_P
=
0
;
% Hermite hyperdiffusivity -mu_p*(d/dvpar)^4 f
MU_J
=
0
;
% Laguerre hyperdiffusivity -mu_j*(d/dvperp)^4 f
MU_J
=
0
;
% Laguerre hyperdiffusivity -mu_j*(d/dvperp)^4 f
%% TIME PARAMETERS
%% TIME PARAMETERS
TMAX
=
2
00
0
;
% Maximal time unit
TMAX
=
2
5
0
;
% Maximal time unit
DT
=
1
e-
2
;
% Time step
DT
=
5
e-
4
;
% Time step
SPS0D
=
1
;
% Sampling per time unit for profiler
SPS0D
=
1
;
% Sampling per time unit for profiler
SPS2D
=
1
;
% Sampling per time unit for 2D arrays
SPS2D
=
1
;
% Sampling per time unit for 2D arrays
SPS5D
=
1
/
50
;
% Sampling per time unit for 5D arrays
SPS5D
=
1
/
50
;
% Sampling per time unit for 5D arrays
SPSCP
=
0
;
% Sampling per time unit for checkpoints
SPSCP
=
0
;
% Sampling per time unit for checkpoints
RESTART
=
0
;
% To restart from last checkpoint
RESTART
=
1
;
% To restart from last checkpoint
JOB2LOAD
=
1
;
JOB2LOAD
=
1
;
%% OPTIONS
%% OPTIONS
SIMID
=
[
'HeLaZ_v2.4_eta_'
,
num2str
(
ETAB
),
'_nu_%0.0e'
];
% Name of the simulation
SIMID
=
[
'HeLaZ_v2.4_eta_'
,
num2str
(
ETAB
),
'_nu_%0.0e'
];
% Name of the simulation
...
@@ -37,11 +37,10 @@ SIMID = ['HeLaZ_v2.4_eta_',num2str(ETAB),'_nu_%0.0e']; % Name of the simulati
...
@@ -37,11 +37,10 @@ SIMID = ['HeLaZ_v2.4_eta_',num2str(ETAB),'_nu_%0.0e']; % Name of the simulati
SIMID
=
sprintf
(
SIMID
,
NU
);
SIMID
=
sprintf
(
SIMID
,
NU
);
PREFIX
=
[];
PREFIX
=
[];
% PREFIX = sprintf('%d_%d_',NP_P, NP_KR);
% PREFIX = sprintf('%d_%d_',NP_P, NP_KR);
% Collision operator
% (0 : L.Bernstein, 1 : Dougherty, 2: Sugama, 3 : Full Couloumb ; +/- for GK/DK)
% (0 : L.Bernstein, -1 : Full Coulomb, -2 : Dougherty, -3 : GK Dougherty)
CO
=
1
;
CO
=
-
3
;
CLOS
=
0
;
% Closure model (0: =0 truncation, 1: semi coll, 2: Copy closure J+1 = J, P+2 = P)
CLOS
=
0
;
% Closure model (0: =0 truncation, 1: semi coll, 2: Copy closure J+1 = J, P+2 = P)
NL_CLOS
=
0
;
% nonlinear closure model (0: =0 nmax = jmax, 1: nmax = jmax-j, >1 : nmax = NL_CLOS)
NL_CLOS
=
1
;
% nonlinear closure model (0: =0 nmax = jmax, 1: nmax = jmax-j, >1 : nmax = NL_CLOS)
KERN
=
0
;
% Kernel model (0 : GK)
KERN
=
0
;
% Kernel model (0 : GK)
INIT_PHI
=
1
;
% Start simulation with a noisy phi and moments
INIT_PHI
=
1
;
% Start simulation with a noisy phi and moments
%% OUTPUTS
%% OUTPUTS
...
...
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