This example uses multiplies three curves to define a potential field which varies with the xi directions. This field is evaluated into an existing grid point storage and written out.

#This example uses multiplies three curves to define a potential field which #varies with the xi directions. #This field is evaluated into an existing grid point storage and written out. #Read in our element geometry gfx read node $example/stomach.exnode gfx read elem $example/stomach.exelem #Define a grid by reading in one that has the desired resolution gfx read elem $example/field.exelem.bz2 #Specify the grid point numbers for the grid points gfx read elem $example/grid.exelem.bz2 #Read in three curves which are going to be multiplied into a #product to define the field values we want. open com $example/epsilon_xi1.curve.com exec open com $example/epsilon_xi2.curve.com exec open com $example/epsilon_xi3.curve.com exec $SEED_ELEMENT = 1; $GROUP = "stomach"; gfx define field xi_texture xi_texture_coordinates seed_element $SEED_ELEMENT gfx define field xi1_curve curve_lookup curve xi1 source xi_texture.1 gfx define field xi2_curve curve_lookup curve xi2 source xi_texture.2 gfx define field xi3_curve curve_lookup curve xi3 source xi_texture.3 gfx define field temp multiply fields xi1_curve xi2_curve gfx define field values multiply fields temp xi3_curve #Evaluate the field values into the grid point storage gfx evaluate egroup $GROUP destination potential source values #Write out the evaluated grid point values gfx write elem values_$GROUP.exelem group $GROUP fields potential; #Write out the corresponding grid point numbers gfx write elem number_$GROUP.exelem group $GROUP fields grid_point_number
Name Modified Size
evaluate_grid.com 20-Apr-2012 1.5k COPYRIGHT 19-Apr-2012 504 epsilon_xi1.curve.com 20-Apr-2012 155 epsilon_xi1.curve.exelem 20-Apr-2012 843 epsilon_xi1.curve.exnode 20-Apr-2012 748 epsilon_xi2.curve.com 20-Apr-2012 154 epsilon_xi2.curve.exelem 20-Apr-2012 843 epsilon_xi2.curve.exnode 20-Apr-2012 748 epsilon_xi3.curve.com 20-Apr-2012 153 epsilon_xi3.curve.exelem 20-Apr-2012 640 epsilon_xi3.curve.exnode 20-Apr-2012 377 field.exelem.bz2 20-Apr-2012 62k grid.exelem.bz2 20-Apr-2012 833k stomach.exelem 20-Apr-2012 512k stomach.exnode 20-Apr-2012 150k
Name Modified Size
examples_a_evaluate_grid.tar.gz 20-Apr-2012 2.1M
| Status | Tested | Real time (s) | |
| i686-linux | |||
| cmgui-wx | Success | Wed May 16 00:43:32 2012 | 39 |
| cmgui-wx-debug | Success | Wed May 16 01:06:45 2012 | 60 |
| cmgui-wx-debug-memorycheck | Success | Wed May 16 02:47:20 2012 | 185 |
| cmgui-wx-debug-valgrind | Success | Tue May 8 04:10:18 2012 | 2705 |
| x86_64-linux | |||
| cmgui-wx | Success | Wed May 16 00:10:31 2012 | 5 |
| cmgui-wx-debug | Success | Wed May 16 00:12:54 2012 | 13 |
| cmgui-wx-debug-memorycheck | Success | Wed May 16 00:22:34 2012 | 42 |
| cmgui-wx-debug-valgrind | Success | Wed May 16 01:26:22 2012 | 477 |
| cmgui-wx-gcc-cad-debug-valgrind | Success | Wed May 16 01:22:20 2012 | 480 |
| i686-linux | |||
| Success | cmgui-wx: | diff test: no differences with generic answer. | |
| Success | cmgui-wx-debug: | diff test: no differences with generic answer. | |
| Success | cmgui-wx-debug-memorycheck: | diff test: no differences with generic answer. | |
| Success | cmgui-wx-debug-valgrind: | diff test: no differences with generic answer. | |
| x86_64-linux | |||
| Success | cmgui-wx: | diff test: no differences with generic answer. | |
| Success | cmgui-wx-debug: | diff test: no differences with generic answer. | |
| Success | cmgui-wx-debug-memorycheck: | diff test: no differences with generic answer. | |
| Success | cmgui-wx-debug-valgrind: | diff test: no differences with generic answer. |
| i686-linux | |||
| Success | cmgui-wx: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug-valgrind: | ndiff test: no significant differences with generic answer. | |
| x86_64-linux | |||
| Success | cmgui-wx: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug-valgrind: | ndiff test: no significant differences with generic answer. |
| i686-linux | |||
| Success | cmgui-wx: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug-valgrind: | ndiff test: no significant differences with generic answer. | |
| x86_64-linux | |||
| Success | cmgui-wx: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
| Success | cmgui-wx-debug-valgrind: | ndiff test: no significant differences with generic answer. |
Html last generated: Wed May 16 05:57:37 2012
Input last modified: Fri Apr 20 15:58:46 2012