FLASH-X
Doxygen Generated Documentation From Interface Source Code
Particles.h
Go to the documentation of this file.
1!!****h* source/Particles/Particles.h
2!!
3!! NAME
4!!
5!! Particles.h
6!!
7!! DESCRIPION
8!!
9!! This is the header file for the Particles module. It includes general
10!! parameters that any routines calling these interfaces needs to
11!! understand. Interfaces are contained in Particles_interface.F90
12!!
13!!***
14
15#if 0
16 To carry around information about various different particles types,
17 the following constants are define to create a data structure
18 particles_typeInfo(PART_TYPE_INFO_SIZE,NPART_TYPES)
19 The fields are :
20 PART_TYPE - type of particle, PART_MAPMETHOD - mapping method to be
21 used in mapping to and from mesh, PART_INTEGRATE_METHOD - time integration
22 algorithm, PART_TYPE_BEGIN - the starting point of this particle type,
23 PART_LOCAL - the local number of this type, and
24 PART_LOCAL_MAX - the maximum of this type of particle allowed per proc.
25#endif
26
27#define PART_TYPE 1
28#define PART_MAPMETHOD 2
29#define PART_TYPE_BEGIN 3
30#define PART_INITMETHOD 4
31#define PART_LOCAL 5
32#define PART_LOCAL_MAX 6
33#define PART_ADVMETHOD 7
34#define PART_TYPE_INFO_SIZE 7
35
36#if 0
37 The next few constants relate to the physical quantities associated
38 with the particles. Particles are defined with certain attributes.
39 One also needs to know the corresponding Grid variable. These constants
40 ensure that when a tuple is used with two fields, the first field is
41 always the particle attribute and the second field is the corrensponding
42 grid variable index into UNK etc. PART_DS_IND in short for index into
43 particle data structure, and GRID_DS_IND is short for index into grid
44 data structure. The last constant define
45 the size of the particles attribute data structure
46#endif
47
48#define PART_DS_IND 1
49#define GRID_DS_IND 2
50#define PART_ATTR_DS_SIZE 2
51
52
53#if 0
54 These constants define the possible mapping methods to and from mesh
55#endif
56#define QUADRATIC 1
57#define WEIGHTED 2
58
59
60#if 0
61 These constants define the supported integration methods
62#endif
63
64#define PASSIVE 323
65#define EULER_MAS 364
66#define LEAPFROG 366
67#define LEAPFROG_COSMO 367
68
69#define EULER_TRA 398
70#define RUNGEKUTTA 395
71#define MIDPOINT 385
72#define ESTI 381
73#define CHARGED 382
74#define PT_ADVMETH_NONE 383
75
76#if 0
77 These constants define the supported position initialization methods
78#endif
79
80#define LATTICE 678
81#define CELLMASS 679
82#define REJECTION 680
83#define WITH_DENSITY 685
84#define FROMFILE 690
85#define CUSTOM 691
86#define DPD 867
87
88#define PT_LOGLEVEL_WARN_OPER 200
89#define PT_LOGLEVEL_WARN_DATA 300
90#define PT_LOGLEVEL_WARN_USE 400
91#define PT_LOGLEVEL_INFO_ALL 1000
92
93#define PART_EXPAND 321
94#define PART_COLLAPSE 344
#define PART_LOCAL
Definition: Particles.h:31
#define PART_TYPE_BEGIN
Definition: Particles.h:29
#define PART_TYPE
Definition: Particles.h:27
#define PART_MAPMETHOD
Definition: Particles.h:28
#define PART_LOCAL_MAX
Definition: Particles.h:32
#define PART_DS_IND
Definition: Particles.h:48
#define PART_TYPE_INFO_SIZE
Definition: Particles.h:34
#define GRID_DS_IND
Definition: Particles.h:49