⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dolfin.net

📁 利用C
💻 NET
📖 第 1 页 / 共 5 页
字号:
//// time: Thu Mar  4 15:55:13 2004//// version: 3.2.0 (format), 4.3.0 (DX)////// MODULE main//// comment: This visual program is intended to be a general purpose program for viewing three-dimensional data. // comment: // comment: If the data are multivariate, you can choose which variable to visualize. If the data are a series, you can use the sequencer to step through the series. For position-dependent data, an isosurface is created. For any data set, a maptoplane (cutting plane) is placed through the data and colored. You can open the colormap editor by choosing "Open All Colormap Editors" from the Windows menu.// comment: // comment: If you would like to modify or use this visual program in the future, choose Open Visual Program Editor from the Windows menu, and then choose Save As from the File menu of the VPE.// page assignment: Arrows	order=9, windowed=0, showing=0// page assignment: Colorslice	order=6, windowed=0, showing=1// page assignment: Frame	order=4, windowed=0, showing=0// page assignment: Geometry	order=10, windowed=0, showing=0// page assignment: Image	order=11, windowed=0, showing=0// page assignment: Import	order=2, windowed=0, showing=0// page assignment: Iso surface	order=5, windowed=0, showing=0// page assignment: Streamlines	order=7, windowed=0, showing=0// page assignment: Variable	order=3, windowed=0, showing=0// page assignment: Vorticity	order=8, windowed=0, showing=0// workspace: width = 709, height = 589// layout: snap = 1, width = 20, height = 31, align = UL//macro main() -> () {    //     // node Colormap[1]: x = 120, y = 372, inputs = 19, label = Colormap    // input[1]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 0.666667] [0.0 0.83157895] [1.0 0.0] }    // input[2]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [1.0 1.0] }    // input[3]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [1.0 1.0] }    // input[4]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [1.0 1.0] }    // input[5]: defaulting = 0, visible = 0, type = 32, value = "Colormap_1"    // input[7]: defaulting = 1, visible = 0, type = 5, value = -1.05    // input[8]: defaulting = 1, visible = 0, type = 5, value = 1.05    // input[9]: defaulting = 1, visible = 0, type = 1, value = 20    // input[12]: defaulting = 0, visible = 0, type = 16777221, value = { -1.05 1.05 }    // input[17]: defaulting = 0, visible = 0, type = 5, value = NULL    // input[18]: defaulting = 0, visible = 0, type = 5, value = NULL    // page group: Colorslice    // window: position = (0.3711,0.3854), size = 0.5078x0.4688    //main_Colormap_1_out_1[cache: 2],main_Colormap_1_out_2[cache: 2] =     Colormap(    main_Colormap_1_in_1,    main_Colormap_1_in_2,    main_Colormap_1_in_3,    main_Colormap_1_in_4,    main_Colormap_1_in_5,    main_Colormap_1_in_6,    main_Colormap_1_in_7,    main_Colormap_1_in_8,    main_Colormap_1_in_9,    main_Colormap_1_in_10,    main_Colormap_1_in_11,    main_Colormap_1_in_12,    main_Colormap_1_in_13,    main_Colormap_1_in_14,    main_Colormap_1_in_15,    main_Colormap_1_in_16,    main_Colormap_1_in_17,    main_Colormap_1_in_18,    main_Colormap_1_in_19    ) [instance: 1, cache: 1];    //     // node ColorBar[2]: x = 100, y = 527, inputs = 16, label = ColorBar    // input[2]: defaulting = 1, visible = 1, type = 8, value = NULL    // input[6]: defaulting = 1, visible = 0, type = 5, value = -1.0    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0    // page group: Colorslice    //main_ColorBar_2_out_1 =     ColorBar(    main_Colormap_1_out_1,    main_ColorBar_2_in_2,    main_ColorBar_2_in_3,    main_ColorBar_2_in_4,    main_ColorBar_2_in_5,    main_ColorBar_2_in_6,    main_ColorBar_2_in_7,    main_ColorBar_2_in_8,    main_ColorBar_2_in_9,    main_ColorBar_2_in_10,    main_ColorBar_2_in_11,    main_ColorBar_2_in_12,    main_ColorBar_2_in_13,    main_ColorBar_2_in_14,    main_ColorBar_2_in_15,    main_ColorBar_2_in_16    ) [instance: 2, cache: 1];    //     // node Transmitter[26]: x = 240, y = 527, inputs = 1, label = Colorbar1    // page group: Colorslice    //Colorbar1 = main_ColorBar_2_out_1;    //     // node Receiver[28]: x = 20, y = 279, inputs = 1, label = Colorbar1    // page group: Image    //main_Receiver_28_out_1[cache: 0] = Colorbar1;    //     // node FileSelector[3]: x = 20, y = 93, inputs = 0, label = FileSelector    // output[1]: visible = 1, type = 32, value = "/home/logg/results/bistable/2004-03-01-mesh-32/solution.dx"    // output[2]: visible = 1, type = 32, value = "solution.dx"    // page group: Import    //    //     // node StringList[1]: x = 200, y = 93, inputs = 0, label = StringList    // output[1]: visible = 1, type = 16777248, value = { "Mesh", "u", "Time series" }    // page group: Import    //    //     // node Selector[3]: x = 120, y = 93, inputs = 7, label = Selector    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_3"    // input[2]: defaulting = 0, visible = 0, type = 32, value = "Time series"     // input[3]: defaulting = 0, visible = 0, type = 29, value = 2     // input[4]: defaulting = 1, visible = 1, type = 16777248, value = {"Mesh" "u" "Time series" }    // input[5]: defaulting = 1, visible = 0, type = 16777245, value = {0  1  2  }    // output[1]: visible = 1, type = 29, value = 2     // output[2]: visible = 1, type = 32, value = "Time series"     // page group: Import    //main_Selector_3_out_1[cache: 2],main_Selector_3_out_2[cache: 2] =     Selector(    main_Selector_3_in_1,    main_Selector_3_in_2,    main_Selector_3_in_3,    main_StringList_1_out_1,    main_Selector_3_in_5,    main_Selector_3_in_6,    main_Selector_3_in_7    ) [instance: 3, cache: 1];    //     // node String[1]: x = 100, y = 217, inputs = 0, label = String    // output[1]: visible = 1, type = 32, value = "dx"    // page group: Import    //    //     // node Import[1]: x = 20, y = 217, inputs = 6, label = Import    // page group: Import    //main_Import_1_out_1 =     Import(    main_FileSelector_3_out_1,    main_Selector_3_out_2,    main_String_1_out_1,    main_Import_1_in_4,    main_Import_1_in_5,    main_Import_1_in_6    ) [instance: 1, cache: 1];    //     // node Transmitter[8]: x = 20, y = 279, inputs = 1, label = Dataset    // page group: Import    //Dataset = main_Import_1_out_1;    //     // node Receiver[3]: x = 20, y = 93, inputs = 1, label = Dataset    // page group: Variable    //main_Receiver_3_out_1[cache: 0] = Dataset;    //     // node Inquire[3]: x = 20, y = 217, inputs = 3, label = Inquire    // input[2]: defaulting = 0, visible = 1, type = 32, value = "is generic group +1"    // page group: Variable    //main_Inquire_3_out_1 =     Inquire(    main_Receiver_3_out_1,    main_Inquire_3_in_2,    main_Inquire_3_in_3    ) [instance: 3, cache: 1];    //     // node Selector[2]: x = 220, y = 93, inputs = 7, label = Selector    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_2"    // input[2]: defaulting = 0, visible = 0, type = 32, value = "on"     // input[3]: defaulting = 0, visible = 0, type = 29, value = 1     // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "on" "off" }    // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 0 }    // output[1]: visible = 1, type = 29, value = 1     // output[2]: visible = 1, type = 32, value = "on"     // page group: Variable    //main_Selector_2_out_1[cache: 2],main_Selector_2_out_2[cache: 2] =     Selector(    main_Selector_2_in_1,    main_Selector_2_in_2,    main_Selector_2_in_3,    main_Receiver_3_out_1,    main_Selector_2_in_5,    main_Selector_2_in_6,    main_Selector_2_in_7    ) [instance: 2, cache: 1];    //     // node Select[1]: x = 300, y = 93, inputs = 3, label = Select    // page group: Variable    //main_Select_1_out_1 =     Select(    main_Receiver_3_out_1,    main_Selector_2_out_1,    main_Select_1_in_3    ) [instance: 1, cache: 1];    //     // node Switch[6]: x = 140, y = 310, inputs = 3, label = Switch    // page group: Variable    //main_Switch_6_out_1 =     Switch(    main_Inquire_3_out_1,    main_Receiver_3_out_1,    main_Select_1_out_1    ) [instance: 6, cache: 1];    //     // node Transmitter[9]: x = 220, y = 403, inputs = 1, label = Variable    // page group: Variable    //Variable = main_Switch_6_out_1;    //     // node Receiver[4]: x = 20, y = 93, inputs = 1, label = Variable    // page group: Frame    //main_Receiver_4_out_1[cache: 0] = Variable;    //     // node Inquire[4]: x = 20, y = 217, inputs = 3, label = Inquire    // input[2]: defaulting = 0, visible = 1, type = 32, value = "is series + 1"    // page group: Frame    //main_Inquire_4_out_1 =     Inquire(    main_Receiver_4_out_1,    main_Inquire_4_in_2,    main_Inquire_4_in_3    ) [instance: 4, cache: 1];    //     // node Inquire[5]: x = 380, y = 217, inputs = 3, label = Inquire    // input[2]: defaulting = 0, visible = 1, type = 32, value = "member count -1"    // page group: Frame    //main_Inquire_5_out_1 =     Inquire(    main_Receiver_4_out_1,    main_Inquire_5_in_2,    main_Inquire_5_in_3    ) [instance: 5, cache: 1];    //     // node Sequencer[1]: x = 380, y = 279, inputs = 7, label = Sequencer    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Sequencer_1"    // input[4]: defaulting = 0, visible = 1, type = 1, value = 0    // input[5]: defaulting = 1, visible = 1, type = 1, value = 100    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1    // input[7]: defaulting = 0, visible = 0, type = 16777217, value = { 0 100 1 0 100 1 }    // page group: Frame    // vcr[1]: min = 0, max = 100, beg = 0, end = 100, cur = 0, inc = 1, loop = off, step = on, pal = off    // window: position = (0.0609,0.8406), size = 0.2148x0.0875    //    main_Sequencer_1_in_3 = @frame;main_Sequencer_1_out_1[cache: 2] =     Sequencer(    main_Sequencer_1_in_1,    main_Sequencer_1_in_2,    main_Sequencer_1_in_3,    main_Sequencer_1_in_4,    main_Inquire_5_out_1,    main_Sequencer_1_in_6,    main_Sequencer_1_in_7    ) [instance: 1, cache: 1];    //     // node Select[2]: x = 240, y = 310, inputs = 3, label = Select    // page group: Frame    //main_Select_2_out_1 =     Select(    main_Receiver_4_out_1,    main_Sequencer_1_out_1,    main_Select_2_in_3    ) [instance: 2, cache: 1];    //     // node Switch[7]: x = 140, y = 310, inputs = 3, label = Switch    // page group: Frame    //main_Switch_7_out_1 =     Switch(    main_Inquire_4_out_1,    main_Receiver_4_out_1,    main_Select_2_out_1    ) [instance: 7, cache: 1];    //     // node Transmitter[10]: x = 280, y = 403, inputs = 1, label = Field    // page group: Frame    //Field = main_Switch_7_out_1;    //     // node Receiver[6]: x = 20, y = 93, inputs = 1, label = Field    // page group: Colorslice    //main_Receiver_6_out_1[cache: 0] = Field;    //     // node Vector[9]: x = 60, y = 186, inputs = 11, label = Vector    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_9"    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0.5 0.5 0.5 ]    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]    // output[1]: visible = 1, type = 8, value = [ 0.5 0.5 0.5 ]    // page group: Colorslice    //    //     // node Vector[10]: x = 120, y = 186, inputs = 11, label = Vector    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_10"    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 1 0 0 ]    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]    // output[1]: visible = 1, type = 8, value = [ 1 0 0 ]    // page group: Colorslice    //    //     // node MapToPlane[1]: x = 20, y = 248, inputs = 3, label = MapToPlane    // page group: Colorslice    //main_MapToPlane_1_out_1 =     MapToPlane(    main_Receiver_6_out_1,    main_Vector_9_out_1,    main_Vector_10_out_1    ) [instance: 1, cache: 1];    //     // node Color[4]: x = 20, y = 372, inputs = 5, label = Color    // page group: Colorslice    //main_Color_4_out_1 =     Color(    main_MapToPlane_1_out_1,    main_Colormap_1_out_1,    main_Colormap_1_out_2,    main_Color_4_in_4,    main_Color_4_in_5    ) [instance: 4, cache: 1];    //     // node Transmitter[12]: x = 20, y = 527, inputs = 1, label = Colorslice1    // page group: Colorslice    //Colorslice1 = main_Color_4_out_1;    //     // node Receiver[9]: x = 160, y = 93, inputs = 1, label = Colorslice1    // page group: Image    //main_Receiver_9_out_1[cache: 0] = Colorslice1;    //     // node Vector[11]: x = 460, y = 186, inputs = 11, label = Vector    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_11"    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0.5 0.5 0.5 ]    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]    // output[1]: visible = 1, type = 8, value = [ 0.5 0.5 0.5 ]    // page group: Colorslice    //    //     // node Vector[12]: x = 520, y = 186, inputs = 11, label = Vector    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_12"    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0 1 0 ]    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]    // output[1]: visible = 1, type = 8, value = [ 0 1 0 ]    // page group: Colorslice    //    //     // node MapToPlane[4]: x = 420, y = 248, inputs = 3, label = MapToPlane    // page group: Colorslice    //main_MapToPlane_4_out_1 =     MapToPlane(    main_Receiver_6_out_1,    main_Vector_11_out_1,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -