Bridge++
Ver. 1.1.x
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
shiftField_eo.h
Go to the documentation of this file.
1
14
#ifndef SHIFTFIELD_EO_INCLUDED
15
#define SHIFTFIELD_EO_INCLUDED
16
17
#include <iostream>
18
19
#include "
field.h
"
20
#include "
index_eo.h
"
21
22
#include "
bridgeIO.h
"
23
using
Bridge::vout
;
24
26
45
class
ShiftField_eo
{
46
private
:
47
int
Nx
,
Ny
,
Nz
,
Nt
,
Nx2
;
48
Index_eo
idx
;
49
Bridge::VerboseLevel
m_vl
;
50
51
public
:
52
ShiftField_eo
() :
53
Nx
(
CommonParameters
::
Nx
()),
54
Ny
(
CommonParameters
::
Ny
()),
55
Nz
(
CommonParameters
::
Nz
()),
56
Nt
(
CommonParameters
::
Nt
()),
57
Nx2
(
CommonParameters
::
Nx
() / 2),
58
m_vl
(
CommonParameters
::Vlevel())
59
{
60
}
61
62
void
forward_h
(
Field
&,
const
Field
&,
const
int
mu,
const
int
ieo);
63
void
backward_h
(
Field
&,
const
Field
&,
const
int
mu,
const
int
ieo);
64
65
// direction, ieo (0: e<-o, 1: o<-e)
66
67
void
forward_h
(
Field
&,
const
Field
&,
const
int
bc,
const
int
mu,
68
const
int
ieo);
69
void
backward_h
(
Field
&,
const
Field
&,
const
int
bc,
const
int
mu,
70
const
int
ieo);
71
72
// boundary condition, direction, ieo (0: e<-o, 1: o<-e)
73
74
void
forward
(
Field
&,
const
Field
&,
const
int
mu);
75
void
backward
(
Field
&,
const
Field
&,
const
int
mu);
76
77
void
forward
(
Field
&,
const
Field
&,
const
int
bc,
const
int
mu);
78
void
backward
(
Field
&,
const
Field
&,
const
int
bc,
const
int
mu);
79
80
81
82
private
:
83
void
up_xh
(
Field
&,
const
Field
&,
const
int
,
const
int
);
84
void
up_yh
(
Field
&,
const
Field
&,
const
int
,
const
int
);
85
void
up_zh
(
Field
&,
const
Field
&,
const
int
,
const
int
);
86
void
up_th
(
Field
&,
const
Field
&,
const
int
,
const
int
);
87
void
dn_xh
(
Field
&,
const
Field
&,
const
int
,
const
int
);
88
void
dn_yh
(
Field
&,
const
Field
&,
const
int
,
const
int
);
89
void
dn_zh
(
Field
&,
const
Field
&,
const
int
,
const
int
);
90
void
dn_th
(
Field
&,
const
Field
&,
const
int
,
const
int
);
91
};
92
#endif
src
Field
shiftField_eo.h
Generated on Tue Jul 23 2013 10:48:48 for Bridge++ by
1.8.3.1