Flow123d
3.9.0-c2ae2d0a8
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
f
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
e
f
g
i
j
l
m
o
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
system
armadillo_tools.hh
Go to the documentation of this file.
1
/*
2
* armadillo_setup.hh
3
*
4
* Created on: Jul 4, 2016
5
* Author: jb
6
*/
7
8
#ifndef SRC_SYSTEM_ARMADILLO_TOOLS_HH_
9
#define SRC_SYSTEM_ARMADILLO_TOOLS_HH_
10
11
#include <string>
12
13
/**
14
* This method sets particular ostream to armadillo which catch
15
* errors reported by Armadillo and report Flow error message with full stacktrace.
16
* This allows better determination of the source of the error.
17
*
18
* The call to the function may appear in the main() or in particular unit tests.
19
*/
20
void
armadillo_setup
();
21
22
23
/**
24
* Format field_value (i.e. matrix, vector scalar of double or int) into YAML string.
25
*/
26
template
<
class
T>
27
std::string
field_value_to_yaml
(
const
T &
mat
,
unsigned
int
prec = 5);
28
29
30
#endif
/* SRC_SYSTEM_ARMADILLO_TOOLS_HH_ */
field_value_to_yaml
std::string field_value_to_yaml(const T &mat, unsigned int prec=5)
Definition:
armadillo_tools.cc:138
Armor::mat
ArmaMat< double, N, M > mat
Definition:
armor.hh:888
armadillo_setup
void armadillo_setup()
Definition:
armadillo_tools.cc:66
Generated by
1.8.17