tensorConversion.H
Go to the documentation of this file.00001 if (component == 0)
00002 {
00003 var_array[counter++] = tf[n].xx();
00004 }
00005 else if (component == 1)
00006 {
00007 var_array[counter++] = tf[n].yy();
00008 }
00009 else if (component == 2)
00010 {
00011 var_array[counter++] = tf[n].zz();
00012 }
00013 else if (component == 3)
00014 {
00015 var_array[counter++] = tf[n].xy();
00016 }
00017 else if (component == 4)
00018 {
00019 var_array[counter++] = tf[n].xz();
00020 }
00021 else if (component == 5)
00022 {
00023 var_array[counter++] = tf[n].yz();
00024 }
00025 else if (component == 6)
00026 {
00027 var_array[counter++] = tf[n].yx();
00028 }
00029 else if (component == 7)
00030 {
00031 var_array[counter++] = tf[n].zx();
00032 }
00033 else if (component == 8)
00034 {
00035 var_array[counter++] = tf[n].zy();
00036 }
Copyright © 2000-2009 OpenCFD Ltd