OpenFOAM
9
The OpenFOAM Foundation
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
applications
utilities
postProcessing
graphics
ensightFoamReader
tensorConversion.H
Generated by
1.8.13