## trace generated using paraview version 5.7.0
#
# To ensure correct image size when batch processing, please search
# for and uncomment the line `# renderView*.ViewSize = [*,*]`

#### import the simple module from the paraview
from paraview.simple import *
#### disable automatic camera reset on 'Show'
paraview.simple._DisableFirstRenderCameraReset()



case = 1
case = 2
#

# curvature = 1



# create a new 'XML Structured Grid Reader'
if case == 1:
    phaseDiagram2DGamma_infinity55_4000spvts = XMLStructuredGridReader(FileName=['/home/klaus/Desktop/DUNE/dune-microstructure/outputs/PhaseDiagram2DGamma0-5+5_4000sp.vts'])
    phaseDiagram2DGamma_infinity55_4000spvts = XMLStructuredGridReader(FileName=['/home/klaus/Desktop/DUNE/dune-microstructure/outputs/PhaseDiagram2DGamma0.vts'])
if case == 2:
    phaseDiagram2DGamma_infinity55_4000spvts = XMLStructuredGridReader(FileName=['/home/klaus/Desktop/DUNE/dune-microstructure/outputs/PhaseDiagram2DGamma_infinity-5+5_4000sp.vts'])
    phaseDiagram2DGamma_infinity55_4000spvts = XMLStructuredGridReader(FileName=['/home/klaus/Desktop/DUNE/dune-microstructure/outputs/PhaseDiagram2DGamma_infinity.vts'])


phaseDiagram2DGamma_infinity55_4000spvts.CellArrayStatus = []
phaseDiagram2DGamma_infinity55_4000spvts.PointArrayStatus = ['Type', 'angles', 'curvature']

# get active view
renderView1 = GetActiveViewOrCreate('RenderView')
# uncomment following to set a specific view size
# renderView1.ViewSize = [1380, 547]

# show data in view
phaseDiagram2DGamma_infinity55_4000spvtsDisplay = Show(phaseDiagram2DGamma_infinity55_4000spvts, renderView1)

# get color transfer function/color map for 'Type'
typeLUT = GetColorTransferFunction('Type')
typeLUT.AutomaticRescaleRangeMode = "Grow and update on 'Apply'"
typeLUT.InterpretValuesAsCategories = 0
typeLUT.AnnotationsInitialized = 0
typeLUT.ShowCategoricalColorsinDataRangeOnly = 0
typeLUT.RescaleOnVisibilityChange = 0
typeLUT.EnableOpacityMapping = 0
typeLUT.RGBPoints = [1.0, 0.001462, 0.000466, 0.013866, 1.007844, 0.002258, 0.001295, 0.018331, 1.015686, 0.003279, 0.002305, 0.023708, 1.02353, 0.004512, 0.00349, 0.029965, 1.0313720000000002, 0.00595, 0.004843, 0.03713, 1.0392160000000001, 0.007588, 0.006356, 0.044973, 1.0470579999999998, 0.009426, 0.008022, 0.052844, 1.0549019999999998, 0.011465, 0.009828, 0.06075, 1.0627460000000002, 0.013708, 0.011771, 0.068667, 1.0705879999999999, 0.016156, 0.01384, 0.076603, 1.0784319999999998, 0.018815, 0.016026, 0.084584, 1.086274, 0.021692, 0.01832, 0.09261, 1.094118, 0.024792, 0.020715, 0.100676, 1.10196, 0.028123, 0.023201, 0.108787, 1.109804, 0.031696, 0.025765, 0.116965, 1.117648, 0.03552, 0.028397, 0.125209, 1.12549, 0.039608, 0.03109, 0.133515, 1.133334, 0.04383, 0.03383, 0.141886, 1.1411760000000002, 0.048062, 0.036607, 0.150327, 1.1490200000000002, 0.05232, 0.039407, 0.158841, 1.1568619999999998, 0.056615, 0.04216, 0.167446, 1.1647059999999998, 0.060949, 0.044794, 0.176129, 1.1725500000000002, 0.06533, 0.047318, 0.184892, 1.1803919999999999, 0.069764, 0.049726, 0.193735, 1.1882359999999998, 0.074257, 0.052017, 0.20266, 1.196078, 0.078815, 0.054184, 0.211667, 1.203922, 0.083446, 0.056225, 0.220755, 1.211764, 0.088155, 0.058133, 0.229922, 1.219608, 0.092949, 0.059904, 0.239164, 1.2274500000000002, 0.097833, 0.061531, 0.248477, 1.2352940000000001, 0.102815, 0.06301, 0.257854, 1.243138, 0.107899, 0.064335, 0.267289, 1.2509800000000002, 0.113094, 0.065492, 0.276784, 1.2588240000000002, 0.118405, 0.066479, 0.286321, 1.2666659999999998, 0.123833, 0.067295, 0.295879, 1.2745099999999998, 0.12938, 0.067935, 0.305443, 1.282352, 0.135053, 0.068391, 0.315, 1.290196, 0.140858, 0.068654, 0.324538, 1.2980399999999999, 0.146785, 0.068738, 0.334011, 1.305882, 0.152839, 0.068637, 0.343404, 1.313726, 0.159018, 0.068354, 0.352688, 1.321568, 0.165308, 0.067911, 0.361816, 1.329412, 0.171713, 0.067305, 0.370771, 1.3372540000000002, 0.178212, 0.066576, 0.379497, 1.3450980000000001, 0.184801, 0.065732, 0.387973, 1.352942, 0.19146, 0.064818, 0.396152, 1.3607839999999998, 0.198177, 0.063862, 0.404009, 1.3686280000000002, 0.204935, 0.062907, 0.411514, 1.3764699999999999, 0.211718, 0.061992, 0.418647, 1.3843139999999998, 0.218512, 0.061158, 0.425392, 1.392156, 0.225302, 0.060445, 0.431742, 1.4, 0.232077, 0.059889, 0.437695, 1.4078439999999999, 0.238826, 0.059517, 0.443256, 1.415686, 0.245543, 0.059352, 0.448436, 1.42353, 0.25222, 0.059415, 0.453248, 1.431372, 0.258857, 0.059706, 0.45771, 1.439216, 0.265447, 0.060237, 0.46184, 1.4470580000000002, 0.271994, 0.060994, 0.46566, 1.4549020000000001, 0.278493, 0.061978, 0.46919, 1.462746, 0.284951, 0.063168, 0.472451, 1.4705880000000002, 0.291366, 0.064553, 0.475462, 1.4784320000000002, 0.29774, 0.066117, 0.478243, 1.4862739999999999, 0.304081, 0.067835, 0.480812, 1.4941179999999998, 0.310382, 0.069702, 0.483186, 1.50196, 0.316654, 0.07169, 0.48538, 1.509804, 0.322899, 0.073782, 0.487408, 1.5176479999999999, 0.329114, 0.075972, 0.489287, 1.52549, 0.335308, 0.078236, 0.491024, 1.533334, 0.341482, 0.080564, 0.492631, 1.541176, 0.347636, 0.082946, 0.494121, 1.54902, 0.353773, 0.085373, 0.495501, 1.5568619999999997, 0.359898, 0.087831, 0.496778, 1.5647060000000002, 0.366012, 0.090314, 0.49796, 1.5725500000000001, 0.372116, 0.092816, 0.499053, 1.5803919999999998, 0.378211, 0.095332, 0.500067, 1.5882360000000002, 0.384299, 0.097855, 0.501002, 1.5960779999999999, 0.390384, 0.100379, 0.501864, 1.6039219999999998, 0.396467, 0.102902, 0.502658, 1.611764, 0.402548, 0.10542, 0.503386, 1.619608, 0.408629, 0.10793, 0.504052, 1.62745, 0.414709, 0.110431, 0.504662, 1.635294, 0.420791, 0.11292, 0.505215, 1.643138, 0.426877, 0.115395, 0.505714, 1.6509800000000001, 0.432967, 0.117855, 0.50616, 1.658824, 0.439062, 0.120298, 0.506555, 1.6666660000000002, 0.445163, 0.122724, 0.506901, 1.6745100000000002, 0.451271, 0.125132, 0.507198, 1.6823519999999998, 0.457386, 0.127522, 0.507448, 1.6901960000000003, 0.463508, 0.129893, 0.507652, 1.6980399999999998, 0.46964, 0.132245, 0.507809, 1.705882, 0.47578, 0.134577, 0.507921, 1.7137259999999999, 0.481929, 0.136891, 0.507989, 1.721568, 0.488088, 0.139186, 0.508011, 1.729412, 0.494258, 0.141462, 0.507988, 1.737254, 0.500438, 0.143719, 0.50792, 1.745098, 0.506629, 0.145958, 0.507806, 1.752942, 0.512831, 0.148179, 0.507648, 1.7607840000000001, 0.519045, 0.150383, 0.507443, 1.768628, 0.52527, 0.152569, 0.507192, 1.7764699999999998, 0.531507, 0.154739, 0.506895, 1.7843140000000002, 0.537755, 0.156894, 0.506551, 1.7921559999999999, 0.544015, 0.159033, 0.506159, 1.7999999999999998, 0.550287, 0.161158, 0.505719, 1.8078440000000002, 0.556571, 0.163269, 0.50523, 1.815686, 0.562866, 0.165368, 0.504692, 1.8235299999999999, 0.569172, 0.167454, 0.504105, 1.831372, 0.57549, 0.16953, 0.503466, 1.839216, 0.581819, 0.171596, 0.502777, 1.847058, 0.588158, 0.173652, 0.502035, 1.854902, 0.594508, 0.175701, 0.501241, 1.862746, 0.600868, 0.177743, 0.500394, 1.8705880000000001, 0.607238, 0.179779, 0.499492, 1.878432, 0.613617, 0.181811, 0.498536, 1.8862740000000002, 0.620005, 0.18384, 0.497524, 1.8941179999999997, 0.626401, 0.185867, 0.496456, 1.9019599999999999, 0.632805, 0.187893, 0.495332, 1.9098039999999998, 0.639216, 0.189921, 0.49415, 1.9176479999999998, 0.645633, 0.191952, 0.49291, 1.92549, 0.652056, 0.193986, 0.491611, 1.9333339999999999, 0.658483, 0.196027, 0.490253, 1.941176, 0.664915, 0.198075, 0.488836, 1.94902, 0.671349, 0.200133, 0.487358, 1.956862, 0.677786, 0.202203, 0.485819, 1.964706, 0.684224, 0.204286, 0.484219, 1.97255, 0.690661, 0.206384, 0.482558, 1.9803920000000002, 0.697098, 0.208501, 0.480835, 1.9882360000000001, 0.703532, 0.210638, 0.479049, 1.9960779999999998, 0.709962, 0.212797, 0.477201, 2.003922, 0.716387, 0.214982, 0.47529, 2.0117640000000003, 0.722805, 0.217194, 0.473316, 2.019608, 0.729216, 0.219437, 0.471279, 2.02745, 0.735616, 0.221713, 0.46918, 2.035294, 0.742004, 0.224025, 0.467018, 2.043138, 0.748378, 0.226377, 0.464794, 2.05098, 0.754737, 0.228772, 0.462509, 2.058824, 0.761077, 0.231214, 0.460162, 2.0666659999999997, 0.767398, 0.233705, 0.457755, 2.07451, 0.773695, 0.236249, 0.455289, 2.082352, 0.779968, 0.238851, 0.452765, 2.0901959999999997, 0.786212, 0.241514, 0.450184, 2.09804, 0.792427, 0.244242, 0.447543, 2.1058820000000003, 0.798608, 0.24704, 0.444848, 2.1137259999999998, 0.804752, 0.249911, 0.442102, 2.121568, 0.810855, 0.252861, 0.439305, 2.1294120000000003, 0.816914, 0.255895, 0.436461, 2.137254, 0.822926, 0.259016, 0.433573, 2.145098, 0.828886, 0.262229, 0.430644, 2.152942, 0.834791, 0.26554, 0.427671, 2.160784, 0.840636, 0.268953, 0.424666, 2.168628, 0.846416, 0.272473, 0.421631, 2.17647, 0.852126, 0.276106, 0.418573, 2.184314, 0.857763, 0.279857, 0.415496, 2.1921559999999998, 0.86332, 0.283729, 0.412403, 2.2, 0.868793, 0.287728, 0.409303, 2.2078439999999997, 0.874176, 0.291859, 0.406205, 2.215686, 0.879464, 0.296125, 0.403118, 2.2235300000000002, 0.884651, 0.30053, 0.400047, 2.231372, 0.889731, 0.305079, 0.397002, 2.239216, 0.8947, 0.309773, 0.393995, 2.247058, 0.899552, 0.314616, 0.391037, 2.254902, 0.904281, 0.31961, 0.388137, 2.262746, 0.908884, 0.324755, 0.385308, 2.270588, 0.913354, 0.330052, 0.382563, 2.278432, 0.917689, 0.3355, 0.379915, 2.2862739999999997, 0.921884, 0.341098, 0.377376, 2.294118, 0.925937, 0.346844, 0.374959, 2.3019600000000002, 0.929845, 0.352734, 0.372677, 2.3098039999999997, 0.933606, 0.358764, 0.370541, 2.317648, 0.937221, 0.364929, 0.368567, 2.3254900000000003, 0.940687, 0.371224, 0.366762, 2.333334, 0.944006, 0.377643, 0.365136, 2.341176, 0.94718, 0.384178, 0.363701, 2.3490200000000003, 0.95021, 0.39082, 0.362468, 2.356862, 0.953099, 0.397563, 0.361438, 2.364706, 0.955849, 0.4044, 0.360619, 2.37255, 0.958464, 0.411324, 0.360014, 2.380392, 0.960949, 0.418323, 0.35963, 2.388236, 0.96331, 0.42539, 0.359469, 2.396078, 0.965549, 0.432519, 0.359529, 2.4039219999999997, 0.967671, 0.439703, 0.35981, 2.411764, 0.96968, 0.446936, 0.360311, 2.419608, 0.971582, 0.45421, 0.36103, 2.4274500000000003, 0.973381, 0.46152, 0.361965, 2.435294, 0.975082, 0.468861, 0.363111, 2.4431380000000003, 0.97669, 0.476226, 0.364466, 2.45098, 0.97821, 0.483612, 0.366025, 2.458824, 0.979645, 0.491014, 0.367783, 2.466666, 0.981, 0.498428, 0.369734, 2.47451, 0.982279, 0.505851, 0.371874, 2.4823519999999997, 0.983485, 0.51328, 0.374198, 2.490196, 0.984622, 0.520713, 0.376698, 2.49804, 0.985693, 0.528148, 0.379371, 2.5058819999999997, 0.9867, 0.535582, 0.38221, 2.513726, 0.987646, 0.543015, 0.38521, 2.5215680000000003, 0.988533, 0.550446, 0.388365, 2.5294119999999998, 0.989363, 0.557873, 0.391671, 2.537254, 0.990138, 0.565296, 0.395122, 2.5450980000000003, 0.990871, 0.572706, 0.398714, 2.552942, 0.991558, 0.580107, 0.402441, 2.560784, 0.992196, 0.587502, 0.406299, 2.568628, 0.992785, 0.594891, 0.410283, 2.57647, 0.993326, 0.602275, 0.41439, 2.584314, 0.993834, 0.609644, 0.418613, 2.592156, 0.994309, 0.616999, 0.42295, 2.6, 0.994738, 0.62435, 0.427397, 2.607844, 0.995122, 0.631696, 0.431951, 2.615686, 0.99548, 0.639027, 0.436607, 2.6235299999999997, 0.99581, 0.646344, 0.441361, 2.631372, 0.996096, 0.653659, 0.446213, 2.6392160000000002, 0.996341, 0.660969, 0.45116, 2.647058, 0.99658, 0.668256, 0.456192, 2.654902, 0.996775, 0.675541, 0.461314, 2.6627460000000003, 0.996925, 0.682828, 0.466526, 2.670588, 0.997077, 0.690088, 0.471811, 2.678432, 0.997186, 0.697349, 0.477182, 2.686274, 0.997254, 0.704611, 0.482635, 2.694118, 0.997325, 0.711848, 0.488154, 2.7019599999999997, 0.997351, 0.719089, 0.493755, 2.709804, 0.997351, 0.726324, 0.499428, 2.717648, 0.997341, 0.733545, 0.505167, 2.7254899999999997, 0.997285, 0.740772, 0.510983, 2.733334, 0.997228, 0.747981, 0.516859, 2.7411760000000003, 0.997138, 0.75519, 0.522806, 2.74902, 0.997019, 0.762398, 0.528821, 2.756862, 0.996898, 0.769591, 0.534892, 2.7647060000000003, 0.996727, 0.776795, 0.541039, 2.77255, 0.996571, 0.783977, 0.547233, 2.780392, 0.996369, 0.791167, 0.553499, 2.788236, 0.996162, 0.798348, 0.55982, 2.796078, 0.995932, 0.805527, 0.566202, 2.803922, 0.99568, 0.812706, 0.572645, 2.811764, 0.995424, 0.819875, 0.57914, 2.8196079999999997, 0.995131, 0.827052, 0.585701, 2.82745, 0.994851, 0.834213, 0.592307, 2.835294, 0.994524, 0.841387, 0.598983, 2.8431379999999997, 0.994222, 0.84854, 0.605696, 2.85098, 0.993866, 0.855711, 0.612482, 2.8588240000000003, 0.993545, 0.862859, 0.619299, 2.866666, 0.99317, 0.870024, 0.626189, 2.87451, 0.992831, 0.877168, 0.633109, 2.882352, 0.99244, 0.88433, 0.640099, 2.890196, 0.992089, 0.89147, 0.647116, 2.89804, 0.991688, 0.898627, 0.654202, 2.905882, 0.991332, 0.905763, 0.661309, 2.913726, 0.99093, 0.912915, 0.668481, 2.9215679999999997, 0.99057, 0.920049, 0.675675, 2.929412, 0.990175, 0.927196, 0.682926, 2.9372540000000003, 0.989815, 0.934329, 0.690198, 2.9450979999999998, 0.989434, 0.94147, 0.697519, 2.952942, 0.989077, 0.948604, 0.704863, 2.9607840000000003, 0.988717, 0.955742, 0.712242, 2.968628, 0.988367, 0.962878, 0.719649, 2.97647, 0.988033, 0.970012, 0.727077, 2.984314, 0.987691, 0.977154, 0.734536, 2.992156, 0.987387, 0.984288, 0.742002, 3.0, 0.987053, 0.991438, 0.749504]
typeLUT.UseLogScale = 0
typeLUT.ColorSpace = 'RGB'
typeLUT.UseBelowRangeColor = 0
typeLUT.BelowRangeColor = [0.0, 0.0, 0.0]
typeLUT.UseAboveRangeColor = 0
typeLUT.AboveRangeColor = [0.5, 0.5, 0.5]
typeLUT.NanColor = [0.0, 1.0, 0.0]
typeLUT.NanOpacity = 1.0
typeLUT.Discretize = 1
typeLUT.NumberOfTableValues = 256
typeLUT.ScalarRangeInitialized = 1.0
typeLUT.HSVWrap = 0
typeLUT.VectorComponent = 0
typeLUT.VectorMode = 'Magnitude'
typeLUT.AllowDuplicateScalars = 1
typeLUT.Annotations = []
typeLUT.ActiveAnnotatedValues = []
typeLUT.IndexedColors = []
typeLUT.IndexedOpacities = []

