PageRenderTime 18ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/42TestingPoints/SinglePhysics/LinearProblems/StaticProblems/Laplace/2D/QUAD/linear/LEVEL_1/output/visualise.com

http://github.com/xyan075/examples
Unknown | 20 lines | 20 code | 0 blank | 0 comment | 0 complexity | 82831f287e3511ce5712b2ab5759ef1c MD5 | raw file
 1@exnodes=<./Laplace.part*.exnode>;
 2@exelems=<./Laplace.part*.exelem>;
 3foreach $filename (@exnodes) {
 4    print "Reading $filename\n";
 5    gfx read node "$filename";
 6}
 7foreach $filename (@exelems) {
 8    print "Reading $filename\n";
 9    gfx read elem "$filename";
10}
11gfx define faces egroup LaplaceRegion
12gfx create window 1
13gfx modify window 1 view interest_point 1.0,0.5,0.0 eye_point 1.0,0.5,5.0 up_vector 0.0,1.0,0.0
14gfx modify spectrum default clear overwrite_colour;
15gfx modify spectrum default linear reverse range 0.0 1.0 extend_above extend_below rainbow colour_range 0 1 component 1
16gfx modify spectrum default linear reverse range 0.0 1.0 extend_above extend_below banded number_of_bands 20 band_ratio 0.06 component 1
17gfx modify g_element LaplaceRegion node_points glyph sphere general size "0.1*0.1*0.1" centre 0,0,0 
18gfx modify g_element LaplaceRegion lines select_on material default selected_material default_selected
19gfx modify g_element LaplaceRegion surfaces select_on material default data general spectrum default selected_material default_selected render_shaded
20gfx