Chombo + EB
3.0
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
Typedefs
+
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
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
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
+
Typedefs
b
c
d
e
f
i
l
n
o
p
r
s
v
Enumerations
+
Enumerator
a
b
c
d
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
z
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
Enumerator
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
src
Workshop
MultiIndex.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 _MULTIINDEX_H_
12
#define _MULTIINDEX_H_
13
14
#if defined(CH_Darwin) && defined(__GNUC__) && ( __GNUC__ == 3 )
15
// deal with the broken isnan()/isinf() in GCC on MacOS
16
#include <unistd.h>
17
#define _GLIBCPP_USE_C99 1
18
#endif
19
20
#include <map>
21
using
std::map;
22
23
#include "
Vector.H
"
24
#include "
REAL.H
"
25
#include "
IndexTM.H
"
26
27
#include "
Notation.H
"
28
#include "
IFData.H
"
29
30
#include "NamespaceHeader.H"
31
32
// Generate and return a vector of all multi-indices whose magnitude (the sum
33
// of their entries) equals "a_magnitude"
34
template
<
int
dim>
void
generateMultiIndices
(
Vector
<
IndexTM<int,dim>
> & a_indices,
35
const
int
& a_magnitude);
36
37
#include "NamespaceFooter.H"
38
39
#include "
MultiIndexImplem.H
"
40
41
#endif
IFData.H
Vector
one dimensional dynamic array
Definition:
Vector.H:52
Notation.H
MultiIndexImplem.H
IndexTM
Definition:
IndexTM.H:36
Vector.H
REAL.H
generateMultiIndices
void generateMultiIndices(Vector< IndexTM< int, dim > > &a_indices, const int &a_magnitude)
Definition:
MultiIndexImplem.H:18
IndexTM.H
Generated by
1.8.13