# get opacity transfer function/opacity map for 'Type'
typePWF = GetOpacityTransferFunction('Type')
typePWF.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.4276729533762702, 0.625, 0.5, 0.0, 1.7232704162597656, 0.6691176295280457, 0.5, 0.0, 2.3332666599993335, 0.8676470518112183, 0.5, 0.0, 2.471698045730591, 0.6911764740943909, 0.5, 0.0, 3.0, 0.8014705777168274, 0.5, 0.0]
typePWF.AllowDuplicateScalars = 1
typePWF.UseLogScale = 0
typePWF.ScalarRangeInitialized = 1

# trace defaults for the display properties.
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Representation = 'Surface'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.AmbientColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ColorArrayName = ['POINTS', 'Type']
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DiffuseColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.LookupTable = typeLUT
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.MapScalars = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.MultiComponentsMapping = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.InterpolateScalarsBeforeMapping = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Opacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PointSize = 2.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.LineWidth = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.RenderLinesAsTubes = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.RenderPointsAsSpheres = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Interpolation = 'Gouraud'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Specular = 0.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SpecularColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SpecularPower = 100.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Luminosity = 0.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Ambient = 0.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Diffuse = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.EdgeColor = [0.0, 0.0, 0.5]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.BackfaceRepresentation = 'Follow Frontface'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.BackfaceAmbientColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.BackfaceDiffuseColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.BackfaceOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Position = [0.0, 0.0, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Scale = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Orientation = [0.0, 0.0, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Origin = [0.0, 0.0, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Pickable = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Texture = None
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Triangulate = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.UseShaderReplacements = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ShaderReplacements = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.NonlinearSubdivisionLevel = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.UseDataPartitions = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OSPRayUseScaleArray = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OSPRayScaleArray = 'Type'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OSPRayScaleFunction = 'PiecewiseFunction'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OSPRayMaterial = 'None'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Orient = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OrientationMode = 'Direction'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectOrientationVectors = 'None'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Scaling = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ScaleMode = 'No Data Scaling Off'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ScaleFactor = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectScaleArray = 'Type'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.GlyphType = 'Arrow'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.UseGlyphTable = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.GlyphTableIndexArray = 'Type'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.UseCompositeGlyphTable = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.UseGlyphCullingAndLOD = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.LODValues = []
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ColorByLODIndex = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.GaussianRadius = 0.05
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ShaderPreset = 'Sphere'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.CustomTriangleScale = 3
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.CustomShader = """ // This custom shader code define a gaussian blur
 // Please take a look into vtkSMPointGaussianRepresentation.cxx
 // for other custom shader examples
 //VTK::Color::Impl
   float dist2 = dot(offsetVCVSOutput.xy,offsetVCVSOutput.xy);
   float gaussian = exp(-0.5*dist2);
   opacity = opacity*gaussian;
"""
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.Emissive = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ScaleByArray = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SetScaleArray = ['POINTS', 'Type']
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ScaleArrayComponent = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.UseScaleFunction = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ScaleTransferFunction = 'PiecewiseFunction'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OpacityByArray = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OpacityArray = ['POINTS', 'Type']
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OpacityArrayComponent = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OpacityTransferFunction = 'PiecewiseFunction'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid = 'GridAxesRepresentation'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionCellLabelBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionCellLabelColor = [0.0, 1.0, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionCellLabelFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionCellLabelFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionCellLabelFontSize = 18
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionCellLabelItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionCellLabelJustification = 'Left'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionCellLabelOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionCellLabelShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionPointLabelBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionPointLabelColor = [1.0, 1.0, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionPointLabelFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionPointLabelFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionPointLabelFontSize = 18
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionPointLabelItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionPointLabelJustification = 'Left'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionPointLabelOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectionPointLabelShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes = 'PolarAxesRepresentation'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ScalarOpacityFunction = typePWF
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ScalarOpacityUnitDistance = 0.03988178566826777
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SelectMapper = 'Projected tetra'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SamplingDimensions = [128, 128, 128]

# init the 'PiecewiseFunction' selected for 'OSPRayScaleFunction'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OSPRayScaleFunction.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.213836476688135, 0.625, 0.5, 0.0, 1.3616352081298828, 0.6691176295280457, 0.5, 0.0, 1.6666333299996667, 0.8676470518112183, 0.5, 0.0, 1.7358490228652954, 0.6911764740943909, 0.5, 0.0, 2.0, 0.8014705777168274, 0.5, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OSPRayScaleFunction.UseLogScale = 0

# init the 'Arrow' selected for 'GlyphType'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.GlyphType.TipResolution = 6
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.GlyphType.TipRadius = 0.1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.GlyphType.TipLength = 0.35
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.GlyphType.ShaftResolution = 6
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.GlyphType.ShaftRadius = 0.03
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.GlyphType.Invert = 0

# init the 'PiecewiseFunction' selected for 'ScaleTransferFunction'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ScaleTransferFunction.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.4276729533762702, 0.625, 0.5, 0.0, 1.7232704162597656, 0.6691176295280457, 0.5, 0.0, 2.3332666599993335, 0.8676470518112183, 0.5, 0.0, 2.471698045730591, 0.6911764740943909, 0.5, 0.0, 3.0, 0.8014705777168274, 0.5, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.ScaleTransferFunction.UseLogScale = 0

# init the 'PiecewiseFunction' selected for 'OpacityTransferFunction'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OpacityTransferFunction.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.4276729533762702, 0.625, 0.5, 0.0, 1.7232704162597656, 0.6691176295280457, 0.5, 0.0, 2.3332666599993335, 0.8676470518112183, 0.5, 0.0, 2.471698045730591, 0.6911764740943909, 0.5, 0.0, 3.0, 0.8014705777168274, 0.5, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.OpacityTransferFunction.UseLogScale = 0

# init the 'GridAxesRepresentation' selected for 'DataAxesGrid'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XTitle = 'X Axis'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YTitle = 'Y Axis'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZTitle = 'Z Axis'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XTitleColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XTitleFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XTitleFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XTitleBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XTitleItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XTitleFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XTitleShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XTitleOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YTitleColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YTitleFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YTitleFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YTitleBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YTitleItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YTitleFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YTitleShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YTitleOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZTitleColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZTitleFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZTitleFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZTitleBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZTitleItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZTitleFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZTitleShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZTitleOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.FacesToRender = 63
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.CullBackface = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.CullFrontface = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.GridColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ShowGrid = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ShowEdges = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ShowTicks = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.LabelUniqueEdgesOnly = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.AxesToLabel = 63
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XLabelColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XLabelFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XLabelFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XLabelBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XLabelItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XLabelFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XLabelShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XLabelOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YLabelColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YLabelFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YLabelFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YLabelBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YLabelItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YLabelFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YLabelShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YLabelOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZLabelColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZLabelFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZLabelFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZLabelBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZLabelItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZLabelFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZLabelShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZLabelOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XAxisNotation = 'Mixed'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XAxisPrecision = 2
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XAxisUseCustomLabels = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.XAxisLabels = []
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YAxisNotation = 'Mixed'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YAxisPrecision = 2
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YAxisUseCustomLabels = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.YAxisLabels = []
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZAxisNotation = 'Mixed'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZAxisPrecision = 2
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZAxisUseCustomLabels = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.ZAxisLabels = []
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.UseCustomBounds = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.DataAxesGrid.CustomBounds = [0.0, 1.0, 0.0, 1.0, 0.0, 1.0]

# init the 'PolarAxesRepresentation' selected for 'PolarAxes'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.Visibility = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.Translation = [0.0, 0.0, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.Scale = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.Orientation = [0.0, 0.0, 0.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.EnableCustomBounds = [0, 0, 0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.CustomBounds = [0.0, 1.0, 0.0, 1.0, 0.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.EnableCustomRange = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.CustomRange = [0.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.RadialAxesVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.DrawRadialGridlines = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarArcsVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.DrawPolarArcsGridlines = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.NumberOfRadialAxes = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.AutoSubdividePolarAxis = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.NumberOfPolarAxis = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.MinimumRadius = 0.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.MinimumAngle = 0.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.MaximumAngle = 90.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.RadialAxesOriginToPolarAxis = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.Ratio = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarArcsColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryPolarArcsColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryRadialAxesColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitle = 'Radial Distance'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleLocation = 'Bottom'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarLabelVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarLabelFormat = '%-#6.3g'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarLabelExponentLocation = 'Labels'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.RadialLabelVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.RadialLabelFormat = '%-#3.1f'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.RadialLabelLocation = 'Bottom'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.RadialUnitsVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.ScreenSize = 10.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTitleFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisLabelColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisLabelOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisLabelFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisLabelFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisLabelBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisLabelItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisLabelShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisLabelFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTextColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTextOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTextFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTextFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTextBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTextItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTextShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTextFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryRadialAxesTextColor = [1.0, 1.0, 1.0]
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryRadialAxesTextOpacity = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryRadialAxesTextFontFamily = 'Arial'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryRadialAxesTextFontFile = ''
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryRadialAxesTextBold = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryRadialAxesTextItalic = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryRadialAxesTextShadow = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SecondaryRadialAxesTextFontSize = 12
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.EnableDistanceLOD = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.DistanceLODThreshold = 0.7
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.EnableViewAngleLOD = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.ViewAngleLODThreshold = 0.7
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.SmallestVisiblePolarAngle = 0.5
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarTicksVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.ArcTicksOriginToPolarAxis = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.TickLocation = 'Both'
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.AxisTickVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.AxisMinorTickVisibility = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.ArcTickVisibility = 1
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.ArcMinorTickVisibility = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.DeltaAngleMajor = 10.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.DeltaAngleMinor = 5.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisMajorTickSize = 0.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTickRatioSize = 0.3
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisMajorTickThickness = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.PolarAxisTickRatioThickness = 0.5
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisMajorTickSize = 0.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTickRatioSize = 0.3
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisMajorTickThickness = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.LastRadialAxisTickRatioThickness = 0.5
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.ArcMajorTickSize = 0.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.ArcTickRatioSize = 0.3
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.ArcMajorTickThickness = 1.0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.ArcTickRatioThickness = 0.5
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.Use2DMode = 0
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.PolarAxes.UseLogAxis = 0

# reset view to fit data
renderView1.ResetCamera()

#changing interaction mode based on data extents
renderView1.InteractionMode = '2D'
renderView1.CameraPosition = [0.0, 10010.0, 0.5]
renderView1.CameraFocalPoint = [0.0, 10.0, 0.5]
renderView1.CameraViewUp = [1.0, 0.0, 0.0]

# show color bar/color legend
phaseDiagram2DGamma_infinity55_4000spvtsDisplay.SetScalarBarVisibility(renderView1, True)

# update the view to ensure updated data information
renderView1.Update()

# create a new 'Transform'
transform1 = Transform(Input=phaseDiagram2DGamma_infinity55_4000spvts)
transform1.Transform = 'Transform'
transform1.TransformAllInputVectors = 1

# init the 'Transform' selected for 'Transform'
transform1.Transform.Translate = [0.0, 0.0, 0.0]
transform1.Transform.Rotate = [0.0, 0.0, 0.0]
transform1.Transform.Scale = [1.0, 1.0, 1.0]

# Properties modified on transform1.Transform
transform1.Transform.Scale = [0.1, 1.0, 1.0]

# show data in view
transform1Display = Show(transform1, renderView1)

# trace defaults for the display properties.
transform1Display.Representation = 'Surface'
transform1Display.AmbientColor = [1.0, 1.0, 1.0]
transform1Display.ColorArrayName = ['POINTS', 'Type']
transform1Display.DiffuseColor = [1.0, 1.0, 1.0]
transform1Display.LookupTable = typeLUT
transform1Display.MapScalars = 1
transform1Display.MultiComponentsMapping = 0
transform1Display.InterpolateScalarsBeforeMapping = 1
transform1Display.Opacity = 1.0
transform1Display.PointSize = 2.0
transform1Display.LineWidth = 1.0
transform1Display.RenderLinesAsTubes = 0
transform1Display.RenderPointsAsSpheres = 0
transform1Display.Interpolation = 'Gouraud'
transform1Display.Specular = 0.0
transform1Display.SpecularColor = [1.0, 1.0, 1.0]
transform1Display.SpecularPower = 100.0
transform1Display.Luminosity = 0.0
transform1Display.Ambient = 0.0
transform1Display.Diffuse = 1.0
transform1Display.EdgeColor = [0.0, 0.0, 0.5]
transform1Display.BackfaceRepresentation = 'Follow Frontface'
transform1Display.BackfaceAmbientColor = [1.0, 1.0, 1.0]
transform1Display.BackfaceDiffuseColor = [1.0, 1.0, 1.0]
transform1Display.BackfaceOpacity = 1.0
transform1Display.Position = [0.0, 0.0, 0.0]
transform1Display.Scale = [1.0, 1.0, 1.0]
transform1Display.Orientation = [0.0, 0.0, 0.0]
transform1Display.Origin = [0.0, 0.0, 0.0]
transform1Display.Pickable = 1
transform1Display.Texture = None
transform1Display.Triangulate = 0
transform1Display.UseShaderReplacements = 0
transform1Display.ShaderReplacements = ''
transform1Display.NonlinearSubdivisionLevel = 1
transform1Display.UseDataPartitions = 0
transform1Display.OSPRayUseScaleArray = 0
transform1Display.OSPRayScaleArray = 'Type'
transform1Display.OSPRayScaleFunction = 'PiecewiseFunction'
transform1Display.OSPRayMaterial = 'None'
transform1Display.Orient = 0
transform1Display.OrientationMode = 'Direction'
transform1Display.SelectOrientationVectors = 'None'
transform1Display.Scaling = 0
transform1Display.ScaleMode = 'No Data Scaling Off'
transform1Display.ScaleFactor = 0.1
transform1Display.SelectScaleArray = 'Type'
transform1Display.GlyphType = 'Arrow'
transform1Display.UseGlyphTable = 0
transform1Display.GlyphTableIndexArray = 'Type'
transform1Display.UseCompositeGlyphTable = 0
transform1Display.UseGlyphCullingAndLOD = 0
transform1Display.LODValues = []
transform1Display.ColorByLODIndex = 0
transform1Display.GaussianRadius = 0.005
transform1Display.ShaderPreset = 'Sphere'
transform1Display.CustomTriangleScale = 3
transform1Display.CustomShader = """ // This custom shader code define a gaussian blur
 // Please take a look into vtkSMPointGaussianRepresentation.cxx
 // for other custom shader examples
 //VTK::Color::Impl
   float dist2 = dot(offsetVCVSOutput.xy,offsetVCVSOutput.xy);
   float gaussian = exp(-0.5*dist2);
   opacity = opacity*gaussian;
"""
transform1Display.Emissive = 0
transform1Display.ScaleByArray = 0
transform1Display.SetScaleArray = ['POINTS', 'Type']
transform1Display.ScaleArrayComponent = ''
transform1Display.UseScaleFunction = 1
transform1Display.ScaleTransferFunction = 'PiecewiseFunction'
transform1Display.OpacityByArray = 0
transform1Display.OpacityArray = ['POINTS', 'Type']
transform1Display.OpacityArrayComponent = ''
transform1Display.OpacityTransferFunction = 'PiecewiseFunction'
transform1Display.DataAxesGrid = 'GridAxesRepresentation'
transform1Display.SelectionCellLabelBold = 0
transform1Display.SelectionCellLabelColor = [0.0, 1.0, 0.0]
transform1Display.SelectionCellLabelFontFamily = 'Arial'
transform1Display.SelectionCellLabelFontFile = ''
transform1Display.SelectionCellLabelFontSize = 18
transform1Display.SelectionCellLabelItalic = 0
transform1Display.SelectionCellLabelJustification = 'Left'
transform1Display.SelectionCellLabelOpacity = 1.0
transform1Display.SelectionCellLabelShadow = 0
transform1Display.SelectionPointLabelBold = 0
transform1Display.SelectionPointLabelColor = [1.0, 1.0, 0.0]
transform1Display.SelectionPointLabelFontFamily = 'Arial'
transform1Display.SelectionPointLabelFontFile = ''
transform1Display.SelectionPointLabelFontSize = 18
transform1Display.SelectionPointLabelItalic = 0
transform1Display.SelectionPointLabelJustification = 'Left'
transform1Display.SelectionPointLabelOpacity = 1.0
transform1Display.SelectionPointLabelShadow = 0
transform1Display.PolarAxes = 'PolarAxesRepresentation'
transform1Display.ScalarOpacityFunction = typePWF
transform1Display.ScalarOpacityUnitDistance = 0.005557396853320044
transform1Display.SelectMapper = 'Projected tetra'
transform1Display.SamplingDimensions = [128, 128, 128]

# init the 'PiecewiseFunction' selected for 'OSPRayScaleFunction'
transform1Display.OSPRayScaleFunction.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.213836476688135, 0.625, 0.5, 0.0, 1.3616352081298828, 0.6691176295280457, 0.5, 0.0, 1.6666333299996667, 0.8676470518112183, 0.5, 0.0, 1.7358490228652954, 0.6911764740943909, 0.5, 0.0, 2.0, 0.8014705777168274, 0.5, 0.0]
transform1Display.OSPRayScaleFunction.UseLogScale = 0

# init the 'Arrow' selected for 'GlyphType'
transform1Display.GlyphType.TipResolution = 6
transform1Display.GlyphType.TipRadius = 0.1
transform1Display.GlyphType.TipLength = 0.35
transform1Display.GlyphType.ShaftResolution = 6
transform1Display.GlyphType.ShaftRadius = 0.03
transform1Display.GlyphType.Invert = 0

# init the 'PiecewiseFunction' selected for 'ScaleTransferFunction'
transform1Display.ScaleTransferFunction.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.4276729533762702, 0.625, 0.5, 0.0, 1.7232704162597656, 0.6691176295280457, 0.5, 0.0, 2.3332666599993335, 0.8676470518112183, 0.5, 0.0, 2.471698045730591, 0.6911764740943909, 0.5, 0.0, 3.0, 0.8014705777168274, 0.5, 0.0]
transform1Display.ScaleTransferFunction.UseLogScale = 0

# init the 'PiecewiseFunction' selected for 'OpacityTransferFunction'
transform1Display.OpacityTransferFunction.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.4276729533762702, 0.625, 0.5, 0.0, 1.7232704162597656, 0.6691176295280457, 0.5, 0.0, 2.3332666599993335, 0.8676470518112183, 0.5, 0.0, 2.471698045730591, 0.6911764740943909, 0.5, 0.0, 3.0, 0.8014705777168274, 0.5, 0.0]
transform1Display.OpacityTransferFunction.UseLogScale = 0

# init the 'GridAxesRepresentation' selected for 'DataAxesGrid'
transform1Display.DataAxesGrid.XTitle = 'X Axis'
transform1Display.DataAxesGrid.YTitle = 'Y Axis'
transform1Display.DataAxesGrid.ZTitle = 'Z Axis'
transform1Display.DataAxesGrid.XTitleColor = [1.0, 1.0, 1.0]
transform1Display.DataAxesGrid.XTitleFontFamily = 'Arial'
transform1Display.DataAxesGrid.XTitleFontFile = ''
transform1Display.DataAxesGrid.XTitleBold = 0
transform1Display.DataAxesGrid.XTitleItalic = 0
transform1Display.DataAxesGrid.XTitleFontSize = 12
transform1Display.DataAxesGrid.XTitleShadow = 0
transform1Display.DataAxesGrid.XTitleOpacity = 1.0
transform1Display.DataAxesGrid.YTitleColor = [1.0, 1.0, 1.0]
transform1Display.DataAxesGrid.YTitleFontFamily = 'Arial'
transform1Display.DataAxesGrid.YTitleFontFile = ''
transform1Display.DataAxesGrid.YTitleBold = 0
transform1Display.DataAxesGrid.YTitleItalic = 0
transform1Display.DataAxesGrid.YTitleFontSize = 12
transform1Display.DataAxesGrid.YTitleShadow = 0
transform1Display.DataAxesGrid.YTitleOpacity = 1.0
transform1Display.DataAxesGrid.ZTitleColor = [1.0, 1.0, 1.0]
transform1Display.DataAxesGrid.ZTitleFontFamily = 'Arial'
transform1Display.DataAxesGrid.ZTitleFontFile = ''
transform1Display.DataAxesGrid.ZTitleBold = 0
transform1Display.DataAxesGrid.ZTitleItalic = 0
transform1Display.DataAxesGrid.ZTitleFontSize = 12
transform1Display.DataAxesGrid.ZTitleShadow = 0
transform1Display.DataAxesGrid.ZTitleOpacity = 1.0
transform1Display.DataAxesGrid.FacesToRender = 63
transform1Display.DataAxesGrid.CullBackface = 0
transform1Display.DataAxesGrid.CullFrontface = 1
transform1Display.DataAxesGrid.GridColor = [1.0, 1.0, 1.0]
transform1Display.DataAxesGrid.ShowGrid = 0
transform1Display.DataAxesGrid.ShowEdges = 1
transform1Display.DataAxesGrid.ShowTicks = 1
transform1Display.DataAxesGrid.LabelUniqueEdgesOnly = 1
transform1Display.DataAxesGrid.AxesToLabel = 63
transform1Display.DataAxesGrid.XLabelColor = [1.0, 1.0, 1.0]
transform1Display.DataAxesGrid.XLabelFontFamily = 'Arial'
transform1Display.DataAxesGrid.XLabelFontFile = ''
transform1Display.DataAxesGrid.XLabelBold = 0
transform1Display.DataAxesGrid.XLabelItalic = 0
transform1Display.DataAxesGrid.XLabelFontSize = 12
transform1Display.DataAxesGrid.XLabelShadow = 0
transform1Display.DataAxesGrid.XLabelOpacity = 1.0
transform1Display.DataAxesGrid.YLabelColor = [1.0, 1.0, 1.0]
transform1Display.DataAxesGrid.YLabelFontFamily = 'Arial'
transform1Display.DataAxesGrid.YLabelFontFile = ''
transform1Display.DataAxesGrid.YLabelBold = 0
transform1Display.DataAxesGrid.YLabelItalic = 0
transform1Display.DataAxesGrid.YLabelFontSize = 12
transform1Display.DataAxesGrid.YLabelShadow = 0
transform1Display.DataAxesGrid.YLabelOpacity = 1.0
transform1Display.DataAxesGrid.ZLabelColor = [1.0, 1.0, 1.0]
transform1Display.DataAxesGrid.ZLabelFontFamily = 'Arial'
transform1Display.DataAxesGrid.ZLabelFontFile = ''
transform1Display.DataAxesGrid.ZLabelBold = 0
transform1Display.DataAxesGrid.ZLabelItalic = 0
transform1Display.DataAxesGrid.ZLabelFontSize = 12
transform1Display.DataAxesGrid.ZLabelShadow = 0
transform1Display.DataAxesGrid.ZLabelOpacity = 1.0
transform1Display.DataAxesGrid.XAxisNotation = 'Mixed'
transform1Display.DataAxesGrid.XAxisPrecision = 2
transform1Display.DataAxesGrid.XAxisUseCustomLabels = 0
transform1Display.DataAxesGrid.XAxisLabels = []
transform1Display.DataAxesGrid.YAxisNotation = 'Mixed'
transform1Display.DataAxesGrid.YAxisPrecision = 2
transform1Display.DataAxesGrid.YAxisUseCustomLabels = 0
transform1Display.DataAxesGrid.YAxisLabels = []
transform1Display.DataAxesGrid.ZAxisNotation = 'Mixed'
transform1Display.DataAxesGrid.ZAxisPrecision = 2
transform1Display.DataAxesGrid.ZAxisUseCustomLabels = 0
transform1Display.DataAxesGrid.ZAxisLabels = []
transform1Display.DataAxesGrid.UseCustomBounds = 0
transform1Display.DataAxesGrid.CustomBounds = [0.0, 1.0, 0.0, 1.0, 0.0, 1.0]

# init the 'PolarAxesRepresentation' selected for 'PolarAxes'
transform1Display.PolarAxes.Visibility = 0
transform1Display.PolarAxes.Translation = [0.0, 0.0, 0.0]
transform1Display.PolarAxes.Scale = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.Orientation = [0.0, 0.0, 0.0]
transform1Display.PolarAxes.EnableCustomBounds = [0, 0, 0]
transform1Display.PolarAxes.CustomBounds = [0.0, 1.0, 0.0, 1.0, 0.0, 1.0]
transform1Display.PolarAxes.EnableCustomRange = 0
transform1Display.PolarAxes.CustomRange = [0.0, 1.0]
transform1Display.PolarAxes.PolarAxisVisibility = 1
transform1Display.PolarAxes.RadialAxesVisibility = 1
transform1Display.PolarAxes.DrawRadialGridlines = 1
transform1Display.PolarAxes.PolarArcsVisibility = 1
transform1Display.PolarAxes.DrawPolarArcsGridlines = 1
transform1Display.PolarAxes.NumberOfRadialAxes = 0
transform1Display.PolarAxes.AutoSubdividePolarAxis = 1
transform1Display.PolarAxes.NumberOfPolarAxis = 0
transform1Display.PolarAxes.MinimumRadius = 0.0
transform1Display.PolarAxes.MinimumAngle = 0.0
transform1Display.PolarAxes.MaximumAngle = 90.0
transform1Display.PolarAxes.RadialAxesOriginToPolarAxis = 1
transform1Display.PolarAxes.Ratio = 1.0
transform1Display.PolarAxes.PolarAxisColor = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.PolarArcsColor = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.LastRadialAxisColor = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.SecondaryPolarArcsColor = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.SecondaryRadialAxesColor = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.PolarAxisTitleVisibility = 1
transform1Display.PolarAxes.PolarAxisTitle = 'Radial Distance'
transform1Display.PolarAxes.PolarAxisTitleLocation = 'Bottom'
transform1Display.PolarAxes.PolarLabelVisibility = 1
transform1Display.PolarAxes.PolarLabelFormat = '%-#6.3g'
transform1Display.PolarAxes.PolarLabelExponentLocation = 'Labels'
transform1Display.PolarAxes.RadialLabelVisibility = 1
transform1Display.PolarAxes.RadialLabelFormat = '%-#3.1f'
transform1Display.PolarAxes.RadialLabelLocation = 'Bottom'
transform1Display.PolarAxes.RadialUnitsVisibility = 1
transform1Display.PolarAxes.ScreenSize = 10.0
transform1Display.PolarAxes.PolarAxisTitleColor = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.PolarAxisTitleOpacity = 1.0
transform1Display.PolarAxes.PolarAxisTitleFontFamily = 'Arial'
transform1Display.PolarAxes.PolarAxisTitleFontFile = ''
transform1Display.PolarAxes.PolarAxisTitleBold = 0
transform1Display.PolarAxes.PolarAxisTitleItalic = 0
transform1Display.PolarAxes.PolarAxisTitleShadow = 0
transform1Display.PolarAxes.PolarAxisTitleFontSize = 12
transform1Display.PolarAxes.PolarAxisLabelColor = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.PolarAxisLabelOpacity = 1.0
transform1Display.PolarAxes.PolarAxisLabelFontFamily = 'Arial'
transform1Display.PolarAxes.PolarAxisLabelFontFile = ''
transform1Display.PolarAxes.PolarAxisLabelBold = 0
transform1Display.PolarAxes.PolarAxisLabelItalic = 0
transform1Display.PolarAxes.PolarAxisLabelShadow = 0
transform1Display.PolarAxes.PolarAxisLabelFontSize = 12
transform1Display.PolarAxes.LastRadialAxisTextColor = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.LastRadialAxisTextOpacity = 1.0
transform1Display.PolarAxes.LastRadialAxisTextFontFamily = 'Arial'
transform1Display.PolarAxes.LastRadialAxisTextFontFile = ''
transform1Display.PolarAxes.LastRadialAxisTextBold = 0
transform1Display.PolarAxes.LastRadialAxisTextItalic = 0
transform1Display.PolarAxes.LastRadialAxisTextShadow = 0
transform1Display.PolarAxes.LastRadialAxisTextFontSize = 12
transform1Display.PolarAxes.SecondaryRadialAxesTextColor = [1.0, 1.0, 1.0]
transform1Display.PolarAxes.SecondaryRadialAxesTextOpacity = 1.0
transform1Display.PolarAxes.SecondaryRadialAxesTextFontFamily = 'Arial'
transform1Display.PolarAxes.SecondaryRadialAxesTextFontFile = ''
transform1Display.PolarAxes.SecondaryRadialAxesTextBold = 0
transform1Display.PolarAxes.SecondaryRadialAxesTextItalic = 0
transform1Display.PolarAxes.SecondaryRadialAxesTextShadow = 0
transform1Display.PolarAxes.SecondaryRadialAxesTextFontSize = 12
transform1Display.PolarAxes.EnableDistanceLOD = 1
transform1Display.PolarAxes.DistanceLODThreshold = 0.7
transform1Display.PolarAxes.EnableViewAngleLOD = 1
transform1Display.PolarAxes.ViewAngleLODThreshold = 0.7
transform1Display.PolarAxes.SmallestVisiblePolarAngle = 0.5
transform1Display.PolarAxes.PolarTicksVisibility = 1
transform1Display.PolarAxes.ArcTicksOriginToPolarAxis = 1
transform1Display.PolarAxes.TickLocation = 'Both'
transform1Display.PolarAxes.AxisTickVisibility = 1
transform1Display.PolarAxes.AxisMinorTickVisibility = 0
transform1Display.PolarAxes.ArcTickVisibility = 1
transform1Display.PolarAxes.ArcMinorTickVisibility = 0
transform1Display.PolarAxes.DeltaAngleMajor = 10.0
transform1Display.PolarAxes.DeltaAngleMinor = 5.0
transform1Display.PolarAxes.PolarAxisMajorTickSize = 0.0
transform1Display.PolarAxes.PolarAxisTickRatioSize = 0.3
transform1Display.PolarAxes.PolarAxisMajorTickThickness = 1.0
transform1Display.PolarAxes.PolarAxisTickRatioThickness = 0.5
transform1Display.PolarAxes.LastRadialAxisMajorTickSize = 0.0
transform1Display.PolarAxes.LastRadialAxisTickRatioSize = 0.3
transform1Display.PolarAxes.LastRadialAxisMajorTickThickness = 1.0
transform1Display.PolarAxes.LastRadialAxisTickRatioThickness = 0.5
transform1Display.PolarAxes.ArcMajorTickSize = 0.0
transform1Display.PolarAxes.ArcTickRatioSize = 0.3
transform1Display.PolarAxes.ArcMajorTickThickness = 1.0
transform1Display.PolarAxes.ArcTickRatioThickness = 0.5
transform1Display.PolarAxes.Use2DMode = 0
transform1Display.PolarAxes.UseLogAxis = 0

# hide data in view
Hide(phaseDiagram2DGamma_infinity55_4000spvts, renderView1)





# ----------------- DRAW LINE -----------------

# # create a new 'Line'
# line1 = Line()
#
# # show data in view
# line1Display = Show(line1, renderView1)
# # set active source
# SetActiveSource(line1)
#
# # Properties modified on line1
# line1.Point1 = [0.3, 0.0, 0.0]
# line1.Point2 = [0.3, 0.0, 1.0]
#
# # Properties modified on line1Display
# # line1Display.LineWidth = 2.0
# line1Display.LineWidth = 4.0
#
# # change solid color
# line1Display.AmbientColor = [1.0, 1.0, 0.4980392156862745]
# line1Display.DiffuseColor = [1.0, 1.0, 0.4980392156862745]
#
# # toggle 3D widget visibility (only when running from the GUI)
# Show3DWidgets(proxy=line1)
#
# # update the view to ensure updated data information
# renderView1.Update()









# show color bar/color legend
transform1Display.SetScalarBarVisibility(renderView1, True)

# update the view to ensure updated data information
renderView1.Update()

# toggle 3D widget visibility (only when running from the GUI)
Hide3DWidgets(proxy=transform1.Transform)

# reset view to fit data
renderView1.ResetCamera()

# change representation type
transform1Display.SetRepresentationType('Point Gaussian')

# Properties modified on transform1Display
transform1Display.ShaderPreset = 'Plain circle'

# set scalar coloring
ColorBy(transform1Display, ('POINTS', 'angles'))

# Hide the scalar bar for this color map if no visible data is colored by it.
HideScalarBarIfNotNeeded(typeLUT, renderView1)

# rescale color and/or opacity maps used to include current data range
transform1Display.RescaleTransferFunctionToDataRange(True, False)

# show color bar/color legend
transform1Display.SetScalarBarVisibility(renderView1, True)

# get color transfer function/color map for 'angles'
anglesLUT = GetColorTransferFunction('angles')
anglesLUT.AutomaticRescaleRangeMode = "Grow and update on 'Apply'"
anglesLUT.InterpretValuesAsCategories = 0
anglesLUT.AnnotationsInitialized = 0
anglesLUT.ShowCategoricalColorsinDataRangeOnly = 0
anglesLUT.RescaleOnVisibilityChange = 0
anglesLUT.EnableOpacityMapping = 0
anglesLUT.RGBPoints = [0.0, 0.001462, 0.000466, 0.013866, 0.006160663193689554, 0.002258, 0.001295, 0.018331, 0.012319755591052443, 0.003279, 0.002305, 0.023708, 0.018480418784742, 0.004512, 0.00349, 0.029965, 0.024639511182104886, 0.00595, 0.004843, 0.03713, 0.03080017437579444, 0.007588, 0.006356, 0.044973, 0.03695926677315698, 0.009426, 0.008022, 0.052844, 0.043119929966846535, 0.011465, 0.009828, 0.06075, 0.04928059316053644, 0.013708, 0.011771, 0.068667, 0.05543968555789898, 0.016156, 0.01384, 0.076603, 0.061600348751588534, 0.018815, 0.016026, 0.084584, 0.06775944114895142, 0.021692, 0.01832, 0.09261, 0.07392010434264097, 0.024792, 0.020715, 0.100676, 0.08007919674000387, 0.028123, 0.023201, 0.108787, 0.08623985993369342, 0.031696, 0.025765, 0.116965, 0.09240052312738298, 0.03552, 0.028397, 0.125209, 0.09855961552474586, 0.039608, 0.03109, 0.133515, 0.10472027871843542, 0.04383, 0.03383, 0.141886, 0.1108793711157983, 0.048062, 0.036607, 0.150327, 0.11704003430948787, 0.05232, 0.039407, 0.158841, 0.1231991267068504, 0.056615, 0.04216, 0.167446, 0.12935978990053995, 0.060949, 0.044794, 0.176129, 0.13552045309422986, 0.06533, 0.047318, 0.184892, 0.1416795454915924, 0.069764, 0.049726, 0.193735, 0.14784020868528194, 0.074257, 0.052017, 0.20266, 0.15399930108264484, 0.078815, 0.054184, 0.211667, 0.1601599642763344, 0.083446, 0.056225, 0.220755, 0.16631905667369729, 0.088155, 0.058133, 0.229922, 0.17247971986738683, 0.092949, 0.059904, 0.239164, 0.17863881226474973, 0.097833, 0.061531, 0.248477, 0.18479947545843928, 0.102815, 0.06301, 0.257854, 0.19096013865212885, 0.107899, 0.064335, 0.267289, 0.19711923104949172, 0.113094, 0.065492, 0.276784, 0.20327989424318127, 0.118405, 0.066479, 0.286321, 0.20943898664054383, 0.123833, 0.067295, 0.295879, 0.21559964983423338, 0.12938, 0.067935, 0.305443, 0.22175874223159628, 0.135053, 0.068391, 0.315, 0.22791940542528583, 0.140858, 0.068654, 0.324538, 0.23408006861897537, 0.146785, 0.068738, 0.334011, 0.24023916101633827, 0.152839, 0.068637, 0.343404, 0.24639982421002782, 0.159018, 0.068354, 0.352688, 0.2525589166073907, 0.165308, 0.067911, 0.361816, 0.25871957980108024, 0.171713, 0.067305, 0.370771, 0.26487867219844313, 0.178212, 0.066576, 0.379497, 0.2710393353921327, 0.184801, 0.065732, 0.387973, 0.2771999985858223, 0.19146, 0.064818, 0.396152, 0.2833590909831848, 0.198177, 0.063862, 0.404009, 0.2895197541768747, 0.204935, 0.062907, 0.411514, 0.29567884657423726, 0.211718, 0.061992, 0.418647, 0.3018395097679268, 0.218512, 0.061158, 0.425392, 0.3079986021652897, 0.225302, 0.060445, 0.431742, 0.31415926535897926, 0.232077, 0.059889, 0.437695, 0.3203199285526688, 0.238826, 0.059517, 0.443256, 0.3264790209500317, 0.245543, 0.059352, 0.448436, 0.33263968414372125, 0.25222, 0.059415, 0.453248, 0.33879877654108415, 0.258857, 0.059706, 0.45771, 0.34495943973477367, 0.265447, 0.060237, 0.46184, 0.35111853213213656, 0.271994, 0.060994, 0.46566, 0.35727919532582614, 0.278493, 0.061978, 0.46919, 0.36343985851951566, 0.284951, 0.063168, 0.472451, 0.36959895091687855, 0.291366, 0.064553, 0.475462, 0.37575961411056813, 0.29774, 0.066117, 0.478243, 0.38191870650793064, 0.304081, 0.067835, 0.480812, 0.3880793697016202, 0.310382, 0.069702, 0.483186, 0.3942384620989831, 0.316654, 0.07169, 0.48538, 0.4003991252926727, 0.322899, 0.073782, 0.487408, 0.4065597884863622, 0.329114, 0.075972, 0.489287, 0.4127188808837251, 0.335308, 0.078236, 0.491024, 0.4188795440774147, 0.341482, 0.080564, 0.492631, 0.4250386364747776, 0.347636, 0.082946, 0.494121, 0.4311992996684671, 0.353773, 0.085373, 0.495501, 0.43735839206582966, 0.359898, 0.087831, 0.496778, 0.44351905525951957, 0.366012, 0.090314, 0.49796, 0.4496797184532091, 0.372116, 0.092816, 0.499053, 0.45583881085057165, 0.378211, 0.095332, 0.500067, 0.46199947404426156, 0.384299, 0.097855, 0.501002, 0.46815856644162407, 0.390384, 0.100379, 0.501864, 0.47431922963531364, 0.396467, 0.102902, 0.502658, 0.48047832203267654, 0.402548, 0.10542, 0.503386, 0.48663898522636606, 0.408629, 0.10793, 0.504052, 0.49279807762372896, 0.414709, 0.110431, 0.504662, 0.49895874081741853, 0.420791, 0.11292, 0.505215, 0.5051194040111081, 0.426877, 0.115395, 0.505714, 0.511278496408471, 0.432967, 0.117855, 0.50616, 0.5174391596021605, 0.439062, 0.120298, 0.506555, 0.5235982519995234, 0.445163, 0.122724, 0.506901, 0.5297589151932129, 0.451271, 0.125132, 0.507198, 0.5359180075905755, 0.457386, 0.127522, 0.507448, 0.5420786707842654, 0.463508, 0.129893, 0.507652, 0.5482393339779547, 0.46964, 0.132245, 0.507809, 0.5543984263753176, 0.47578, 0.134577, 0.507921, 0.560559089569007, 0.481929, 0.136891, 0.507989, 0.5667181819663699, 0.488088, 0.139186, 0.508011, 0.5728788451600595, 0.494258, 0.141462, 0.507988, 0.5790379375574224, 0.500438, 0.143719, 0.50792, 0.585198600751112, 0.506629, 0.145958, 0.507806, 0.5913592639448015, 0.512831, 0.148179, 0.507648, 0.5975183563421644, 0.519045, 0.150383, 0.507443, 0.6036790195358539, 0.52527, 0.152569, 0.507192, 0.6098381119332165, 0.531507, 0.154739, 0.506895, 0.6159987751269064, 0.537755, 0.156894, 0.506551, 0.6221578675242689, 0.544015, 0.159033, 0.506159, 0.6283185307179585, 0.550287, 0.161158, 0.505719, 0.6344791939116484, 0.556571, 0.163269, 0.50523, 0.6406382863090109, 0.562866, 0.165368, 0.504692, 0.6467989495027004, 0.569172, 0.167454, 0.504105, 0.6529580419000633, 0.57549, 0.16953, 0.503466, 0.6591187050937529, 0.581819, 0.171596, 0.502777, 0.6652777974911158, 0.588158, 0.173652, 0.502035, 0.6714384606848054, 0.594508, 0.175701, 0.501241, 0.677599123878495, 0.600868, 0.177743, 0.500394, 0.6837582162758579, 0.607238, 0.179779, 0.499492, 0.6899188794695473, 0.613617, 0.181811, 0.498536, 0.6960779718669102, 0.620005, 0.18384, 0.497524, 0.7022386350605995, 0.626401, 0.185867, 0.496456, 0.7083977274579624, 0.632805, 0.187893, 0.495332, 0.7145583906516519, 0.639216, 0.189921, 0.49415, 0.7207190538453414, 0.645633, 0.191952, 0.49291, 0.7268781462427043, 0.652056, 0.193986, 0.491611, 0.7330388094363939, 0.658483, 0.196027, 0.490253, 0.7391979018337568, 0.664915, 0.198075, 0.488836, 0.7453585650274464, 0.671349, 0.200133, 0.487358, 0.7515176574248092, 0.677786, 0.202203, 0.485819, 0.7576783206184988, 0.684224, 0.204286, 0.484219, 0.7638389838121884, 0.690661, 0.206384, 0.482558, 0.7699980762095512, 0.697098, 0.208501, 0.480835, 0.7761587394032408, 0.703532, 0.210638, 0.479049, 0.7823178318006033, 0.709962, 0.212797, 0.477201, 0.7884784949942932, 0.716387, 0.214982, 0.47529, 0.7946375873916561, 0.722805, 0.217194, 0.473316, 0.8007982505853454, 0.729216, 0.219437, 0.471279, 0.8069573429827082, 0.735616, 0.221713, 0.46918, 0.8131180061763977, 0.742004, 0.224025, 0.467018, 0.8192786693700873, 0.748378, 0.226377, 0.464794, 0.8254377617674502, 0.754737, 0.228772, 0.462509, 0.8315984249611398, 0.761077, 0.231214, 0.460162, 0.8377575173585023, 0.767398, 0.233705, 0.457755, 0.8439181805521923, 0.773695, 0.236249, 0.455289, 0.8500772729495552, 0.779968, 0.238851, 0.452765, 0.8562379361432443, 0.786212, 0.241514, 0.450184, 0.8623985993369342, 0.792427, 0.244242, 0.447543, 0.8685576917342971, 0.798608, 0.24704, 0.444848, 0.8747183549279863, 0.804752, 0.249911, 0.442102, 0.8808774473253492, 0.810855, 0.252861, 0.439305, 0.8870381105190391, 0.816914, 0.255895, 0.436461, 0.8931972029164016, 0.822926, 0.259016, 0.433573, 0.8993578661100912, 0.828886, 0.262229, 0.430644, 0.9055185293037807, 0.834791, 0.26554, 0.427671, 0.9116776217011436, 0.840636, 0.268953, 0.424666, 0.9178382848948332, 0.846416, 0.272473, 0.421631, 0.9239973772921961, 0.852126, 0.276106, 0.418573, 0.9301580404858857, 0.857763, 0.279857, 0.415496, 0.9363171328832481, 0.86332, 0.283729, 0.412403, 0.942477796076938, 0.868793, 0.287728, 0.409303, 0.9486384592706273, 0.874176, 0.291859, 0.406205, 0.9547975516679902, 0.879464, 0.296125, 0.403118, 0.9609582148616801, 0.884651, 0.30053, 0.400047, 0.9671173072590427, 0.889731, 0.305079, 0.397002, 0.9732779704527321, 0.8947, 0.309773, 0.393995, 0.979437062850095, 0.899552, 0.314616, 0.391037, 0.9855977260437846, 0.904281, 0.31961, 0.388137, 0.9917583892374742, 0.908884, 0.324755, 0.385308, 0.9979174816348371, 0.913354, 0.330052, 0.382563, 1.0040781448285265, 0.917689, 0.3355, 0.379915, 1.0102372372258892, 0.921884, 0.341098, 0.377376, 1.0163979004195791, 0.925937, 0.346844, 0.374959, 1.022556992816942, 0.929845, 0.352734, 0.372677, 1.0287176560106313, 0.933606, 0.358764, 0.370541, 1.034878319204321, 0.937221, 0.364929, 0.368567, 1.0410374116016838, 0.940687, 0.371224, 0.366762, 1.047198074795373, 0.944006, 0.377643, 0.365136, 1.053357167192736, 0.94718, 0.384178, 0.363701, 1.0595178303864259, 0.95021, 0.39082, 0.362468, 1.0656769227837886, 0.953099, 0.397563, 0.361438, 1.071837585977478, 0.955849, 0.4044, 0.360619, 1.0779982491711675, 0.958464, 0.411324, 0.360014, 1.0841573415685304, 0.960949, 0.418323, 0.35963, 1.09031800476222, 0.96331, 0.42539, 0.359469, 1.096477097159583, 0.965549, 0.432519, 0.359529, 1.1026377603532722, 0.967671, 0.439703, 0.35981, 1.108796852750635, 0.96968, 0.446936, 0.360311, 1.114957515944325, 0.971582, 0.45421, 0.36103, 1.121116608341688, 0.973381, 0.46152, 0.361965, 1.127277271535377, 0.975082, 0.468861, 0.363111, 1.1334379347290668, 0.97669, 0.476226, 0.364466, 1.1395970271264295, 0.97821, 0.483612, 0.366025, 1.145757690320119, 0.979645, 0.491014, 0.367783, 1.1519167827174819, 0.981, 0.498428, 0.369734, 1.1580774459111713, 0.982279, 0.505851, 0.371874, 1.164236538308534, 0.983485, 0.51328, 0.374198, 1.170397201502224, 0.984622, 0.520713, 0.376698, 1.1765578646959134, 0.985693, 0.528148, 0.379371, 1.182716957093276, 0.9867, 0.535582, 0.38221, 1.188877620286966, 0.987646, 0.543015, 0.38521, 1.1950367126843289, 0.988533, 0.550446, 0.388365, 1.201197375878018, 0.989363, 0.557873, 0.391671, 1.2073564682753808, 0.990138, 0.565296, 0.395122, 1.2135171314690707, 0.990871, 0.572706, 0.398714, 1.21967779466276, 0.991558, 0.580107, 0.402441, 1.2258368870601228, 0.992196, 0.587502, 0.406299, 1.2319975502538125, 0.992785, 0.594891, 0.410283, 1.2381566426511754, 0.993326, 0.602275, 0.41439, 1.2443173058448649, 0.993834, 0.609644, 0.418613, 1.2504763982422278, 0.994309, 0.616999, 0.42295, 1.2566370614359172, 0.994738, 0.62435, 0.427397, 1.262797724629607, 0.995122, 0.631696, 0.431951, 1.2689568170269698, 0.99548, 0.639027, 0.436607, 1.275117480220659, 0.99581, 0.646344, 0.441361, 1.2812765726180217, 0.996096, 0.653659, 0.446213, 1.2874372358117117, 0.996341, 0.660969, 0.45116, 1.2935963282090743, 0.99658, 0.668256, 0.456192, 1.2997569914027638, 0.996775, 0.675541, 0.461314, 1.3059176545964537, 0.996925, 0.682828, 0.466526, 1.3120767469938164, 0.997077, 0.690088, 0.471811, 1.3182374101875058, 0.997186, 0.697349, 0.477182, 1.3243965025848687, 0.997254, 0.704611, 0.482635, 1.3305571657785582, 0.997325, 0.711848, 0.488154, 1.3367162581759209, 0.997351, 0.719089, 0.493755, 1.3428769213696108, 0.997351, 0.726324, 0.499428, 1.3490375845633003, 0.997341, 0.733545, 0.505167, 1.355196676960663, 0.997285, 0.740772, 0.510983, 1.3613573401543528, 0.997228, 0.747981, 0.516859, 1.3675164325517157, 0.997138, 0.75519, 0.522806, 1.3736770957454048, 0.997019, 0.762398, 0.528821, 1.3798361881427677, 0.996898, 0.769591, 0.534892, 1.3859968513364576, 0.996727, 0.776795, 0.541039, 1.3921575145301468, 0.996571, 0.783977, 0.547233, 1.3983166069275097, 0.996369, 0.791167, 0.553499, 1.4044772701211992, 0.996162, 0.798348, 0.55982, 1.410636362518562, 0.995932, 0.805527, 0.566202, 1.4167970257122517, 0.99568, 0.812706, 0.572645, 1.4229561181096146, 0.995424, 0.819875, 0.57914, 1.4291167813033039, 0.995131, 0.827052, 0.585701, 1.4352758737006668, 0.994851, 0.834213, 0.592307, 1.4414365368943567, 0.994524, 0.841387, 0.598983, 1.4475972000880457, 0.994222, 0.84854, 0.605696, 1.4537562924854086, 0.993866, 0.855711, 0.612482, 1.4599169556790985, 0.993545, 0.862859, 0.619299, 1.4660760480764612, 0.99317, 0.870024, 0.626189, 1.4722367112701507, 0.992831, 0.877168, 0.633109, 1.4783958036675136, 0.99244, 0.88433, 0.640099, 1.4845564668612032, 0.992089, 0.89147, 0.647116, 1.4907171300548927, 0.991688, 0.898627, 0.654202, 1.4968762224522556, 0.991332, 0.905763, 0.661309, 1.503036885645945, 0.99093, 0.912915, 0.668481, 1.5091959780433077, 0.99057, 0.920049, 0.675675, 1.5153566412369976, 0.990175, 0.927196, 0.682926, 1.5215157336343605, 0.989815, 0.934329, 0.690198, 1.5276763968280496, 0.989434, 0.94147, 0.697519, 1.5338370600217395, 0.989077, 0.948604, 0.704863, 1.5399961524191024, 0.988717, 0.955742, 0.712242, 1.5461568156127916, 0.988367, 0.962878, 0.719649, 1.5523159080101545, 0.988033, 0.970012, 0.727077, 1.5584765712038442, 0.987691, 0.977154, 0.734536, 1.564635663601207, 0.987387, 0.984288, 0.742002, 1.5707963267948966, 0.987053, 0.991438, 0.749504]
anglesLUT.UseLogScale = 0
anglesLUT.ColorSpace = 'RGB'
anglesLUT.UseBelowRangeColor = 0
anglesLUT.BelowRangeColor = [0.0, 0.0, 0.0]
anglesLUT.UseAboveRangeColor = 0
anglesLUT.AboveRangeColor = [0.5, 0.5, 0.5]
anglesLUT.NanColor = [0.0, 1.0, 0.0]
anglesLUT.NanOpacity = 1.0
anglesLUT.Discretize = 1
anglesLUT.NumberOfTableValues = 256
anglesLUT.ScalarRangeInitialized = 1.0
anglesLUT.HSVWrap = 0
anglesLUT.VectorComponent = 0
anglesLUT.VectorMode = 'Magnitude'
anglesLUT.AllowDuplicateScalars = 1
anglesLUT.Annotations = []
anglesLUT.ActiveAnnotatedValues = []
anglesLUT.IndexedColors = []
anglesLUT.IndexedOpacities = []

# get opacity transfer function/opacity map for 'angles'
anglesPWF = GetOpacityTransferFunction('angles')
anglesPWF.Points = [0.0, 0.8602941036224365, 0.5, 0.0, 0.33589355211648514, 0.625, 0.5, 0.0, 0.5680552565701278, 0.6691176295280457, 0.5, 0.0, 1.0471451860825267, 0.8676470518112183, 0.5, 0.0, 1.15586894219242, 0.6911764740943909, 0.5, 0.0, 1.5707963267948966, 0.8014705777168274, 0.5, 0.0]
anglesPWF.AllowDuplicateScalars = 1
anglesPWF.UseLogScale = 0
anglesPWF.ScalarRangeInitialized = 1

# Apply a preset using its name. Note this may not work as expected when presets have duplicate names.
anglesLUT.ApplyPreset('Cool to Warm', True)



# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.XTitle = '  $\\theta_\\rho$  '
renderView1.AxesGrid.ZTitle = '  $\\theta$   '
renderView1.AxesGrid.XTitleFontSize = 20
renderView1.AxesGrid.ZTitleFontSize = 20

# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.ShowGrid = 1

# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.FacesToRender = 2
renderView1.AxesGrid.CullFrontface = 0

# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.Visibility = 1
renderView1.AxesGrid.DataScale = [0.1, 1.0, 1.0]



# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.XTitleFontSize = 22
renderView1.AxesGrid.ZTitleFontSize = 22
renderView1.AxesGrid.ZAxisUseCustomLabels = 1
renderView1.AxesGrid.ZAxisLabels = [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]

# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.ShowEdges = 0

# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.XAxisPrecision = 1
renderView1.AxesGrid.XAxisLabels = [0.0]

# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.ZAxisPrecision = 1

# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.XAxisUseCustomLabels = 1
renderView1.AxesGrid.XAxisLabels = [0.0, -5.0, -4.0, -3.0, -2.0, -1.0, 0.0, 1.0, 2.0, 3.0, 4.0, 5.0]

# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.XLabelFontSize = 16
renderView1.AxesGrid.ZLabelFontSize = 16


renderView1.AxesGrid.XTitleFontSize = 65  #24
renderView1.AxesGrid.ZTitleFontSize = 65
renderView1.AxesGrid.XLabelFontSize = 45  #default:12
renderView1.AxesGrid.ZLabelFontSize = 45


# Properties modified on anglesLUT
anglesLUT.Annotations = ['', '']
anglesLUT.IndexedColors = [1.0, 1.0, 1.0]
anglesLUT.IndexedOpacities = [1.0]

# Properties modified on anglesLUT
anglesLUT.Annotations = ['0', '']

# Properties modified on anglesLUT
anglesLUT.Annotations = ['0', '0', '', '']
anglesLUT.IndexedColors = [1.0, 1.0, 1.0, 1.0, 0.0, 0.0]
anglesLUT.IndexedOpacities = [1.0, 1.0]

# Properties modified on anglesLUT
anglesLUT.Annotations = ['0', '0', '1.5707963267948966', '']

# Properties modified on anglesLUT
anglesLUT.Annotations = ['0', '0', '1.5707963267948966', '$\\pi/2$', '', '']
anglesLUT.IndexedColors = [1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0]
anglesLUT.IndexedOpacities = [1.0, 1.0, 1.0]

# Properties modified on anglesLUT
anglesLUT.Annotations = ['0', '0', '1.5707963267948966', '$\\pi/2$', '0,785398163', '']

# Properties modified on anglesLUT
anglesLUT.Annotations = ['0', '0', '1.5707963267948966', '$\\pi/2$', '0,785398163', '$\\pi/4$']

# Properties modified on anglesLUT
anglesLUT.Annotations = ['0', '0', '1.5707963267948966', '$\\pi/2$', '0.785398163', '$\\pi/4$']

# get color legend/bar for anglesLUT in view renderView1
anglesLUTColorBar = GetScalarBar(anglesLUT, renderView1)
anglesLUTColorBar.AutoOrient = 1
anglesLUTColorBar.Orientation = 'Vertical'
anglesLUTColorBar.WindowLocation = 'LowerRightCorner'
anglesLUTColorBar.Position = [0.89, 0.02]
anglesLUTColorBar.Title = 'angles'
anglesLUTColorBar.ComponentTitle = ''
anglesLUTColorBar.TitleJustification = 'Centered'
anglesLUTColorBar.HorizontalTitle = 0
anglesLUTColorBar.TitleColor = [1.0, 1.0, 1.0]
anglesLUTColorBar.TitleOpacity = 1.0
anglesLUTColorBar.TitleFontFamily = 'Arial'
anglesLUTColorBar.TitleFontFile = ''
anglesLUTColorBar.TitleBold = 0
anglesLUTColorBar.TitleItalic = 0
anglesLUTColorBar.TitleShadow = 0
anglesLUTColorBar.TitleFontSize = 16
anglesLUTColorBar.LabelColor = [1.0, 1.0, 1.0]
anglesLUTColorBar.LabelOpacity = 1.0
anglesLUTColorBar.LabelFontFamily = 'Arial'
anglesLUTColorBar.LabelFontFile = ''
anglesLUTColorBar.LabelBold = 0
anglesLUTColorBar.LabelItalic = 0
anglesLUTColorBar.LabelShadow = 0
anglesLUTColorBar.LabelFontSize = 16
anglesLUTColorBar.AutomaticLabelFormat = 1
anglesLUTColorBar.LabelFormat = '%-#6.3g'
anglesLUTColorBar.DrawTickMarks = 1
anglesLUTColorBar.DrawTickLabels = 1
anglesLUTColorBar.UseCustomLabels = 0
anglesLUTColorBar.CustomLabels = []
anglesLUTColorBar.AddRangeLabels = 1
anglesLUTColorBar.RangeLabelFormat = '%-#6.1e'
anglesLUTColorBar.DrawAnnotations = 1
anglesLUTColorBar.AddRangeAnnotations = 0
anglesLUTColorBar.AutomaticAnnotations = 0
anglesLUTColorBar.DrawNanAnnotation = 0
anglesLUTColorBar.NanAnnotation = 'NaN'
anglesLUTColorBar.TextPosition = 'Ticks right/top, annotations left/bottom'
anglesLUTColorBar.ReverseLegend = 0
anglesLUTColorBar.ScalarBarThickness = 16
anglesLUTColorBar.ScalarBarLength = 0.33

# Properties modified on anglesLUTColorBar
anglesLUTColorBar.DrawTickLabels = 0
anglesLUTColorBar.AddRangeLabels = 0

# Properties modified on anglesLUTColorBar
anglesLUTColorBar.Title = 'angle $\\alpha$'
# anglesLUTColorBar.Title = 'angle $\\angle$'
anglesLUTColorBar.HorizontalTitle = 1
anglesLUTColorBar.TitleFontSize = 20
# Properties modified on anglesLUTColorBar
anglesLUTColorBar.LabelFontSize = 20

anglesLUTColorBar.TitleFontSize = 24
# Properties modified on anglesLUTColorBar
anglesLUTColorBar.LabelFontSize = 20

# Properties modified on anglesLUTColorBar
anglesLUTColorBar.DrawTickMarks = 0




# Properties modified on renderView1.AxesGrid
renderView1.AxesGrid.GridColor = [0.1803921568627451, 0.20392156862745098, 0.21176470588235294]


# only label 2 axes...
renderView1.AxesGrid.AxesToLabel = 7

renderView1.OrientationAxesVisibility = 0

#### saving camera placements for all active views

# current camera placement for renderView1
renderView1.InteractionMode = '2D'
renderView1.CameraPosition = [0.0, 7.295131721662212, 0.5]
renderView1.CameraFocalPoint = [0.0, 10.0, 0.5]
renderView1.CameraViewUp = [0.0, 0.0, 1.0]
renderView1.CameraParallelScale = 0.7000714249274855


# DRAW LINE

#
# # create a new 'Line'
# line1 = Line()
#
# # find source
# xMLStructuredGridReader1 = FindSource('XMLStructuredGridReader1')
#
# # Properties modified on line1
# line1.Point1 = [0.3, 0.0, 0.0]
# line1.Point2 = [0.3, 0.0, 1.0]
# line1.Resolution = 500
# # Properties modified on line1Display
#
#
# # get active view
# renderView1 = GetActiveViewOrCreate('RenderView')
# # uncomment following to set a specific view size
# # renderView1.ViewSize = [1380, 518]
#
# # show data in view
# line1Display = Show(line1, renderView1)
#
# # trace defaults for the display properties.
# line1Display.Representation = 'Surface'
# line1Display.ColorArrayName = [None, '']
# line1Display.OSPRayScaleArray = 'Texture Coordinates'
# line1Display.OSPRayScaleFunction = 'PiecewiseFunction'
# line1Display.SelectOrientationVectors = 'None'
# line1Display.ScaleFactor = 0.1
# line1Display.SelectScaleArray = 'None'
# line1Display.GlyphType = 'Arrow'
# line1Display.GlyphTableIndexArray = 'None'
# line1Display.GaussianRadius = 0.005
# line1Display.SetScaleArray = ['POINTS', 'Texture Coordinates']
# line1Display.ScaleTransferFunction = 'PiecewiseFunction'
# line1Display.OpacityArray = ['POINTS', 'Texture Coordinates']
# line1Display.OpacityTransferFunction = 'PiecewiseFunction'
# line1Display.DataAxesGrid = 'GridAxesRepresentation'
# line1Display.PolarAxes = 'PolarAxesRepresentation'
#
# # init the 'PiecewiseFunction' selected for 'OSPRayScaleFunction'
# line1Display.OSPRayScaleFunction.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.213836476688135, 0.625, 0.5, 0.0, 1.3616352081298828, 0.6691176295280457, 0.5, 0.0, 1.6666333299996667, 0.8676470518112183, 0.5, 0.0, 1.7358490228652954, 0.6911764740943909, 0.5, 0.0, 2.0, 0.8014705777168274, 0.5, 0.0]
#
# # init the 'PiecewiseFunction' selected for 'ScaleTransferFunction'
# line1Display.ScaleTransferFunction.Points = [0.0, 0.8602941036224365, 0.5, 0.0, 0.2138364766881351, 0.625, 0.5, 0.0, 0.3616352081298828, 0.6691176295280457, 0.5, 0.0, 0.6666333299996667, 0.8676470518112183, 0.5, 0.0, 0.7358490228652954, 0.6911764740943909, 0.5, 0.0, 1.0, 0.8014705777168274, 0.5, 0.0]
#
# # init the 'PiecewiseFunction' selected for 'OpacityTransferFunction'
# line1Display.OpacityTransferFunction.Points = [0.0, 0.8602941036224365, 0.5, 0.0, 0.2138364766881351, 0.625, 0.5, 0.0, 0.3616352081298828, 0.6691176295280457, 0.5, 0.0, 0.6666333299996667, 0.8676470518112183, 0.5, 0.0, 0.7358490228652954, 0.6911764740943909, 0.5, 0.0, 1.0, 0.8014705777168274, 0.5, 0.0]
#
# # find source
# transform1 = FindSource('Transform1')
#
# # update the view to ensure updated data information
# renderView1.Update()
#
# # change solid color
# line1Display.AmbientColor = [1.0, 1.0, 0.4980392156862745]
# line1Display.DiffuseColor = [1.0, 1.0, 0.4980392156862745]
#
# # change representation type
# line1Display.SetRepresentationType('Points')
#
# line1Display.PointSize = 3.0
# # reset view to fit data bounds
# renderView1.ResetCamera(0.30000001192092896, 0.30000001192092896, 0.0, 0.0, 0.0, 1.0)
#
# # toggle 3D widget visibility (only when running from the GUI)
# Hide3DWidgets(proxy=line1)
#
# #### saving camera placements for all active views
#
# # current camera placement for renderView1
# renderView1.InteractionMode = '2D'
# renderView1.CameraPosition = [0.30000001192092896, -1.9318516525781368, 0.5]
# renderView1.CameraFocalPoint = [0.30000001192092896, 0.0, 0.5]
# renderView1.CameraViewUp = [0.0, 0.0, 1.0]
# renderView1.CameraParallelScale = 0.7320500000000002
#


# # reset view to fit data
# renderView1.ResetCamera()


# create a new 'Line'
line1 = Line()

# Properties modified on line1
line1.Point1 = [0.3, 0.0, 0.0]
line1.Point2 = [0.3, 0.0, 1.0]
line1.Resolution = 400

# get active view
renderView1 = GetActiveViewOrCreate('RenderView')
# uncomment following to set a specific view size
# renderView1.ViewSize = [1046, 545]

# show data in view
line1Display = Show(line1, renderView1)

# trace defaults for the display properties.
line1Display.Representation = 'Surface'
line1Display.ColorArrayName = [None, '']
line1Display.OSPRayScaleArray = 'Texture Coordinates'
line1Display.OSPRayScaleFunction = 'PiecewiseFunction'
line1Display.SelectOrientationVectors = 'None'
line1Display.ScaleFactor = 0.1
line1Display.SelectScaleArray = 'None'
line1Display.GlyphType = 'Arrow'
line1Display.GlyphTableIndexArray = 'None'
line1Display.GaussianRadius = 0.005
line1Display.SetScaleArray = ['POINTS', 'Texture Coordinates']
line1Display.ScaleTransferFunction = 'PiecewiseFunction'
line1Display.OpacityArray = ['POINTS', 'Texture Coordinates']
line1Display.OpacityTransferFunction = 'PiecewiseFunction'
line1Display.DataAxesGrid = 'GridAxesRepresentation'
line1Display.PolarAxes = 'PolarAxesRepresentation'

# init the 'PiecewiseFunction' selected for 'OSPRayScaleFunction'
line1Display.OSPRayScaleFunction.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.213836476688135, 0.625, 0.5, 0.0, 1.3616352081298828, 0.6691176295280457, 0.5, 0.0, 1.6666333299996667, 0.8676470518112183, 0.5, 0.0, 1.7358490228652954, 0.6911764740943909, 0.5, 0.0, 2.0, 0.8014705777168274, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'ScaleTransferFunction'
line1Display.ScaleTransferFunction.Points = [0.0, 0.8602941036224365, 0.5, 0.0, 0.2138364766881351, 0.625, 0.5, 0.0, 0.3616352081298828, 0.6691176295280457, 0.5, 0.0, 0.6666333299996667, 0.8676470518112183, 0.5, 0.0, 0.7358490228652954, 0.6911764740943909, 0.5, 0.0, 1.0, 0.8014705777168274, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'OpacityTransferFunction'
line1Display.OpacityTransferFunction.Points = [0.0, 0.8602941036224365, 0.5, 0.0, 0.2138364766881351, 0.625, 0.5, 0.0, 0.3616352081298828, 0.6691176295280457, 0.5, 0.0, 0.6666333299996667, 0.8676470518112183, 0.5, 0.0, 0.7358490228652954, 0.6911764740943909, 0.5, 0.0, 1.0, 0.8014705777168274, 0.5, 0.0]

# find source
xMLStructuredGridReader1 = FindSource('XMLStructuredGridReader1')

# find source
transform1 = FindSource('Transform1')

# update the view to ensure updated data information
renderView1.Update()

# change representation type
line1Display.SetRepresentationType('Points')

# change solid color
line1Display.AmbientColor = [1.0, 1.0, 0.4980392156862745]
line1Display.DiffuseColor = [1.0, 1.0, 0.4980392156862745]

# Properties modified on line1Display
line1Display.PointSize = 3.0

# toggle 3D widget visibility (only when running from the GUI)
Hide3DWidgets(proxy=line1)

# reset view to fit data
renderView1.ResetCamera()

# reset view to fit data
renderView1.ResetCamera()

#### saving camera placements for all active views

# current camera placement for renderView1
renderView1.InteractionMode = '2D'
renderView1.CameraPosition = [0.0, -14.510745305395833, 0.5]
renderView1.CameraFocalPoint = [0.0, 5.0, 0.5]
renderView1.CameraViewUp = [0.0, 0.0, 1.0]
renderView1.CameraParallelScale = 0.7506135276429463





#
if case == 1:

    # get color transfer function/color map for 'angles'
    anglesLUT = GetColorTransferFunction('angles')
    anglesLUT.AutomaticRescaleRangeMode = "Grow and update on 'Apply'"
    anglesLUT.InterpretValuesAsCategories = 0
    anglesLUT.AnnotationsInitialized = 0
    anglesLUT.ShowCategoricalColorsinDataRangeOnly = 0
    anglesLUT.RescaleOnVisibilityChange = 0
    anglesLUT.EnableOpacityMapping = 1
    anglesLUT.RGBPoints = [0.0, 0.23137254902, 0.298039215686, 0.752941176471, 0.9632241725921631, 0.865, 0.865, 0.865, 1.5707963267948966, 0.705882352941, 0.0156862745098, 0.149019607843]
    anglesLUT.UseLogScale = 0
    anglesLUT.ColorSpace = 'Diverging'
    anglesLUT.UseBelowRangeColor = 0
    anglesLUT.BelowRangeColor = [0.0, 0.0, 0.0]
    anglesLUT.UseAboveRangeColor = 0
    anglesLUT.AboveRangeColor = [0.5, 0.5, 0.5]
    anglesLUT.NanColor = [1.0, 1.0, 0.0]
    anglesLUT.NanOpacity = 1.0
    anglesLUT.Discretize = 1
    anglesLUT.NumberOfTableValues = 256
    anglesLUT.ScalarRangeInitialized = 1.0
    anglesLUT.HSVWrap = 0
    anglesLUT.VectorComponent = 0
    anglesLUT.VectorMode = 'Magnitude'
    anglesLUT.AllowDuplicateScalars = 1
    anglesLUT.Annotations = ['1.57', '$\\pi / 2$', '0.78', '$\\pi/4$', '0', '0']
    anglesLUT.ActiveAnnotatedValues = []
    anglesLUT.IndexedColors = [1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0]
    anglesLUT.IndexedOpacities = [1.0, 1.0, 1.0, 1.0]

    # get opacity transfer function/opacity map for 'angles'
    anglesPWF = GetOpacityTransferFunction('angles')
    anglesPWF.Points = [0.0, 0.136764707416296, 0.5, 0.0, 0.705621357414266, 1.0, 0.5, 0.0, 0.82168139570297, 1.0, 0.5, 0.0, 0.9799451305746117, 1.0, 0.5, 0.0, 1.0960051688633157, 1.0, 0.5, 0.0, 1.5707963267948966, 1.0, 0.5, 0.0]
    anglesPWF.AllowDuplicateScalars = 1
    anglesPWF.UseLogScale = 0
    anglesPWF.ScalarRangeInitialized = 1

    # Properties modified on anglesLUT
    anglesLUT.InterpretValuesAsCategories = 1
    anglesLUT.AnnotationsInitialized = 1

    # Properties modified on anglesLUT
    anglesLUT.Annotations = ['1.57', '$\\pi / 2$', '0.78', '$\\pi/4$', '0', '0', '1.5707963267948966', '1.5708']

    # Properties modified on anglesLUT
    anglesLUT.Annotations = ['1.57', '$\\pi / 2$', '0.78', '$\\pi/4$', '0', '0']
    anglesLUT.IndexedColors = [1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0]
    anglesLUT.IndexedOpacities = [1.0, 1.0, 1.0]

    # Properties modified on anglesLUT
    anglesLUT.Annotations = ['1.57', '$\\pi / 2$', '0', '0']
    anglesLUT.IndexedColors = [1.0, 1.0, 1.0, 1.0, 0.0, 0.0]
    anglesLUT.IndexedOpacities = [1.0, 1.0]

    # Properties modified on anglesLUT
    anglesLUT.Annotations = ['1.5707963267948966', '$\\pi / 2$', '0', '0']

    # Properties modified on anglesLUT
    anglesLUT.IndexedColors = [1.0, 0.0, 0.0, 1.0, 0.0, 0.0]

    # Properties modified on anglesLUT
    anglesLUT.IndexedColors = [1.0, 0.0, 0.0, 0.23137254901960785, 0.2980392156862745, 0.7529411764705882]
    # Properties modified on anglesLUT
    anglesLUT.IndexedColors = [0.7058823529411765, 0.01568627450980392, 0.14901960784313725, 0.23137254901960785, 0.2980392156862745, 0.7529411764705882]

    # Properties modified on anglesLUT
    anglesLUT.IndexedOpacities = [1.0, 0.02]

    # Properties modified on anglesLUT
    anglesLUT.IndexedOpacities = [1.0, 0.05]

    # Properties modified on anglesLUT
    anglesLUT.IndexedOpacities = [1.0, 0.1]

    # #TEST: (only for 100SP..)
    # anglesLUT.IndexedOpacities = [1.0, 0.03]
    # transform1Display.Opacity = 0.1  #overall Opacity







if curvature == 1 :

    # find source
    transform1 = FindSource('Transform1')

    # set active source
    SetActiveSource(transform1)

    # get color transfer function/color map for 'angles'
    anglesLUT = GetColorTransferFunction('angles')
    anglesLUT.RGBPoints = [0.0, 0.23137254902, 0.298039215686, 0.752941176471, 0.7853981633974483, 0.865, 0.865, 0.865, 1.5707963267948966, 0.705882352941, 0.0156862745098, 0.149019607843]
    anglesLUT.ScalarRangeInitialized = 1.0
    anglesLUT.Annotations = ['0', '0', '1.5707963267948966', '$\\pi/2$', '0.785398163', '$\\pi/4$']
    anglesLUT.IndexedColors = [1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0]
    anglesLUT.IndexedOpacities = [1.0, 1.0, 1.0]

    # get opacity transfer function/opacity map for 'angles'
    anglesPWF = GetOpacityTransferFunction('angles')
    anglesPWF.Points = [0.0, 0.8602941036224365, 0.5, 0.0, 0.33589355211648514, 0.625, 0.5, 0.0, 0.5680552565701278, 0.6691176295280457, 0.5, 0.0, 1.0471451860825267, 0.8676470518112183, 0.5, 0.0, 1.15586894219242, 0.6911764740943909, 0.5, 0.0, 1.5707963267948966, 0.8014705777168274, 0.5, 0.0]
    anglesPWF.ScalarRangeInitialized = 1

    # get active view
    renderView1 = GetActiveViewOrCreate('RenderView')
    # uncomment following to set a specific view size
    # renderView1.ViewSize = [1046, 545]

    # get display properties
    transform1Display = GetDisplayProperties(transform1, view=renderView1)

    # set scalar coloring
    ColorBy(transform1Display, ('POINTS', 'curvature'))

    # Hide the scalar bar for this color map if no visible data is colored by it.
    HideScalarBarIfNotNeeded(anglesLUT, renderView1)

    # rescale color and/or opacity maps used to include current data range
    transform1Display.RescaleTransferFunctionToDataRange(True, False)

    # show color bar/color legend
    transform1Display.SetScalarBarVisibility(renderView1, True)

    # get color transfer function/color map for 'curvature'
    curvatureLUT = GetColorTransferFunction('curvature')
    curvatureLUT.RGBPoints = [-74.1, 0.001462, 0.000466, 0.013866, -73.517583, 0.002258, 0.001295, 0.018331, -72.93531449999999, 0.003279, 0.002305, 0.023708, -72.3528975, 0.004512, 0.00349, 0.029965, -71.77062899999999, 0.00595, 0.004843, 0.03713, -71.18821199999998, 0.007588, 0.006356, 0.044973, -70.60594350000001, 0.009426, 0.008022, 0.052844, -70.02352650000002, 0.011465, 0.009828, 0.06075, -69.44110949999998, 0.013708, 0.011771, 0.068667, -68.858841, 0.016156, 0.01384, 0.076603, -68.276424, 0.018815, 0.016026, 0.084584, -67.6941555, 0.021692, 0.01832, 0.09261, -67.1117385, 0.024792, 0.020715, 0.100676, -66.52946999999999, 0.028123, 0.023201, 0.108787, -65.947053, 0.031696, 0.025765, 0.116965, -65.36463599999999, 0.03552, 0.028397, 0.125209, -64.78236749999999, 0.039608, 0.03109, 0.133515, -64.19995049999999, 0.04383, 0.03383, 0.141886, -63.61768199999998, 0.048062, 0.036607, 0.150327, -63.03526499999998, 0.05232, 0.039407, 0.158841, -62.452996500000005, 0.056615, 0.04216, 0.167446, -61.870579500000005, 0.060949, 0.044794, 0.176129, -61.28816249999998, 0.06533, 0.047318, 0.184892, -60.705894, 0.069764, 0.049726, 0.193735, -60.12347700000001, 0.074257, 0.052017, 0.20266, -59.541208499999996, 0.078815, 0.054184, 0.211667, -58.9587915, 0.083446, 0.056225, 0.220755, -58.37652299999999, 0.088155, 0.058133, 0.229922, -57.79410599999999, 0.092949, 0.059904, 0.239164, -57.21183749999999, 0.097833, 0.061531, 0.248477, -56.62942049999998, 0.102815, 0.06301, 0.257854, -56.04700349999999, 0.107899, 0.064335, 0.267289, -55.464734999999976, 0.113094, 0.065492, 0.276784, -54.882317999999984, 0.118405, 0.066479, 0.286321, -54.30004950000001, 0.123833, 0.067295, 0.295879, -53.71763250000001, 0.12938, 0.067935, 0.305443, -53.135363999999996, 0.135053, 0.068391, 0.315, -52.552947, 0.140858, 0.068654, 0.324538, -51.970530000000004, 0.146785, 0.068738, 0.334011, -51.3882615, 0.152839, 0.068637, 0.343404, -50.8058445, 0.159018, 0.068354, 0.352688, -50.22357599999999, 0.165308, 0.067911, 0.361816, -49.64115899999999, 0.171713, 0.067305, 0.370771, -49.05889049999998, 0.178212, 0.066576, 0.379497, -48.47647349999998, 0.184801, 0.065732, 0.387973, -47.89405649999999, 0.19146, 0.064818, 0.396152, -47.31178800000001, 0.198177, 0.063862, 0.404009, -46.729370999999986, 0.204935, 0.062907, 0.411514, -46.1471025, 0.211718, 0.061992, 0.418647, -45.56468550000001, 0.218512, 0.061158, 0.425392, -44.982417, 0.225302, 0.060445, 0.431742, -44.400000000000006, 0.232077, 0.059889, 0.437695, -43.817583, 0.238826, 0.059517, 0.443256, -43.235314499999994, 0.245543, 0.059352, 0.448436, -42.652897499999995, 0.25222, 0.059415, 0.453248, -42.07062899999999, 0.258857, 0.059706, 0.45771, -41.48821199999999, 0.265447, 0.060237, 0.46184, -40.90594349999998, 0.271994, 0.060994, 0.46566, -40.323526499999986, 0.278493, 0.061978, 0.46919, -39.741109499999986, 0.284951, 0.063168, 0.472451, -39.158840999999974, 0.291366, 0.064553, 0.475462, -38.57642399999998, 0.29774, 0.066117, 0.478243, -37.994155500000005, 0.304081, 0.067835, 0.480812, -37.411738500000006, 0.310382, 0.069702, 0.483186, -36.82947, 0.316654, 0.07169, 0.48538, -36.247053, 0.322899, 0.073782, 0.487408, -35.664636, 0.329114, 0.075972, 0.489287, -35.0823675, 0.335308, 0.078236, 0.491024, -34.4999505, 0.341482, 0.080564, 0.492631, -33.917681999999985, 0.347636, 0.082946, 0.494121, -33.33526499999999, 0.353773, 0.085373, 0.495501, -32.752996500000016, 0.359898, 0.087831, 0.496778, -32.17057949999998, 0.366012, 0.090314, 0.49796, -31.58816249999999, 0.372116, 0.092816, 0.499053, -31.005894000000012, 0.378211, 0.095332, 0.500067, -30.423476999999977, 0.384299, 0.097855, 0.501002, -29.8412085, 0.390384, 0.100379, 0.501864, -29.258791500000008, 0.396467, 0.102902, 0.502658, -28.676522999999996, 0.402548, 0.10542, 0.503386, -28.094105999999996, 0.408629, 0.10793, 0.504052, -27.51183749999999, 0.414709, 0.110431, 0.504662, -26.929420499999992, 0.420791, 0.11292, 0.505215, -26.347003499999992, 0.426877, 0.115395, 0.505714, -25.764734999999988, 0.432967, 0.117855, 0.50616, -25.182317999999988, 0.439062, 0.120298, 0.506555, -24.600049499999976, 0.445163, 0.122724, 0.506901, -24.017632499999984, 0.451271, 0.125132, 0.507198, -23.435364000000007, 0.457386, 0.127522, 0.507448, -22.852946999999972, 0.463508, 0.129893, 0.507652, -22.270530000000008, 0.46964, 0.132245, 0.507809, -21.688261500000003, 0.47578, 0.134577, 0.507921, -21.105844500000003, 0.481929, 0.136891, 0.507989, -20.523576, 0.488088, 0.139186, 0.508011, -19.941159, 0.494258, 0.141462, 0.507988, -19.358890499999987, 0.500438, 0.143719, 0.50792, -18.776473499999994, 0.506629, 0.145958, 0.507806, -18.194056499999995, 0.512831, 0.148179, 0.507648, -17.611787999999983, 0.519045, 0.150383, 0.507443, -17.02937099999999, 0.52527, 0.152569, 0.507192, -16.447102500000014, 0.531507, 0.154739, 0.506895, -15.864685499999979, 0.537755, 0.156894, 0.506551, -15.282417000000002, 0.544015, 0.159033, 0.506159, -14.70000000000001, 0.550287, 0.161158, 0.505719, -14.117582999999975, 0.556571, 0.163269, 0.50523, -13.535314499999998, 0.562866, 0.165368, 0.504692, -12.952897500000006, 0.569172, 0.167454, 0.504105, -12.370628999999994, 0.57549, 0.16953, 0.503466, -11.788211999999994, 0.581819, 0.171596, 0.502777, -11.20594349999999, 0.588158, 0.173652, 0.502035, -10.62352649999999, 0.594508, 0.175701, 0.501241, -10.04110949999999, 0.600868, 0.177743, 0.500394, -9.458840999999978, 0.607238, 0.179779, 0.499492, -8.876423999999986, 0.613617, 0.181811, 0.498536, -8.294155499999974, 0.620005, 0.18384, 0.497524, -7.71173850000001, 0.626401, 0.185867, 0.496456, -7.129469999999998, 0.632805, 0.187893, 0.495332, -6.547053000000005, 0.639216, 0.189921, 0.49415, -5.964636000000013, 0.645633, 0.191952, 0.49291, -5.382367500000001, 0.652056, 0.193986, 0.491611, -4.7999505000000084, 0.658483, 0.196027, 0.490253, -4.217681999999996, 0.664915, 0.198075, 0.488836, -3.6352649999999898, 0.671349, 0.200133, 0.487358, -3.052996499999992, 0.677786, 0.202203, 0.485819, -2.4705794999999853, 0.684224, 0.204286, 0.484219, -1.8881624999999929, 0.690661, 0.206384, 0.482558, -1.3058939999999808, 0.697098, 0.208501, 0.480835, -0.7234769999999884, 0.703532, 0.210638, 0.479049, -0.14120850000000473, 0.709962, 0.212797, 0.477201, 0.4412085000000161, 0.716387, 0.214982, 0.47529, 1.0234770000000282, 0.722805, 0.217194, 0.473316, 1.6058939999999922, 0.729216, 0.219437, 0.471279, 2.1881625000000042, 0.735616, 0.221713, 0.46918, 2.7705794999999966, 0.742004, 0.224025, 0.467018, 3.3529965000000033, 0.748378, 0.226377, 0.464794, 3.935265000000001, 0.754737, 0.228772, 0.462509, 4.517682000000008, 0.761077, 0.231214, 0.460162, 5.099950499999977, 0.767398, 0.233705, 0.457755, 5.682367500000012, 0.773695, 0.236249, 0.455289, 6.264636000000024, 0.779968, 0.238851, 0.452765, 6.847052999999988, 0.786212, 0.241514, 0.450184, 7.429470000000009, 0.792427, 0.244242, 0.447543, 8.011738500000021, 0.798608, 0.24704, 0.444848, 8.594155499999985, 0.804752, 0.249911, 0.442102, 9.176423999999997, 0.810855, 0.252861, 0.439305, 9.758841000000032, 0.816914, 0.255895, 0.436461, 10.341109500000002, 0.822926, 0.259016, 0.433573, 10.923526500000008, 0.828886, 0.262229, 0.430644, 11.5059435, 0.834791, 0.26554, 0.427671, 12.088212000000013, 0.840636, 0.268953, 0.424666, 12.670629000000005, 0.846416, 0.272473, 0.421631, 13.252897500000017, 0.852126, 0.276106, 0.418573, 13.83531450000001, 0.857763, 0.279857, 0.415496, 14.417582999999993, 0.86332, 0.283729, 0.412403, 15.000000000000014, 0.868793, 0.287728, 0.409303, 15.582416999999978, 0.874176, 0.291859, 0.406205, 16.16468549999999, 0.879464, 0.296125, 0.403118, 16.747102500000025, 0.884651, 0.30053, 0.400047, 17.329370999999995, 0.889731, 0.305079, 0.397002, 17.911788, 0.8947, 0.309773, 0.393995, 18.4940565, 0.899552, 0.314616, 0.391037, 19.076473500000006, 0.904281, 0.31961, 0.388137, 19.6588905, 0.908884, 0.324755, 0.385308, 20.24115900000001, 0.913354, 0.330052, 0.382563, 20.823576000000003, 0.917689, 0.3355, 0.379915, 21.405844499999986, 0.921884, 0.341098, 0.377376, 21.988261500000007, 0.925937, 0.346844, 0.374959, 22.57053000000002, 0.929845, 0.352734, 0.372677, 23.152946999999983, 0.933606, 0.358764, 0.370541, 23.73536400000002, 0.937221, 0.364929, 0.368567, 24.31763250000003, 0.940687, 0.371224, 0.366762, 24.900049499999994, 0.944006, 0.377643, 0.365136, 25.482318000000006, 0.94718, 0.384178, 0.363701, 26.064735000000027, 0.95021, 0.39082, 0.362468, 26.64700350000001, 0.953099, 0.397563, 0.361438, 27.229420500000003, 0.955849, 0.4044, 0.360619, 27.811837499999996, 0.958464, 0.411324, 0.360014, 28.394106000000008, 0.960949, 0.418323, 0.35963, 28.976523000000014, 0.96331, 0.42539, 0.359469, 29.558791500000012, 0.965549, 0.432519, 0.359529, 30.141208499999976, 0.967671, 0.439703, 0.35981, 30.72347699999999, 0.96968, 0.446936, 0.360311, 31.305894000000023, 0.971582, 0.45421, 0.36103, 31.888162500000035, 0.973381, 0.46152, 0.361965, 32.4705795, 0.975082, 0.468861, 0.363111, 33.05299650000002, 0.97669, 0.476226, 0.364466, 33.635265000000004, 0.97821, 0.483612, 0.366025, 34.217681999999996, 0.979645, 0.491014, 0.367783, 34.79995050000001, 0.981, 0.498428, 0.369734, 35.3823675, 0.982279, 0.505851, 0.371874, 35.964635999999985, 0.983485, 0.51328, 0.374198, 36.547053000000005, 0.984622, 0.520713, 0.376698, 37.12947000000001, 0.985693, 0.528148, 0.379371, 37.71173849999998, 0.9867, 0.535582, 0.38221, 38.294155500000016, 0.987646, 0.543015, 0.38521, 38.87642400000003, 0.988533, 0.550446, 0.388365, 39.45884099999999, 0.989363, 0.557873, 0.391671, 40.041109500000005, 0.990138, 0.565296, 0.395122, 40.623526500000025, 0.990871, 0.572706, 0.398714, 41.20594349999999, 0.991558, 0.580107, 0.402441, 41.788212, 0.992196, 0.587502, 0.406299, 42.370628999999994, 0.992785, 0.594891, 0.410283, 42.952897500000006, 0.993326, 0.602275, 0.41439, 43.53531450000001, 0.993834, 0.609644, 0.418613, 44.11758300000001, 0.994309, 0.616999, 0.42295, 44.70000000000002, 0.994738, 0.62435, 0.427397, 45.28241700000001, 0.995122, 0.631696, 0.431951, 45.86468550000002, 0.99548, 0.639027, 0.436607, 46.447102499999986, 0.99581, 0.646344, 0.441361, 47.029371, 0.996096, 0.653659, 0.446213, 47.61178800000002, 0.996341, 0.660969, 0.45116, 48.1940565, 0.99658, 0.668256, 0.456192, 48.776473499999994, 0.996775, 0.675541, 0.461314, 49.35889050000003, 0.996925, 0.682828, 0.466526, 49.941159, 0.997077, 0.690088, 0.471811, 50.523576000000006, 0.997186, 0.697349, 0.477182, 51.1058445, 0.997254, 0.704611, 0.482635, 51.68826150000001, 0.997325, 0.711848, 0.488154, 52.27052999999998, 0.997351, 0.719089, 0.493755, 52.852947000000015, 0.997351, 0.726324, 0.499428, 53.43536400000001, 0.997341, 0.733545, 0.505167, 54.01763249999999, 0.997285, 0.740772, 0.510983, 54.60004950000001, 0.997228, 0.747981, 0.516859, 55.18231800000004, 0.997138, 0.75519, 0.522806, 55.764735, 0.997019, 0.762398, 0.528821, 56.3470035, 0.996898, 0.769591, 0.534892, 56.92942050000002, 0.996727, 0.776795, 0.541039, 57.511837499999984, 0.996571, 0.783977, 0.547233, 58.09410600000001, 0.996369, 0.791167, 0.553499, 58.676523, 0.996162, 0.798348, 0.55982, 59.2587915, 0.995932, 0.805527, 0.566202, 59.84120850000002, 0.99568, 0.812706, 0.572645, 60.42347700000002, 0.995424, 0.819875, 0.57914, 61.005893999999984, 0.995131, 0.827052, 0.585701, 61.58816249999998, 0.994851, 0.834213, 0.592307, 62.17057950000003, 0.994524, 0.841387, 0.598983, 62.752996499999995, 0.994222, 0.84854, 0.605696, 63.33526499999999, 0.993866, 0.855711, 0.612482, 63.91768200000001, 0.993545, 0.862859, 0.619299, 64.49995050000001, 0.99317, 0.870024, 0.626189, 65.0823675, 0.992831, 0.877168, 0.633109, 65.664636, 0.99244, 0.88433, 0.640099, 66.247053, 0.992089, 0.89147, 0.647116, 66.82947000000001, 0.991688, 0.898627, 0.654202, 67.41173850000001, 0.991332, 0.905763, 0.661309, 67.9941555, 0.99093, 0.912915, 0.668481, 68.57642399999997, 0.99057, 0.920049, 0.675675, 69.15884100000002, 0.990175, 0.927196, 0.682926, 69.74110950000002, 0.989815, 0.934329, 0.690198, 70.32352649999999, 0.989434, 0.94147, 0.697519, 70.9059435, 0.989077, 0.948604, 0.704863, 71.48821200000003, 0.988717, 0.955742, 0.712242, 72.070629, 0.988367, 0.962878, 0.719649, 72.6528975, 0.988033, 0.970012, 0.727077, 73.23531449999999, 0.987691, 0.977154, 0.734536, 73.81758300000001, 0.987387, 0.984288, 0.742002, 74.4, 0.987053, 0.991438, 0.749504]
    curvatureLUT.ColorSpace = 'RGB'
    curvatureLUT.NanColor = [0.0, 1.0, 0.0]
    curvatureLUT.ScalarRangeInitialized = 1.0

    # get opacity transfer function/opacity map for 'curvature'
    curvaturePWF = GetOpacityTransferFunction('curvature')
    curvaturePWF.Points = [-74.1, 0.8602941036224365, 0.5, 0.0, -42.34528321181193, 0.625, 0.5, 0.0, -20.397171592712397, 0.6691176295280457, 0.5, 0.0, 24.89504950495052, 0.8676470518112183, 0.5, 0.0, 35.173579895496374, 0.6911764740943909, 0.5, 0.0, 74.4, 0.8014705777168274, 0.5, 0.0]
    curvaturePWF.ScalarRangeInitialized = 1

    # create a new 'Contour'
    contour1 = Contour(Input=transform1)
    contour1.ContourBy = ['POINTS', 'Type']
    contour1.Isosurfaces = [2.0]
    contour1.PointMergeMethod = 'Uniform Binning'

    # find source
    line1 = FindSource('Line1')

    # find source
    xMLStructuredGridReader1 = FindSource('XMLStructuredGridReader1')

    # Properties modified on contour1
    contour1.ContourBy = ['POINTS', 'curvature']
    contour1.Isosurfaces = [0.0]

    # show data in view
    contour1Display = Show(contour1, renderView1)

    # trace defaults for the display properties.
    contour1Display.Representation = 'Surface'
    contour1Display.ColorArrayName = ['POINTS', 'curvature']
    contour1Display.LookupTable = curvatureLUT
    contour1Display.OSPRayScaleArray = 'curvature'
    contour1Display.OSPRayScaleFunction = 'PiecewiseFunction'
    contour1Display.SelectOrientationVectors = 'None'
    contour1Display.ScaleFactor = 0.08543854954749906
    contour1Display.SelectScaleArray = 'curvature'
    contour1Display.GlyphType = 'Arrow'
    contour1Display.GlyphTableIndexArray = 'curvature'
    contour1Display.GaussianRadius = 0.004271927477374953
    contour1Display.SetScaleArray = ['POINTS', 'curvature']
    contour1Display.ScaleTransferFunction = 'PiecewiseFunction'
    contour1Display.OpacityArray = ['POINTS', 'curvature']
    contour1Display.OpacityTransferFunction = 'PiecewiseFunction'
    contour1Display.DataAxesGrid = 'GridAxesRepresentation'
    contour1Display.PolarAxes = 'PolarAxesRepresentation'

    # init the 'PiecewiseFunction' selected for 'OSPRayScaleFunction'
    contour1Display.OSPRayScaleFunction.Points = [1.0, 0.8602941036224365, 0.5, 0.0, 1.213836476688135, 0.625, 0.5, 0.0, 1.3616352081298828, 0.6691176295280457, 0.5, 0.0, 1.6666333299996667, 0.8676470518112183, 0.5, 0.0, 1.7358490228652954, 0.6911764740943909, 0.5, 0.0, 2.0, 0.8014705777168274, 0.5, 0.0]

    # init the 'PiecewiseFunction' selected for 'ScaleTransferFunction'
    contour1Display.ScaleTransferFunction.Points = [0.0, 0.8602941036224365, 0.5, 0.0, 2.5142493840581125e-39, 0.625, 0.5, 0.0, 4.252039284300157e-39, 0.6691176295280457, 0.5, 0.0, 7.838150278676329e-39, 0.8676470518112183, 0.5, 0.0, 8.651975477491057e-39, 0.6911764740943909, 0.5, 0.0, 1.1757813367477812e-38, 0.8014705777168274, 0.5, 0.0]

    # init the 'PiecewiseFunction' selected for 'OpacityTransferFunction'
    contour1Display.OpacityTransferFunction.Points = [0.0, 0.8602941036224365, 0.5, 0.0, 2.5142493840581125e-39, 0.625, 0.5, 0.0, 4.252039284300157e-39, 0.6691176295280457, 0.5, 0.0, 7.838150278676329e-39, 0.8676470518112183, 0.5, 0.0, 8.651975477491057e-39, 0.6911764740943909, 0.5, 0.0, 1.1757813367477812e-38, 0.8014705777168274, 0.5, 0.0]

    # show color bar/color legend
    contour1Display.SetScalarBarVisibility(renderView1, True)

    # update the view to ensure updated data information
    renderView1.Update()

    # turn off scalar coloring
    ColorBy(contour1Display, None)

    # Hide the scalar bar for this color map if no visible data is colored by it.
    HideScalarBarIfNotNeeded(curvatureLUT, renderView1)

    # change solid color
    contour1Display.AmbientColor = [1.0, 1.0, 0.4980392156862745]
    contour1Display.DiffuseColor = [1.0, 1.0, 0.4980392156862745]

    # change solid color
    contour1Display.AmbientColor = [0.0, 0.0, 0.0]
    contour1Display.DiffuseColor = [0.0, 0.0, 0.0]

    # set active source
    SetActiveSource(transform1)

    # Apply a preset using its name. Note this may not work as expected when presets have duplicate names.
    curvatureLUT.ApplyPreset('Cold and Hot', True)

    # set active source
    SetActiveSource(contour1)

    # change solid color
    contour1Display.AmbientColor = [1.0, 1.0, 0.4980392156862745]
    contour1Display.DiffuseColor = [1.0, 1.0, 0.4980392156862745]

    # change solid color
    contour1Display.AmbientColor = [1.0, 1.0, 1.0]
    contour1Display.DiffuseColor = [1.0, 1.0, 1.0]

    #### saving camera placements for all active views

    # current camera placement for renderView1
    renderView1.InteractionMode = '2D'
    renderView1.CameraPosition = [0.0, -14.510745305395833, 0.5]
    renderView1.CameraFocalPoint = [0.0, 5.0, 0.5]
    renderView1.CameraViewUp = [0.0, 0.0, 1.0]
    renderView1.CameraParallelScale = 0.7506135276429463

    curvatureLUTColorBar = GetScalarBar(curvatureLUT, renderView1)
    curvatureLUTColorBar.Title = 'curvature'
    curvatureLUTColorBar.ComponentTitle = ''

    # Properties modified on curvatureLUTColorBar
    curvatureLUTColorBar.Title = '$ \\kappa $'
    curvatureLUTColorBar.HorizontalTitle = 1
    curvatureLUTColorBar.TitleFontSize = 24
    curvatureLUTColorBar.LabelFontSize = 20


    # get active source.
    contour1 = GetActiveSource()

    # get active view
    renderView1 = GetActiveViewOrCreate('RenderView')
    # uncomment following to set a specific view size
    # renderView1.ViewSize = [1046, 545]

    # get display properties
    contour1Display = GetDisplayProperties(contour1, view=renderView1)

    # change representation type
    contour1Display.SetRepresentationType('Surface')

    # change representation type
    contour1Display.SetRepresentationType('Points')

    # Properties modified on contour1Display
    contour1Display.PointSize = 3.0

    # Properties modified on contour1Display
    contour1Display.PointSize = 2.0

    # Properties modified on contour1Display
    contour1Display.RenderPointsAsSpheres = 0

    # Properties modified on contour1Display
    contour1Display.RenderPointsAsSpheres = 1



#### uncomment the following to render all views
# RenderAllViews()
# alternatively, if you want to write images, you can use SaveScreenshot(...).
# ----------------- EXPORT -----------------
# save screenshot
# SaveScreenshot('/home/klaus/Desktop/PhaseDiagramPlot.png', renderView1, ImageResolution=[1257, 934])
# SaveScreenshot('/home/klaus/Desktop/PhaseDiagramPlot.png', renderView1, ImageResolution=[2514, 1868])
# SaveScreenshot('/home/klaus/Desktop/PhaseDiagramPlot.png', renderView1, ImageResolution=[1063, 657])


SaveScreenshot('/home/klaus/Desktop/2DPhaseDiagram.png', renderView1, ImageResolution=[2126, 1314])
# export view
# ExportView('/home/klaus/Desktop/PhaseDiagramPlot.pdf', view=renderView1)