Chombo + EB + MF
3.2
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
b
c
e
f
g
i
m
n
p
r
s
u
+
Functions
b
c
f
g
i
m
p
r
s
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Typedefs
b
c
d
e
f
i
l
n
o
p
r
s
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
+
Related Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
+
Variables
a
b
c
d
f
g
h
i
k
l
m
n
p
s
t
u
+
Typedefs
a
b
c
d
i
k
l
m
n
p
r
s
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
n
p
t
u
v
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
x
src
ParticleTools
ParticleBC.H
Go to the documentation of this file.
1
#ifdef CH_LANG_CC
2
/*
3
* _______ __
4
* / ___/ / ___ __ _ / / ___
5
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
6
* \___/_//_/\___/_/_/_/_.__/\___/
7
* Please refer to Copyright.txt, in Chombo's root directory.
8
*/
9
#endif
10
11
#ifndef _PARTICLEBC_H_
12
#define _PARTICLEBC_H_
13
14
#include "
ParticleData.H
"
15
#include "
DataIterator.H
"
16
#include "
REAL.H
"
17
#include "NamespaceHeader.H"
18
19
class
ParticleBC
20
{
21
public
:
22
23
/// enforces periodic boundary conditions on the particles in
24
/// a_particleData. Particles that are outside the range given
25
/// by a_leftEdge and a_rightEdge will have their positions
26
/// periodiocally shifted until that is no longer true
27
template
<
class
P>
28
static
void
enforcePeriodic
(
ParticleData<P>
& a_particleData,
29
const
RealVect
& a_leftEdge,
30
const
RealVect
& a_rightEdge);
31
};
32
33
#include "NamespaceFooter.H"
34
35
// implementation
36
#include "
ParticleBCI.H
"
37
38
#endif // include guard
ParticleData.H
ParticleBC::enforcePeriodic
static void enforcePeriodic(ParticleData< P > &a_particleData, const RealVect &a_leftEdge, const RealVect &a_rightEdge)
Definition:
ParticleBCI.H:18
ParticleBCI.H
DataIterator.H
ParticleBC
Definition:
ParticleBC.H:19
RealVect
A Real vector in SpaceDim-dimensional space.
Definition:
RealVect.H:41
REAL.H
ParticleData
Definition:
ParticleData.H:67
Generated by
1.8.13