... | ... | @@ -53,7 +53,7 @@ Function { |
|
|
};
|
|
|
|
|
|
// Lists can also be loaded from a file. The structure is the same but the values are separated by spaces!
|
|
|
MyListB = ListFromFile["C:\Users\AsamMich\Stromis_Daten_auf_C\Gmsh_GetDP\Wiki_GetDP\Miscellaneous\UsageOfTables\Table_1D.txt"];
|
|
|
MyListB = ListFromFile["Table_1D.txt"];
|
|
|
|
|
|
|
|
|
// The values for u and f can be in separate lists which then must be combined to one list before doing the interpolation.
|
... | ... | @@ -85,7 +85,7 @@ Function { |
|
|
// ...
|
|
|
// g(u(1),v(Nv)) g(u(2),v(Nv)) g(u(3),v(Nv)) ... g(u(Nu),v(Nv))
|
|
|
|
|
|
MyList2D = ListFromFile["C:\Users\AsamMich\Stromis_Daten_auf_C\Gmsh_GetDP\Wiki_GetDP\Miscellaneous\UsageOfTables\Table_2D.txt"];
|
|
|
MyList2D = ListFromFile["Table_2D.txt"];
|
|
|
|
|
|
g_List[] = InterpolationBilinear[$1,$2]{MyList2D()};
|
|
|
g_Analytic[] = 50.0 * $1 + ($2 * 10.0)^2;
|
... | ... | |