db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
36 lines
607 B
C
36 lines
607 B
C
if (component == 0)
|
|
{
|
|
var_array[counter++] = tf[n].xx();
|
|
}
|
|
else if (component == 1)
|
|
{
|
|
var_array[counter++] = tf[n].yy();
|
|
}
|
|
else if (component == 2)
|
|
{
|
|
var_array[counter++] = tf[n].zz();
|
|
}
|
|
else if (component == 3)
|
|
{
|
|
var_array[counter++] = tf[n].xy();
|
|
}
|
|
else if (component == 4)
|
|
{
|
|
var_array[counter++] = tf[n].xz();
|
|
}
|
|
else if (component == 5)
|
|
{
|
|
var_array[counter++] = tf[n].yz();
|
|
}
|
|
else if (component == 6)
|
|
{
|
|
var_array[counter++] = tf[n].yx();
|
|
}
|
|
else if (component == 7)
|
|
{
|
|
var_array[counter++] = tf[n].zx();
|
|
}
|
|
else if (component == 8)
|
|
{
|
|
var_array[counter++] = tf[n].zy();
|
|
}
|