OpenFOAM
6
The OpenFOAM Foundation
Main Page
+
Namespaces
Namespace List
+
Namespace 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
r
s
t
u
v
w
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
+
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
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
k
l
m
n
o
p
q
r
s
t
v
w
+
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
v
w
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Related Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
+
Files
File List
+
File 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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Typedefs
b
c
d
f
g
k
l
m
p
r
s
t
v
w
+
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
applications
utilities
postProcessing
graphics
ensightFoamReader
tensorConversion.H
Go to the documentation of this file.
1
if
(
component
== 0)
2
{
3
var_array[counter++] =
tf
[
n
].xx();
4
}
5
else
if
(
component
== 1)
6
{
7
var_array[counter++] =
tf
[
n
].yy();
8
}
9
else
if
(
component
== 2)
10
{
11
var_array[counter++] =
tf
[
n
].zz();
12
}
13
else
if
(
component
== 3)
14
{
15
var_array[counter++] =
tf
[
n
].xy();
16
}
17
else
if
(
component
== 4)
18
{
19
var_array[counter++] =
tf
[
n
].xz();
20
}
21
else
if
(
component
== 5)
22
{
23
var_array[counter++] =
tf
[
n
].yz();
24
}
25
else
if
(
component
== 6)
26
{
27
var_array[counter++] =
tf
[
n
].yx();
28
}
29
else
if
(
component
== 7)
30
{
31
var_array[counter++] =
tf
[
n
].zx();
32
}
33
else
if
(
component
== 8)
34
{
35
var_array[counter++] =
tf
[
n
].zy();
36
}
tf
const tensorField & tf
Definition:
getPatchFieldTensor.H:36
n
label n
Definition:
TABSMDCalcMethod2.H:31
Foam::component
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
Definition:
FieldFieldFunctions.C:41
Generated by
1.8.13