-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
81 lines (49 loc) · 2.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
SCEPTIC: Specialized Coordinate Electrostatic Particle and Thermals In Cell
This package contains:
1) the CIC version of SCEPTIC (main folder)
2) a library of graphic functions (accis)
2) fortran postprocessing tools (tools)
3) matlab postprocessing tools (Matlabtools)
The main code, accis and the fortran tools come with a file "Makefile".
On a linux system, the serial SCEPTIC code is built by:
make (This creates a file makefile, configures for
the user's architecture)
The mpi version is built by:
make scepticmpi
The postprocessing routines are built by:
make all
Running SCEPTIC
_______________________________________________________________________
running ./sceptic or ./scepticmpi without flags gives some help
Example:
mpirun -n 36 ./scepticmpi -l1 -t0.1 -v0.5 -x20 -s1000 -nr100
-nt30 --bz1.25 -nt30 -f -g
This example runs the mpi version of sceptic with L_De=1, T_i=0.1,
v_d=0.5, r_b=20, nsteps=1000, n_r=100, n_theta=30, B_z=12.5, and not
graphical output.
A detailed explanation of the normalizations is given in the header
references.
Reading SCEPTIC .dat files
______________________________________________________________________
After a run is complete, sceptic creates a .dat file.
The .dat file can be read with ./tools./postproc:
Example:
./postproc -f -b -n -t -e -l ./../T1m1v050r20P04L1e0B12m1.dat
running ./postproc without flags gives some help
Several ./dat files with different magnetic fields can be analyzed
together using postprocB.
Example:
./postprocB ./../T1m1v050r20P04L1e0B*.dat
Reading SCEPTIC .dat files using matlab
_____________________________________________________________________
The folder Matlabtools contains several Matlab routines to perform
essentially the same tasks as the fortran tools.
ACCIS
_____
The subdirectory accis contains a graphics library used by SCEPTIC
(copyright Ian Hutchinson).
It will compile automatically, but both codes depend on having the X11
libraries in the usual places.
A guide for the accis routines is in accis/accissum.tex.
In general, when the graphics plotting completes, and the program pauses,
left click the mouse in the graphics window to continue.