Flow123d
build_with_4.0.3-95067a1
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
w
Variables
Typedefs
Enumerations
Enumerator
a
b
c
d
f
g
h
i
m
n
o
p
r
s
u
w
y
Classes
Class List
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
y
z
~
Variables
_
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
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
z
Enumerations
a
b
c
d
f
h
i
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
Variables
_
a
c
d
g
m
n
p
q
s
u
v
Typedefs
_
a
d
f
g
i
j
l
m
o
p
q
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
i
m
n
o
p
r
s
u
v
w
Macros
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
w
z
src
fields
field_instances.hh
Go to the documentation of this file.
1
/*!
2
*
3
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4
*
5
* This program is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU General Public License version 3 as published by the
7
* Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
*
13
*
14
* @file field_instances.hh
15
* @brief
16
*/
17
18
#ifndef FIELD_INSTANCES_HH_
19
#define FIELD_INSTANCES_HH_
20
21
/****************************************************************************
22
* Macros for explicit instantiation of particular field class template.
23
*/
24
25
26
// Instantiation of fields with values dependent of the dimension of range space
27
#define INSTANCE_DIM_DEP_VALUES( field, dim_from, dim_to) \
28
template class field<dim_from, FieldValue<dim_to>::VectorFixed >; \
29
template class field<dim_from, FieldValue<dim_to>::TensorFixed >; \
30
31
// Instantiation of fields with domain in the ambient space of dimension @p dim_from
32
#define INSTANCE_TO_ALL(field, dim_from) \
33
template class field<dim_from, FieldValue<0>::Enum >; \
34
template class field<dim_from, FieldValue<0>::Integer >; \
35
template class field<dim_from, FieldValue<0>::Scalar >; \
36
\
37
INSTANCE_DIM_DEP_VALUES( field, dim_from, dim_from) \
38
39
40
// All instances of one field class template @p field.
41
// currently we need only fields on 3D ambient space (and 2D for some tests)
42
// so this is to save compilation time and avoid memory problems on the test server
43
#define INSTANCE_ALL(field) \
44
INSTANCE_TO_ALL( field, 3)
45
//INSTANCE_TO_ALL( field, 2)
46
// currently we use only 3D ambient space, we can't use 2D fields now, because we are in conflict
47
// with methods in ComputeIntersection and Mapping that used element accessor
48
49
50
#endif
/* FIELD_INSTANCES_HH_ */
Generated by
1.9.1