Flow123d
last_with_con_2.0.0-4-g42e6930
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
fields
field_values.cc
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_values.cc
15
* @brief
16
*/
17
18
#include "
fields/field_values.hh
"
19
20
namespace
internal
{
21
// Helper functions to get scalar type name
22
std::string
type_name_
(
double
) {
return
"Real"
; }
23
std::string
type_name_
(
int
) {
return
"Int"
; }
24
std::string
type_name_
(
FieldEnum
) {
return
"Enum"
; }
25
26
27
}
// namespace internal
28
29
30
template
class
FieldValue_<1,1,FieldEnum>
;
31
template
class
FieldValue_<1,1,int>
;
32
template
class
FieldValue_<0,1,int>
;
33
template
class
FieldValue_<1,1,double>
;
34
template
class
FieldValue_<0,1,double>
;
35
36
template
class
FieldValue_<2,1,double>
;
37
template
class
FieldValue_<3,1,double>
;
38
39
template
class
FieldValue_<2,2,double>
;
40
template
class
FieldValue_<3,3,double>
;
41
42
template
class
FieldValue<1>
;
43
template
class
FieldValue<2>
;
44
template
class
FieldValue<3>
;
field_values.hh
FieldEnum
unsigned int FieldEnum
Definition:
field_values.hh:41
internal
Definition:
field_values.cc:20
internal::type_name_
std::string type_name_(double)
Definition:
field_values.cc:22
FieldValue
Definition:
field_values.hh:564
FieldValue_
Definition:
field_values.hh:231
Generated by
1.8.11