APPS.SingleWindowApp TwoIsoSurfaces { UI { shell { x = 20; y = -665; }; Modules { IUI { optionList { cmdList => { <-.<-.<-.<-.Read_IEEE.UImod_panel.option, <-.<-.<-.<-.Write_Image.write_image_ui.panel.option, <-.<-.<-.<-.OutputField.output_field.UImod_panel.option, <-.<-.<-.<-.Loop.UIpanel.option, <-.<-.<-.<-.isosurface.UIpanel.option, <-.<-.<-.<-.isosurface#1.UIpanel.option, <-.<-.<-.<-.LegendVert.UImod_panel.option }; selectedItem = 0; }; }; }; Windows { IUI { panel { width = 646; height = 486; }; }; }; }; GDM.Uviewer3D Uviewer3D { Scene { Top { child_objs => { <-.<-.<-.isosurface#1.out_obj,<-.<-.<-.isosurface.out_obj, <-.<-.<-.LegendVert.GroupObject.obj}; Xform { mat = { 0.167025,0.139492,-0.155883,0.,0.0485664,0.168168,0.202523, 0.,0.203467,-0.154649,0.0796222,0.,0.,0.,0.,1. }; xlate = {1.16072,0.829334, 0.125171}; ocenter = {0.886292,0.886333, 0.886333}; dcenter = {-0.125184,-0.125171, -0.125171}; center = {0.886292,0.886333, 0.886333}; }; Props { line_width = 5; material = {0.55,0.9,0.68, 50.}; }; }; View { View { trigger = 2; }; }; Camera { Camera { perspec = 1; front = 1.; auto_norm = "None"; }; }; Lights { LightXform = { { mat= { 0.563739,0.817068,0.120829,0.,-0.163139,0.253556,-0.953465, 0.,-0.809683,0.517794,0.276235,0.,0.,0.,0.,1. } }, { xlate={4.32853,1.59472, 0.},mat= { 0.320239,-0.0125075,-0.947254,0.,-0.0027314,0.999896,-0.0141259, 0.,0.947333,0.00711089,0.320172,0.,0.,0.,0.,1. } }, ,}; }; }; Scene_Editor { View_Editor { InfoPanel { curobj_sel { x = 490; y = 298; width = 300; height = 310; selectedItem = 2; ok = 1; }; }; IUI { optionList { selectedItem = 0; }; General { IUI { panel { visible = 1; }; Renderer { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,, }; }; Color { ColorEcho { ColorView { trigger = 1; }; }; }; Timer { y = 0; }; }; }; Options { IUI { DoubleBuffer { OPcmdList = {,, { set=1,,,,,,,,,,,,,,,,,,,, }}; }; Aspect { OPcmdList = {, { set=1,,,,,,,,,,,,,,,,,,,, }}; }; }; }; Output { IUI { OutFBType { OPcmdList = {, { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; OutZBType { OPcmdList = { ,, { set=1,,,,,,,,,,,,,,,,,,,, }, , }; }; }; }; Create { IUI { Camera_Mode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; Scene_Mode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; }; }; }; GDobj_sel { curobj_name = "Top"; }; }; Object_Editor { GDprops_edit { inherit = 0; line_width = 5; line_aa = 0; metal = 0.; ambient = 0.5500000119; diffuse = 0.8999999762; specular = 0.6800000072; trans = 1.; }; IUI { optionList { selectedItem = 3; }; General { IUI { AltSpace { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; TransformMode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,}; }; }; }; Field_Conversion { IUI { Type { IUI { optionList { selectedItem = 0; }; LineSurface { IUI { panel { visible = 1; }; }; }; }; }; }; }; Modes { IUI { EditAltModes { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; Point { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,,,, }; }; Line { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,,, }; }; Surface { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,,, }; }; Volume { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,}; }; Bounds { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; Normals { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; }; }; Properties { IUI { ObjectOptions = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; EditAltProps { y = 0; x = 0; }; Type { IUI { optionList { selectedItem = 2; }; General { IUI { ColorOptions = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; ColorEditor { ColorEcho { ColorView { trigger = 1; }; }; }; }; }; PointLine { IUI { LineStyle { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,}; }; DrawingMode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; }; }; Surface { IUI { CullMode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,}; }; panel { visible = 1; }; }; }; Volume { IUI { Interpolation { OPcmdList = {, { set=1,,,,,,,,,,,,,,,,,,,, }}; }; Algorithm { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,, }; }; Norm { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; }; }; }; }; panel { visible = 1; }; }; }; }; }; Track_Editor { IUI { optionList { selectedItem = 1; }; Interactor_Behavior { IUI { RotateMode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; XYTranslateMode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,}; }; }; }; Transform { IUI { panel { visible = 1; }; ScaleLabel { y = 0; }; }; }; }; GDxform_edit { abs_scale = 0.3000000119; absolute = 1; scale = 0.3; }; }; Camera_Editor { GDcamera_edit { front = 1.; }; }; Light_Editor { GDlinfo_edit { show = 0; }; GDlight_edit { state = 1; type = "Directional"; }; IUI { optionList { selectedItem = 0; }; General { IUI { panel { visible = 1; }; AllFrame { y = 0; }; LightType { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,}; }; }; }; }; }; Datamap_Editor { IUI { Options { IUI { optionList { selectedItem = 3; }; Edit_Color { IUI { ColorRB { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; }; }; InputOutput { IUI { panel { visible = 1; }; FileOP { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; Dmap_browser { text = "DefaultLinear"; x = 362; y = 170; width = 300; height = 310; ok = 1; }; }; }; }; }; DmapEcho { DmapView { trigger = 1; }; }; ModelOptions = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; selectedDmap = 0; }; }; }; AC_KIT.Read_IEEE Read_IEEE { Filename_ui { UIfileDialog { x = 192; y = 272; width = 300; height = 390; ok = 1; dirMaskCache = "/scratch1/wu/2NScollide/*"; cancel = 1; }; }; Read_IEEE_raw { avs_name = "Read IEEE.user.1"; Filename = "/scratch1/wu/2NScollide/s3d_rho.ieee"; RecordNumber => <-.<-.Time_Step; max_RecordNumber; }; UImod_panel { option { set = 1; }; }; }; int record => .Read_IEEE.Read_IEEE_raw.RecordNumber; ACavs_to_fld ACavs_to_fld { in => <-.Read_IEEE.Read_IEEE_raw.o_out; Field_Unif Output_Field; }; string filename => ((.name + .record_s) + .suffix); string name = "/scratch1/wu/Rho_PIC/TwoISO"; string suffix = ".tiff"; string record_s => .record; MODS.Write_Image Write_Image { in => <-.OutputField.output_field.Output.output; write_image_ui { format_rb { selectedItem = 7; }; filename => <-.<-.filename; overwrite_toggle { set = 1; }; flip_toggle { set = 0; }; }; }; GDM.OutputField OutputField { view_in => <-.Uviewer3D.Scene_Selector.curr_view; output_field { UIslider { value = 640.; }; UIslider#1 { value = 480.; }; }; }; int Time_Step => .Loop.count; MODS.Loop Loop { end => <-.Read_IEEE.Read_IEEE_raw.max_RecordNumber; incr = 1.; int count = 0; done = 1; LoopUI { start_typein { x = 0; }; end_typein { x = 0; }; incr_typein { x = 0; }; count_typein { x = 0; }; cycle_toggle { x = 0; }; }; }; MODS.isosurface isosurface { in_field => <-.ACavs_to_fld.out; IsoParam { iso_level => 0.0001; }; DVcell_data_labels { labels[]; }; DVnode_data_labels { labels[]; }; obj { Props { trans = 0.400000006; inherit = 0; material = {0.55,0.9,0.68, 50.}; }; }; }; MODS.isosurface isosurface#1 { in_field => <-.ACavs_to_fld.out; IsoParam { iso_level => 0.0003029029796; }; DVcell_data_labels { labels[]; }; DVnode_data_labels { labels[]; }; IsoUI { UIoptionBoxLabel { label_cmd { cmd[1] = { { set=1,,,,,,,,,,,,,,,,,,,, }}; }; }; }; }; GEOMS.LegendVert LegendVert { obj_in => <-.isosurface.out_obj; OutlineToggle { set = 0; }; LabelsMacro { format = "%3.2e"; }; TicksMacro { Ticks { visible = 0; }; }; x_min = -0.7; x_max = -0.6; }; };