// // time: Thu May 2 12:14:16 1996 // // version: 3.0.0 (format), 3.1.2 (DX) // // // MODULE main // CATEGORY Macros // // comment: This network show the results of a molecular dynamics calculation. The polymer // comment: is a lubricant used on disk drives that undergoes unzipping at high molecular // comment: temperatures. The polymer is defined by spheres , each of which represents 20 // comment: monomer units. The arrows represent the magnitude and displacement of each // comment: group of atoms(monomer) from the previous time step. The plots are used to // comment: graph the displacement of each atom over time in each dimension, This is important in the study of bulk polymers. You can choose a single plot of all dimensions or a stacked plot of the X, Y and Z displacement together. // comment: These data are positions and connections data with each file in the time series // comment: being a new set of displacement values. The data are from the CHARMM program. // comment: Use the sequencer to see the change in the polymer shape over time and temp. // workspace: width = 1478, height = 1557 // layout: snap = 0, width = 50, height = 50, align = CC // macro main( ) -> ( ) { // // node Sequencer[1]: x = 9, y = 4, inputs = 7, label = Sequencer // input[1]: defaulting = 0, visible = 0, type = 32, value = "Sequencer_1" // input[4]: defaulting = 1, visible = 0, type = 1, value = 5 // input[5]: defaulting = 1, visible = 0, type = 1, value = 17 // input[6]: defaulting = 1, visible = 0, type = 1, value = 1 // input[7]: defaulting = 0, visible = 0, type = 16777217, value = { 5 17 1 5 13 1 } // vcr[1]: min = 5, max = 17, beg = 5, end = 13, cur = 5, inc = 1, loop = on, step = off, pal = on // window: position = (0.0344,0.1787), size = 0.2188x0.0781 // main_Sequencer_1_out_1 = @frame; // // node Transmitter[12]: x = 117, y = 101, inputs = 1, label = time_step // time_step = main_Sequencer_1_out_1; // // node Caption[7]: x = 1094, y = 169, inputs = 9, label = Caption // input[1]: defaulting = 0, visible = 0, type = 32, value = "Thermal Wave Propagation of Bulk Lubricant" // input[2]: defaulting = 0, visible = 0, type = 8, value = NULL // input[6]: defaulting = 0, visible = 0, type = 1, value = 25 // input[7]: defaulting = 0, visible = 0, type = 32, value = "area" // main_Caption_7_out_1 = Caption( main_Caption_7_in_1, main_Caption_7_in_2, main_Caption_7_in_3, main_Caption_7_in_4, main_Caption_7_in_5, main_Caption_7_in_6, main_Caption_7_in_7, main_Caption_7_in_8, main_Caption_7_in_9 ) [instance: 7, cache: 1]; // // node Transmitter[6]: x = 1113, y = 324, inputs = 1, label = Caption1 // Caption1 = main_Caption_7_out_1; // // node Receiver[8]: x = 28, y = 1198, inputs = 1, label = Caption1 // main_Receiver_8_out_1 = Caption1; // // node Caption[6]: x = 1211, y = 169, inputs = 9, label = Caption // input[1]: defaulting = 0, visible = 0, type = 32, value = "Arrows = direction and magnitude of displacement" // input[2]: defaulting = 0, visible = 0, type = 8, value = [0.19, 0.96] // input[6]: defaulting = 0, visible = 0, type = 1, value = 25 // input[7]: defaulting = 0, visible = 0, type = 32, value = "area" // main_Caption_6_out_1 = Caption( main_Caption_6_in_1, main_Caption_6_in_2, main_Caption_6_in_3, main_Caption_6_in_4, main_Caption_6_in_5, main_Caption_6_in_6, main_Caption_6_in_7, main_Caption_6_in_8, main_Caption_6_in_9 ) [instance: 6, cache: 1]; // // node Transmitter[7]: x = 1224, y = 330, inputs = 1, label = Caption2 // Caption2 = main_Caption_6_out_1; // // node Receiver[6]: x = 112, y = 1185, inputs = 1, label = Caption2 // main_Receiver_6_out_1 = Caption2; // // node Caption[3]: x = 1311, y = 173, inputs = 9, label = Caption // input[1]: defaulting = 0, visible = 0, type = 32, value = "for each time step in dynamic simulation" // input[2]: defaulting = 0, visible = 0, type = 8, value = [0.50, 0.91] // input[6]: defaulting = 0, visible = 0, type = 1, value = 25 // input[7]: defaulting = 0, visible = 0, type = 32, value = "area" // main_Caption_3_out_1 = Caption( main_Caption_3_in_1, main_Caption_3_in_2, main_Caption_3_in_3, main_Caption_3_in_4, main_Caption_3_in_5, main_Caption_3_in_6, main_Caption_3_in_7, main_Caption_3_in_8, main_Caption_3_in_9 ) [instance: 3, cache: 1]; // // node Transmitter[8]: x = 1331, y = 330, inputs = 1, label = Caption3 // Caption3 = main_Caption_3_out_1; // // node Receiver[7]: x = 183, y = 1192, inputs = 1, label = Caption3 // main_Receiver_7_out_1 = Caption3; // // node Receiver[9]: x = 273, y = 1198, inputs = 1, label = Caption3 // main_Receiver_9_out_1 = Caption3; // // node Caption[4]: x = 1416, y = 172, inputs = 9, label = Caption // input[1]: defaulting = 0, visible = 0, type = 32, value = "Displacement" // input[2]: defaulting = 0, visible = 0, type = 8, value = [0.10, 0.33] // input[6]: defaulting = 0, visible = 0, type = 1, value = 23 // input[7]: defaulting = 0, visible = 0, type = 32, value = "area" // main_Caption_4_out_1 = Caption( main_Caption_4_in_1, main_Caption_4_in_2, main_Caption_4_in_3, main_Caption_4_in_4, main_Caption_4_in_5, main_Caption_4_in_6, main_Caption_4_in_7, main_Caption_4_in_8, main_Caption_4_in_9 ) [instance: 4, cache: 1]; // // node Transmitter[9]: x = 1413, y = 332, inputs = 1, label = Caption4 // Caption4 = main_Caption_4_out_1; // // node Receiver[10]: x = 357, y = 1198, inputs = 1, label = Caption4 // main_Receiver_10_out_1 = Caption4; // // node Collect[2]: x = 129, y = 1338, inputs = 5, label = Collect // main_Collect_2_out_1 = Collect( main_Receiver_8_out_1, main_Receiver_6_out_1, main_Receiver_7_out_1, main_Receiver_9_out_1, main_Receiver_10_out_1 ) [instance: 2, cache: 1]; // // node Compute[4]: x = 15, y = 103, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0/3.0-int($0/3.0)" // expression: value = a/3.0-int(a/3.0) // name[2]: value = a // main_Compute_4_out_1 = Compute( main_Compute_4_in_1, main_Sequencer_1_out_1 ) [instance: 4, cache: 1]; // // node Transmitter[1]: x = 22, y = 203, inputs = 1, label = fraction // fraction = main_Compute_4_out_1; // // node Receiver[1]: x = 63, y = 296, inputs = 1, label = fraction // main_Receiver_1_out_1 = fraction; // // node Compute[5]: x = 475, y = 9, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "int($0/3.0)" // expression: value = int(a/3.0) // name[2]: value = a // main_Compute_5_out_1 = Compute( main_Compute_5_in_1, main_Sequencer_1_out_1 ) [instance: 5, cache: 1]; // // node Compute[6]: x = 328, y = 21, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+1" // expression: value = a+1 // name[2]: value = a // main_Compute_6_out_1 = Compute( main_Compute_6_in_1, main_Compute_5_out_1 ) [instance: 6, cache: 1]; // // node Format[2]: x = 243, y = 97, inputs = 5, label = Format // input[1]: defaulting = 0, visible = 0, type = 32, value = "poly%d" // input[3]: visible = 0 // input[4]: visible = 0 // input[5]: visible = 0 // main_Format_2_out_1 = Format( main_Format_2_in_1, main_Compute_6_out_1, main_Format_2_in_3, main_Format_2_in_4, main_Format_2_in_5 ) [instance: 2, cache: 1]; // // node Import[2]: x = 239, y = 171, inputs = 6, label = Import // input[2]: visible = 0 // input[3]: defaulting = 0, visible = 0, type = 32, value = "cdf" // main_Import_2_out_1 = Import( main_Format_2_out_1, main_Import_2_in_2, main_Import_2_in_3, main_Import_2_in_4, main_Import_2_in_5, main_Import_2_in_6 ) [instance: 2, cache: 1]; // // node Mark[5]: x = 236, y = 262, inputs = 2, label = Mark // input[2]: defaulting = 0, visible = 0, type = 32, value = "positions" // main_Mark_5_out_1 = Mark( main_Import_2_out_1, main_Mark_5_in_2 ) [instance: 5, cache: 1]; // // node Format[1]: x = 453, y = 94, inputs = 5, label = Format // input[1]: defaulting = 0, visible = 0, type = 32, value = "poly%d" // input[3]: visible = 0 // input[4]: visible = 0 // input[5]: visible = 0 // main_Format_1_out_1 = Format( main_Format_1_in_1, main_Compute_5_out_1, main_Format_1_in_3, main_Format_1_in_4, main_Format_1_in_5 ) [instance: 1, cache: 1]; // // node Import[1]: x = 446, y = 172, inputs = 6, label = Import_1 // input[2]: visible = 0 // input[3]: visible = 0 // main_Import_1_out_1 = Import( main_Format_1_out_1, main_Import_1_in_2, main_Import_1_in_3, main_Import_1_in_4, main_Import_1_in_5, main_Import_1_in_6 ) [instance: 1, cache: 1]; // // node Mark[6]: x = 351, y = 360, inputs = 2, label = Mark // input[2]: defaulting = 0, visible = 0, type = 32, value = "positions" // main_Mark_6_out_1 = Mark( main_Import_1_out_1, main_Mark_6_in_2 ) [instance: 6, cache: 1]; // // node Compute[7]: x = 195, y = 377, inputs = 4, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$1*$0+$2*(1-$0)" // expression: value = b*a+c*(1-a) // name[2]: value = a // name[3]: value = b // name[4]: value = c // main_Compute_7_out_1 = Compute( main_Compute_7_in_1, main_Receiver_1_out_1, main_Mark_5_out_1, main_Mark_6_out_1 ) [instance: 7, cache: 1]; // // node Unmark[1]: x = 40, y = 478, inputs = 2, label = Unmark // input[2]: defaulting = 0, visible = 0, type = 32, value = "displacement" // main_Unmark_1_out_1 = Unmark( main_Compute_7_out_1, main_Unmark_1_in_2 ) [instance: 1, cache: 1]; // // node Select[4]: x = 150, y = 582, inputs = 3, label = Select_4 // input[2]: defaulting = 0, visible = 0, type = 32, value = "displacement" // main_Select_4_out_1 = Select( main_Unmark_1_out_1, main_Select_4_in_2, main_Select_4_in_3 ) [instance: 4, cache: 1]; // // node ShowConnections[1]: x = 471, y = 691, inputs = 1, label = ShowConnections // main_ShowConnections_1_out_1 = ShowConnections( main_Select_4_out_1 ) [instance: 1, cache: 1]; // // node Tube[2]: x = 511, y = 792, inputs = 4, label = Tube // input[2]: defaulting = 0, visible = 0, type = 5, value = .4 // input[3]: defaulting = 0, visible = 0, type = 1, value = 10 // main_Tube_2_out_1 = Tube( main_ShowConnections_1_out_1, main_Tube_2_in_2, main_Tube_2_in_3, main_Tube_2_in_4 ) [instance: 2, cache: 1]; // // node Color[7]: x = 471, y = 1002, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 0, type = 32, value = "red" // input[3]: visible = 0 // main_Color_7_out_1 = Color( main_Tube_2_out_1, main_Color_7_in_2, main_Color_7_in_3, main_Color_7_in_4, main_Color_7_in_5 ) [instance: 7, cache: 1]; // // node Select[3]: x = 36, y = 574, inputs = 3, label = Select_3 // input[2]: defaulting = 0, visible = 0, type = 32, value = "points" // main_Select_3_out_1 = Select( main_Unmark_1_out_1, main_Select_3_in_2, main_Select_3_in_3 ) [instance: 3, cache: 1]; // // node Compute[1]: x = 108, y = 694, inputs = 2, label = Compute_1 // input[1]: defaulting = 0, visible = 0, type = 32, value = "1.0" // expression: value = 1.0 // name[2]: value = a // main_Compute_1_out_1 = Compute( main_Compute_1_in_1, main_Select_3_out_1 ) [instance: 1, cache: 1]; // // node Color[4]: x = 41, y = 816, inputs = 5, label = Color_4 // input[2]: defaulting = 0, visible = 0, type = 32, value = "cyan" // input[3]: visible = 0 // main_Color_4_out_1 = Color( main_Compute_1_out_1, main_Color_4_in_2, main_Color_4_in_3, main_Color_4_in_4, main_Color_4_in_5 ) [instance: 4, cache: 1]; // // node Partition[21]: x = 103, y = 844, inputs = 3, label = Partition // main_Partition_21_out_1 = Partition( main_Color_4_out_1, main_Partition_21_in_2, main_Partition_21_in_3 ) [instance: 21, cache: 1]; // // node Glyph[5]: x = 16, y = 918, inputs = 7, label = Glyph_5 // input[2]: defaulting = 0, visible = 0, type = 5, value = .5 // input[3]: defaulting = 1, visible = 1, type = 5, value = .5 // input[4]: defaulting = 0, visible = 0, type = 5, value = 0.900000 // input[5]: visible = 0 // main_Glyph_5_out_1 = Glyph( main_Partition_21_out_1, main_Glyph_5_in_2, main_Glyph_5_in_3, main_Glyph_5_in_4, main_Glyph_5_in_5, main_Glyph_5_in_6, main_Glyph_5_in_7 ) [instance: 5, cache: 1]; // // node Extract[3]: x = 332, y = 476, inputs = 2, label = Extract // input[2]: defaulting = 0, visible = 0, type = 32, value = "positions" // main_Extract_3_out_1 = Extract( main_Select_4_out_1, main_Extract_3_in_2 ) [instance: 3, cache: 1]; // // node Select[6]: x = 429, y = 362, inputs = 3, label = Select // input[2]: defaulting = 0, visible = 0, type = 32, value = "displacement" // main_Select_6_out_1 = Select( main_Import_1_out_1, main_Select_6_in_2, main_Select_6_in_3 ) [instance: 6, cache: 1]; // // node Extract[4]: x = 507, y = 366, inputs = 2, label = Extract // input[2]: visible = 0 // main_Extract_4_out_1 = Extract( main_Select_6_out_1, main_Extract_4_in_2 ) [instance: 4, cache: 1]; // // node Construct[2]: x = 522, y = 484, inputs = 4, label = Construct // input[2]: visible = 0 // input[3]: visible = 0 // main_Construct_2_out_1 = Construct( main_Extract_3_out_1, main_Construct_2_in_2, main_Construct_2_in_3, main_Extract_4_out_1 ) [instance: 2, cache: 1]; // // node Compute[14]: x = 364, y = 598, inputs = 4, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$1*$0+$2*(1-$0)" // expression: value = b*a+c*(1-a) // name[2]: value = a // name[3]: value = b // name[4]: value = c // main_Compute_14_out_1 = Compute( main_Compute_14_in_1, main_Receiver_1_out_1, main_Select_4_out_1, main_Construct_2_out_1 ) [instance: 14, cache: 1]; // // node AutoColor[1]: x = 241, y = 736, inputs = 10, label = AutoColor_1 // input[3]: defaulting = 0, visible = 0, type = 5, value = 2.00000 // input[4]: defaulting = 0, visible = 0, type = 5, value = 0.600000 // input[5]: defaulting = 0, visible = 0, type = 5, value = 0.666000 // input[7]: defaulting = 0, visible = 0, type = 5, value = 0.00000 // input[8]: defaulting = 0, visible = 0, type = 5, value = 1.60000 // main_AutoColor_1_out_1, main_AutoColor_1_out_2 = AutoColor( main_Compute_14_out_1, main_AutoColor_1_in_2, main_AutoColor_1_in_3, main_AutoColor_1_in_4, main_AutoColor_1_in_5, main_AutoColor_1_in_6, main_AutoColor_1_in_7, main_AutoColor_1_in_8, main_AutoColor_1_in_9, main_AutoColor_1_in_10 ) [instance: 1, cache: 1]; // // node Partition[22]: x = 226, y = 838, inputs = 3, label = Partition // main_Partition_22_out_1 = Partition( main_AutoColor_1_out_1, main_Partition_22_in_2, main_Partition_22_in_3 ) [instance: 22, cache: 1]; // // node Glyph[9]: x = 230, y = 931, inputs = 7, label = Glyph_9 // input[2]: defaulting = 0, visible = 0, type = 32, value = "rocket" // input[3]: defaulting = 0, visible = 0, type = 5, value = 0.700000 // input[4]: defaulting = 0, visible = 0, type = 5, value = 6.00000 // input[5]: visible = 0 // main_Glyph_9_out_1 = Glyph( main_Partition_22_out_1, main_Glyph_9_in_2, main_Glyph_9_in_3, main_Glyph_9_in_4, main_Glyph_9_in_5, main_Glyph_9_in_6, main_Glyph_9_in_7 ) [instance: 9, cache: 1]; // // node ColorBar[1]: x = 349, y = 841, inputs = 12, label = ColorBar // input[2]: defaulting = 0, visible = 0, type = 8, value = [0.06, 0.2] // input[3]: defaulting = 0, visible = 0, type = 8, value = [250, 25] // input[4]: defaulting = 0, visible = 0, type = 3, value = 1 // input[8]: visible = 0 // main_ColorBar_1_out_1 = ColorBar( main_AutoColor_1_out_2, main_ColorBar_1_in_2, main_ColorBar_1_in_3, main_ColorBar_1_in_4, main_ColorBar_1_in_5, main_ColorBar_1_in_6, main_ColorBar_1_in_7, main_ColorBar_1_in_8, main_ColorBar_1_in_9, main_ColorBar_1_in_10, main_ColorBar_1_in_11, main_ColorBar_1_in_12 ) [instance: 1, cache: 1]; // // node ValueList[1]: x = 691, y = 2, inputs = 0, label = ValueList // output[1]: visible = 1, type = 16777245, value = {50,100,125,150,175,200,230,250,275,300,350,400,450,500} // // // node Compute[20]: x = 607, y = 18, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0-2" // expression: value = a-2 // name[2]: value = a // main_Compute_20_out_1 = Compute( main_Compute_20_in_1, main_Sequencer_1_out_1 ) [instance: 20, cache: 1]; // // node Select[7]: x = 768, y = 92, inputs = 3, label = Select // main_Select_7_out_1 = Select( main_ValueList_1_out_1, main_Compute_20_out_1, main_Select_7_in_3 ) [instance: 7, cache: 1]; // // node Format[3]: x = 662, y = 129, inputs = 5, label = Format // input[1]: defaulting = 0, visible = 0, type = 32, value = "Temperature Kelvin %3.0f" // input[3]: visible = 0 // input[4]: visible = 0 // input[5]: visible = 0 // main_Format_3_out_1 = Format( main_Format_3_in_1, main_Select_7_out_1, main_Format_3_in_3, main_Format_3_in_4, main_Format_3_in_5 ) [instance: 3, cache: 1]; // // node Caption[8]: x = 679, y = 206, inputs = 9, label = Caption // input[2]: defaulting = 0, visible = 0, type = 8, value = [0.5, 0.75] // input[6]: defaulting = 0, visible = 0, type = 1, value = 20 // input[7]: defaulting = 0, visible = 0, type = 32, value = "area" // main_Caption_8_out_1 = Caption( main_Format_3_out_1, main_Caption_8_in_2, main_Caption_8_in_3, main_Caption_8_in_4, main_Caption_8_in_5, main_Caption_8_in_6, main_Caption_8_in_7, main_Caption_8_in_8, main_Caption_8_in_9 ) [instance: 8, cache: 1]; // // node Color[9]: x = 692, y = 299, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 0, type = 32, value = "red" // input[3]: visible = 0 // main_Color_9_out_1 = Color( main_Caption_8_out_1, main_Color_9_in_2, main_Color_9_in_3, main_Color_9_in_4, main_Color_9_in_5 ) [instance: 9, cache: 1]; // // node Transmitter[11]: x = 669, y = 376, inputs = 1, label = temp_caption // temp_caption = main_Color_9_out_1; // // node Receiver[11]: x = 645, y = 1198, inputs = 1, label = temp_caption // main_Receiver_11_out_1 = temp_caption; // // node Collect[1]: x = 503, y = 1376, inputs = 7, label = Collect_1 // input[7]: visible = 0 // main_Collect_1_out_1 = Collect( main_Collect_2_out_1, main_Color_7_out_1, main_Glyph_5_out_1, main_Glyph_9_out_1, main_ColorBar_1_out_1, main_Receiver_11_out_1, main_Collect_1_in_7 ) [instance: 1, cache: 1]; // // node Selector[1]: x = 839, y = 650, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_1" // input[2]: defaulting = 0, visible = 0, type = 32, value = "No plot" // input[3]: defaulting = 0, visible = 0, type = 29, value = 0 // input[4]: defaulting = 1, visible = 0, type = 16777248, value = { "displacement in X" "displacement in y" "displacement in z" "stacked plot x,y,z" "No plot" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 2 3 4 0 } // input[6]: defaulting = 1, visible = 1, type = 3, value = 0 // output[1]: visible = 1, type = 29, value = 0 // output[2]: visible = 0, type = 32, value = "No plot" // // // node Compute[22]: x = 975, y = 780, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0 > 0" // expression: value = a > 0 // name[2]: value = a // main_Compute_22_out_1 = Compute( main_Compute_22_in_1, main_Selector_1_out_1 ) [instance: 22, cache: 1]; // // node Transmitter[13]: x = 1064, y = 807, inputs = 1, label = window // window = main_Compute_22_out_1; // // node Receiver[12]: x = 772, y = 1340, inputs = 1, label = window // main_Receiver_12_out_1 = window; // // node Extract[5]: x = 852, y = 452, inputs = 2, label = Extract // input[2]: visible = 0 // main_Extract_5_out_1 = Extract( main_Compute_14_out_1, main_Extract_5_in_2 ) [instance: 5, cache: 1]; // // node Construct[1]: x = 936, y = 427, inputs = 4, label = Construct // input[1]: defaulting = 0, visible = 0, type = 16777224, value = {[0]} // input[2]: visible = 0 // input[3]: defaulting = 0, visible = 0, type = 1, value = 352 // main_Construct_1_out_1 = Construct( main_Construct_1_in_1, main_Construct_1_in_2, main_Construct_1_in_3, main_Extract_5_out_1 ) [instance: 1, cache: 1]; // // node Compute[12]: x = 957, y = 514, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0.x*100" // expression: value = a.x*100 // name[2]: value = a // main_Compute_12_out_1 = Compute( main_Compute_12_in_1, main_Construct_1_out_1 ) [instance: 12, cache: 1]; // // node Compute[16]: x = 1140, y = 486, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0.y*100" // expression: value = a.y*100 // name[2]: value = a // main_Compute_16_out_1 = Compute( main_Compute_16_in_1, main_Construct_1_out_1 ) [instance: 16, cache: 1]; // // node Compute[17]: x = 1377, y = 492, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0.z*100" // expression: value = a.z*100 // name[2]: value = a // main_Compute_17_out_1 = Compute( main_Compute_17_in_1, main_Construct_1_out_1 ) [instance: 17, cache: 1]; // // node Switch[1]: x = 694, y = 800, inputs = 5, label = Switch // input[5]: visible = 0 // main_Switch_1_out_1 = Switch( main_Selector_1_out_1, main_Compute_12_out_1, main_Compute_16_out_1, main_Compute_17_out_1, main_Switch_1_in_5 ) [instance: 1, cache: 1]; // // node AutoColor[5]: x = 689, y = 906, inputs = 10, label = AutoColor // output[2]: visible = 0 // main_AutoColor_5_out_1, main_AutoColor_5_out_2 = AutoColor( main_Switch_1_out_1, main_AutoColor_5_in_2, main_AutoColor_5_in_3, main_AutoColor_5_in_4, main_AutoColor_5_in_5, main_AutoColor_5_in_6, main_AutoColor_5_in_7, main_AutoColor_5_in_8, main_AutoColor_5_in_9, main_AutoColor_5_in_10 ) [instance: 5, cache: 1]; // // node Mark[7]: x = 718, y = 1018, inputs = 2, label = Mark // input[2]: defaulting = 0, visible = 0, type = 32, value = "colors" // main_Mark_7_out_1 = Mark( main_AutoColor_5_out_1, main_Mark_7_in_2 ) [instance: 7, cache: 1]; // // node Compute[19]: x = 707, y = 1100, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0*3" // expression: value = a*3 // name[2]: value = a // main_Compute_19_out_1 = Compute( main_Compute_19_in_1, main_Mark_7_out_1 ) [instance: 19, cache: 1]; // // node Unmark[6]: x = 772, y = 1184, inputs = 2, label = Unmark // input[2]: defaulting = 0, visible = 0, type = 32, value = "colors" // main_Unmark_6_out_1 = Unmark( main_Compute_19_out_1, main_Unmark_6_in_2 ) [instance: 6, cache: 1]; // // node Plot[1]: x = 824, y = 1253, inputs = 18, label = Plot // input[2]: visible = 0 // input[3]: visible = 0 // input[4]: defaulting = 0, visible = 0, type = 16777224, value = {[0, -100], [360, 100]} // input[9]: visible = 0 // main_Plot_1_out_1 = Plot( main_Unmark_6_out_1, main_Plot_1_in_2, main_Plot_1_in_3, main_Plot_1_in_4, main_Plot_1_in_5, main_Plot_1_in_6, main_Plot_1_in_7, main_Plot_1_in_8, main_Plot_1_in_9, main_Plot_1_in_10, main_Plot_1_in_11, main_Plot_1_in_12, main_Plot_1_in_13, main_Plot_1_in_14, main_Plot_1_in_15, main_Plot_1_in_16, main_Plot_1_in_17, main_Plot_1_in_18 ) [instance: 1, cache: 1]; // // node AutoColor[2]: x = 1048, y = 677, inputs = 10, label = AutoColor // output[2]: visible = 0 // main_AutoColor_2_out_1, main_AutoColor_2_out_2 = AutoColor( main_Compute_12_out_1, main_AutoColor_2_in_2, main_AutoColor_2_in_3, main_AutoColor_2_in_4, main_AutoColor_2_in_5, main_AutoColor_2_in_6, main_AutoColor_2_in_7, main_AutoColor_2_in_8, main_AutoColor_2_in_9, main_AutoColor_2_in_10 ) [instance: 2, cache: 1]; // // node Plot[2]: x = 1138, y = 831, inputs = 18, label = Plot // input[2]: defaulting = 0, visible = 0, type = 16777248, value = {"Atom position", "Displacement in X"} // input[3]: visible = 0 // input[4]: defaulting = 0, visible = 0, type = 16777224, value = {[0, -100], [360, 100]} // input[9]: visible = 0 // main_Plot_2_out_1 = Plot( main_AutoColor_2_out_1, main_Plot_2_in_2, main_Plot_2_in_3, main_Plot_2_in_4, main_Plot_2_in_5, main_Plot_2_in_6, main_Plot_2_in_7, main_Plot_2_in_8, main_Plot_2_in_9, main_Plot_2_in_10, main_Plot_2_in_11, main_Plot_2_in_12, main_Plot_2_in_13, main_Plot_2_in_14, main_Plot_2_in_15, main_Plot_2_in_16, main_Plot_2_in_17, main_Plot_2_in_18 ) [instance: 2, cache: 1]; // // node Translate[1]: x = 987, y = 987, inputs = 2, label = Translate // input[2]: defaulting = 0, visible = 0, type = 8, value = [0, 350, 0] // main_Translate_1_out_1 = Translate( main_Plot_2_out_1, main_Translate_1_in_2 ) [instance: 1, cache: 1]; // // node AutoColor[3]: x = 1373, y = 615, inputs = 10, label = AutoColor // output[2]: visible = 0 // main_AutoColor_3_out_1, main_AutoColor_3_out_2 = AutoColor( main_Compute_17_out_1, main_AutoColor_3_in_2, main_AutoColor_3_in_3, main_AutoColor_3_in_4, main_AutoColor_3_in_5, main_AutoColor_3_in_6, main_AutoColor_3_in_7, main_AutoColor_3_in_8, main_AutoColor_3_in_9, main_AutoColor_3_in_10 ) [instance: 3, cache: 1]; // // node Plot[4]: x = 1339, y = 790, inputs = 18, label = Plot // input[2]: defaulting = 0, visible = 0, type = 16777248, value = {"Atom position," "Displacement in y"} // input[3]: visible = 0 // input[4]: defaulting = 0, visible = 0, type = 16777224, value = {[0, -100], [360, 100]} // input[9]: visible = 0 // main_Plot_4_out_1 = Plot( main_AutoColor_3_out_1, main_Plot_4_in_2, main_Plot_4_in_3, main_Plot_4_in_4, main_Plot_4_in_5, main_Plot_4_in_6, main_Plot_4_in_7, main_Plot_4_in_8, main_Plot_4_in_9, main_Plot_4_in_10, main_Plot_4_in_11, main_Plot_4_in_12, main_Plot_4_in_13, main_Plot_4_in_14, main_Plot_4_in_15, main_Plot_4_in_16, main_Plot_4_in_17, main_Plot_4_in_18 ) [instance: 4, cache: 1]; // // node Translate[3]: x = 1220, y = 924, inputs = 2, label = Translate // input[2]: defaulting = 0, visible = 0, type = 8, value = [0, 125, 0] // main_Translate_3_out_1 = Translate( main_Plot_4_out_1, main_Translate_3_in_2 ) [instance: 3, cache: 1]; // // node AutoColor[4]: x = 1200, y = 656, inputs = 10, label = AutoColor // output[2]: visible = 0 // main_AutoColor_4_out_1, main_AutoColor_4_out_2 = AutoColor( main_Compute_16_out_1, main_AutoColor_4_in_2, main_AutoColor_4_in_3, main_AutoColor_4_in_4, main_AutoColor_4_in_5, main_AutoColor_4_in_6, main_AutoColor_4_in_7, main_AutoColor_4_in_8, main_AutoColor_4_in_9, main_AutoColor_4_in_10 ) [instance: 4, cache: 1]; // // node Plot[3]: x = 1174, y = 792, inputs = 18, label = Plot // input[2]: defaulting = 0, visible = 0, type = 16777248, value = {"Atom Position ", "Displacement in z"} // input[3]: visible = 0 // input[4]: defaulting = 0, visible = 0, type = 16777224, value = {[0, -100], [360, 100]} // input[9]: visible = 0 // main_Plot_3_out_1 = Plot( main_AutoColor_4_out_1, main_Plot_3_in_2, main_Plot_3_in_3, main_Plot_3_in_4, main_Plot_3_in_5, main_Plot_3_in_6, main_Plot_3_in_7, main_Plot_3_in_8, main_Plot_3_in_9, main_Plot_3_in_10, main_Plot_3_in_11, main_Plot_3_in_12, main_Plot_3_in_13, main_Plot_3_in_14, main_Plot_3_in_15, main_Plot_3_in_16, main_Plot_3_in_17, main_Plot_3_in_18 ) [instance: 3, cache: 1]; // // node Translate[2]: x = 1348, y = 925, inputs = 2, label = Translate // input[2]: defaulting = 0, visible = 0, type = 8, value = [0, -100, 0] // main_Translate_2_out_1 = Translate( main_Plot_3_out_1, main_Translate_2_in_2 ) [instance: 2, cache: 1]; // // node Collect[3]: x = 1086, y = 1085, inputs = 3, label = Collect // main_Collect_3_out_1 = Collect( main_Translate_1_out_1, main_Translate_3_out_1, main_Translate_2_out_1 ) [instance: 3, cache: 1]; // // node Switch[2]: x = 930, y = 1298, inputs = 5, label = Switch // main_Switch_2_out_1 = Switch( main_Selector_1_out_1, main_Plot_1_out_1, main_Plot_1_out_1, main_Plot_1_out_1, main_Collect_3_out_1 ) [instance: 2, cache: 1]; // // node Route[1]: x = 924, y = 1392, inputs = 2, outputs = 2, label = Route // main_Route_1_out_1, main_Route_1_out_2 = Route( main_Receiver_12_out_1, main_Switch_2_out_1 ) [instance: 1, cache: 1]; // // node Camera[1]: x = 1258, y = 1073, inputs = 9, label = Camera // input[1]: defaulting = 0, visible = 0, type = 8, value = [150, -25, 0] // input[2]: defaulting = 0, visible = 0, type = 8, value = [150, -25, 1] // input[3]: defaulting = 0, visible = 0, type = 5, value = 500.000 // input[4]: defaulting = 0, visible = 0, type = 1, value = 480 // input[5]: defaulting = 0, visible = 0, type = 5, value = 0.500000 // input[6]: visible = 0 // input[9]: visible = 0 // main_Camera_1_out_1 = Camera( main_Camera_1_in_1, main_Camera_1_in_2, main_Camera_1_in_3, main_Camera_1_in_4, main_Camera_1_in_5, main_Camera_1_in_6, main_Camera_1_in_7, main_Camera_1_in_8, main_Camera_1_in_9 ) [instance: 1, cache: 1]; // // node Scalar[1]: x = 1426, y = 1015, inputs = 11, label = Scalar // input[1]: defaulting = 0, visible = 0, type = 32, value = "Scalar_1" // input[2]: visible = 0 // input[3]: defaulting = 0, visible = 0, type = 5, value = 570.0 // input[4]: defaulting = 0, visible = 0, type = 3, value = 0 // input[5]: defaulting = 1, visible = 0, type = 5, value = 0.0 // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000.0 // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.00000 // input[8]: defaulting = 1, visible = 0, type = 32, value = "3" // input[9]: defaulting = 1, visible = 0, type = 1, value = 3 // output[1]: visible = 1, type = 5, value = 570.0 // // // node Camera[2]: x = 1338, y = 1115, inputs = 9, label = Camera // input[1]: defaulting = 0, visible = 0, type = 8, value = [150, 110, 0] // input[2]: defaulting = 0, visible = 0, type = 8, value = [150, 110, 1] // input[4]: defaulting = 0, visible = 0, type = 1, value = 480 // input[5]: defaulting = 0, visible = 0, type = 5, value = 1.30000 // input[6]: visible = 0 // input[7]: visible = 0 // input[8]: visible = 0 // input[9]: visible = 0 // main_Camera_2_out_1 = Camera( main_Camera_2_in_1, main_Camera_2_in_2, main_Scalar_1_out_1, main_Camera_2_in_4, main_Camera_2_in_5, main_Camera_2_in_6, main_Camera_2_in_7, main_Camera_2_in_8, main_Camera_2_in_9 ) [instance: 2, cache: 1]; // // node Switch[4]: x = 1188, y = 1199, inputs = 5, label = Switch // main_Switch_4_out_1 = Switch( main_Selector_1_out_1, main_Camera_1_out_1, main_Camera_1_out_1, main_Camera_1_out_1, main_Camera_2_out_1 ) [instance: 4, cache: 1]; // // node Display[1]: x = 1053, y = 1435, inputs = 4, label = Display // title: value = Displacement plot // depth: value = 8 // window: position = (-0.0008,0.2852), size = 0.3859x0.6514 // Display( main_Route_1_out_1, main_Switch_4_out_1, main_Display_1_in_3, main_Display_1_in_4 ) [instance: 1, cache: 1]; // // node ManageImageWindow[1]: x = 798, y = 818, inputs = 3, label = ManageImageWindow // input[1]: defaulting = 0, visible = 1, type = 16777248, value = {"Displacement plot"} // ManageImageWindow( main_ManageImageWindow_1_in_1, main_Compute_22_out_1, main_ManageImageWindow_1_in_3 ) [instance: 1, cache: 1]; // // node Image[8]: x = 531, y = 1494, inputs = 42, label = Image // input[1]: defaulting = 0, visible = 0, type = 32, value = "Image_8" // input[4]: defaulting = 0, visible = 0, type = 1, value = 1 // input[5]: defaulting = 0, visible = 0, type = 8, value = [-1.36774 1.42084 -0.144165] // input[6]: defaulting = 0, visible = 0, type = 8, value = [71.7309 221.319 377.344] // input[7]: defaulting = 0, visible = 0, type = 5, value = 109.332 // input[8]: defaulting = 0, visible = 0, type = 1, value = 859 // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.573 // input[10]: defaulting = 0, visible = 0, type = 8, value = [-0.906585 0.416646 -0.067153] // input[11]: defaulting = 1, visible = 0, type = 5, value = 14.0713 // input[12]: defaulting = 0, visible = 0, type = 1, value = 0 // input[14]: defaulting = 0, visible = 0, type = 1, value = 1 // input[15]: defaulting = 1, visible = 0, type = 32, value = "none" // input[16]: defaulting = 1, visible = 0, type = 32, value = "none" // input[17]: defaulting = 1, visible = 0, type = 1, value = 1 // input[18]: defaulting = 1, visible = 0, type = 1, value = 1 // input[19]: defaulting = 0, visible = 0, type = 1, value = 0 // input[29]: defaulting = 1, visible = 0, type = 3, value = 0 // input[41]: defaulting = 0, visible = 0, type = 32, value = "rotate" // depth: value = 8 // window: position = (0.2805,-0.0039), size = 0.6820x0.5234 // internal caching: 1 // main_Image_8_out_1, main_Image_8_out_2 = Image( main_Image_8_in_1, main_Collect_1_out_1, main_Image_8_in_3, main_Image_8_in_4, main_Image_8_in_5, main_Image_8_in_6, main_Image_8_in_7, main_Image_8_in_8, main_Image_8_in_9, main_Image_8_in_10, main_Image_8_in_11, main_Image_8_in_12, main_Image_8_in_13, main_Image_8_in_14, main_Image_8_in_15, main_Image_8_in_16, main_Image_8_in_17, main_Image_8_in_18, main_Image_8_in_19, main_Image_8_in_20, main_Image_8_in_21, main_Image_8_in_22, main_Image_8_in_23, main_Image_8_in_24, main_Image_8_in_25, main_Image_8_in_26, main_Image_8_in_27, main_Image_8_in_28, main_Image_8_in_29, main_Image_8_in_30, main_Image_8_in_31, main_Image_8_in_32, main_Image_8_in_33, main_Image_8_in_34, main_Image_8_in_35, main_Image_8_in_36, main_Image_8_in_37, main_Image_8_in_38, main_Image_8_in_39, main_Image_8_in_40, main_Image_8_in_41, main_Image_8_in_42 ) [instance: 8, cache: 1]; // network: end of macro body CacheScene("Image_8", main_Image_8_out_1, main_Image_8_out_2); } main_Sequencer_1_in_1 = "Sequencer_1"; main_Sequencer_1_in_2 = NULL; main_Sequencer_1_in_3 = NULL; main_Sequencer_1_in_4 = NULL; main_Sequencer_1_in_5 = NULL; main_Sequencer_1_in_6 = NULL; main_Sequencer_1_in_7 = { 5 17 1 5 13 1 }; main_Sequencer_1_out_1 = NULL; @startframe = 5; @nextframe = @startframe; @endframe = 13; @deltaframe = 1; main_Caption_7_in_1 = "Thermal Wave Propagation of Bulk Lubricant"; main_Caption_7_in_2 = NULL; main_Caption_7_in_3 = NULL; main_Caption_7_in_4 = NULL; main_Caption_7_in_5 = NULL; main_Caption_7_in_6 = 25; main_Caption_7_in_7 = "area"; main_Caption_7_in_8 = NULL; main_Caption_7_in_9 = NULL; main_Caption_7_out_1 = NULL; main_Transmitter_6_out_1 = NULL; main_Receiver_8_out_1 = NULL; main_Caption_6_in_1 = "Arrows = direction and magnitude of displacement"; main_Caption_6_in_2 = [0.19, 0.96]; main_Caption_6_in_3 = NULL; main_Caption_6_in_4 = NULL; main_Caption_6_in_5 = NULL; main_Caption_6_in_6 = 25; main_Caption_6_in_7 = "area"; main_Caption_6_in_8 = NULL; main_Caption_6_in_9 = NULL; main_Caption_6_out_1 = NULL; main_Transmitter_7_out_1 = NULL; main_Receiver_6_out_1 = NULL; main_Caption_3_in_1 = "for each time step in dynamic simulation"; main_Caption_3_in_2 = [0.50, 0.91]; main_Caption_3_in_3 = NULL; main_Caption_3_in_4 = NULL; main_Caption_3_in_5 = NULL; main_Caption_3_in_6 = 25; main_Caption_3_in_7 = "area"; main_Caption_3_in_8 = NULL; main_Caption_3_in_9 = NULL; main_Caption_3_out_1 = NULL; main_Transmitter_8_out_1 = NULL; main_Receiver_7_out_1 = NULL; main_Receiver_9_out_1 = NULL; main_Caption_4_in_1 = "Displacement"; main_Caption_4_in_2 = [0.10, 0.33]; main_Caption_4_in_3 = NULL; main_Caption_4_in_4 = NULL; main_Caption_4_in_5 = NULL; main_Caption_4_in_6 = 23; main_Caption_4_in_7 = "area"; main_Caption_4_in_8 = NULL; main_Caption_4_in_9 = NULL; main_Caption_4_out_1 = NULL; main_Transmitter_9_out_1 = NULL; main_Receiver_10_out_1 = NULL; main_Collect_2_out_1 = NULL; main_Compute_4_in_1 = "$0/3.0-int($0/3.0)"; main_Compute_4_out_1 = NULL; main_Transmitter_1_out_1 = NULL; main_Receiver_1_out_1 = NULL; main_Compute_5_in_1 = "int($0/3.0)"; main_Compute_5_out_1 = NULL; main_Compute_6_in_1 = "$0+1"; main_Compute_6_out_1 = NULL; main_Format_2_in_1 = "poly%d"; main_Format_2_in_3 = NULL; main_Format_2_in_4 = NULL; main_Format_2_in_5 = NULL; main_Format_2_out_1 = NULL; main_Import_2_in_2 = NULL; main_Import_2_in_3 = "cdf"; main_Import_2_in_4 = NULL; main_Import_2_in_5 = NULL; main_Import_2_in_6 = NULL; main_Import_2_out_1 = NULL; main_Mark_5_in_2 = "positions"; main_Mark_5_out_1 = NULL; main_Format_1_in_1 = "poly%d"; main_Format_1_in_3 = NULL; main_Format_1_in_4 = NULL; main_Format_1_in_5 = NULL; main_Format_1_out_1 = NULL; main_Import_1_in_2 = NULL; main_Import_1_in_3 = NULL; main_Import_1_in_4 = NULL; main_Import_1_in_5 = NULL; main_Import_1_in_6 = NULL; main_Import_1_out_1 = NULL; main_Mark_6_in_2 = "positions"; main_Mark_6_out_1 = NULL; main_Compute_7_in_1 = "$1*$0+$2*(1-$0)"; main_Compute_7_out_1 = NULL; main_Unmark_1_in_2 = "displacement"; main_Unmark_1_out_1 = NULL; main_Select_4_in_2 = "displacement"; main_Select_4_in_3 = NULL; main_Select_4_out_1 = NULL; main_ShowConnections_1_out_1 = NULL; main_Tube_2_in_2 = .4; main_Tube_2_in_3 = 10; main_Tube_2_in_4 = NULL; main_Tube_2_out_1 = NULL; main_Color_7_in_2 = "red"; main_Color_7_in_3 = NULL; main_Color_7_in_4 = NULL; main_Color_7_in_5 = NULL; main_Color_7_out_1 = NULL; main_Select_3_in_2 = "points"; main_Select_3_in_3 = NULL; main_Select_3_out_1 = NULL; main_Compute_1_in_1 = "1.0"; main_Compute_1_out_1 = NULL; main_Color_4_in_2 = "cyan"; main_Color_4_in_3 = NULL; main_Color_4_in_4 = NULL; main_Color_4_in_5 = NULL; main_Color_4_out_1 = NULL; main_Partition_21_in_2 = NULL; main_Partition_21_in_3 = NULL; main_Partition_21_out_1 = NULL; main_Glyph_5_in_2 = .5; main_Glyph_5_in_3 = NULL; main_Glyph_5_in_4 = 0.900000; main_Glyph_5_in_5 = NULL; main_Glyph_5_in_6 = NULL; main_Glyph_5_in_7 = NULL; main_Glyph_5_out_1 = NULL; main_Extract_3_in_2 = "positions"; main_Extract_3_out_1 = NULL; main_Select_6_in_2 = "displacement"; main_Select_6_in_3 = NULL; main_Select_6_out_1 = NULL; main_Extract_4_in_2 = NULL; main_Extract_4_out_1 = NULL; main_Construct_2_in_2 = NULL; main_Construct_2_in_3 = NULL; main_Construct_2_out_1 = NULL; main_Compute_14_in_1 = "$1*$0+$2*(1-$0)"; main_Compute_14_out_1 = NULL; main_AutoColor_1_in_2 = NULL; main_AutoColor_1_in_3 = 2.00000; main_AutoColor_1_in_4 = 0.600000; main_AutoColor_1_in_5 = 0.666000; main_AutoColor_1_in_6 = NULL; main_AutoColor_1_in_7 = 0.00000; main_AutoColor_1_in_8 = 1.60000; main_AutoColor_1_in_9 = NULL; main_AutoColor_1_in_10 = NULL; main_AutoColor_1_out_1 = NULL; main_AutoColor_1_out_2 = NULL; main_Partition_22_in_2 = NULL; main_Partition_22_in_3 = NULL; main_Partition_22_out_1 = NULL; main_Glyph_9_in_2 = "rocket"; main_Glyph_9_in_3 = 0.700000; main_Glyph_9_in_4 = 6.00000; main_Glyph_9_in_5 = NULL; main_Glyph_9_in_6 = NULL; main_Glyph_9_in_7 = NULL; main_Glyph_9_out_1 = NULL; main_ColorBar_1_in_2 = [0.06, 0.2]; main_ColorBar_1_in_3 = [250, 25]; main_ColorBar_1_in_4 = 1; main_ColorBar_1_in_5 = NULL; main_ColorBar_1_in_6 = NULL; main_ColorBar_1_in_7 = NULL; main_ColorBar_1_in_8 = NULL; main_ColorBar_1_in_9 = NULL; main_ColorBar_1_in_10 = NULL; main_ColorBar_1_in_11 = NULL; main_ColorBar_1_in_12 = NULL; main_ColorBar_1_out_1 = NULL; main_ValueList_1_out_1 = {50,100,125,150,175,200,230,250,275,300,350,400,450,500}; main_Compute_20_in_1 = "$0-2"; main_Compute_20_out_1 = NULL; main_Select_7_in_3 = NULL; main_Select_7_out_1 = NULL; main_Format_3_in_1 = "Temperature Kelvin %3.0f"; main_Format_3_in_3 = NULL; main_Format_3_in_4 = NULL; main_Format_3_in_5 = NULL; main_Format_3_out_1 = NULL; main_Caption_8_in_2 = [0.5, 0.75]; main_Caption_8_in_3 = NULL; main_Caption_8_in_4 = NULL; main_Caption_8_in_5 = NULL; main_Caption_8_in_6 = 20; main_Caption_8_in_7 = "area"; main_Caption_8_in_8 = NULL; main_Caption_8_in_9 = NULL; main_Caption_8_out_1 = NULL; main_Color_9_in_2 = "red"; main_Color_9_in_3 = NULL; main_Color_9_in_4 = NULL; main_Color_9_in_5 = NULL; main_Color_9_out_1 = NULL; main_Transmitter_11_out_1 = NULL; main_Receiver_11_out_1 = NULL; main_Collect_1_in_7 = NULL; main_Collect_1_out_1 = NULL; main_Selector_1_in_1 = "Selector_1"; main_Selector_1_in_2 = "No plot" ; main_Selector_1_in_3 = 0 ; main_Selector_1_in_4 = NULL; main_Selector_1_in_5 = NULL; main_Selector_1_in_6 = NULL; main_Selector_1_in_7 = NULL; main_Selector_1_out_1 = 0 ; main_Compute_22_in_1 = "$0 > 0"; main_Compute_22_out_1 = NULL; main_Transmitter_13_out_1 = NULL; main_Receiver_12_out_1 = NULL; main_Extract_5_in_2 = NULL; main_Extract_5_out_1 = NULL; main_Construct_1_in_1 = {[0]}; main_Construct_1_in_2 = NULL; main_Construct_1_in_3 = 352; main_Construct_1_out_1 = NULL; main_Compute_12_in_1 = "$0.x*100"; main_Compute_12_out_1 = NULL; main_Compute_16_in_1 = "$0.y*100"; main_Compute_16_out_1 = NULL; main_Compute_17_in_1 = "$0.z*100"; main_Compute_17_out_1 = NULL; main_Switch_1_in_5 = NULL; main_Switch_1_out_1 = NULL; main_AutoColor_5_in_2 = NULL; main_AutoColor_5_in_3 = NULL; main_AutoColor_5_in_4 = NULL; main_AutoColor_5_in_5 = NULL; main_AutoColor_5_in_6 = NULL; main_AutoColor_5_in_7 = NULL; main_AutoColor_5_in_8 = NULL; main_AutoColor_5_in_9 = NULL; main_AutoColor_5_in_10 = NULL; main_AutoColor_5_out_1 = NULL; main_Mark_7_in_2 = "colors"; main_Mark_7_out_1 = NULL; main_Compute_19_in_1 = "$0*3"; main_Compute_19_out_1 = NULL; main_Unmark_6_in_2 = "colors"; main_Unmark_6_out_1 = NULL; main_Plot_1_in_2 = NULL; main_Plot_1_in_3 = NULL; main_Plot_1_in_4 = {[0, -100], [360, 100]}; main_Plot_1_in_5 = NULL; main_Plot_1_in_6 = NULL; main_Plot_1_in_7 = NULL; main_Plot_1_in_8 = NULL; main_Plot_1_in_9 = NULL; main_Plot_1_in_10 = NULL; main_Plot_1_in_11 = NULL; main_Plot_1_in_12 = NULL; main_Plot_1_in_13 = NULL; main_Plot_1_in_14 = NULL; main_Plot_1_in_15 = NULL; main_Plot_1_in_16 = NULL; main_Plot_1_in_17 = NULL; main_Plot_1_in_18 = NULL; main_Plot_1_out_1 = NULL; main_AutoColor_2_in_2 = NULL; main_AutoColor_2_in_3 = NULL; main_AutoColor_2_in_4 = NULL; main_AutoColor_2_in_5 = NULL; main_AutoColor_2_in_6 = NULL; main_AutoColor_2_in_7 = NULL; main_AutoColor_2_in_8 = NULL; main_AutoColor_2_in_9 = NULL; main_AutoColor_2_in_10 = NULL; main_AutoColor_2_out_1 = NULL; main_Plot_2_in_2 = {"Atom position", "Displacement in X"}; main_Plot_2_in_3 = NULL; main_Plot_2_in_4 = {[0, -100], [360, 100]}; main_Plot_2_in_5 = NULL; main_Plot_2_in_6 = NULL; main_Plot_2_in_7 = NULL; main_Plot_2_in_8 = NULL; main_Plot_2_in_9 = NULL; main_Plot_2_in_10 = NULL; main_Plot_2_in_11 = NULL; main_Plot_2_in_12 = NULL; main_Plot_2_in_13 = NULL; main_Plot_2_in_14 = NULL; main_Plot_2_in_15 = NULL; main_Plot_2_in_16 = NULL; main_Plot_2_in_17 = NULL; main_Plot_2_in_18 = NULL; main_Plot_2_out_1 = NULL; main_Translate_1_in_2 = [0, 350, 0]; main_Translate_1_out_1 = NULL; main_AutoColor_3_in_2 = NULL; main_AutoColor_3_in_3 = NULL; main_AutoColor_3_in_4 = NULL; main_AutoColor_3_in_5 = NULL; main_AutoColor_3_in_6 = NULL; main_AutoColor_3_in_7 = NULL; main_AutoColor_3_in_8 = NULL; main_AutoColor_3_in_9 = NULL; main_AutoColor_3_in_10 = NULL; main_AutoColor_3_out_1 = NULL; main_Plot_4_in_2 = {"Atom position," "Displacement in y"}; main_Plot_4_in_3 = NULL; main_Plot_4_in_4 = {[0, -100], [360, 100]}; main_Plot_4_in_5 = NULL; main_Plot_4_in_6 = NULL; main_Plot_4_in_7 = NULL; main_Plot_4_in_8 = NULL; main_Plot_4_in_9 = NULL; main_Plot_4_in_10 = NULL; main_Plot_4_in_11 = NULL; main_Plot_4_in_12 = NULL; main_Plot_4_in_13 = NULL; main_Plot_4_in_14 = NULL; main_Plot_4_in_15 = NULL; main_Plot_4_in_16 = NULL; main_Plot_4_in_17 = NULL; main_Plot_4_in_18 = NULL; main_Plot_4_out_1 = NULL; main_Translate_3_in_2 = [0, 125, 0]; main_Translate_3_out_1 = NULL; main_AutoColor_4_in_2 = NULL; main_AutoColor_4_in_3 = NULL; main_AutoColor_4_in_4 = NULL; main_AutoColor_4_in_5 = NULL; main_AutoColor_4_in_6 = NULL; main_AutoColor_4_in_7 = NULL; main_AutoColor_4_in_8 = NULL; main_AutoColor_4_in_9 = NULL; main_AutoColor_4_in_10 = NULL; main_AutoColor_4_out_1 = NULL; main_Plot_3_in_2 = {"Atom Position ", "Displacement in z"}; main_Plot_3_in_3 = NULL; main_Plot_3_in_4 = {[0, -100], [360, 100]}; main_Plot_3_in_5 = NULL; main_Plot_3_in_6 = NULL; main_Plot_3_in_7 = NULL; main_Plot_3_in_8 = NULL; main_Plot_3_in_9 = NULL; main_Plot_3_in_10 = NULL; main_Plot_3_in_11 = NULL; main_Plot_3_in_12 = NULL; main_Plot_3_in_13 = NULL; main_Plot_3_in_14 = NULL; main_Plot_3_in_15 = NULL; main_Plot_3_in_16 = NULL; main_Plot_3_in_17 = NULL; main_Plot_3_in_18 = NULL; main_Plot_3_out_1 = NULL; main_Translate_2_in_2 = [0, -100, 0]; main_Translate_2_out_1 = NULL; main_Collect_3_out_1 = NULL; main_Switch_2_out_1 = NULL; main_Route_1_out_1 = NULL; main_Camera_1_in_1 = [150, -25, 0]; main_Camera_1_in_2 = [150, -25, 1]; main_Camera_1_in_3 = 500.000; main_Camera_1_in_4 = 480; main_Camera_1_in_5 = 0.500000; main_Camera_1_in_6 = NULL; main_Camera_1_in_7 = NULL; main_Camera_1_in_8 = NULL; main_Camera_1_in_9 = NULL; main_Camera_1_out_1 = NULL; main_Scalar_1_in_1 = "Scalar_1"; main_Scalar_1_in_2 = NULL; main_Scalar_1_in_3 = 570.0 ; main_Scalar_1_in_4 = 0; main_Scalar_1_in_5 = NULL; main_Scalar_1_in_6 = NULL; main_Scalar_1_in_7 = NULL; main_Scalar_1_in_8 = NULL; main_Scalar_1_in_9 = NULL; main_Scalar_1_in_10 = NULL; main_Scalar_1_in_11 = NULL; main_Scalar_1_out_1 = 570.0 ; main_Camera_2_in_1 = [150, 110, 0]; main_Camera_2_in_2 = [150, 110, 1]; main_Camera_2_in_4 = 480; main_Camera_2_in_5 = 1.30000; main_Camera_2_in_6 = NULL; main_Camera_2_in_7 = NULL; main_Camera_2_in_8 = NULL; main_Camera_2_in_9 = NULL; main_Camera_2_out_1 = NULL; main_Switch_4_out_1 = NULL; main_Display_1_in_3 = "X8,,Displacement plot"; main_Display_1_in_4 = NULL; main_ManageImageWindow_1_in_1 = {"Displacement plot"}; main_ManageImageWindow_1_in_3 = NULL; macro Image( id, object, where, useVector, to, from, width, resolution, aspect, up, viewAngle, perspective, options, buttonState = 1, buttonUpApprox = "none", buttonDownApprox = "none", buttonUpDensity = 1, buttonDownDensity = 1, renderMode = 0, defaultCamera, reset, backgroundColor, throttle, RECenable = 0, RECfile, RECformat, RECresolution, RECaspect, AAenable = 0, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, interactionMode, title) -> ( object, camera) { ImageMessage( id, backgroundColor, throttle, RECenable, RECfile, RECformat, RECresolution, RECaspect, AAenable, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, interactionMode, title, renderMode, buttonUpApprox, buttonDownApprox, buttonUpDensity, buttonDownDensity) [instance: 1, cache: 1]; autoCamera = AutoCamera( object, "front", object, resolution, aspect, [0,1,0], perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; realCamera = Camera( to, from, width, resolution, aspect, up, perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; coloredDefaultCamera = UpdateCamera(defaultCamera, background=backgroundColor) [instance: 1, cache: 1]; nullDefaultCamera = Inquire(defaultCamera, "is null + 1") [instance: 1, cache: 1]; resetCamera = Switch( nullDefaultCamera, coloredDefaultCamera, autoCamera) [instance: 1, cache: 1]; resetNull = Inquire( reset, "is null + 1") [instance: 2, cache: 1]; reset = Switch( resetNull, reset, 0) [instance: 2, cache: 1]; whichCamera = Compute( "($0 != 0 || $1 == 0) ? 1 : 2", reset, useVector) [instance: 1, cache: 1]; camera = Switch( whichCamera, resetCamera, realCamera) [instance: 3, cache: 1]; AAobject = AutoAxes( object, camera, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont) [instance: 1, cache: 1]; switchAAenable = Compute("$0+1", AAenable) [instance: 2, cache: 1]; object = Switch( switchAAenable, object, AAobject) [instance:4, cache: 1]; SWapproximation_options = Switch( buttonState, buttonUpApprox, buttonDownApprox) [instance: 5, cache: 1]; SWdensity_options = Switch( buttonState, buttonUpDensity, buttonDownDensity) [instance: 6, cache: 1]; HWapproximation_options = Format( "%s,%s", buttonDownApprox, buttonUpApprox) [instance: 1, cache: 1]; HWdensity_options = Format( "%d,%d", buttonDownDensity, buttonUpDensity) [instance: 2, cache: 1]; switchRenderMode = Compute( "$0+1", renderMode) [instance: 3, cache: 1]; approximation_options = Switch( switchRenderMode, SWapproximation_options, HWapproximation_options) [instance: 7, cache: 1]; density_options = Switch( switchRenderMode, SWdensity_options, HWdensity_options) [instance: 8, cache: 1]; renderModeString = Switch( switchRenderMode, "software", "hardware")[instance: 9, cache: 1]; object_tag = Inquire( object, "object tag")[instance: 3, cache: 1]; annoted_object = Options( object, "send boxes", 0, "cache", 1, "object tag", object_tag, "ddcamera", whichCamera, "rendering approximation", approximation_options, "render every", density_options, "button state", buttonState, "rendering mode", renderModeString) [instance: 1, cache: 1]; RECresNull = Inquire( RECresolution, "is null + 1") [instance: 4, cache: 1]; ImageResolution = Inquire( camera, "camera resolution") [instance: 5, cache: 1]; RECresolution = Switch( RECresNull, RECresolution, ImageResolution) [instance: 10, cache: 1]; RECaspectNull = Inquire( RECaspect, "is null + 1") [instance: 6, cache: 1]; ImageAspect = Inquire( camera, "camera aspect") [instance: 7, cache: 1]; RECaspect = Switch( RECaspectNull, RECaspect, ImageAspect) [instance: 11, cache: 1]; switchRECenable = Compute( "$0 == 0 ? 1 : (($1 == $2) && ($3 == $4)) ? 2 : 3", RECenable, RECresolution, ImageResolution, RECaspect, ImageAspect) [instance: 4, cache: 1]; NoRECobject, RECNoRerenderObject, RECRerenderObject = Route(switchRECenable, annoted_object); Display( NoRECobject, camera, where, throttle) [instance: 1, cache: 1]; image = Render( RECNoRerenderObject, camera) [instance: 1, cache: 1]; Display( image, NULL, where, throttle) [instance: 2, cache: 1]; WriteImage( image, RECfile, RECformat) [instance: 1, cache: 1]; RECupdateCamera = UpdateCamera( camera, resolution=RECresolution, aspect=RECaspect) [instance: 2, cache: 1]; Display( RECRerenderObject, camera, where, throttle) [instance: 3, cache: 1]; image = Render( RECRerenderObject, RECupdateCamera) [instance: 2, cache: 1]; WriteImage( image, RECfile, RECformat) [instance: 2, cache: 1]; } main_Image_8_in_1 = "Image_8"; main_Image_8_in_3 = "X8,,"; main_Image_8_in_4 = 1; main_Image_8_in_5 = [-1.36774 1.42084 -0.144165]; main_Image_8_in_6 = [71.7309 221.319 377.344]; main_Image_8_in_7 = 109.332; main_Image_8_in_8 = 859; main_Image_8_in_9 = 0.573; main_Image_8_in_10 = [-0.906585 0.416646 -0.067153]; main_Image_8_in_11 = NULL; main_Image_8_in_12 = 0; main_Image_8_in_13 = NULL; main_Image_8_in_14 = 1; main_Image_8_in_15 = NULL; main_Image_8_in_16 = NULL; main_Image_8_in_17 = NULL; main_Image_8_in_18 = NULL; main_Image_8_in_19 = 0; main_Image_8_in_20 = NULL; main_Image_8_in_21 = NULL; main_Image_8_in_22 = NULL; main_Image_8_in_23 = NULL; main_Image_8_in_25 = NULL; main_Image_8_in_26 = NULL; main_Image_8_in_27 = NULL; main_Image_8_in_28 = NULL; main_Image_8_in_29 = NULL; main_Image_8_in_30 = NULL; main_Image_8_in_31 = NULL; main_Image_8_in_32 = NULL; main_Image_8_in_33 = NULL; main_Image_8_in_34 = NULL; main_Image_8_in_35 = NULL; main_Image_8_in_36 = NULL; main_Image_8_in_37 = NULL; main_Image_8_in_38 = NULL; main_Image_8_in_39 = NULL; main_Image_8_in_40 = NULL; main_Image_8_in_41 = "rotate"; main_Image_8_in_42 = NULL; Executive("product version 3 1 2"); $sync sequence main(); play;