https://github.com/geodynamics/citcoms
Raw File
Tip revision: 7025bcbf590d7408c899f3d8f064ebbcfe5b21a5 authored by Eric Heien on 19 November 2014, 18:16 UTC
Add missing file, update version
Tip revision: 7025bcb
visRegionalSurface.net.in
//
// time: Fri Jun 17 11:18:06 2005
//
// version: 3.2.0 (format), 4.3.2 (DX)
//
//
//
// macro reference (indirect): RTFtoXYZ2D @dxmacrodir@/RTFtoXYZ2D.net
//
// macro reference (indirect): CitcomSSurfaceHeatflux @dxmacrodir@/CitcomSSurfaceHeatflux.net
//
// macro reference (indirect): CitcomSSurfaceTopo @dxmacrodir@/CitcomSSurfaceTopo.net
//
// macro reference (indirect): VelocityRTFtoXYZ2D @dxmacrodir@/VelocityRTFtoXYZ2D.net
//
// macro reference (indirect): CitcomSSurfaceVelocity @dxmacrodir@/CitcomSSurfaceVelocity.net
//
// macro reference (direct): CitcomSSurfaceImport @dxmacrodir@/CitcomSSurfaceImport.net
include "CitcomSSurfaceImport.net"
//
// macro reference (direct): ShowSphere @dxmacrodir@/ShowSphere.net
include "ShowSphere.net"
//
// MODULE main
//
// comment: A general purpose program for gridded, three-dimensional, multivariate data has been used. 
// comment: 
// comment: For scalar, position-dependent data, a translucent isosurface has been drawn. Otherwise glyphs have been drawn. You can choose which variable to visualize as an isosurface (or glyphs), which variable to visualize as color on the isosurface or glyphs, and which variable to visualize on the cutting plane through the data. You can also modify the normal (orientation) of the cutting plane.
// comment: To modify the colormap, use 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: Corners	order=7, windowed=0, showing=0
// page assignment: Profiles	order=6, windowed=0, showing=0
// page assignment: Rubbersheet	order=5, windowed=0, showing=0
// page assignment: boundary	order=9, windowed=0, showing=0
// page assignment: colormap	order=3, windowed=0, showing=0
// page assignment: glyph	order=4, windowed=0, showing=0
// page assignment: image	order=10, windowed=0, showing=1
// page assignment: import	order=2, windowed=0, showing=0
// page assignment: isosurface	order=8, windowed=0, showing=0
// workspace: width = 1176, height = 702
// layout: snap = 0, width = 50, height = 50, align = NN
//
macro main(
) -> (
) {
    // 
    // node FileSelector[1]: x = 452, y = 11, inputs = 0, label = FileSelector
    // output[1]: visible = 1, type = 32, value = "path to your data"
    // output[2]: visible = 1, type = 32, value = "path to your data"
    // page group: import
    //
    // 
    // node Integer[8]: x = 663, y = 100, inputs = 11, label = Integer
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Integer_8"
    // input[3]: defaulting = 0, visible = 0, type = 1, value = 1 
    // input[5]: defaulting = 1, visible = 0, type = 1, value = -1000000
    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1000000
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 0
    // output[1]: visible = 1, type = 1, value = 1 
    // page group: import
    //
    // 
    // node CitcomSSurfaceImport[1]: x = 568, y = 190, inputs = 2, label = CitcomSSurfaceImport
    // page group: import
    //
main_CitcomSSurfaceImport_1_out_1,
main_CitcomSSurfaceImport_1_out_2,
main_CitcomSSurfaceImport_1_out_3 = 
    CitcomSSurfaceImport(
    main_FileSelector_1_out_1,
    main_Integer_8_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Transmitter[20]: x = 676, y = 370, inputs = 1, label = velocity
    // page group: import
    //
velocity = main_CitcomSSurfaceImport_1_out_3;
    // 
    // node Receiver[92]: x = 10, y = 10, inputs = 1, label = velocity
    // page group: glyph
    //
main_Receiver_92_out_1[cache: 0] = velocity;
    // 
    // node Reduce[2]: x = 23, y = 100, inputs = 2, label = Reduce
    // input[2]: defaulting = 0, visible = 1, type = 16777221, value = { 4.0 }
    // page group: glyph
    //
main_Reduce_2_out_1 = 
    Reduce(
    main_Receiver_92_out_1,
    main_Reduce_2_in_2
    ) [instance: 2, cache: 1];
    // 
    // node AutoGlyph[9]: x = 40, y = 190, inputs = 7, label = AutoGlyph
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "rocket"
    // page group: glyph
    //
main_AutoGlyph_9_out_1 = 
    AutoGlyph(
    main_Reduce_2_out_1,
    main_AutoGlyph_9_in_2,
    main_AutoGlyph_9_in_3,
    main_AutoGlyph_9_in_4,
    main_AutoGlyph_9_in_5,
    main_AutoGlyph_9_in_6,
    main_AutoGlyph_9_in_7
    ) [instance: 9, cache: 1];
    // 
    // node Statistics[1]: x = 438, y = 370, inputs = 1, label = Statistics
    // page group: import
    //
main_Statistics_1_out_1,
main_Statistics_1_out_2,
main_Statistics_1_out_3,
main_Statistics_1_out_4,
main_Statistics_1_out_5 = 
    Statistics(
    main_CitcomSSurfaceImport_1_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Compute[90]: x = 399, y = 460, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "($0-$1)*(10^21)/(6371000^2/10^(-6))/(3300*10)/1000"
    // page group: import
    // expression: value = (Szz-mean)*(10^21)/(6371000^2/10^(-6))/(3300*10)/1000
    // name[2]: value = Szz
    // name[3]: value = mean
    //
main_Compute_90_out_1 = 
    Compute(
    main_Compute_90_in_1,
    main_CitcomSSurfaceImport_1_out_1,
    main_Statistics_1_out_1
    ) [instance: 90, cache: 1];
    // 
    // node Transmitter[32]: x = 407, y = 550, inputs = 1, label = topo3D
    // page group: import
    //
topo3D = main_Compute_90_out_1;
    // 
    // node Receiver[86]: x = 174, y = 10, inputs = 1, label = topo3D
    // page group: boundary
    //
main_Receiver_86_out_1[cache: 0] = topo3D;
    // 
    // node ShowConnections[3]: x = 147, y = 100, inputs = 1, label = ShowConnections
    // page group: boundary
    //
main_ShowConnections_3_out_1 = 
    ShowConnections(
    main_Receiver_86_out_1
    ) [instance: 3, cache: 1];
    // 
    // node Mark[23]: x = 583, y = 280, inputs = 2, label = Mark
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions"
    // page group: import
    //
main_Mark_23_out_1 = 
    Mark(
    main_CitcomSSurfaceImport_1_out_1,
    main_Mark_23_in_2
    ) [instance: 23, cache: 1];
    // 
    // node Compute[91]: x = 573, y = 370, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0.x,$0.z]"
    // page group: import
    // expression: value = [a.x,a.z]
    // name[2]: value = a
    //
main_Compute_91_out_1 = 
    Compute(
    main_Compute_91_in_1,
    main_Mark_23_out_1
    ) [instance: 91, cache: 1];
    // 
    // node Unmark[12]: x = 592, y = 460, inputs = 2, label = Unmark
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions"
    // page group: import
    //
main_Unmark_12_out_1 = 
    Unmark(
    main_Compute_91_out_1,
    main_Unmark_12_in_2
    ) [instance: 12, cache: 1];
    // 
    // node Replace[4]: x = 586, y = 550, inputs = 4, label = Replace
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "data"
    // input[4]: defaulting = 0, visible = 1, type = 32, value = "data"
    // page group: import
    //
main_Replace_4_out_1 = 
    Replace(
    main_Compute_90_out_1,
    main_Unmark_12_out_1,
    main_Replace_4_in_3,
    main_Replace_4_in_4
    ) [instance: 4, cache: 1];
    // 
    // node Transmitter[16]: x = 481, y = 640, inputs = 1, label = topography
    // page group: import
    //
topography = main_Replace_4_out_1;
    // 
    // node Receiver[98]: x = 167, y = 10, inputs = 1, label = topography
    // page group: colormap
    //
main_Receiver_98_out_1[cache: 0] = topography;
    // 
    // node Colormap[5]: x = 194, y = 100, inputs = 19, label = Colormap
    // input[1]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 0.65263158] [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 0.8988764] [1.0 0.8988764] }
    // input[5]: defaulting = 0, visible = 0, type = 32, value = "Colormap_5"
    // input[7]: defaulting = 1, visible = 0, type = 5, value = -0.13482128
    // input[8]: defaulting = 1, visible = 0, type = 5, value = 2.1637275
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 20
    // input[12]: defaulting = 0, visible = 0, type = 16777221, value = { -0.13482128 2.1637275 }
    // input[17]: defaulting = 0, visible = 0, type = 5, value = -0.13482128
    // input[18]: defaulting = 0, visible = 0, type = 5, value = 2.1637275
    // page group: colormap
    // window: position = (0.0000,0.0000), size = 0.5078x0.4395
    //
main_Colormap_5_out_1[cache: 2],
main_Colormap_5_out_2[cache: 2] = 
    Colormap(
    main_Colormap_5_in_1,
    main_Colormap_5_in_2,
    main_Colormap_5_in_3,
    main_Colormap_5_in_4,
    main_Colormap_5_in_5,
    main_Receiver_98_out_1,
    main_Colormap_5_in_7,
    main_Colormap_5_in_8,
    main_Colormap_5_in_9,
    main_Colormap_5_in_10,
    main_Colormap_5_in_11,
    main_Colormap_5_in_12,
    main_Colormap_5_in_13,
    main_Colormap_5_in_14,
    main_Colormap_5_in_15,
    main_Colormap_5_in_16,
    main_Colormap_5_in_17,
    main_Colormap_5_in_18,
    main_Colormap_5_in_19
    ) [instance: 5, cache: 1];
    // 
    // node Transmitter[25]: x = 162, y = 190, inputs = 1, label = topo_colormap
    // page group: colormap
    //
topo_colormap = main_Colormap_5_out_1;
    // 
    // node Receiver[112]: x = 295, y = 100, inputs = 1, label = topo_colormap
    // page group: boundary
    //
main_Receiver_112_out_1[cache: 0] = topo_colormap;
    // 
    // node Color[22]: x = 309, y = 190, inputs = 5, label = Color
    // input[2]: defaulting = 1, visible = 1, type = 32, value = "black"
    // input[3]: defaulting = 1, visible = 1, type = 5, value = 0.5
    // page group: boundary
    //
main_Color_22_out_1 = 
    Color(
    main_ShowConnections_3_out_1,
    main_Receiver_112_out_1,
    main_Color_22_in_3,
    main_Color_22_in_4,
    main_Color_22_in_5
    ) [instance: 22, cache: 1];
    // 
    // node Options[1]: x = 332, y = 280, inputs = 5, label = Options
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "line width"
    // input[3]: defaulting = 0, visible = 1, type = 29, value = 1.
    // page group: boundary
    //
main_Options_1_out_1 = 
    Options(
    main_Color_22_out_1,
    main_Options_1_in_2,
    main_Options_1_in_3,
    main_Options_1_in_4,
    main_Options_1_in_5
    ) [instance: 1, cache: 1];
    // 
    // node Transmitter[10]: x = 350, y = 370, inputs = 1, label = Connections
    // page group: boundary
    //
Connections = main_Options_1_out_1;
    // 
    // node Receiver[120]: x = 896, y = 460, inputs = 1, label = Connections
    // page group: image
    //
main_Receiver_120_out_1[cache: 0] = Connections;
    // 
    // node Color[35]: x = 88, y = 280, inputs = 5, label = Color
    // input[2]: defaulting = 0, visible = 1, type = 8, value = [0.5 0.7 0.4]
    // input[3]: defaulting = 0, visible = 1, type = 5, value = 1.0
    // page group: glyph
    //
main_Color_35_out_1 = 
    Color(
    main_AutoGlyph_9_out_1,
    main_Color_35_in_2,
    main_Color_35_in_3,
    main_Color_35_in_4,
    main_Color_35_in_5
    ) [instance: 35, cache: 1];
    // 
    // node Transmitter[21]: x = 104, y = 370, inputs = 1, label = glyph
    // page group: glyph
    //
glyph = main_Color_35_out_1;
    // 
    // node Receiver[93]: x = 867, y = 370, inputs = 1, label = glyph
    // page group: image
    //
main_Receiver_93_out_1[cache: 0] = glyph;
    // 
    // node Scalar[5]: x = 55, y = 10, inputs = 11, label = Scalar
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Scalar_5"
    // input[3]: defaulting = 0, visible = 0, type = 5, value = 0.55 
    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
    // output[1]: visible = 1, type = 5, value = 0.55 
    // page group: boundary
    //
    // 
    // node ShowSphere[1]: x = 10, y = 100, inputs = 2, label = ShowSphere
    // page group: boundary
    //
main_ShowSphere_1_out_1 = 
    ShowSphere(
    main_ShowSphere_1_in_1,
    main_Scalar_5_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Color[25]: x = 45, y = 190, inputs = 5, label = Color
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "orange"
    // input[3]: defaulting = 0, visible = 1, type = 5, value = 1.0
    // page group: boundary
    //
main_Color_25_out_1 = 
    Color(
    main_ShowSphere_1_out_1,
    main_Color_25_in_2,
    main_Color_25_in_3,
    main_Color_25_in_4,
    main_Color_25_in_5
    ) [instance: 25, cache: 1];
    // 
    // node Transmitter[15]: x = 64, y = 280, inputs = 1, label = core
    // page group: boundary
    //
core = main_Color_25_out_1;
    // 
    // node Receiver[85]: x = 997, y = 460, inputs = 1, label = core
    // page group: image
    //
main_Receiver_85_out_1[cache: 0] = core;
    // 
    // node StringList[1]: x = 956, y = 10, inputs = 0, label = StringList
    // output[1]: visible = 1, type = 16777248, value = { "topography (km)", "heatflux" }
    // page group: image
    //
    // 
    // node Selector[1]: x = 961, y = 100, inputs = 7, label = Selector
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_1"
    // input[2]: defaulting = 0, visible = 0, type = 32, value = "topography (km)" 
    // input[3]: defaulting = 0, visible = 0, type = 29, value = 0 
    // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "topography (km)" "heatflux" }
    // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 }
    // output[1]: visible = 1, type = 29, value = 0 
    // output[2]: visible = 1, type = 32, value = "topography (km)" 
    // page group: image
    //
main_Selector_1_out_1[cache: 2],
main_Selector_1_out_2[cache: 2] = 
    Selector(
    main_Selector_1_in_1,
    main_Selector_1_in_2,
    main_Selector_1_in_3,
    main_StringList_1_out_1,
    main_Selector_1_in_5,
    main_Selector_1_in_6,
    main_Selector_1_in_7
    ) [instance: 1, cache: 1];
    // 
    // node Select[16]: x = 941, y = 190, inputs = 3, label = Select
    // page group: image
    //
main_Select_16_out_1 = 
    Select(
    main_StringList_1_out_1,
    main_Selector_1_out_1,
    main_Select_16_in_3
    ) [instance: 16, cache: 1];
    // 
    // node Compute[94]: x = 931, y = 281, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "int(!strstr($0,'topo')?1:2)"
    // page group: image
    // expression: value = int(!strstr(a,'topo')?1:2)
    // name[2]: value = a
    //
main_Compute_94_out_1 = 
    Compute(
    main_Compute_94_in_1,
    main_Select_16_out_1
    ) [instance: 94, cache: 1];
    // 
    // node Statistics[2]: x = 868, y = 370, inputs = 1, label = Statistics
    // page group: import
    //
main_Statistics_2_out_1,
main_Statistics_2_out_2,
main_Statistics_2_out_3,
main_Statistics_2_out_4,
main_Statistics_2_out_5 = 
    Statistics(
    main_CitcomSSurfaceImport_1_out_2
    ) [instance: 2, cache: 1];
    // 
    // node Compute[92]: x = 829, y = 460, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "($0-$1)/$1"
    // page group: import
    // expression: value = (Szz-mean)/mean
    // name[2]: value = Szz
    // name[3]: value = mean
    //
main_Compute_92_out_1 = 
    Compute(
    main_Compute_92_in_1,
    main_CitcomSSurfaceImport_1_out_2,
    main_Statistics_2_out_1
    ) [instance: 92, cache: 1];
    // 
    // node Mark[24]: x = 1013, y = 280, inputs = 2, label = Mark
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions"
    // page group: import
    //
main_Mark_24_out_1 = 
    Mark(
    main_CitcomSSurfaceImport_1_out_2,
    main_Mark_24_in_2
    ) [instance: 24, cache: 1];
    // 
    // node Compute[93]: x = 1003, y = 370, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0.x,$0.z]"
    // page group: import
    // expression: value = [a.x,a.z]
    // name[2]: value = a
    //
main_Compute_93_out_1 = 
    Compute(
    main_Compute_93_in_1,
    main_Mark_24_out_1
    ) [instance: 93, cache: 1];
    // 
    // node Unmark[13]: x = 1022, y = 460, inputs = 2, label = Unmark
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions"
    // page group: import
    //
main_Unmark_13_out_1 = 
    Unmark(
    main_Compute_93_out_1,
    main_Unmark_13_in_2
    ) [instance: 13, cache: 1];
    // 
    // node Replace[5]: x = 1016, y = 550, inputs = 4, label = Replace
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "data"
    // input[4]: defaulting = 0, visible = 1, type = 32, value = "data"
    // page group: import
    //
main_Replace_5_out_1 = 
    Replace(
    main_Compute_92_out_1,
    main_Unmark_13_out_1,
    main_Replace_5_in_3,
    main_Replace_5_in_4
    ) [instance: 5, cache: 1];
    // 
    // node Transmitter[23]: x = 933, y = 640, inputs = 1, label = heatflux
    // page group: import
    //
heatflux = main_Replace_5_out_1;
    // 
    // node Receiver[109]: x = 37, y = 10, inputs = 1, label = heatflux
    // page group: colormap
    //
main_Receiver_109_out_1[cache: 0] = heatflux;
    // 
    // node Colormap[7]: x = 53, y = 100, inputs = 19, label = Colormap
    // input[1]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 0.65263158] [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 0.86516854] [1.0 0.86516854] }
    // input[5]: defaulting = 0, visible = 0, type = 32, value = "Colormap_7"
    // input[7]: defaulting = 1, visible = 0, type = 5, value = -0.018265756
    // input[8]: defaulting = 1, visible = 0, type = 5, value = 0.24825189
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 20
    // input[12]: defaulting = 0, visible = 0, type = 16777221, value = { -0.018265756 0.24825189 }
    // input[17]: defaulting = 0, visible = 0, type = 5, value = -0.018265756
    // input[18]: defaulting = 0, visible = 0, type = 5, value = 0.24825189
    // page group: colormap
    // window: position = (0.0000,0.0000), size = 0.5078x0.4395
    //
main_Colormap_7_out_1[cache: 2],
main_Colormap_7_out_2[cache: 2] = 
    Colormap(
    main_Colormap_7_in_1,
    main_Colormap_7_in_2,
    main_Colormap_7_in_3,
    main_Colormap_7_in_4,
    main_Colormap_7_in_5,
    main_Receiver_109_out_1,
    main_Colormap_7_in_7,
    main_Colormap_7_in_8,
    main_Colormap_7_in_9,
    main_Colormap_7_in_10,
    main_Colormap_7_in_11,
    main_Colormap_7_in_12,
    main_Colormap_7_in_13,
    main_Colormap_7_in_14,
    main_Colormap_7_in_15,
    main_Colormap_7_in_16,
    main_Colormap_7_in_17,
    main_Colormap_7_in_18,
    main_Colormap_7_in_19
    ) [instance: 7, cache: 1];
    // 
    // node ColorBar[1]: x = 70, y = 315, inputs = 16, label = ColorBar
    // input[8]: defaulting = 0, visible = 1, type = 32, value = "heat flux"
    // input[9]: defaulting = 0, visible = 0, type = 16777248, value = {"black"}
    // page group: colormap
    //
main_ColorBar_1_out_1 = 
    ColorBar(
    main_Colormap_7_out_1,
    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,
    main_ColorBar_1_in_13,
    main_ColorBar_1_in_14,
    main_ColorBar_1_in_15,
    main_ColorBar_1_in_16
    ) [instance: 1, cache: 1];
    // 
    // node Transmitter[30]: x = 61, y = 415, inputs = 1, label = heatflux_colorbar
    // page group: colormap
    //
heatflux_colorbar = main_ColorBar_1_out_1;
    // 
    // node Receiver[125]: x = 1059, y = 190, inputs = 1, label = heatflux_colorbar
    // page group: image
    //
main_Receiver_125_out_1[cache: 0] = heatflux_colorbar;
    // 
    // node ColorBar[2]: x = 267, y = 311, inputs = 16, label = ColorBar
    // input[8]: defaulting = 0, visible = 1, type = 32, value = "topography (km)"
    // input[9]: defaulting = 0, visible = 0, type = 16777248, value = {"black"}
    // page group: colormap
    //
main_ColorBar_2_out_1 = 
    ColorBar(
    main_Colormap_5_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[31]: x = 261, y = 415, inputs = 1, label = topo_colorbar
    // page group: colormap
    //
topo_colorbar = main_ColorBar_2_out_1;
    // 
    // node Receiver[115]: x = 1015, y = 280, inputs = 1, label = topo_colorbar
    // page group: image
    //
main_Receiver_115_out_1[cache: 0] = topo_colorbar;
    // 
    // node Switch[3]: x = 1051, y = 370, inputs = 3, label = Switch
    // page group: image
    //
main_Switch_3_out_1 = 
    Switch(
    main_Compute_94_out_1,
    main_Receiver_125_out_1,
    main_Receiver_115_out_1
    ) [instance: 3, cache: 1];
    // 
    // node Collect[2]: x = 954, y = 550, inputs = 4, label = Collect
    // page group: image
    //
main_Collect_2_out_1 = 
    Collect(
    main_Receiver_120_out_1,
    main_Receiver_93_out_1,
    main_Receiver_85_out_1,
    main_Switch_3_out_1
    ) [instance: 2, cache: 1];
    // 
    // node Receiver[104]: x = 10, y = 10, inputs = 1, label = heatflux
    // page group: Rubbersheet
    //
main_Receiver_104_out_1[cache: 0] = heatflux;
    // 
    // node RubberSheet[2]: x = 14, y = 100, inputs = 4, label = RubberSheet
    // page group: Rubbersheet
    //
main_RubberSheet_2_out_1 = 
    RubberSheet(
    main_Receiver_104_out_1,
    main_RubberSheet_2_in_2,
    main_RubberSheet_2_in_3,
    main_RubberSheet_2_in_4
    ) [instance: 2, cache: 1];
    // 
    // node Transmitter[29]: x = 10, y = 190, inputs = 1, label = heatflux_colormap
    // page group: colormap
    //
heatflux_colormap = main_Colormap_7_out_1;
    // 
    // node Receiver[110]: x = 127, y = 100, inputs = 1, label = heatflux_colormap
    // page group: Rubbersheet
    //
main_Receiver_110_out_1[cache: 0] = heatflux_colormap;
    // 
    // node Color[36]: x = 152, y = 190, inputs = 5, label = Color
    // input[2]: defaulting = 1, visible = 1, type = 8, value = [.1  .1 .1]
    // input[3]: defaulting = 0, visible = 1, type = 5, value = 0.75
    // page group: Rubbersheet
    //
main_Color_36_out_1 = 
    Color(
    main_RubberSheet_2_out_1,
    main_Receiver_110_out_1,
    main_Color_36_in_3,
    main_Color_36_in_4,
    main_Color_36_in_5
    ) [instance: 36, cache: 1];
    // 
    // node Transmitter[27]: x = 117, y = 280, inputs = 1, label = heatflux_rubbersheet
    // page group: Rubbersheet
    //
heatflux_rubbersheet = main_Color_36_out_1;
    // 
    // node Receiver[106]: x = 333, y = 280, inputs = 1, label = heatflux_rubbersheet
    // page group: image
    //
main_Receiver_106_out_1[cache: 0] = heatflux_rubbersheet;
    // 
    // node Receiver[117]: x = 490, y = 280, inputs = 1, label = heatflux_colorbar
    // page group: image
    //
main_Receiver_117_out_1[cache: 0] = heatflux_colorbar;
    // 
    // node Collect[4]: x = 488, y = 370, inputs = 3, label = Collect
    // page group: image
    //
main_Collect_4_out_1 = 
    Collect(
    main_Receiver_106_out_1,
    main_Collect_4_in_2,
    main_Receiver_117_out_1
    ) [instance: 4, cache: 1];
    // 
    // node Receiver[96]: x = 289, y = 10, inputs = 1, label = topography
    // page group: Rubbersheet
    //
main_Receiver_96_out_1[cache: 0] = topography;
    // 
    // node Scalar[6]: x = 382, y = 10, inputs = 11, label = Scalar
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Scalar_6"
    // input[3]: defaulting = 0, visible = 0, type = 5, value = 0.1 
    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
    // output[1]: visible = 1, type = 5, value = 0.1 
    // page group: Rubbersheet
    //
    // 
    // node RubberSheet[1]: x = 334, y = 100, inputs = 4, label = RubberSheet
    // page group: Rubbersheet
    //
main_RubberSheet_1_out_1 = 
    RubberSheet(
    main_Receiver_96_out_1,
    main_Scalar_6_out_1,
    main_RubberSheet_1_in_3,
    main_RubberSheet_1_in_4
    ) [instance: 1, cache: 1];
    // 
    // node Receiver[99]: x = 447, y = 100, inputs = 1, label = topo_colormap
    // page group: Rubbersheet
    //
main_Receiver_99_out_1[cache: 0] = topo_colormap;
    // 
    // node Color[24]: x = 461, y = 190, inputs = 5, label = Color
    // input[2]: defaulting = 1, visible = 1, type = 8, value = [.1  .1 .1]
    // input[3]: defaulting = 0, visible = 1, type = 5, value = 0.75
    // page group: Rubbersheet
    //
main_Color_24_out_1 = 
    Color(
    main_RubberSheet_1_out_1,
    main_Receiver_99_out_1,
    main_Color_24_in_3,
    main_Color_24_in_4,
    main_Color_24_in_5
    ) [instance: 24, cache: 1];
    // 
    // node Transmitter[13]: x = 437, y = 280, inputs = 1, label = topo_rubbersheet
    // page group: Rubbersheet
    //
topo_rubbersheet = main_Color_24_out_1;
    // 
    // node Receiver[81]: x = 622, y = 280, inputs = 1, label = topo_rubbersheet
    // page group: image
    //
main_Receiver_81_out_1[cache: 0] = topo_rubbersheet;
    // 
    // node Receiver[116]: x = 757, y = 280, inputs = 1, label = topo_colorbar
    // page group: image
    //
main_Receiver_116_out_1[cache: 0] = topo_colorbar;
    // 
    // node Collect[5]: x = 670, y = 370, inputs = 3, label = Collect
    // page group: image
    //
main_Collect_5_out_1 = 
    Collect(
    main_Receiver_81_out_1,
    main_Collect_5_in_2,
    main_Receiver_116_out_1
    ) [instance: 5, cache: 1];
    // 
    // node Receiver[90]: x = 115, y = 10, inputs = 1, label = topo_rubbersheet
    // page group: isosurface
    //
main_Receiver_90_out_1[cache: 0] = topo_rubbersheet;
    // 
    // node Integer[12]: x = 532, y = 10, inputs = 11, label = Integer
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Integer_12"
    // input[3]: defaulting = 0, visible = 0, type = 1, value = 100 
    // input[5]: defaulting = 1, visible = 0, type = 1, value = -1000000
    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1000000
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 0
    // output[1]: visible = 1, type = 1, value = 100 
    // page group: isosurface
    //
    // 
    // node Isosurface[3]: x = 162, y = 100, inputs = 6, label = Isosurface
    // input[2]: defaulting = 1, visible = 1, type = 5, value = 0.0000001
    // page group: isosurface
    //
main_Isosurface_3_out_1 = 
    Isosurface(
    main_Receiver_90_out_1,
    main_Isosurface_3_in_2,
    main_Integer_12_out_1,
    main_Isosurface_3_in_4,
    main_Isosurface_3_in_5,
    main_Isosurface_3_in_6
    ) [instance: 3, cache: 1];
    // 
    // node Tube[1]: x = 189, y = 190, inputs = 4, label = Tube
    // input[2]: defaulting = 1, visible = 1, type = 5, value = 1.0
    // page group: isosurface
    //
main_Tube_1_out_1 = 
    Tube(
    main_Isosurface_3_out_1,
    main_Tube_1_in_2,
    main_Tube_1_in_3,
    main_Tube_1_in_4
    ) [instance: 1, cache: 1];
    // 
    // node Receiver[100]: x = 252, y = 190, inputs = 1, label = topo_colormap
    // page group: isosurface
    //
main_Receiver_100_out_1[cache: 0] = topo_colormap;
    // 
    // node Color[34]: x = 266, y = 280, inputs = 5, label = Color
    // input[2]: defaulting = 1, visible = 1, type = 32, value = "green"
    // input[3]: defaulting = 1, visible = 1, type = 5, value = 0.5
    // page group: isosurface
    //
main_Color_34_out_1 = 
    Color(
    main_Tube_1_out_1,
    main_Receiver_100_out_1,
    main_Color_34_in_3,
    main_Color_34_in_4,
    main_Color_34_in_5
    ) [instance: 34, cache: 1];
    // 
    // node Receiver[107]: x = 375, y = 10, inputs = 1, label = heatflux_rubbersheet
    // page group: isosurface
    //
main_Receiver_107_out_1[cache: 0] = heatflux_rubbersheet;
    // 
    // node Isosurface[4]: x = 494, y = 100, inputs = 6, label = Isosurface
    // input[2]: defaulting = 1, visible = 1, type = 5, value = 0.0000001
    // page group: isosurface
    //
main_Isosurface_4_out_1 = 
    Isosurface(
    main_Receiver_107_out_1,
    main_Isosurface_4_in_2,
    main_Integer_12_out_1,
    main_Isosurface_4_in_4,
    main_Isosurface_4_in_5,
    main_Isosurface_4_in_6
    ) [instance: 4, cache: 1];
    // 
    // node Tube[2]: x = 521, y = 190, inputs = 4, label = Tube
    // input[2]: defaulting = 1, visible = 1, type = 5, value = 0.01
    // page group: isosurface
    //
main_Tube_2_out_1 = 
    Tube(
    main_Isosurface_4_out_1,
    main_Tube_2_in_2,
    main_Tube_2_in_3,
    main_Tube_2_in_4
    ) [instance: 2, cache: 1];
    // 
    // node Receiver[111]: x = 584, y = 190, inputs = 1, label = heatflux_colormap
    // page group: isosurface
    //
main_Receiver_111_out_1[cache: 0] = heatflux_colormap;
    // 
    // node Color[37]: x = 609, y = 280, inputs = 5, label = Color
    // input[2]: defaulting = 1, visible = 1, type = 32, value = "green"
    // input[3]: defaulting = 1, visible = 1, type = 5, value = 0.5
    // page group: isosurface
    //
main_Color_37_out_1 = 
    Color(
    main_Tube_2_out_1,
    main_Receiver_111_out_1,
    main_Color_37_in_3,
    main_Color_37_in_4,
    main_Color_37_in_5
    ) [instance: 37, cache: 1];
    // 
    // node StringList[3]: x = 391, y = 10, inputs = 0, label = StringList
    // output[1]: visible = 1, type = 16777248, value = { "colatitude", "longitude" }
    // page group: Profiles
    //
    // 
    // node Selector[3]: x = 396, y = 100, inputs = 7, label = Selector
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_3"
    // input[2]: defaulting = 0, visible = 0, type = 32, value = "colatitude" 
    // input[3]: defaulting = 0, visible = 0, type = 29, value = 0 
    // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "colatitude" "longitude" }
    // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 }
    // output[1]: visible = 1, type = 29, value = 0 
    // output[2]: visible = 1, type = 32, value = "colatitude" 
    // page group: Profiles
    //
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_3_out_1,
    main_Selector_3_in_5,
    main_Selector_3_in_6,
    main_Selector_3_in_7
    ) [instance: 3, cache: 1];
    // 
    // node Select[18]: x = 376, y = 190, inputs = 3, label = Select
    // page group: Profiles
    //
main_Select_18_out_1 = 
    Select(
    main_StringList_3_out_1,
    main_Selector_3_out_1,
    main_Select_18_in_3
    ) [instance: 18, cache: 1];
    // 
    // node Compute[99]: x = 368, y = 280, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "int(!strcmp($0,'colatitude')?0:1)"
    // page group: Profiles
    // expression: value = int(!strcmp(a,'colatitude')?0:1)
    // name[2]: value = a
    //
main_Compute_99_out_1 = 
    Compute(
    main_Compute_99_in_1,
    main_Select_18_out_1
    ) [instance: 99, cache: 1];
    // 
    // node Receiver[126]: x = 25, y = 370, inputs = 1, label = topography
    // page group: Profiles
    //
main_Receiver_126_out_1[cache: 0] = topography;
    // 
    // node Integer[16]: x = 352, y = 372, inputs = 11, label = Integer
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Integer_16"
    // input[3]: defaulting = 0, visible = 0, type = 1, value = 70 
    // input[5]: defaulting = 1, visible = 0, type = 1, value = -1000000
    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1000000
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 0
    // output[1]: visible = 1, type = 1, value = 70 
    // page group: Profiles
    //
    // 
    // node Slab[3]: x = 52, y = 460, inputs = 4, label = Slab
    // page group: Profiles
    //
main_Slab_3_out_1 = 
    Slab(
    main_Receiver_126_out_1,
    main_Compute_99_out_1,
    main_Integer_16_out_1,
    main_Slab_3_in_4
    ) [instance: 3, cache: 1];
    // 
    // node Mark[27]: x = 88, y = 550, inputs = 2, label = Mark
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions"
    // page group: Profiles
    //
main_Mark_27_out_1 = 
    Mark(
    main_Slab_3_out_1,
    main_Mark_27_in_2
    ) [instance: 27, cache: 1];
    // 
    // node Compute[100]: x = 116, y = 647, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0.x"
    // page group: Profiles
    // expression: value = a.x
    // name[2]: value = a
    //
main_Compute_100_out_1 = 
    Compute(
    main_Compute_100_in_1,
    main_Mark_27_out_1
    ) [instance: 100, cache: 1];
    // 
    // node Receiver[127]: x = 267, y = 370, inputs = 1, label = heatflux
    // page group: Profiles
    //
main_Receiver_127_out_1[cache: 0] = heatflux;
    // 
    // node Slab[4]: x = 305, y = 460, inputs = 4, label = Slab
    // page group: Profiles
    //
main_Slab_4_out_1 = 
    Slab(
    main_Receiver_127_out_1,
    main_Compute_99_out_1,
    main_Integer_16_out_1,
    main_Slab_4_in_4
    ) [instance: 4, cache: 1];
    // 
    // node Mark[28]: x = 341, y = 550, inputs = 2, label = Mark
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions"
    // page group: Profiles
    //
main_Mark_28_out_1 = 
    Mark(
    main_Slab_4_out_1,
    main_Mark_28_in_2
    ) [instance: 28, cache: 1];
    // 
    // node Compute[101]: x = 358, y = 633, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0.x"
    // page group: Profiles
    // expression: value = a.x
    // name[2]: value = a
    //
main_Compute_101_out_1 = 
    Compute(
    main_Compute_101_in_1,
    main_Mark_28_out_1
    ) [instance: 101, cache: 1];
    // 
    // node Compute[102]: x = 18, y = 646, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0.y"
    // page group: Profiles
    // expression: value = a.y
    // name[2]: value = a
    //
main_Compute_102_out_1 = 
    Compute(
    main_Compute_102_in_1,
    main_Mark_27_out_1
    ) [instance: 102, cache: 1];
    // 
    // node Compute[103]: x = 280, y = 632, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0.y"
    // page group: Profiles
    // expression: value = a.y
    // name[2]: value = a
    //
main_Compute_103_out_1 = 
    Compute(
    main_Compute_103_in_1,
    main_Mark_28_out_1
    ) [instance: 103, cache: 1];
    // 
    // node Compute[104]: x = 205, y = 730, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+1"
    // page group: Profiles
    // expression: value = a+1
    // name[2]: value = a
    //
main_Compute_104_out_1 = 
    Compute(
    main_Compute_104_in_1,
    main_Compute_99_out_1
    ) [instance: 104, cache: 1];
    // 
    // node Compute[105]: x = 290, y = 370, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0.x"
    // page group: import
    // expression: value = a.x
    // name[2]: value = a
    //
main_Compute_105_out_1 = 
    Compute(
    main_Compute_105_in_1,
    main_Mark_23_out_1
    ) [instance: 105, cache: 1];
    // 
    // node Compute[106]: x = 155, y = 370, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0.z"
    // page group: import
    // expression: value = a.z
    // name[2]: value = a
    //
main_Compute_106_out_1 = 
    Compute(
    main_Compute_106_in_1,
    main_Mark_23_out_1
    ) [instance: 106, cache: 1];
    // 
    // node Transmitter[48]: x = 476, y = 367, inputs = 1, label = profile_direciton
    // page group: Profiles
    //
profile_direciton = main_Compute_99_out_1;
    // 
    // node Receiver[140]: x = 0, y = 526, inputs = 1, label = profile_direciton
    // page group: Corners
    //
main_Receiver_140_out_1[cache: 0] = profile_direciton;
    // 
    // node Transmitter[49]: x = 918, y = 370, inputs = 1, label = topo_or_heatflux
    // page group: image
    //
topo_or_heatflux = main_Compute_94_out_1;
    // 
    // node Receiver[141]: x = 32, y = 449, inputs = 1, label = topo_or_heatflux
    // page group: Corners
    //
main_Receiver_141_out_1[cache: 0] = topo_or_heatflux;
    // 
    // node Compute[107]: x = 134, y = 616, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "($0==0 && $1==1)?1:(($0==0 && $1==2)?2:(($0==1 && $1==1)?3:(($0==1 && $1==2)?4:0)))"
    // page group: Corners
    // expression: value = (dim==0 && scalar==1)?1:((dim==0 && scalar==2)?2:((dim==1 && scalar==1)?3:((dim==1 && scalar==2)?4:0)))
    // name[2]: value = dim
    // name[3]: value = scalar
    //
main_Compute_107_out_1 = 
    Compute(
    main_Compute_107_in_1,
    main_Receiver_140_out_1,
    main_Receiver_141_out_1
    ) [instance: 107, cache: 1];
    // 
    // node Statistics[3]: x = 264, y = 460, inputs = 1, label = Statistics
    // page group: import
    //
main_Statistics_3_out_1,
main_Statistics_3_out_2,
main_Statistics_3_out_3,
main_Statistics_3_out_4,
main_Statistics_3_out_5 = 
    Statistics(
    main_Compute_105_out_1
    ) [instance: 3, cache: 1];
    // 
    // node Transmitter[42]: x = 205, y = 557, inputs = 1, label = colat_min
    // page group: import
    //
colat_min = main_Statistics_3_out_4;
    // 
    // node Receiver[130]: x = 9, y = 10, inputs = 1, label = colat_min
    // page group: Corners
    //
main_Receiver_130_out_1[cache: 0] = colat_min;
    // 
    // node Statistics[5]: x = 574, y = 640, inputs = 1, label = Statistics
    // page group: import
    //
main_Statistics_5_out_1,
main_Statistics_5_out_2,
main_Statistics_5_out_3,
main_Statistics_5_out_4,
main_Statistics_5_out_5 = 
    Statistics(
    main_Replace_4_out_1
    ) [instance: 5, cache: 1];
    // 
    // node Transmitter[38]: x = 626, y = 730, inputs = 1, label = topo_min
    // page group: import
    //
topo_min = main_Statistics_5_out_4;
    // 
    // node Receiver[134]: x = 194, y = 13, inputs = 1, label = topo_min
    // page group: Corners
    //
main_Receiver_134_out_1[cache: 0] = topo_min;
    // 
    // node Compute[108]: x = 40, y = 173, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0,$1]"
    // page group: Corners
    // expression: value = [a,b]
    // name[2]: value = a
    // name[3]: value = b
    //
main_Compute_108_out_1 = 
    Compute(
    main_Compute_108_in_1,
    main_Receiver_130_out_1,
    main_Receiver_134_out_1
    ) [instance: 108, cache: 1];
    // 
    // node Transmitter[43]: x = 291, y = 555, inputs = 1, label = colat_max
    // page group: import
    //
colat_max = main_Statistics_3_out_5;
    // 
    // node Receiver[131]: x = 522, y = 14, inputs = 1, label = colat_max
    // page group: Corners
    //
main_Receiver_131_out_1[cache: 0] = colat_max;
    // 
    // node Transmitter[39]: x = 746, y = 730, inputs = 1, label = topo_max
    // page group: import
    //
topo_max = main_Statistics_5_out_5;
    // 
    // node Receiver[135]: x = 709, y = 13, inputs = 1, label = topo_max
    // page group: Corners
    //
main_Receiver_135_out_1[cache: 0] = topo_max;
    // 
    // node Compute[109]: x = 488, y = 144, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0,$1]"
    // page group: Corners
    // expression: value = [a,b]
    // name[2]: value = a
    // name[3]: value = b
    //
main_Compute_109_out_1 = 
    Compute(
    main_Compute_109_in_1,
    main_Receiver_131_out_1,
    main_Receiver_135_out_1
    ) [instance: 109, cache: 1];
    // 
    // node Statistics[6]: x = 1004, y = 640, inputs = 1, label = Statistics
    // page group: import
    //
main_Statistics_6_out_1,
main_Statistics_6_out_2,
main_Statistics_6_out_3,
main_Statistics_6_out_4,
main_Statistics_6_out_5 = 
    Statistics(
    main_Replace_5_out_1
    ) [instance: 6, cache: 1];
    // 
    // node Transmitter[40]: x = 1045, y = 730, inputs = 1, label = heatflux_min
    // page group: import
    //
heatflux_min = main_Statistics_6_out_4;
    // 
    // node Receiver[136]: x = 279, y = 13, inputs = 1, label = heatflux_min
    // page group: Corners
    //
main_Receiver_136_out_1[cache: 0] = heatflux_min;
    // 
    // node Compute[110]: x = 145, y = 174, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0,$1]"
    // page group: Corners
    // expression: value = [a,b]
    // name[2]: value = a
    // name[3]: value = b
    //
main_Compute_110_out_1 = 
    Compute(
    main_Compute_110_in_1,
    main_Receiver_130_out_1,
    main_Receiver_136_out_1
    ) [instance: 110, cache: 1];
    // 
    // node Transmitter[41]: x = 1147, y = 730, inputs = 1, label = heatflux_max
    // page group: import
    //
heatflux_max = main_Statistics_6_out_5;
    // 
    // node Receiver[137]: x = 786, y = 9, inputs = 1, label = heatflux_max
    // page group: Corners
    //
main_Receiver_137_out_1[cache: 0] = heatflux_max;
    // 
    // node Compute[111]: x = 588, y = 151, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0,$1]"
    // page group: Corners
    // expression: value = [a,b]
    // name[2]: value = a
    // name[3]: value = b
    //
main_Compute_111_out_1 = 
    Compute(
    main_Compute_111_in_1,
    main_Receiver_131_out_1,
    main_Receiver_137_out_1
    ) [instance: 111, cache: 1];
    // 
    // node Statistics[4]: x = 129, y = 460, inputs = 1, label = Statistics
    // page group: import
    //
main_Statistics_4_out_1,
main_Statistics_4_out_2,
main_Statistics_4_out_3,
main_Statistics_4_out_4,
main_Statistics_4_out_5 = 
    Statistics(
    main_Compute_106_out_1
    ) [instance: 4, cache: 1];
    // 
    // node Transmitter[44]: x = 19, y = 550, inputs = 1, label = long_min
    // page group: import
    //
long_min = main_Statistics_4_out_4;
    // 
    // node Receiver[132]: x = 104, y = 12, inputs = 1, label = long_min
    // page group: Corners
    //
main_Receiver_132_out_1[cache: 0] = long_min;
    // 
    // node Compute[112]: x = 240, y = 179, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0,$1]"
    // page group: Corners
    // expression: value = [a,b]
    // name[2]: value = a
    // name[3]: value = b
    //
main_Compute_112_out_1 = 
    Compute(
    main_Compute_112_in_1,
    main_Receiver_132_out_1,
    main_Receiver_134_out_1
    ) [instance: 112, cache: 1];
    // 
    // node Transmitter[45]: x = 101, y = 554, inputs = 1, label = long_max
    // page group: import
    //
long_max = main_Statistics_4_out_5;
    // 
    // node Receiver[133]: x = 606, y = 10, inputs = 1, label = long_max
    // page group: Corners
    //
main_Receiver_133_out_1[cache: 0] = long_max;
    // 
    // node Compute[113]: x = 692, y = 156, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0,$1]"
    // page group: Corners
    // expression: value = [a,b]
    // name[2]: value = a
    // name[3]: value = b
    //
main_Compute_113_out_1 = 
    Compute(
    main_Compute_113_in_1,
    main_Receiver_133_out_1,
    main_Receiver_135_out_1
    ) [instance: 113, cache: 1];
    // 
    // node Compute[114]: x = 335, y = 179, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0,$1]"
    // page group: Corners
    // expression: value = [a,b]
    // name[2]: value = a
    // name[3]: value = b
    //
main_Compute_114_out_1 = 
    Compute(
    main_Compute_114_in_1,
    main_Receiver_132_out_1,
    main_Receiver_136_out_1
    ) [instance: 114, cache: 1];
    // 
    // node Compute[115]: x = 790, y = 164, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0,$1]"
    // page group: Corners
    // expression: value = [a,b]
    // name[2]: value = a
    // name[3]: value = b
    //
main_Compute_115_out_1 = 
    Compute(
    main_Compute_115_in_1,
    main_Receiver_133_out_1,
    main_Receiver_137_out_1
    ) [instance: 115, cache: 1];
    // 
    // node Switch[4]: x = 10, y = 820, inputs = 3, label = Switch
    // page group: Profiles
    //
main_Switch_4_out_1 = 
    Switch(
    main_Compute_104_out_1,
    main_Compute_102_out_1,
    main_Compute_100_out_1
    ) [instance: 4, cache: 1];
    // 
    // node Replace[8]: x = 34, y = 910, inputs = 4, label = Replace
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "data"
    // input[4]: defaulting = 0, visible = 1, type = 32, value = "positions"
    // page group: Profiles
    //
main_Replace_8_out_1 = 
    Replace(
    main_Switch_4_out_1,
    main_Slab_3_out_1,
    main_Replace_8_in_3,
    main_Replace_8_in_4
    ) [instance: 8, cache: 1];
    // 
    // node Export[6]: x = 226, y = 1051, inputs = 3, label = Export
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "topoprof"
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "dx text"
    // page group: Profiles
    //
    Export(
    main_Replace_8_out_1,
    main_Export_6_in_2,
    main_Export_6_in_3
    ) [instance: 6, cache: 1];
    // 
    // node Sequencer[1]: x = 582, y = 10, inputs = 7, label = Sequencer
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Sequencer_1"
    // input[4]: defaulting = 1, 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 = 10
    // input[7]: defaulting = 0, visible = 0, type = 16777217, value = { 0 100 10 0 100 1 }
    // page group: import
    // vcr[1]: min = 0, max = 100, beg = 0, end = 100, cur = 50, inc = 10, loop = off, step = off, pal = off
    // window: position = (0.0000,0.0000), size = 0.2188x0.0781
    //
    main_Sequencer_1_out_1 = @frame;
    // 
    // node Format[1]: x = 591, y = 80, inputs = 2, label = Format
    // input[1]: defaulting = 0, visible = 1, type = 32, value = "/home/$USER/examples/example1.surf0.%d.general"
    // page group: import
    //
main_Format_1_out_1 = 
    Format(
    main_Format_1_in_1,
    main_Sequencer_1_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Image[3]: x = 990, y = 640, inputs = 49, label = Image
    // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_3"
    // input[4]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[5]: defaulting = 0, visible = 0, type = 8, value = [0.0161198 0.954873 -0.00962252]
    // input[6]: defaulting = 0, visible = 0, type = 8, value = [-0.0928512 6.28227 0.30695]
    // input[7]: defaulting = 0, visible = 0, type = 5, value = 1.41346
    // input[8]: defaulting = 0, visible = 0, type = 1, value = 945
    // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.77619
    // input[10]: defaulting = 0, visible = 0, type = 8, value = [0.0676713 0.0605621 -0.995868]
    // input[11]: defaulting = 1, visible = 0, type = 5, value = 15.084
    // input[12]: defaulting = 0, visible = 0, type = 1, value = 0
    // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[15]: defaulting = 0, visible = 0, type = 32, value = "none"
    // input[16]: defaulting = 0, visible = 0, type = 32, value = "none"
    // input[17]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[18]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[19]: defaulting = 0, visible = 0, type = 3, value = 1
    // input[20]: visible = 1
    // input[21]: visible = 1
    // input[22]: defaulting = 0, visible = 0, type = 32, value = "white"
    // input[25]: defaulting = 0, visible = 0, type = 32, value = NULL 
    // input[26]: defaulting = 0, visible = 0, type = 32, value = "eps color gamma=1 dpi=72 orient=landscape"
    // input[27]: defaulting = 1, visible = 0, type = 1, value = NULL
    // input[29]: defaulting = 0, visible = 0, type = 3, value = 1
    // input[30]: defaulting = 0, visible = 0, type = 16777248, value = {"x", "y", "z"}
    // input[37]: defaulting = 0, visible = 0, type = 16777248, value = {"clear", "black", "black", "black"}
    // input[38]: defaulting = 0, visible = 0, type = 16777248, value = {"background", "grid", "ticks", "labels"}
    // input[41]: defaulting = 0, visible = 0, type = 32, value = "none"
    // input[42]: defaulting = 0, visible = 0, type = 32, value = "Gridded_3D_2ormorevar_notseries"
    // page group: image
    // title: value = Gridded_3D_2ormorevar_notseries
    // depth: value = 24
    // window: position = (0.0477,0.1719), size = 0.7492x0.7568
    // internal caching: 1
    //
main_Image_3_out_1,
main_Image_3_out_2,
main_Image_3_out_3 = 
    Image(
    main_Image_3_in_1,
    main_Collect_2_out_1,
    main_Image_3_in_3,
    main_Image_3_in_4,
    main_Image_3_in_5,
    main_Image_3_in_6,
    main_Image_3_in_7,
    main_Image_3_in_8,
    main_Image_3_in_9,
    main_Image_3_in_10,
    main_Image_3_in_11,
    main_Image_3_in_12,
    main_Image_3_in_13,
    main_Image_3_in_14,
    main_Image_3_in_15,
    main_Image_3_in_16,
    main_Image_3_in_17,
    main_Image_3_in_18,
    main_Image_3_in_19,
    main_Image_3_in_20,
    main_Image_3_in_21,
    main_Image_3_in_22,
    main_Image_3_in_23,
    main_Image_3_in_24,
    main_Image_3_in_25,
    main_Image_3_in_26,
    main_Image_3_in_27,
    main_Image_3_in_28,
    main_Image_3_in_29,
    main_Image_3_in_30,
    main_Image_3_in_31,
    main_Image_3_in_32,
    main_Image_3_in_33,
    main_Image_3_in_34,
    main_Image_3_in_35,
    main_Image_3_in_36,
    main_Image_3_in_37,
    main_Image_3_in_38,
    main_Image_3_in_39,
    main_Image_3_in_40,
    main_Image_3_in_41,
    main_Image_3_in_42,
    main_Image_3_in_43,
    main_Image_3_in_44,
    main_Image_3_in_45,
    main_Image_3_in_46,
    main_Image_3_in_47,
    main_Image_3_in_48,
    main_Image_3_in_49
    ) [instance: 3, cache: 1];
    // 
    // node Switch[2]: x = 646, y = 460, inputs = 3, label = Switch
    // page group: image
    //
main_Switch_2_out_1 = 
    Switch(
    main_Compute_94_out_1,
    main_Collect_4_out_1,
    main_Collect_5_out_1
    ) [instance: 2, cache: 1];
    // 
    // node Image[4]: x = 670, y = 550, inputs = 49, label = Image
    // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_4"
    // input[4]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[5]: defaulting = 0, visible = 0, type = 8, value = [-3.38256e-06 -3.38256e-06 0.101445]
    // input[6]: defaulting = 0, visible = 0, type = 8, value = [0.109576 -3.0761 0.18125]
    // input[7]: defaulting = 0, visible = 0, type = 5, value = 1.65008
    // input[8]: defaulting = 0, visible = 0, type = 1, value = 674
    // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.6773
    // input[10]: defaulting = 0, visible = 0, type = 8, value = [-0.111015 0.0218223 0.993579]
    // input[11]: defaulting = 1, visible = 0, type = 5, value = 30.0001
    // input[12]: defaulting = 0, visible = 0, type = 1, value = 0
    // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[15]: defaulting = 0, visible = 0, type = 32, value = "none"
    // input[16]: defaulting = 0, visible = 0, type = 32, value = "none"
    // input[17]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[18]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[19]: defaulting = 0, visible = 0, type = 3, value = 1
    // input[20]: visible = 1
    // input[21]: visible = 1
    // input[22]: defaulting = 0, visible = 0, type = 32, value = "white"
    // input[25]: defaulting = 0, visible = 0, type = 32, value = NULL
    // input[26]: defaulting = 0, visible = 0, type = 32, value = "eps color gamma=1 dpi=72 orient=landscape"
    // input[27]: defaulting = 1, visible = 0, type = 1, value = NULL
    // input[29]: defaulting = 0, visible = 0, type = 3, value = 1
    // input[30]: defaulting = 0, visible = 0, type = 16777248, value = {"x", "y", "z"}
    // input[37]: defaulting = 0, visible = 0, type = 16777248, value = {"clear", "black", "black", "black"}
    // input[38]: defaulting = 0, visible = 0, type = 16777248, value = {"background", "grid", "ticks", "labels"}
    // input[41]: defaulting = 0, visible = 0, type = 32, value = "rotate"
    // input[42]: defaulting = 0, visible = 0, type = 32, value = "Gridded_3D_2ormorevar_notseries"
    // page group: image
    // title: value = Gridded_3D_2ormorevar_notseries
    // depth: value = 24
    // window: position = (0.4555,0.4648), size = 0.5375x0.4863
    // internal caching: 1
    //
main_Image_4_out_1,
main_Image_4_out_2,
main_Image_4_out_3 = 
    Image(
    main_Image_4_in_1,
    main_Switch_2_out_1,
    main_Image_4_in_3,
    main_Image_4_in_4,
    main_Image_4_in_5,
    main_Image_4_in_6,
    main_Image_4_in_7,
    main_Image_4_in_8,
    main_Image_4_in_9,
    main_Image_4_in_10,
    main_Image_4_in_11,
    main_Image_4_in_12,
    main_Image_4_in_13,
    main_Image_4_in_14,
    main_Image_4_in_15,
    main_Image_4_in_16,
    main_Image_4_in_17,
    main_Image_4_in_18,
    main_Image_4_in_19,
    main_Image_4_in_20,
    main_Image_4_in_21,
    main_Image_4_in_22,
    main_Image_4_in_23,
    main_Image_4_in_24,
    main_Image_4_in_25,
    main_Image_4_in_26,
    main_Image_4_in_27,
    main_Image_4_in_28,
    main_Image_4_in_29,
    main_Image_4_in_30,
    main_Image_4_in_31,
    main_Image_4_in_32,
    main_Image_4_in_33,
    main_Image_4_in_34,
    main_Image_4_in_35,
    main_Image_4_in_36,
    main_Image_4_in_37,
    main_Image_4_in_38,
    main_Image_4_in_39,
    main_Image_4_in_40,
    main_Image_4_in_41,
    main_Image_4_in_42,
    main_Image_4_in_43,
    main_Image_4_in_44,
    main_Image_4_in_45,
    main_Image_4_in_46,
    main_Image_4_in_47,
    main_Image_4_in_48,
    main_Image_4_in_49
    ) [instance: 4, cache: 1];
    // 
    // node Switch[5]: x = 263, y = 820, inputs = 3, label = Switch
    // page group: Profiles
    //
main_Switch_5_out_1 = 
    Switch(
    main_Compute_104_out_1,
    main_Compute_103_out_1,
    main_Compute_101_out_1
    ) [instance: 5, cache: 1];
    // 
    // node Replace[9]: x = 287, y = 910, inputs = 4, label = Replace
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "data"
    // input[4]: defaulting = 0, visible = 1, type = 32, value = "positions"
    // page group: Profiles
    //
main_Replace_9_out_1 = 
    Replace(
    main_Switch_5_out_1,
    main_Slab_4_out_1,
    main_Replace_9_in_3,
    main_Replace_9_in_4
    ) [instance: 9, cache: 1];
    // 
    // node Transmitter[36]: x = 10, y = 370, inputs = 1, label = Scalar_String
    // page group: image
    //
Scalar_String = main_Select_16_out_1;
    // 
    // node Receiver[129]: x = 388, y = 820, inputs = 1, label = Scalar_String
    // page group: Profiles
    //
main_Receiver_129_out_1[cache: 0] = Scalar_String;
    // 
    // node List[4]: x = 398, y = 910, inputs = 2, label = List
    // page group: Profiles
    //
main_List_4_out_1 = 
    List(
    main_Select_18_out_1,
    main_Receiver_129_out_1
    ) [instance: 4, cache: 1];
    // 
    // node List[14]: x = 362, y = 351, inputs = 2, label = List
    // page group: Corners
    //
main_List_14_out_1 = 
    List(
    main_Compute_110_out_1,
    main_Compute_111_out_1
    ) [instance: 14, cache: 1];
    // 
    // node List[5]: x = 260, y = 350, inputs = 2, label = List
    // page group: Corners
    //
main_List_5_out_1 = 
    List(
    main_Compute_108_out_1,
    main_Compute_109_out_1
    ) [instance: 5, cache: 1];
    // 
    // node List[16]: x = 625, y = 355, inputs = 2, label = List
    // page group: Corners
    //
main_List_16_out_1 = 
    List(
    main_Compute_114_out_1,
    main_Compute_115_out_1
    ) [instance: 16, cache: 1];
    // 
    // node List[17]: x = 484, y = 349, inputs = 2, label = List
    // page group: Corners
    //
main_List_17_out_1 = 
    List(
    main_Compute_112_out_1,
    main_Compute_113_out_1
    ) [instance: 17, cache: 1];
    // 
    // node Switch[6]: x = 388, y = 467, inputs = 5, label = Switch
    // page group: Corners
    //
main_Switch_6_out_1 = 
    Switch(
    main_Compute_107_out_1,
    main_List_14_out_1,
    main_List_5_out_1,
    main_List_16_out_1,
    main_List_17_out_1
    ) [instance: 6, cache: 1];
    // 
    // node Transmitter[46]: x = 447, y = 582, inputs = 1, label = Profile_corners
    // page group: Corners
    //
Profile_corners = main_Switch_6_out_1;
    // 
    // node Receiver[138]: x = 511, y = 822, inputs = 1, label = Profile_corners
    // page group: Profiles
    //
main_Receiver_138_out_1[cache: 0] = Profile_corners;
    // 
    // node Plot[6]: x = 386, y = 1000, inputs = 26, label = Plot
    // input[6]: defaulting = 0, visible = 0, type = 1, value = 2
    // input[9]: defaulting = 0, visible = 1, type = 5, value = 0.25
    // page group: Profiles
    //
main_Plot_6_out_1[cache: 0] = 
    Plot(
    main_Replace_9_out_1,
    main_List_4_out_1,
    main_Plot_6_in_3,
    main_Receiver_138_out_1,
    main_Plot_6_in_5,
    main_Plot_6_in_6,
    main_Plot_6_in_7,
    main_Plot_6_in_8,
    main_Plot_6_in_9,
    main_Plot_6_in_10,
    main_Plot_6_in_11,
    main_Plot_6_in_12,
    main_Plot_6_in_13,
    main_Plot_6_in_14,
    main_Plot_6_in_15,
    main_Plot_6_in_16,
    main_Plot_6_in_17,
    main_Plot_6_in_18,
    main_Plot_6_in_19,
    main_Plot_6_in_20,
    main_Plot_6_in_21,
    main_Plot_6_in_22,
    main_Plot_6_in_23,
    main_Plot_6_in_24,
    main_Plot_6_in_25,
    main_Plot_6_in_26
    ) [instance: 6, cache: 1];
    // 
    // node Transmitter[34]: x = 394, y = 1090, inputs = 1, label = heatflux_profile
    // page group: Profiles
    //
heatflux_profile = main_Plot_6_out_1;
    // 
    // node Receiver[121]: x = 117, y = 370, inputs = 1, label = heatflux_profile
    // page group: image
    //
main_Receiver_121_out_1[cache: 0] = heatflux_profile;
    // 
    // node Plot[5]: x = 70, y = 1000, inputs = 26, label = Plot
    // input[6]: defaulting = 0, visible = 0, type = 1, value = 2
    // input[9]: defaulting = 0, visible = 1, type = 5, value = 0.25
    // page group: Profiles
    //
main_Plot_5_out_1[cache: 0] = 
    Plot(
    main_Replace_8_out_1,
    main_List_4_out_1,
    main_Plot_5_in_3,
    main_Receiver_138_out_1,
    main_Plot_5_in_5,
    main_Plot_5_in_6,
    main_Plot_5_in_7,
    main_Plot_5_in_8,
    main_Plot_5_in_9,
    main_Plot_5_in_10,
    main_Plot_5_in_11,
    main_Plot_5_in_12,
    main_Plot_5_in_13,
    main_Plot_5_in_14,
    main_Plot_5_in_15,
    main_Plot_5_in_16,
    main_Plot_5_in_17,
    main_Plot_5_in_18,
    main_Plot_5_in_19,
    main_Plot_5_in_20,
    main_Plot_5_in_21,
    main_Plot_5_in_22,
    main_Plot_5_in_23,
    main_Plot_5_in_24,
    main_Plot_5_in_25,
    main_Plot_5_in_26
    ) [instance: 5, cache: 1];
    // 
    // node Transmitter[33]: x = 89, y = 1090, inputs = 1, label = topo_profile
    // page group: Profiles
    //
topo_profile = main_Plot_5_out_1;
    // 
    // node Receiver[122]: x = 236, y = 370, inputs = 1, label = topo_profile
    // page group: image
    //
main_Receiver_122_out_1[cache: 0] = topo_profile;
    // 
    // node Switch[1]: x = 217, y = 460, inputs = 3, label = Switch
    // page group: image
    //
main_Switch_1_out_1 = 
    Switch(
    main_Compute_94_out_1,
    main_Receiver_121_out_1,
    main_Receiver_122_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Image[7]: x = 241, y = 550, inputs = 49, label = Image
    // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_7"
    // input[4]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[5]: defaulting = 0, visible = 0, type = 8, value = [-0.0633798 0.0386962 0]
    // input[6]: defaulting = 0, visible = 0, type = 8, value = [-0.0633798 0.0386962 2.70189]
    // input[7]: defaulting = 0, visible = 0, type = 5, value = 1.44794
    // input[8]: defaulting = 0, visible = 0, type = 1, value = 674
    // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.6773
    // input[10]: defaulting = 0, visible = 0, type = 8, value = [0 1 0]
    // input[11]: defaulting = 1, visible = 0, type = 5, value = 30.0
    // input[12]: defaulting = 0, visible = 0, type = 1, value = 0
    // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
    // input[15]: defaulting = 0, visible = 0, type = 32, value = "none"
    // input[16]: defaulting = 0, 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 = 3, value = 0
    // input[20]: visible = 1
    // input[21]: visible = 1
    // input[22]: defaulting = 1, visible = 0, type = 32, value = "white"
    // input[25]: defaulting = 0, visible = 0, type = 32, value = NULL
    // input[26]: defaulting = 0, visible = 0, type = 32, value = "eps color gamma=1 dpi=68 orient=landscape"
    // input[27]: defaulting = 1, visible = 0, type = 1, value = NULL
    // input[29]: defaulting = 0, visible = 0, type = 3, value = 1
    // input[30]: defaulting = 0, visible = 0, type = 16777248, value = {"x", "y", "z"}
    // input[37]: defaulting = 0, visible = 0, type = 16777248, value = {"clear", "black", "black", "black"}
    // input[38]: defaulting = 0, visible = 0, type = 16777248, value = {"background", "grid", "ticks", "labels"}
    // input[41]: defaulting = 0, visible = 0, type = 32, value = "none"
    // input[42]: defaulting = 0, visible = 0, type = 32, value = "Gridded_3D_2ormorevar_notseries"
    // page group: image
    // title: value = Gridded_3D_2ormorevar_notseries
    // depth: value = 24
    // window: position = (0.4625,0.0000), size = 0.5375x0.4863
    // internal caching: 1
    //
main_Image_7_out_1,
main_Image_7_out_2,
main_Image_7_out_3 = 
    Image(
    main_Image_7_in_1,
    main_Switch_1_out_1,
    main_Image_7_in_3,
    main_Image_7_in_4,
    main_Image_7_in_5,
    main_Image_7_in_6,
    main_Image_7_in_7,
    main_Image_7_in_8,
    main_Image_7_in_9,
    main_Image_7_in_10,
    main_Image_7_in_11,
    main_Image_7_in_12,
    main_Image_7_in_13,
    main_Image_7_in_14,
    main_Image_7_in_15,
    main_Image_7_in_16,
    main_Image_7_in_17,
    main_Image_7_in_18,
    main_Image_7_in_19,
    main_Image_7_in_20,
    main_Image_7_in_21,
    main_Image_7_in_22,
    main_Image_7_in_23,
    main_Image_7_in_24,
    main_Image_7_in_25,
    main_Image_7_in_26,
    main_Image_7_in_27,
    main_Image_7_in_28,
    main_Image_7_in_29,
    main_Image_7_in_30,
    main_Image_7_in_31,
    main_Image_7_in_32,
    main_Image_7_in_33,
    main_Image_7_in_34,
    main_Image_7_in_35,
    main_Image_7_in_36,
    main_Image_7_in_37,
    main_Image_7_in_38,
    main_Image_7_in_39,
    main_Image_7_in_40,
    main_Image_7_in_41,
    main_Image_7_in_42,
    main_Image_7_in_43,
    main_Image_7_in_44,
    main_Image_7_in_45,
    main_Image_7_in_46,
    main_Image_7_in_47,
    main_Image_7_in_48,
    main_Image_7_in_49
    ) [instance: 7, cache: 1];
    // 
    // node Transmitter[28]: x = 577, y = 370, inputs = 1, label = heatflux_isosurfaces
    // page group: isosurface
    //
heatflux_isosurfaces = main_Color_37_out_1;
    // 
    // node Receiver[113]: x = 413, y = 190, inputs = 1, label = heatflux_isosurfaces
    // page group: image
    //
main_Receiver_113_out_1[cache: 0] = heatflux_isosurfaces;
    // 
    // node Transmitter[19]: x = 245, y = 370, inputs = 1, label = topo_isosurfaces
    // page group: isosurface
    //
topo_isosurfaces = main_Color_34_out_1;
    // 
    // node Receiver[114]: x = 692, y = 190, inputs = 1, label = topo_isosurfaces
    // page group: image
    //
main_Receiver_114_out_1[cache: 0] = topo_isosurfaces;
    // 
    // node ScalarList[1]: x = 10, y = 10, inputs = 11, label = ScalarList
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "ScalarList_1"
    // input[3]: defaulting = 0, visible = 0, type = 16777221, value = { 0.75 }
    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
    // output[1]: visible = 1, type = 16777221, value = { 0.75 }
    // page group: isosurface
    //
    // 
    // node Transmitter[47]: x = 668, y = 456, inputs = 1, label = profile_slice_num
    // page group: Profiles
    //
profile_slice_num = main_Integer_16_out_1;
// network: end of macro body
CacheScene(main_Image_3_in_1, main_Image_3_out_1, main_Image_3_out_2);
CacheScene(main_Image_4_in_1, main_Image_4_out_1, main_Image_4_out_2);
CacheScene(main_Image_7_in_1, main_Image_7_out_1, main_Image_7_out_2);
}
main_FileSelector_1_out_1 = "path to your data";
main_Integer_8_in_1 = "Integer_8";
main_Integer_8_in_2 = NULL;
main_Integer_8_in_3 = 1 ;
main_Integer_8_in_4 = NULL;
main_Integer_8_in_5 = NULL;
main_Integer_8_in_6 = NULL;
main_Integer_8_in_7 = NULL;
main_Integer_8_in_8 = NULL;
main_Integer_8_in_9 = NULL;
main_Integer_8_in_10 = NULL;
main_Integer_8_in_11 = NULL;
main_Integer_8_out_1 = 1 ;
main_CitcomSSurfaceImport_1_out_1 = NULL;
main_CitcomSSurfaceImport_1_out_2 = NULL;
main_CitcomSSurfaceImport_1_out_3 = NULL;
main_Transmitter_20_out_1 = NULL;
main_Receiver_92_out_1 = NULL;
main_Reduce_2_in_2 = { 4.0 };
main_Reduce_2_out_1 = NULL;
main_AutoGlyph_9_in_2 = "rocket";
main_AutoGlyph_9_in_3 = NULL;
main_AutoGlyph_9_in_4 = NULL;
main_AutoGlyph_9_in_5 = NULL;
main_AutoGlyph_9_in_6 = NULL;
main_AutoGlyph_9_in_7 = NULL;
main_AutoGlyph_9_out_1 = NULL;
main_Statistics_1_out_1 = NULL;
main_Compute_90_in_1 = "($0-$1)*(10^21)/(6371000^2/10^(-6))/(3300*10)/1000";
main_Compute_90_out_1 = NULL;
main_Transmitter_32_out_1 = NULL;
main_Receiver_86_out_1 = NULL;
main_ShowConnections_3_out_1 = NULL;
main_Mark_23_in_2 = "positions";
main_Mark_23_out_1 = NULL;
main_Compute_91_in_1 = "[$0.x,$0.z]";
main_Compute_91_out_1 = NULL;
main_Unmark_12_in_2 = "positions";
main_Unmark_12_out_1 = NULL;
main_Replace_4_in_3 = "data";
main_Replace_4_in_4 = "data";
main_Replace_4_out_1 = NULL;
main_Transmitter_16_out_1 = NULL;
main_Receiver_98_out_1 = NULL;
main_Colormap_5_in_1 = { [0.0 0.65263158] [1.0 0.0] };
main_Colormap_5_in_2 = { [0.0 1.0] [1.0 1.0] };
main_Colormap_5_in_3 = { [0.0 1.0] [1.0 1.0] };
main_Colormap_5_in_4 = { [0.0 0.8988764] [1.0 0.8988764] };
main_Colormap_5_in_5 = "Colormap_5";
main_Colormap_5_in_7 = NULL;
main_Colormap_5_in_8 = NULL;
main_Colormap_5_in_9 = NULL;
main_Colormap_5_in_10 = NULL;
main_Colormap_5_in_11 = NULL;
main_Colormap_5_in_12 = { -0.13482128 2.1637275 };
main_Colormap_5_in_13 = NULL;
main_Colormap_5_in_14 = NULL;
main_Colormap_5_in_15 = NULL;
main_Colormap_5_in_16 = NULL;
main_Colormap_5_in_17 = -0.13482128;
main_Colormap_5_in_18 = 2.1637275;
main_Colormap_5_in_19 = NULL;
main_Colormap_5_out_1 = NULL;
main_Transmitter_25_out_1 = NULL;
main_Receiver_112_out_1 = NULL;
main_Color_22_in_3 = NULL;
main_Color_22_in_4 = NULL;
main_Color_22_in_5 = NULL;
main_Color_22_out_1 = NULL;
main_Options_1_in_2 = "line width";
main_Options_1_in_3 = 1.;
main_Options_1_in_4 = NULL;
main_Options_1_in_5 = NULL;
main_Options_1_out_1 = NULL;
main_Transmitter_10_out_1 = NULL;
main_Receiver_120_out_1 = NULL;
main_Color_35_in_2 = [0.5 0.7 0.4];
main_Color_35_in_3 = 1.0;
main_Color_35_in_4 = NULL;
main_Color_35_in_5 = NULL;
main_Color_35_out_1 = NULL;
main_Transmitter_21_out_1 = NULL;
main_Receiver_93_out_1 = NULL;
main_Scalar_5_in_1 = "Scalar_5";
main_Scalar_5_in_2 = NULL;
main_Scalar_5_in_3 = 0.55 ;
main_Scalar_5_in_4 = NULL;
main_Scalar_5_in_5 = NULL;
main_Scalar_5_in_6 = NULL;
main_Scalar_5_in_7 = NULL;
main_Scalar_5_in_8 = NULL;
main_Scalar_5_in_9 = NULL;
main_Scalar_5_in_10 = NULL;
main_Scalar_5_in_11 = NULL;
main_Scalar_5_out_1 = 0.55 ;
main_ShowSphere_1_in_1 = NULL;
main_ShowSphere_1_out_1 = NULL;
main_Color_25_in_2 = "orange";
main_Color_25_in_3 = 1.0;
main_Color_25_in_4 = NULL;
main_Color_25_in_5 = NULL;
main_Color_25_out_1 = NULL;
main_Transmitter_15_out_1 = NULL;
main_Receiver_85_out_1 = NULL;
main_StringList_1_out_1 = { "topography (km)", "heatflux" };
main_Selector_1_in_1 = "Selector_1";
main_Selector_1_in_2 = "topography (km)" ;
main_Selector_1_in_3 = 0 ;
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_Select_16_in_3 = NULL;
main_Select_16_out_1 = NULL;
main_Compute_94_in_1 = "int(!strstr($0,'topo')?1:2)";
main_Compute_94_out_1 = NULL;
main_Statistics_2_out_1 = NULL;
main_Compute_92_in_1 = "($0-$1)/$1";
main_Compute_92_out_1 = NULL;
main_Mark_24_in_2 = "positions";
main_Mark_24_out_1 = NULL;
main_Compute_93_in_1 = "[$0.x,$0.z]";
main_Compute_93_out_1 = NULL;
main_Unmark_13_in_2 = "positions";
main_Unmark_13_out_1 = NULL;
main_Replace_5_in_3 = "data";
main_Replace_5_in_4 = "data";
main_Replace_5_out_1 = NULL;
main_Transmitter_23_out_1 = NULL;
main_Receiver_109_out_1 = NULL;
main_Colormap_7_in_1 = { [0.0 0.65263158] [1.0 0.0] };
main_Colormap_7_in_2 = { [0.0 1.0] [1.0 1.0] };
main_Colormap_7_in_3 = { [0.0 1.0] [1.0 1.0] };
main_Colormap_7_in_4 = { [0.0 0.86516854] [1.0 0.86516854] };
main_Colormap_7_in_5 = "Colormap_7";
main_Colormap_7_in_7 = NULL;
main_Colormap_7_in_8 = NULL;
main_Colormap_7_in_9 = NULL;
main_Colormap_7_in_10 = NULL;
main_Colormap_7_in_11 = NULL;
main_Colormap_7_in_12 = { -0.018265756 0.24825189 };
main_Colormap_7_in_13 = NULL;
main_Colormap_7_in_14 = NULL;
main_Colormap_7_in_15 = NULL;
main_Colormap_7_in_16 = NULL;
main_Colormap_7_in_17 = -0.018265756;
main_Colormap_7_in_18 = 0.24825189;
main_Colormap_7_in_19 = NULL;
main_Colormap_7_out_1 = NULL;
main_ColorBar_1_in_2 = NULL;
main_ColorBar_1_in_3 = NULL;
main_ColorBar_1_in_4 = NULL;
main_ColorBar_1_in_5 = NULL;
main_ColorBar_1_in_6 = NULL;
main_ColorBar_1_in_7 = NULL;
main_ColorBar_1_in_8 = "heat flux";
main_ColorBar_1_in_9 = {"black"};
main_ColorBar_1_in_10 = NULL;
main_ColorBar_1_in_11 = NULL;
main_ColorBar_1_in_12 = NULL;
main_ColorBar_1_in_13 = NULL;
main_ColorBar_1_in_14 = NULL;
main_ColorBar_1_in_15 = NULL;
main_ColorBar_1_in_16 = NULL;
main_ColorBar_1_out_1 = NULL;
main_Transmitter_30_out_1 = NULL;
main_Receiver_125_out_1 = NULL;
main_ColorBar_2_in_2 = NULL;
main_ColorBar_2_in_3 = NULL;
main_ColorBar_2_in_4 = NULL;
main_ColorBar_2_in_5 = NULL;
main_ColorBar_2_in_6 = NULL;
main_ColorBar_2_in_7 = NULL;
main_ColorBar_2_in_8 = "topography (km)";
main_ColorBar_2_in_9 = {"black"};
main_ColorBar_2_in_10 = NULL;
main_ColorBar_2_in_11 = NULL;
main_ColorBar_2_in_12 = NULL;
main_ColorBar_2_in_13 = NULL;
main_ColorBar_2_in_14 = NULL;
main_ColorBar_2_in_15 = NULL;
main_ColorBar_2_in_16 = NULL;
main_ColorBar_2_out_1 = NULL;
main_Transmitter_31_out_1 = NULL;
main_Receiver_115_out_1 = NULL;
main_Switch_3_out_1 = NULL;
main_Collect_2_out_1 = NULL;
main_Receiver_104_out_1 = NULL;
main_RubberSheet_2_in_2 = NULL;
main_RubberSheet_2_in_3 = NULL;
main_RubberSheet_2_in_4 = NULL;
main_RubberSheet_2_out_1 = NULL;
main_Transmitter_29_out_1 = NULL;
main_Receiver_110_out_1 = NULL;
main_Color_36_in_3 = 0.75;
main_Color_36_in_4 = NULL;
main_Color_36_in_5 = NULL;
main_Color_36_out_1 = NULL;
main_Transmitter_27_out_1 = NULL;
main_Receiver_106_out_1 = NULL;
main_Receiver_117_out_1 = NULL;
main_Collect_4_in_2 = NULL;
main_Collect_4_out_1 = NULL;
main_Receiver_96_out_1 = NULL;
main_Scalar_6_in_1 = "Scalar_6";
main_Scalar_6_in_2 = NULL;
main_Scalar_6_in_3 = 0.1 ;
main_Scalar_6_in_4 = NULL;
main_Scalar_6_in_5 = NULL;
main_Scalar_6_in_6 = NULL;
main_Scalar_6_in_7 = NULL;
main_Scalar_6_in_8 = NULL;
main_Scalar_6_in_9 = NULL;
main_Scalar_6_in_10 = NULL;
main_Scalar_6_in_11 = NULL;
main_Scalar_6_out_1 = 0.1 ;
main_RubberSheet_1_in_3 = NULL;
main_RubberSheet_1_in_4 = NULL;
main_RubberSheet_1_out_1 = NULL;
main_Receiver_99_out_1 = NULL;
main_Color_24_in_3 = 0.75;
main_Color_24_in_4 = NULL;
main_Color_24_in_5 = NULL;
main_Color_24_out_1 = NULL;
main_Transmitter_13_out_1 = NULL;
main_Receiver_81_out_1 = NULL;
main_Receiver_116_out_1 = NULL;
main_Collect_5_in_2 = NULL;
main_Collect_5_out_1 = NULL;
main_Receiver_90_out_1 = NULL;
main_Integer_12_in_1 = "Integer_12";
main_Integer_12_in_2 = NULL;
main_Integer_12_in_3 = 100 ;
main_Integer_12_in_4 = NULL;
main_Integer_12_in_5 = NULL;
main_Integer_12_in_6 = NULL;
main_Integer_12_in_7 = NULL;
main_Integer_12_in_8 = NULL;
main_Integer_12_in_9 = NULL;
main_Integer_12_in_10 = NULL;
main_Integer_12_in_11 = NULL;
main_Integer_12_out_1 = 100 ;
main_Isosurface_3_in_2 = NULL;
main_Isosurface_3_in_4 = NULL;
main_Isosurface_3_in_5 = NULL;
main_Isosurface_3_in_6 = NULL;
main_Isosurface_3_out_1 = NULL;
main_Tube_1_in_2 = NULL;
main_Tube_1_in_3 = NULL;
main_Tube_1_in_4 = NULL;
main_Tube_1_out_1 = NULL;
main_Receiver_100_out_1 = NULL;
main_Color_34_in_3 = NULL;
main_Color_34_in_4 = NULL;
main_Color_34_in_5 = NULL;
main_Color_34_out_1 = NULL;
main_Receiver_107_out_1 = NULL;
main_Isosurface_4_in_2 = NULL;
main_Isosurface_4_in_4 = NULL;
main_Isosurface_4_in_5 = NULL;
main_Isosurface_4_in_6 = NULL;
main_Isosurface_4_out_1 = NULL;
main_Tube_2_in_2 = NULL;
main_Tube_2_in_3 = NULL;
main_Tube_2_in_4 = NULL;
main_Tube_2_out_1 = NULL;
main_Receiver_111_out_1 = NULL;
main_Color_37_in_3 = NULL;
main_Color_37_in_4 = NULL;
main_Color_37_in_5 = NULL;
main_Color_37_out_1 = NULL;
main_StringList_3_out_1 = { "colatitude", "longitude" };
main_Selector_3_in_1 = "Selector_3";
main_Selector_3_in_2 = "colatitude" ;
main_Selector_3_in_3 = 0 ;
main_Selector_3_in_5 = NULL;
main_Selector_3_in_6 = NULL;
main_Selector_3_in_7 = NULL;
main_Selector_3_out_1 = 0 ;
main_Select_18_in_3 = NULL;
main_Select_18_out_1 = NULL;
main_Compute_99_in_1 = "int(!strcmp($0,'colatitude')?0:1)";
main_Compute_99_out_1 = NULL;
main_Receiver_126_out_1 = NULL;
main_Integer_16_in_1 = "Integer_16";
main_Integer_16_in_2 = NULL;
main_Integer_16_in_3 = 70 ;
main_Integer_16_in_4 = NULL;
main_Integer_16_in_5 = NULL;
main_Integer_16_in_6 = NULL;
main_Integer_16_in_7 = NULL;
main_Integer_16_in_8 = NULL;
main_Integer_16_in_9 = NULL;
main_Integer_16_in_10 = NULL;
main_Integer_16_in_11 = NULL;
main_Integer_16_out_1 = 70 ;
main_Slab_3_in_4 = NULL;
main_Slab_3_out_1 = NULL;
main_Mark_27_in_2 = "positions";
main_Mark_27_out_1 = NULL;
main_Compute_100_in_1 = "$0.x";
main_Compute_100_out_1 = NULL;
main_Receiver_127_out_1 = NULL;
main_Slab_4_in_4 = NULL;
main_Slab_4_out_1 = NULL;
main_Mark_28_in_2 = "positions";
main_Mark_28_out_1 = NULL;
main_Compute_101_in_1 = "$0.x";
main_Compute_101_out_1 = NULL;
main_Compute_102_in_1 = "$0.y";
main_Compute_102_out_1 = NULL;
main_Compute_103_in_1 = "$0.y";
main_Compute_103_out_1 = NULL;
main_Compute_104_in_1 = "$0+1";
main_Compute_104_out_1 = NULL;
main_Compute_105_in_1 = "$0.x";
main_Compute_105_out_1 = NULL;
main_Compute_106_in_1 = "$0.z";
main_Compute_106_out_1 = NULL;
main_Transmitter_48_out_1 = NULL;
main_Receiver_140_out_1 = NULL;
main_Transmitter_49_out_1 = NULL;
main_Receiver_141_out_1 = NULL;
main_Compute_107_in_1 = "($0==0 && $1==1)?1:(($0==0 && $1==2)?2:(($0==1 && $1==1)?3:(($0==1 && $1==2)?4:0)))";
main_Compute_107_out_1 = NULL;
main_Statistics_3_out_4 = NULL;
main_Statistics_3_out_5 = NULL;
main_Transmitter_42_out_1 = NULL;
main_Receiver_130_out_1 = NULL;
main_Statistics_5_out_4 = NULL;
main_Statistics_5_out_5 = NULL;
main_Transmitter_38_out_1 = NULL;
main_Receiver_134_out_1 = NULL;
main_Compute_108_in_1 = "[$0,$1]";
main_Compute_108_out_1 = NULL;
main_Transmitter_43_out_1 = NULL;
main_Receiver_131_out_1 = NULL;
main_Transmitter_39_out_1 = NULL;
main_Receiver_135_out_1 = NULL;
main_Compute_109_in_1 = "[$0,$1]";
main_Compute_109_out_1 = NULL;
main_Statistics_6_out_4 = NULL;
main_Statistics_6_out_5 = NULL;
main_Transmitter_40_out_1 = NULL;
main_Receiver_136_out_1 = NULL;
main_Compute_110_in_1 = "[$0,$1]";
main_Compute_110_out_1 = NULL;
main_Transmitter_41_out_1 = NULL;
main_Receiver_137_out_1 = NULL;
main_Compute_111_in_1 = "[$0,$1]";
main_Compute_111_out_1 = NULL;
main_Statistics_4_out_4 = NULL;
main_Statistics_4_out_5 = NULL;
main_Transmitter_44_out_1 = NULL;
main_Receiver_132_out_1 = NULL;
main_Compute_112_in_1 = "[$0,$1]";
main_Compute_112_out_1 = NULL;
main_Transmitter_45_out_1 = NULL;
main_Receiver_133_out_1 = NULL;
main_Compute_113_in_1 = "[$0,$1]";
main_Compute_113_out_1 = NULL;
main_Compute_114_in_1 = "[$0,$1]";
main_Compute_114_out_1 = NULL;
main_Compute_115_in_1 = "[$0,$1]";
main_Compute_115_out_1 = NULL;
main_Switch_4_out_1 = NULL;
main_Replace_8_in_3 = "data";
main_Replace_8_in_4 = "positions";
main_Replace_8_out_1 = NULL;
main_Export_6_in_2 = "topoprof";
main_Export_6_in_3 = "dx text";
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 = { 0 100 10 0 100 1 };
main_Sequencer_1_out_1 = NULL;

@startframe = 0;
@nextframe  = @startframe;
@endframe   = 100;
@deltaframe = 10;
main_Format_1_in_1 = "/home/$USER/examples/example1.surf0.%d.general";
main_Image_3_in_1 = "Image_3";
main_Image_3_in_3 = "X24,,Gridded_3D_2ormorevar_notseries";
main_Image_3_in_4 = 1;
main_Image_3_in_5 = [0.0161198 0.954873 -0.00962252];
main_Image_3_in_6 = [-0.0928512 6.28227 0.30695];
main_Image_3_in_7 = 1.41346;
main_Image_3_in_8 = 945;
main_Image_3_in_9 = 0.77619;
main_Image_3_in_10 = [0.0676713 0.0605621 -0.995868];
main_Image_3_in_11 = NULL;
main_Image_3_in_12 = 0;
main_Image_3_in_13 = NULL;
main_Image_3_in_14 = 1;
main_Image_3_in_15 = "none";
main_Image_3_in_16 = "none";
main_Image_3_in_17 = 1;
main_Image_3_in_18 = 1;
main_Image_3_in_19 = 1;
main_Image_3_in_20 = NULL;
main_Image_3_in_21 = NULL;
main_Image_3_in_22 = "white";
main_Image_3_in_23 = NULL;
main_Image_3_in_25 = NULL;
main_Image_3_in_26 = "eps color gamma=1 dpi=72 orient=landscape";
main_Image_3_in_27 = NULL;
main_Image_3_in_28 = NULL;
main_Image_3_in_29 = 1;
main_Image_3_in_30 = {"x", "y", "z"};
main_Image_3_in_31 = NULL;
main_Image_3_in_32 = NULL;
main_Image_3_in_33 = NULL;
main_Image_3_in_34 = NULL;
main_Image_3_in_35 = NULL;
main_Image_3_in_36 = NULL;
main_Image_3_in_37 = {"clear", "black", "black", "black"};
main_Image_3_in_38 = {"background", "grid", "ticks", "labels"};
main_Image_3_in_39 = NULL;
main_Image_3_in_40 = NULL;
main_Image_3_in_41 = "none";
main_Image_3_in_42 = "Gridded_3D_2ormorevar_notseries";
main_Image_3_in_43 = NULL;
main_Image_3_in_44 = NULL;
main_Image_3_in_45 = NULL;
main_Image_3_in_46 = NULL;
main_Image_3_in_47 = NULL;
main_Image_3_in_48 = NULL;
main_Image_3_in_49 = NULL;
main_Switch_2_out_1 = NULL;
main_Image_4_in_1 = "Image_4";
main_Image_4_in_3 = "X24,,Gridded_3D_2ormorevar_notseries";
main_Image_4_in_4 = 1;
main_Image_4_in_5 = [-3.38256e-06 -3.38256e-06 0.101445];
main_Image_4_in_6 = [0.109576 -3.0761 0.18125];
main_Image_4_in_7 = 1.65008;
main_Image_4_in_8 = 674;
main_Image_4_in_9 = 0.6773;
main_Image_4_in_10 = [-0.111015 0.0218223 0.993579];
main_Image_4_in_11 = NULL;
main_Image_4_in_12 = 0;
main_Image_4_in_13 = NULL;
main_Image_4_in_14 = 1;
main_Image_4_in_15 = "none";
main_Image_4_in_16 = "none";
main_Image_4_in_17 = 1;
main_Image_4_in_18 = 1;
main_Image_4_in_19 = 1;
main_Image_4_in_20 = NULL;
main_Image_4_in_21 = NULL;
main_Image_4_in_22 = "white";
main_Image_4_in_23 = NULL;
main_Image_4_in_25 = NULL;
main_Image_4_in_26 = "eps color gamma=1 dpi=72 orient=landscape";
main_Image_4_in_27 = NULL;
main_Image_4_in_28 = NULL;
main_Image_4_in_29 = 1;
main_Image_4_in_30 = {"x", "y", "z"};
main_Image_4_in_31 = NULL;
main_Image_4_in_32 = NULL;
main_Image_4_in_33 = NULL;
main_Image_4_in_34 = NULL;
main_Image_4_in_35 = NULL;
main_Image_4_in_36 = NULL;
main_Image_4_in_37 = {"clear", "black", "black", "black"};
main_Image_4_in_38 = {"background", "grid", "ticks", "labels"};
main_Image_4_in_39 = NULL;
main_Image_4_in_40 = NULL;
main_Image_4_in_41 = "rotate";
main_Image_4_in_42 = "Gridded_3D_2ormorevar_notseries";
main_Image_4_in_43 = NULL;
main_Image_4_in_44 = NULL;
main_Image_4_in_45 = NULL;
main_Image_4_in_46 = NULL;
main_Image_4_in_47 = NULL;
main_Image_4_in_48 = NULL;
main_Image_4_in_49 = NULL;
main_Switch_5_out_1 = NULL;
main_Replace_9_in_3 = "data";
main_Replace_9_in_4 = "positions";
main_Replace_9_out_1 = NULL;
main_Transmitter_36_out_1 = NULL;
main_Receiver_129_out_1 = NULL;
main_List_4_out_1 = NULL;
main_List_14_out_1 = NULL;
main_List_5_out_1 = NULL;
main_List_16_out_1 = NULL;
main_List_17_out_1 = NULL;
main_Switch_6_out_1 = NULL;
main_Transmitter_46_out_1 = NULL;
main_Receiver_138_out_1 = NULL;
main_Plot_6_in_3 = NULL;
main_Plot_6_in_5 = NULL;
main_Plot_6_in_6 = 2;
main_Plot_6_in_7 = NULL;
main_Plot_6_in_8 = NULL;
main_Plot_6_in_9 = 0.25;
main_Plot_6_in_10 = NULL;
main_Plot_6_in_11 = NULL;
main_Plot_6_in_12 = NULL;
main_Plot_6_in_13 = NULL;
main_Plot_6_in_14 = NULL;
main_Plot_6_in_15 = NULL;
main_Plot_6_in_16 = NULL;
main_Plot_6_in_17 = NULL;
main_Plot_6_in_18 = NULL;
main_Plot_6_in_19 = NULL;
main_Plot_6_in_20 = NULL;
main_Plot_6_in_21 = NULL;
main_Plot_6_in_22 = NULL;
main_Plot_6_in_23 = NULL;
main_Plot_6_in_24 = NULL;
main_Plot_6_in_25 = NULL;
main_Plot_6_in_26 = NULL;
main_Plot_6_out_1 = NULL;
main_Transmitter_34_out_1 = NULL;
main_Receiver_121_out_1 = NULL;
main_Plot_5_in_3 = NULL;
main_Plot_5_in_5 = NULL;
main_Plot_5_in_6 = 2;
main_Plot_5_in_7 = NULL;
main_Plot_5_in_8 = NULL;
main_Plot_5_in_9 = 0.25;
main_Plot_5_in_10 = NULL;
main_Plot_5_in_11 = NULL;
main_Plot_5_in_12 = NULL;
main_Plot_5_in_13 = NULL;
main_Plot_5_in_14 = NULL;
main_Plot_5_in_15 = NULL;
main_Plot_5_in_16 = NULL;
main_Plot_5_in_17 = NULL;
main_Plot_5_in_18 = NULL;
main_Plot_5_in_19 = NULL;
main_Plot_5_in_20 = NULL;
main_Plot_5_in_21 = NULL;
main_Plot_5_in_22 = NULL;
main_Plot_5_in_23 = NULL;
main_Plot_5_in_24 = NULL;
main_Plot_5_in_25 = NULL;
main_Plot_5_in_26 = NULL;
main_Plot_5_out_1 = NULL;
main_Transmitter_33_out_1 = NULL;
main_Receiver_122_out_1 = NULL;
main_Switch_1_out_1 = 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,
        AAxTickLocs,
        AAyTickLocs,
        AAzTickLocs,
        AAxTickLabels,
        AAyTickLabels,
        AAzTickLabels,
        webOptions) -> (
        object,
        camera,
        where)
{
    ImageMessage(
        id,
        backgroundColor,
        throttle,
        RECenable,
        RECfile,
        RECformat,
        RECresolution,
        RECaspect,
        AAenable,
        AAlabels,
        AAticks,
        AAcorners,
        AAframe,
        AAadjust,
        AAcursor,
        AAgrid,
        AAcolors,
        AAannotation,
        AAlabelscale,
        AAfont,
        AAxTickLocs,
        AAyTickLocs,
        AAzTickLocs,
        AAxTickLabels,
        AAyTickLabels,
        AAzTickLabels,
        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,
            AAxTickLocs,
            AAyTickLocs,
            AAzTickLocs,
            AAxTickLabels,
            AAyTickLabels,
            AAzTickLabels) [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 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4",
            RECenable,
            switchRenderMode,
            RECresolution,
            ImageResolution,
            RECaspect,
	     ImageAspect) [instance: 4, cache: 1];
    NoRECobject, RECNoRerenderObject, RECNoRerHW, 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];
    rec_where = Display(
        RECNoRerHW,
        camera,
        where,
        throttle) [instance: 1, cache: 0];
    rec_image = ReadImageWindow(
        rec_where) [instance: 1, cache: 1];
    WriteImage(
        rec_image,
        RECfile,
        RECformat) [instance: 1, cache: 1];
    RECupdateCamera =
	UpdateCamera(
	    camera,
	    resolution=RECresolution,
	    aspect=RECaspect) [instance: 2, cache: 1];
    Display(
        RECRerenderObject,
        camera,
        where,
        throttle) [instance: 1, cache: 1];
    RECRerenderObject =
	ScaleScreen(
	    RECRerenderObject,
	    NULL,
	    RECresolution,
	    camera) [instance: 1, cache: 1];
    image =
        Render(
            RECRerenderObject,
            RECupdateCamera) [instance: 2, cache: 1];
    WriteImage(
        image,
        RECfile,
        RECformat) [instance: 2, cache: 1];
}
main_Image_7_in_1 = "Image_7";
main_Image_7_in_3 = "X24,,Gridded_3D_2ormorevar_notseries";
main_Image_7_in_4 = 1;
main_Image_7_in_5 = [-0.0633798 0.0386962 0];
main_Image_7_in_6 = [-0.0633798 0.0386962 2.70189];
main_Image_7_in_7 = 1.44794;
main_Image_7_in_8 = 674;
main_Image_7_in_9 = 0.6773;
main_Image_7_in_10 = [0 1 0];
main_Image_7_in_11 = NULL;
main_Image_7_in_12 = 0;
main_Image_7_in_13 = NULL;
main_Image_7_in_14 = 1;
main_Image_7_in_15 = "none";
main_Image_7_in_16 = "none";
main_Image_7_in_17 = NULL;
main_Image_7_in_18 = NULL;
main_Image_7_in_19 = 0;
main_Image_7_in_20 = NULL;
main_Image_7_in_21 = NULL;
main_Image_7_in_22 = NULL;
main_Image_7_in_23 = NULL;
main_Image_7_in_25 = NULL;
main_Image_7_in_26 = "eps color gamma=1 dpi=68 orient=landscape";
main_Image_7_in_27 = NULL;
main_Image_7_in_28 = NULL;
main_Image_7_in_29 = 1;
main_Image_7_in_30 = {"x", "y", "z"};
main_Image_7_in_31 = NULL;
main_Image_7_in_32 = NULL;
main_Image_7_in_33 = NULL;
main_Image_7_in_34 = NULL;
main_Image_7_in_35 = NULL;
main_Image_7_in_36 = NULL;
main_Image_7_in_37 = {"clear", "black", "black", "black"};
main_Image_7_in_38 = {"background", "grid", "ticks", "labels"};
main_Image_7_in_39 = NULL;
main_Image_7_in_40 = NULL;
main_Image_7_in_41 = "none";
main_Image_7_in_42 = "Gridded_3D_2ormorevar_notseries";
main_Image_7_in_43 = NULL;
main_Image_7_in_44 = NULL;
main_Image_7_in_45 = NULL;
main_Image_7_in_46 = NULL;
main_Image_7_in_47 = NULL;
main_Image_7_in_48 = NULL;
main_Image_7_in_49 = NULL;
main_Transmitter_28_out_1 = NULL;
main_Transmitter_19_out_1 = NULL;
main_ScalarList_1_in_1 = "ScalarList_1";
main_ScalarList_1_in_2 = NULL;
main_ScalarList_1_in_3 = { 0.75 };
main_ScalarList_1_in_4 = NULL;
main_ScalarList_1_in_5 = NULL;
main_ScalarList_1_in_6 = NULL;
main_ScalarList_1_in_7 = NULL;
main_ScalarList_1_in_8 = NULL;
main_ScalarList_1_in_9 = NULL;
main_ScalarList_1_in_10 = NULL;
main_ScalarList_1_in_11 = NULL;
Executive("product version 4 3 2");
$sync

sequence main();
play;
back to top