# transform the nodal coordinate system from a sphercial polar system # to a rectangular cartesian system # read in nodes with the existing coordinate system called coordinates # (the spherical polar coordinate system) gfx read nodes $example/segment.exnode; gfx read elements $example/segment.exelem; # create a new coordinate system (the rectangular cartesian system) gfx define field rect coordinate_system rectangular_cartesian coordinate_transformation field coordinates; # create a field to store the new coordinate values for the nodes gfx define field rect_coords finite_element number_of_components 3 real coordinate; gfx modify nodes group segment define rect_coords; # note there is currently no way to define a new field on an element, # so this method is only useful for exporting nodes, not elements # calculate the new coordinate values gfx evaluate source rect dest rect_coords ngroup segment # write out an exnode file with the new coordinate system gfx write nodes transformed_segment.exnode field rect_coords group segment # export an ipnode file (unfortunately we have to specify all the other # file names even though we are not interested in them). gfx export cm field rect_coords ipcoor transformed_segment.ipcoor ipbase transformedbase.ipbase ipnode transformed_segment.ipnode ipelem transformed_segment.ipelem region segment
Name Modified Size
transform_coordinates.com 20-Apr-2012 1.3k COPYRIGHT 19-Apr-2012 504 segment.exelem 20-Apr-2012 3.6k segment.exnode 20-Apr-2012 1.0k
Name Modified Size
examples_a_backup_transform_coordinates.tar.gz 12-Aug-2014 9.2k
Status | Tested | Real time (s) | |
i686-linux | |||
cmgui-wx | Success | Sun Mar 6 00:06:53 2016 | 1 |
cmgui-wx-debug | Success | Sun Mar 6 00:06:53 2016 | 0 |
cmgui-wx-debug-memorycheck | Success | Sun Mar 6 00:06:53 2016 | 0 |
cmgui-wx-debug-valgrind | Success | Sun Mar 6 00:27:47 2016 | 13 |
x86_64-linux | |||
cmgui-wx | Success | Thu Jan 7 00:01:31 2016 | 0 |
cmgui-wx-debug | Success | Thu Jan 7 00:01:31 2016 | 0 |
cmgui-wx-debug-memorycheck | Success | Thu Jan 7 00:01:31 2016 | 0 |
cmgui-wx-debug-valgrind | Success | Thu Jan 7 00:03:55 2016 | 11 |
cmgui-wx-gcc-cad-debug-valgrind | Success | Thu Jan 7 00:02:44 2016 | 8 |
i686-linux | |||
Success | cmgui-wx: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug-valgrind: | cmiss_test.log.retain. | |
x86_64-linux | |||
Success | cmgui-wx: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug-valgrind: | cmiss_test.log.retain. |
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: Sun Mar 6 05:51:03 2016
Input last modified: Fri Apr 20 16:02:47 2012