Jet
v1.3.3
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
w
z
Variables
d
e
i
k
w
Typedefs
a
b
c
e
f
g
i
l
m
n
p
q
r
s
t
u
v
z
Enumerations
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
z
~
Variables
_
a
b
c
d
f
h
i
j
l
m
n
o
p
r
t
u
v
w
x
y
z
Typedefs
b
c
d
f
i
m
n
o
p
s
u
v
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
jet
array_accessor.h
Go to the documentation of this file.
1
// Copyright (c) 2018 Doyub Kim
2
//
3
// I am making my contributions/submissions to this project solely in my
4
// personal capacity and am not conveying any rights to any intellectual
5
// property of any third parties.
6
7
#ifndef INCLUDE_JET_ARRAY_ACCESSOR_H_
8
#define INCLUDE_JET_ARRAY_ACCESSOR_H_
9
10
#include <cstddef>
11
12
namespace
jet
{
13
28
template
<
typename
T,
size_t
N>
29
class
ArrayAccessor
final {
30
public
:
31
static_assert(
32
N < 1 || N > 3,
"Not implemented - N should be either 1, 2 or 3."
);
33
};
34
46
template
<
typename
T,
size_t
N>
47
class
ConstArrayAccessor
final {
48
public
:
49
static_assert(
50
N < 1 || N > 3,
"Not implemented - N should be either 1, 2 or 3."
);
51
};
52
53
}
// namespace jet
54
55
#endif // INCLUDE_JET_ARRAY_ACCESSOR_H_
jet
Definition:
advection_solver2.h:18
jet::ConstArrayAccessor
Generic N-dimensional read-only array accessor class interface.
Definition:
array_accessor.h:47
jet::ArrayAccessor
Generic N-dimensional array accessor class interface.
Definition:
array_accessor.h:29
Generated by
1.8.18