blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 112 | license_type stringclasses 2 values | repo_name stringlengths 5 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 777 values | visit_date timestamp[us]date 2015-08-06 10:31:46 2023-09-06 10:44:38 | revision_date timestamp[us]date 1970-01-01 02:38:32 2037-05-03 13:00:00 | committer_date timestamp[us]date 1970-01-01 02:38:32 2023-09-06 01:08:06 | github_id int64 4.92k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22 values | gha_event_created_at timestamp[us]date 2012-06-04 01:52:49 2023-09-14 21:59:50 ⌀ | gha_created_at timestamp[us]date 2008-05-22 07:58:19 2023-08-21 12:35:19 ⌀ | gha_language stringclasses 149 values | src_encoding stringclasses 26 values | language stringclasses 1 value | is_vendor bool 2 classes | is_generated bool 2 classes | length_bytes int64 3 10.2M | extension stringclasses 188 values | content stringlengths 3 10.2M | authors listlengths 1 1 | author_id stringlengths 1 132 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0c82c12388765452f1cf2aab6bd56e2b66ed9de6 | f9f4a41b8274e64a07eef099d937f60715f35d83 | /4_matrix/vec.py | 5ec3ec510e269b32c21f76b614ecad11c157a927 | [] | no_license | tsh/linear-algebra-coding-the-matrix | ae178f177650e56e623c8a6c7f8dda6c972e276d | d9f33165161009d1417c15eccce8ad1196c3248b | refs/heads/master | 2021-01-21T13:04:41.687831 | 2018-02-25T17:53:50 | 2018-02-25T17:53:50 | 55,892,812 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,040 | py | # version code 24ea27739109+
coursera = 1
# Please fill out this stencil and submit using the provided submission script.
# Copyright 2013 Philip N. Klein
def getitem(v,k):
"""
Return the value of entry k in v.
Be sure getitem(v,k) returns 0 if k is not represented in v.f.
>>> v = Vec({'a','b','c', 'd'},{'a':2,'c':1,'d':3})
>>> v['d']
3
>>> v['b']
0
"""
if k in v.D and k not in v.f:
return 0
else:
return v.f.get(k)
def setitem(v,k,val):
"""
Set the element of v with label d to be val.
setitem(v,d,val) should set the value for key d even if d
is not previously represented in v.f.
>>> v = Vec({'a', 'b', 'c'}, {'b':0})
>>> v['b'] = 5
>>> v['b']
5
>>> v['a'] = 1
>>> v['a']
1
>>> v['a'] = 0
>>> v['a']
0
"""
v.f[k] = val
def equal(u,v):
"""
Return true iff u is equal to v.
Because of sparse representation, it is not enough to compare dictionaries
>>> Vec({'a', 'b', 'c'}, {'a':0}) == Vec({'a', 'b', 'c'}, {'b':0})
True
Be sure that equal(u, v) check equalities for all keys from u.f and v.f even if
some keys in u.f do not exist in v.f (or vice versa)
>>> Vec({'x','y','z'},{'y':1,'x':2}) == Vec({'x','y','z'},{'y':1,'z':0})
False
>>> Vec({'a','b','c'}, {'a':0,'c':1}) == Vec({'a','b','c'}, {'a':0,'c':1,'b':4})
False
>>> Vec({'a','b','c'}, {'a':0,'c':1,'b':4}) == Vec({'a','b','c'}, {'a':0,'c':1})
False
The keys matter:
>>> Vec({'a','b'},{'a':1}) == Vec({'a','b'},{'b':1})
False
The values matter:
>>> Vec({'a','b'},{'a':1}) == Vec({'a','b'},{'a':2})
False
"""
assert u.D == v.D
for k in v.D:
if getitem(v, k) != getitem(u, k):
return False
return True
def add(u,v):
"""
Returns the sum of the two vectors.
Make sure to add together values for all keys from u.f and v.f even if some keys in u.f do not
exist in v.f (or vice versa)
>>> a = Vec({'a','e','i','o','u'}, {'a':0,'e':1,'i':2})
>>> b = Vec({'a','e','i','o','u'}, {'o':4,'u':7})
>>> c = Vec({'a','e','i','o','u'}, {'a':0,'e':1,'i':2,'o':4,'u':7})
>>> a + b == c
True
>>> a == Vec({'a','e','i','o','u'}, {'a':0,'e':1,'i':2})
True
>>> b == Vec({'a','e','i','o','u'}, {'o':4,'u':7})
True
>>> d = Vec({'x','y','z'}, {'x':2,'y':1})
>>> e = Vec({'x','y','z'}, {'z':4,'y':-1})
>>> f = Vec({'x','y','z'}, {'x':2,'y':0,'z':4})
>>> d + e == f
True
>>> b + Vec({'a','e','i','o','u'}, {}) == b
True
"""
assert u.D == v.D
result = {}
for k in u.D:
result[k] = getitem(u, k) + getitem(v, k)
return Vec(u.D, result)
def dot(u,v):
"""
Returns the dot product of the two vectors.
>>> u1 = Vec({'a','b'}, {'a':1, 'b':2})
>>> u2 = Vec({'a','b'}, {'b':2, 'a':1})
>>> u1*u2
5
>>> u1 == Vec({'a','b'}, {'a':1, 'b':2})
True
>>> u2 == Vec({'a','b'}, {'b':2, 'a':1})
True
>>> v1 = Vec({'p','q','r','s'}, {'p':2,'s':3,'q':-1,'r':0})
>>> v2 = Vec({'p','q','r','s'}, {'p':-2,'r':5})
>>> v1*v2
-4
>>> w1 = Vec({'a','b','c'}, {'a':2,'b':3,'c':4})
>>> w2 = Vec({'a','b','c'}, {'a':12,'b':8,'c':6})
>>> w1*w2
72
The pairwise products should not be collected in a set before summing
because a set eliminates duplicates
>>> v1 = Vec({1, 2}, {1 : 3, 2 : 6})
>>> v2 = Vec({1, 2}, {1 : 2, 2 : 1})
>>> v1 * v2
12
"""
assert u.D == v.D
return sum([getitem(v,k) * getitem(u,k) for k in v.D])
def scalar_mul(v, alpha):
"""
Returns the scalar-vector product alpha times v.
>>> zero = Vec({'x','y','z','w'}, {})
>>> u = Vec({'x','y','z','w'},{'x':1,'y':2,'z':3,'w':4})
>>> 0*u == zero
True
>>> 1*u == u
True
>>> 0.5*u == Vec({'x','y','z','w'},{'x':0.5,'y':1,'z':1.5,'w':2})
True
>>> u == Vec({'x','y','z','w'},{'x':1,'y':2,'z':3,'w':4})
True
"""
return Vec(v.D, {k: alpha * getitem(v, k) for k in v.D})
def neg(v):
"""
Returns the negation of a vector.
>>> u = Vec({2,4,6,8},{2:1,4:2,6:3,8:4})
>>> -u
Vec({8, 2, 4, 6},{8: -4, 2: -1, 4: -2, 6: -3})
>>> u == Vec({2,4,6,8},{2:1,4:2,6:3,8:4})
True
>>> -Vec({'a','b','c'}, {'a':1}) == Vec({'a','b','c'}, {'a':-1})
True
"""
return Vec(v.D, {k: -1 * getitem(v, k) for k in v.D})
###############################################################################################################################
class Vec:
"""
A vector has two fields:
D - the domain (a set)
f - a dictionary mapping (some) domain elements to field elements
elements of D not appearing in f are implicitly mapped to zero
"""
def __init__(self, labels, function):
self.D = labels
self.f = function
__getitem__ = getitem
__setitem__ = setitem
__neg__ = neg
__rmul__ = scalar_mul #if left arg of * is primitive, assume it's a scalar
def __mul__(self,other):
#If other is a vector, returns the dot product of self and other
if isinstance(other, Vec):
return dot(self,other)
else:
return NotImplemented # Will cause other.__rmul__(self) to be invoked
def __truediv__(self,other): # Scalar division
return (1/other)*self
__add__ = add
def __radd__(self, other):
"Hack to allow sum(...) to work with vectors"
if other == 0:
return self
def __sub__(a,b):
"Returns a vector which is the difference of a and b."
return a+(-b)
__eq__ = equal
def is_almost_zero(self):
s = 0
for x in self.f.values():
if isinstance(x, int) or isinstance(x, float):
s += x*x
elif isinstance(x, complex):
s += x*x.conjugate()
else: return False
return s < 1e-20
def __str__(v):
"pretty-printing"
D_list = sorted(v.D, key=repr)
numdec = 3
wd = dict([(k,(1+max(len(str(k)), len('{0:.{1}G}'.format(v[k], numdec))))) if isinstance(v[k], int) or isinstance(v[k], float) else (k,(1+max(len(str(k)), len(str(v[k]))))) for k in D_list])
s1 = ''.join(['{0:>{1}}'.format(str(k),wd[k]) for k in D_list])
s2 = ''.join(['{0:>{1}.{2}G}'.format(v[k],wd[k],numdec) if isinstance(v[k], int) or isinstance(v[k], float) else '{0:>{1}}'.format(v[k], wd[k]) for k in D_list])
return "\n" + s1 + "\n" + '-'*sum(wd.values()) +"\n" + s2
def __hash__(self):
"Here we pretend Vecs are immutable so we can form sets of them"
h = hash(frozenset(self.D))
for k,v in sorted(self.f.items(), key = lambda x:repr(x[0])):
if v != 0:
h = hash((h, hash(v)))
return h
def __repr__(self):
return "Vec(" + str(self.D) + "," + str(self.f) + ")"
def copy(self):
"Don't make a new copy of the domain D"
return Vec(self.D, self.f.copy())
| [
"dr.tallin@gmail.com"
] | dr.tallin@gmail.com |
2db35a9389103e8fc0a087681249cddef6e0d20b | a893d00bae0c0fa7db1d42cd14c368033e1c3d3f | /9-5/练习9-14/die.py | 1f6c887e08f14484099ec666f0ad6ae9a2a306ba | [] | no_license | taozhenting/python_introductory | 71ac4b5fe4aa45a9008c9510c77e34e31226f849 | f88afa0b4232e7ba79b42c370f2266fde85e7462 | refs/heads/master | 2020-04-27T06:02:20.169314 | 2019-05-22T09:17:40 | 2019-05-22T09:17:40 | 174,096,850 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 475 | py | from random import randint
class Die():
def __init__(self,sides=6):
self.sides = sides
self.one = 1
def roll_die(self):
x = randint(self.one,self.sides)
print(x)
def read_die(self,sides2):
self.sides = sides2
self.numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
print(
str(self.sides) +
"面骰子投掷10次:"
)
for self.number in self.numbers:
self.roll_die() | [
"taozt@ichile.com.cn"
] | taozt@ichile.com.cn |
159812a4b18ec101b40c8c31eb36200bb142dfce | 0c66e605e6e4129b09ea14dbb6aa353d18aaa027 | /diventi/landing/migrations/0056_auto_20190413_2004.py | a41e9da7e50da70d6a58ef7449d21c6cbc0ecd64 | [
"Apache-2.0"
] | permissive | flavoi/diventi | 58fbc8c947f387cbcc1ce607878a59a6f2b72313 | c0b1efe2baa3ff816d6ee9a8e86623f297973ded | refs/heads/master | 2023-07-20T09:32:35.897661 | 2023-07-11T19:44:26 | 2023-07-11T19:44:26 | 102,959,477 | 2 | 1 | Apache-2.0 | 2023-02-08T01:03:17 | 2017-09-09T14:10:51 | Python | UTF-8 | Python | false | false | 777 | py | # Generated by Django 2.1.7 on 2019-04-13 18:04
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('landing', '0055_auto_20190413_2003'),
]
operations = [
migrations.AlterField(
model_name='feature',
name='profile',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='profile_features', to='landing.Presentation'),
),
migrations.AlterField(
model_name='feature',
name='section',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='section_features', to='landing.Section'),
),
]
| [
"flavius476@gmail.com"
] | flavius476@gmail.com |
820bec30ea20c4419a39ee8f3192743c7b3f1c6d | 59fbeea017110472a788218db3c6459e9130c7fe | /n-ary-tree-postorder-traversal/n-ary-tree-postorder-traversal.py | 923780e9e3d8cd5c4ae09ec7bf45b6b7b5e60d78 | [] | no_license | niufenjujuexianhua/Leetcode | 82b55d9382bc9f63f4d9da9431194e20a4d299f1 | 542c99e038d21429853515f62af51a77deaa4d9c | refs/heads/master | 2022-04-27T16:55:00.035969 | 2022-03-10T01:10:04 | 2022-03-10T01:10:04 | 79,742,663 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 376 | py | class Solution(object):
def postorder(self, root):
"""
:type root: Node
:rtype: List[int]
"""
res = []
self.dfs(root, res)
return res
def dfs(self, node, res):
if not node:
return
for child in node.children:
self.dfs(child, res)
res.append(node.val) | [
"wutuo123@yeah.net"
] | wutuo123@yeah.net |
6051807f71b0884aa6953e4016a2b4be5a0ece68 | 5dde149d7577425387940d22b6df3919a5b73061 | /Realestate3/Tagent3/models.py | 3808e3f2e33693e673056756ecf1e11ea76a3e0f | [] | no_license | Jagadishbommareddy/agent | cbed666381b1c017c679a4b1b30a838abb17739d | 925659ca1fb4d0138d367f2a4c5675b1473193cd | refs/heads/master | 2021-01-22T00:51:31.824816 | 2017-09-02T12:27:38 | 2017-09-02T12:27:38 | 102,194,819 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,201 | py | from django.db import models
from .validators import*
class ContactInfo(models.Model):
mobile_number = models.CharField(max_length=15,validators=[validate_mobile_no])
phone_number = models.CharField(max_length=15,validators=[validate_phone_no])
email_id = models.EmailField()
class Address(models.Model):
address_id= models.AutoField(primary_key=True)
address1 = models.CharField(max_length=100)
address2 = models.CharField(max_length=10)
city = models.CharField(max_length=20,validators=[validate_city])
state= models.CharField(max_length=20,validators=[validate_state])
landmark= models.CharField(max_length=20,validators=[validate_landmark])
pincode= models.IntegerField()
class AgentReferals(models.Model):
referal_id = models.AutoField(primary_key=True)
name = models.CharField(max_length=20,validators=[validate_name])
verified = models.BinaryField(default=True)
class Media(models.Model):
media_id =models.AutoField(primary_key=True)
media_name= models.CharField(max_length=50,validators=[validate_media_name])
media_path= models.FileField(upload_to='documents/')
class Location(models.Model):
loc_name = models.CharField(max_length=20,validators=[validate_loc_name])
class PropertyType(models.Model):
property_type_id = models.AutoField(primary_key=True)
description = models.CharField(max_length=200)
class Agent(ContactInfo,Media):
agent_id= models.AutoField(primary_key=True)
first_name= models.CharField(max_length=20,validators=[validate_first_name])
last_name= models.CharField(max_length=20,validators=[validate_last_name])
age=models.IntegerField()
education= models.CharField(max_length=50,validators=[validate_education])
company_name=models.CharField(max_length=50)
specialization= models.CharField(max_length=100,validators=[validate_specelization])
experence=models.IntegerField()
agent_notes=models.TextField()
address = models.ManyToManyField("Address")
agentreferal = models.ManyToManyField("AgentReferals")
location = models.ManyToManyField("Location")
propertytype = models.ManyToManyField("PropertyType")
| [
"noreply@github.com"
] | Jagadishbommareddy.noreply@github.com |
178278173909f8e03f01544245087820b88c205d | 786027545626c24486753351d6e19093b261cd7d | /ghidra9.2.1_pyi/ghidra/util/datastruct/CaseInsensitiveDuplicateStringComparator.pyi | 5394dd55f716c89f9810c9391ef745871fb4bc39 | [
"MIT"
] | permissive | kohnakagawa/ghidra_scripts | 51cede1874ef2b1fed901b802316449b4bf25661 | 5afed1234a7266c0624ec445133280993077c376 | refs/heads/main | 2023-03-25T08:25:16.842142 | 2021-03-18T13:31:40 | 2021-03-18T13:31:40 | 338,577,905 | 14 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,755 | pyi | import java.lang
import java.util
import java.util.function
class CaseInsensitiveDuplicateStringComparator(object, java.util.Comparator):
"""
Comparator for sorting Strings in a case insensitive way except that case insensitive duplicates
are then sub-sorted by reverse case so that lower case is before upper case.
Example: the strings "abc", "bob", "Bob", "zzz" would always sort as shown. In a normal case
insensitive sort, the "bob" and "Bob" order would be arbitrary.
"""
def __init__(self): ...
@overload
def compare(self, name1: unicode, name2: unicode) -> int: ...
@overload
def compare(self, __a0: object, __a1: object) -> int: ...
@overload
@staticmethod
def comparing(__a0: java.util.function.Function) -> java.util.Comparator: ...
@overload
@staticmethod
def comparing(__a0: java.util.function.Function, __a1: java.util.Comparator) -> java.util.Comparator: ...
@staticmethod
def comparingDouble(__a0: java.util.function.ToDoubleFunction) -> java.util.Comparator: ...
@staticmethod
def comparingInt(__a0: java.util.function.ToIntFunction) -> java.util.Comparator: ...
@staticmethod
def comparingLong(__a0: java.util.function.ToLongFunction) -> java.util.Comparator: ...
def equals(self, __a0: object) -> bool: ...
def getClass(self) -> java.lang.Class: ...
def hashCode(self) -> int: ...
@staticmethod
def naturalOrder() -> java.util.Comparator: ...
def notify(self) -> None: ...
def notifyAll(self) -> None: ...
@staticmethod
def nullsFirst(__a0: java.util.Comparator) -> java.util.Comparator: ...
@staticmethod
def nullsLast(__a0: java.util.Comparator) -> java.util.Comparator: ...
@staticmethod
def reverseOrder() -> java.util.Comparator: ...
def reversed(self) -> java.util.Comparator: ...
@overload
def thenComparing(self, __a0: java.util.Comparator) -> java.util.Comparator: ...
@overload
def thenComparing(self, __a0: java.util.function.Function) -> java.util.Comparator: ...
@overload
def thenComparing(self, __a0: java.util.function.Function, __a1: java.util.Comparator) -> java.util.Comparator: ...
def thenComparingDouble(self, __a0: java.util.function.ToDoubleFunction) -> java.util.Comparator: ...
def thenComparingInt(self, __a0: java.util.function.ToIntFunction) -> java.util.Comparator: ...
def thenComparingLong(self, __a0: java.util.function.ToLongFunction) -> java.util.Comparator: ...
def toString(self) -> unicode: ...
@overload
def wait(self) -> None: ...
@overload
def wait(self, __a0: long) -> None: ...
@overload
def wait(self, __a0: long, __a1: int) -> None: ...
| [
"tsunekou1019@gmail.com"
] | tsunekou1019@gmail.com |
959e579dcc1e44ee49159768722886931a44293a | 67e0e33535229f4e9e520baa9d4ca4db8ce88c10 | /BioClients/ncbo/Client.py | a0abd282522771a9c035503a34ac40c3d8cf6a6e | [
"CC0-1.0"
] | permissive | Huan-Yang/BioClients | 70a89d2067cbc9ab89b241f94c72a90a313927e4 | 7acae54548cf4d14f0a64a8503308934362da1a8 | refs/heads/master | 2023-07-01T18:09:03.993919 | 2021-08-06T00:00:49 | 2021-08-06T00:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,375 | py | #!/usr/bin/env python3
"""
http://data.bioontology.org/documentation
The National Center for Biomedical Ontology was founded as one of the
National Centers for Biomedical Computing, supported by the NHGRI, the
NHLBI, and the NIH Common Fund.
"""
###
import sys,os,argparse,re,yaml,logging,time
#
from .. import ncbo
from ..util import yaml as util_yaml
#
#############################################################################
if __name__=='__main__':
EPILOG="""The National Center for Biomedical Ontology was founded as one of the National Centers for Biomedical Computing, supported by the NHGRI, the NHLBI, and the NIH Common Fund."""
parser = argparse.ArgumentParser(description='NCBO REST API client utility', epilog=EPILOG)
OPS = ['recommendOntologies']
parser.add_argument("op", choices=OPS, help="OPERATION")
parser.add_argument("--i", dest="ifile", help="input texts")
parser.add_argument("--o", dest="ofile", help="output (TSV)")
parser.add_argument("--text", help="input text")
parser.add_argument("--api_host", default=ncbo.API_HOST)
parser.add_argument("--api_base_path", default=ncbo.API_BASE_PATH)
parser.add_argument("--param_file", default=os.environ["HOME"]+"/.ncbo.yaml")
parser.add_argument("--api_key", help="API key")
parser.add_argument("-v", "--verbose", default=0, action="count")
args = parser.parse_args()
logging.basicConfig(format="%(levelname)s:%(message)s", level=(logging.DEBUG if args.verbose>1 else logging.INFO))
base_url = "https://"+args.api_host+args.api_base_path
fout = open(args.ofile, "w+") if args.ofile else sys.stdout
params = util_yaml.ReadParamFile(args.param_file)
if args.api_key: params["API_KEY"] = args.api_key
if not params["API_KEY"]:
parser.error("Please specify valid API_KEY via --api_key or --param_file")
texts=[];
if args.ifile:
with open(args.ifile) as fin:
while True:
line = fin.readline()
if not line: break
texts.append(line.rstrip())
logging.info(f"input texts: {len(texts)}")
elif args.text:
texts = [args.text]
t0 = time.time()
if args.op == "recommendOntologies":
ncbo.Utils.RecommendOntologies(base_url, params["API_KEY"], texts, fout)
else:
parser.error(f"Invalid operation: {args.op}")
logging.info(("Elapsed time: %s"%(time.strftime('%Hh:%Mm:%Ss',time.gmtime(time.time()-t0)))))
| [
"jeremyjyang@gmail.com"
] | jeremyjyang@gmail.com |
551afdc0012bf5f07a787a239f3d84d0892497e0 | 4b7e282fe480415f5d52c0fc0429f144156190fe | /google/ads/googleads/v7/services/services/ad_group_ad_label_service/client.py | bdc81225942b4da7c8bda023e9f56fc213b4ef58 | [
"Apache-2.0"
] | permissive | Z2Xsoft/google-ads-python | c4750357bb19da91bb3b6bf2fa84bef9d2df36d3 | 1779d52a0446c8afb2437b0a9e103dcb849f5590 | refs/heads/main | 2023-08-18T15:22:17.840364 | 2021-09-26T04:08:53 | 2021-09-26T04:08:53 | 410,444,398 | 0 | 0 | Apache-2.0 | 2021-09-26T04:08:53 | 2021-09-26T03:55:38 | null | UTF-8 | Python | false | false | 23,852 | py | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from collections import OrderedDict
from distutils import util
import os
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from google.api_core import client_options as client_options_lib # type: ignore
from google.api_core import exceptions # type: ignore
from google.api_core import gapic_v1 # type: ignore
from google.api_core import retry as retries # type: ignore
from google.auth import credentials # type: ignore
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.exceptions import MutualTLSChannelError # type: ignore
from google.oauth2 import service_account # type: ignore
from google.ads.googleads.v7.resources.types import ad_group_ad_label
from google.ads.googleads.v7.services.types import ad_group_ad_label_service
from google.rpc import status_pb2 as status # type: ignore
from .transports.base import AdGroupAdLabelServiceTransport, DEFAULT_CLIENT_INFO
from .transports.grpc import AdGroupAdLabelServiceGrpcTransport
class AdGroupAdLabelServiceClientMeta(type):
"""Metaclass for the AdGroupAdLabelService client.
This provides class-level methods for building and retrieving
support objects (e.g. transport) without polluting the client instance
objects.
"""
_transport_registry = (
OrderedDict()
) # type: Dict[str, Type[AdGroupAdLabelServiceTransport]]
_transport_registry["grpc"] = AdGroupAdLabelServiceGrpcTransport
def get_transport_class(
cls, label: str = None,
) -> Type[AdGroupAdLabelServiceTransport]:
"""Return an appropriate transport class.
Args:
label: The name of the desired transport. If none is
provided, then the first transport in the registry is used.
Returns:
The transport class to use.
"""
# If a specific transport is requested, return that one.
if label:
return cls._transport_registry[label]
# No transport is requested; return the default (that is, the first one
# in the dictionary).
return next(iter(cls._transport_registry.values()))
class AdGroupAdLabelServiceClient(metaclass=AdGroupAdLabelServiceClientMeta):
"""Service to manage labels on ad group ads."""
@staticmethod
def _get_default_mtls_endpoint(api_endpoint):
"""Convert api endpoint to mTLS endpoint.
Convert "*.sandbox.googleapis.com" and "*.googleapis.com" to
"*.mtls.sandbox.googleapis.com" and "*.mtls.googleapis.com" respectively.
Args:
api_endpoint (Optional[str]): the api endpoint to convert.
Returns:
str: converted mTLS api endpoint.
"""
if not api_endpoint:
return api_endpoint
mtls_endpoint_re = re.compile(
r"(?P<name>[^.]+)(?P<mtls>\.mtls)?(?P<sandbox>\.sandbox)?(?P<googledomain>\.googleapis\.com)?"
)
m = mtls_endpoint_re.match(api_endpoint)
name, mtls, sandbox, googledomain = m.groups()
if mtls or not googledomain:
return api_endpoint
if sandbox:
return api_endpoint.replace(
"sandbox.googleapis.com", "mtls.sandbox.googleapis.com"
)
return api_endpoint.replace(".googleapis.com", ".mtls.googleapis.com")
DEFAULT_ENDPOINT = "googleads.googleapis.com"
DEFAULT_MTLS_ENDPOINT = _get_default_mtls_endpoint.__func__( # type: ignore
DEFAULT_ENDPOINT
)
@classmethod
def from_service_account_info(cls, info: dict, *args, **kwargs):
"""Creates an instance of this client using the provided credentials info.
Args:
info (dict): The service account private key info.
args: Additional arguments to pass to the constructor.
kwargs: Additional arguments to pass to the constructor.
Returns:
AdGroupAdLabelServiceClient: The constructed client.
"""
credentials = service_account.Credentials.from_service_account_info(
info
)
kwargs["credentials"] = credentials
return cls(*args, **kwargs)
@classmethod
def from_service_account_file(cls, filename: str, *args, **kwargs):
"""Creates an instance of this client using the provided credentials
file.
Args:
filename (str): The path to the service account private key json
file.
args: Additional arguments to pass to the constructor.
kwargs: Additional arguments to pass to the constructor.
Returns:
AdGroupAdLabelServiceClient: The constructed client.
"""
credentials = service_account.Credentials.from_service_account_file(
filename
)
kwargs["credentials"] = credentials
return cls(*args, **kwargs)
from_service_account_json = from_service_account_file
@property
def transport(self) -> AdGroupAdLabelServiceTransport:
"""Return the transport used by the client instance.
Returns:
AdGroupAdLabelServiceTransport: The transport used by the client instance.
"""
return self._transport
@staticmethod
def ad_group_ad_path(
customer_id: str, ad_group_id: str, ad_id: str,
) -> str:
"""Return a fully-qualified ad_group_ad string."""
return "customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}".format(
customer_id=customer_id, ad_group_id=ad_group_id, ad_id=ad_id,
)
@staticmethod
def parse_ad_group_ad_path(path: str) -> Dict[str, str]:
"""Parse a ad_group_ad path into its component segments."""
m = re.match(
r"^customers/(?P<customer_id>.+?)/adGroupAds/(?P<ad_group_id>.+?)~(?P<ad_id>.+?)$",
path,
)
return m.groupdict() if m else {}
@staticmethod
def ad_group_ad_label_path(
customer_id: str, ad_group_id: str, ad_id: str, label_id: str,
) -> str:
"""Return a fully-qualified ad_group_ad_label string."""
return "customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}".format(
customer_id=customer_id,
ad_group_id=ad_group_id,
ad_id=ad_id,
label_id=label_id,
)
@staticmethod
def parse_ad_group_ad_label_path(path: str) -> Dict[str, str]:
"""Parse a ad_group_ad_label path into its component segments."""
m = re.match(
r"^customers/(?P<customer_id>.+?)/adGroupAdLabels/(?P<ad_group_id>.+?)~(?P<ad_id>.+?)~(?P<label_id>.+?)$",
path,
)
return m.groupdict() if m else {}
@staticmethod
def label_path(customer_id: str, label_id: str,) -> str:
"""Return a fully-qualified label string."""
return "customers/{customer_id}/labels/{label_id}".format(
customer_id=customer_id, label_id=label_id,
)
@staticmethod
def parse_label_path(path: str) -> Dict[str, str]:
"""Parse a label path into its component segments."""
m = re.match(
r"^customers/(?P<customer_id>.+?)/labels/(?P<label_id>.+?)$", path
)
return m.groupdict() if m else {}
@staticmethod
def common_billing_account_path(billing_account: str,) -> str:
"""Return a fully-qualified billing_account string."""
return "billingAccounts/{billing_account}".format(
billing_account=billing_account,
)
@staticmethod
def parse_common_billing_account_path(path: str) -> Dict[str, str]:
"""Parse a billing_account path into its component segments."""
m = re.match(r"^billingAccounts/(?P<billing_account>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_folder_path(folder: str,) -> str:
"""Return a fully-qualified folder string."""
return "folders/{folder}".format(folder=folder,)
@staticmethod
def parse_common_folder_path(path: str) -> Dict[str, str]:
"""Parse a folder path into its component segments."""
m = re.match(r"^folders/(?P<folder>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_organization_path(organization: str,) -> str:
"""Return a fully-qualified organization string."""
return "organizations/{organization}".format(organization=organization,)
@staticmethod
def parse_common_organization_path(path: str) -> Dict[str, str]:
"""Parse a organization path into its component segments."""
m = re.match(r"^organizations/(?P<organization>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_project_path(project: str,) -> str:
"""Return a fully-qualified project string."""
return "projects/{project}".format(project=project,)
@staticmethod
def parse_common_project_path(path: str) -> Dict[str, str]:
"""Parse a project path into its component segments."""
m = re.match(r"^projects/(?P<project>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_location_path(project: str, location: str,) -> str:
"""Return a fully-qualified location string."""
return "projects/{project}/locations/{location}".format(
project=project, location=location,
)
@staticmethod
def parse_common_location_path(path: str) -> Dict[str, str]:
"""Parse a location path into its component segments."""
m = re.match(
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)$", path
)
return m.groupdict() if m else {}
def __init__(
self,
*,
credentials: Optional[credentials.Credentials] = None,
transport: Union[str, AdGroupAdLabelServiceTransport, None] = None,
client_options: Optional[client_options_lib.ClientOptions] = None,
client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO,
) -> None:
"""Instantiate the ad group ad label service client.
Args:
credentials (Optional[google.auth.credentials.Credentials]): The
authorization credentials to attach to requests. These
credentials identify the application to the service; if none
are specified, the client will attempt to ascertain the
credentials from the environment.
transport (Union[str, ~.AdGroupAdLabelServiceTransport]): The
transport to use. If set to None, a transport is chosen
automatically.
client_options (google.api_core.client_options.ClientOptions): Custom options for the
client. It won't take effect if a ``transport`` instance is provided.
(1) The ``api_endpoint`` property can be used to override the
default endpoint provided by the client. GOOGLE_API_USE_MTLS_ENDPOINT
environment variable can also be used to override the endpoint:
"always" (always use the default mTLS endpoint), "never" (always
use the default regular endpoint) and "auto" (auto switch to the
default mTLS endpoint if client certificate is present, this is
the default value). However, the ``api_endpoint`` property takes
precedence if provided.
(2) If GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable
is "true", then the ``client_cert_source`` property can be used
to provide client certificate for mutual TLS transport. If
not provided, the default SSL client certificate will be used if
present. If GOOGLE_API_USE_CLIENT_CERTIFICATE is "false" or not
set, no client certificate will be used.
client_info (google.api_core.gapic_v1.client_info.ClientInfo):
The client info used to send a user-agent string along with
API requests. If ``None``, then default info will be used.
Generally, you only need to set this if you're developing
your own client library.
Raises:
google.auth.exceptions.MutualTLSChannelError: If mutual TLS transport
creation failed for any reason.
"""
if isinstance(client_options, dict):
client_options = client_options_lib.from_dict(client_options)
if client_options is None:
client_options = client_options_lib.ClientOptions()
# Create SSL credentials for mutual TLS if needed.
use_client_cert = bool(
util.strtobool(
os.getenv("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false")
)
)
ssl_credentials = None
is_mtls = False
if use_client_cert:
if client_options.client_cert_source:
import grpc # type: ignore
cert, key = client_options.client_cert_source()
ssl_credentials = grpc.ssl_channel_credentials(
certificate_chain=cert, private_key=key
)
is_mtls = True
else:
creds = SslCredentials()
is_mtls = creds.is_mtls
ssl_credentials = creds.ssl_credentials if is_mtls else None
# Figure out which api endpoint to use.
if client_options.api_endpoint is not None:
api_endpoint = client_options.api_endpoint
else:
use_mtls_env = os.getenv("GOOGLE_API_USE_MTLS_ENDPOINT", "auto")
if use_mtls_env == "never":
api_endpoint = self.DEFAULT_ENDPOINT
elif use_mtls_env == "always":
api_endpoint = self.DEFAULT_MTLS_ENDPOINT
elif use_mtls_env == "auto":
api_endpoint = (
self.DEFAULT_MTLS_ENDPOINT
if is_mtls
else self.DEFAULT_ENDPOINT
)
else:
raise MutualTLSChannelError(
"Unsupported GOOGLE_API_USE_MTLS_ENDPOINT value. Accepted values: never, auto, always"
)
# Save or instantiate the transport.
# Ordinarily, we provide the transport, but allowing a custom transport
# instance provides an extensibility point for unusual situations.
if isinstance(transport, AdGroupAdLabelServiceTransport):
# transport is a AdGroupAdLabelServiceTransport instance.
if credentials:
raise ValueError(
"When providing a transport instance, "
"provide its credentials directly."
)
self._transport = transport
elif isinstance(transport, str):
Transport = type(self).get_transport_class(transport)
self._transport = Transport(
credentials=credentials, host=self.DEFAULT_ENDPOINT
)
else:
self._transport = AdGroupAdLabelServiceGrpcTransport(
credentials=credentials,
host=api_endpoint,
ssl_channel_credentials=ssl_credentials,
client_info=client_info,
)
def get_ad_group_ad_label(
self,
request: ad_group_ad_label_service.GetAdGroupAdLabelRequest = None,
*,
resource_name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> ad_group_ad_label.AdGroupAdLabel:
r"""Returns the requested ad group ad label in full detail.
List of thrown errors: `AuthenticationError <>`__
`AuthorizationError <>`__ `HeaderError <>`__
`InternalError <>`__ `QuotaError <>`__ `RequestError <>`__
Args:
request (:class:`google.ads.googleads.v7.services.types.GetAdGroupAdLabelRequest`):
The request object.
Request message for
[AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v7.services.AdGroupAdLabelService.GetAdGroupAdLabel].
resource_name (:class:`str`):
Required. The resource name of the ad
group ad label to fetch.
This corresponds to the ``resource_name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
google.ads.googleads.v7.resources.types.AdGroupAdLabel:
A relationship between an ad group ad
and a label.
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
if request is not None and any([resource_name]):
raise ValueError(
"If the `request` argument is set, then none of "
"the individual field arguments should be set."
)
# Minor optimization to avoid making a copy if the user passes
# in a ad_group_ad_label_service.GetAdGroupAdLabelRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(
request, ad_group_ad_label_service.GetAdGroupAdLabelRequest
):
request = ad_group_ad_label_service.GetAdGroupAdLabelRequest(
request
)
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if resource_name is not None:
request.resource_name = resource_name
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[
self._transport.get_ad_group_ad_label
]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata(
(("resource_name", request.resource_name),)
),
)
# Send the request.
response = rpc(
request, retry=retry, timeout=timeout, metadata=metadata,
)
# Done; return the response.
return response
def mutate_ad_group_ad_labels(
self,
request: ad_group_ad_label_service.MutateAdGroupAdLabelsRequest = None,
*,
customer_id: str = None,
operations: Sequence[
ad_group_ad_label_service.AdGroupAdLabelOperation
] = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> ad_group_ad_label_service.MutateAdGroupAdLabelsResponse:
r"""Creates and removes ad group ad labels. Operation statuses are
returned.
List of thrown errors: `AuthenticationError <>`__
`AuthorizationError <>`__ `DatabaseError <>`__
`HeaderError <>`__ `InternalError <>`__ `LabelError <>`__
`MutateError <>`__ `NewResourceCreationError <>`__
`QuotaError <>`__ `RequestError <>`__
Args:
request (:class:`google.ads.googleads.v7.services.types.MutateAdGroupAdLabelsRequest`):
The request object.
Request message for
[AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v7.services.AdGroupAdLabelService.MutateAdGroupAdLabels].
customer_id (:class:`str`):
Required. ID of the customer whose ad
group ad labels are being modified.
This corresponds to the ``customer_id`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
operations (:class:`Sequence[google.ads.googleads.v7.services.types.AdGroupAdLabelOperation]`):
Required. The list of operations to
perform on ad group ad labels.
This corresponds to the ``operations`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
google.ads.googleads.v7.services.types.MutateAdGroupAdLabelsResponse:
Response message for an ad group ad
labels mutate.
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
if request is not None and any([customer_id, operations]):
raise ValueError(
"If the `request` argument is set, then none of "
"the individual field arguments should be set."
)
# Minor optimization to avoid making a copy if the user passes
# in a ad_group_ad_label_service.MutateAdGroupAdLabelsRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(
request, ad_group_ad_label_service.MutateAdGroupAdLabelsRequest
):
request = ad_group_ad_label_service.MutateAdGroupAdLabelsRequest(
request
)
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if customer_id is not None:
request.customer_id = customer_id
if operations is not None:
request.operations = operations
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[
self._transport.mutate_ad_group_ad_labels
]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata(
(("customer_id", request.customer_id),)
),
)
# Send the request.
response = rpc(
request, retry=retry, timeout=timeout, metadata=metadata,
)
# Done; return the response.
return response
__all__ = ("AdGroupAdLabelServiceClient",)
| [
"noreply@github.com"
] | Z2Xsoft.noreply@github.com |
768a70e5d98d7ea01062017fca6b41623f1ddfca | b72f9d9f0769265cdea2b8caff145af9c532ea09 | /practice/abc010_2.py | 941eb576e2cb058f0028912c7e422106356bcf07 | [] | no_license | ritzcr/AtCoder | 3335fefa8fb1989a0f9da80fe6d0902b46aa2d1f | 15097b0c2568ace653e5080d789047531e50edde | refs/heads/master | 2021-02-12T19:16:41.757421 | 2020-07-05T06:30:57 | 2020-07-05T06:30:57 | 244,620,726 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 204 | py | n = int(input())
a = map(int, input().split())
count = 0
for x in a:
for y in range(x, 0, -1):
if y % 2 == 0 or y % 3 == 2:
count += 1
else:
break
print(count) | [
"ritz@freex.ltd"
] | ritz@freex.ltd |
b70ea34a3cade2aad1421876bad3c8c94dd4c5b0 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/graphics/JiveXML/share/DataTypes_InDet.py | a52fa76f6acd3aeae378a0d3c2e49aa522527249 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 220 | py | # This file is provided for backwards compatibility only
# In new jobOptions please use the files included below directly
include ("InDetJiveXML/InDetJiveXML_DataTypes.py")
include ("TrkJiveXML/TrkJiveXML_DataTypes.py")
| [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
b0db655fc20d73b8a745c3ee207872f9fb565c98 | e71b6d14fbdbc57c7234ca45a47329d7d02fc6f7 | /flask_api/venv/lib/python3.7/site-packages/vsts/policy/v4_0/models/policy_evaluation_record.py | 86735338fb6201019813c2f3de4b493e5990f4e2 | [] | no_license | u-blavins/secret_sasquatch_society | c36993c738ab29a6a4879bfbeb78a5803f4f2a57 | 0214eadcdfa9b40254e331a6617c50b422212f4c | refs/heads/master | 2020-08-14T00:39:52.948272 | 2020-01-22T13:54:58 | 2020-01-22T13:54:58 | 215,058,646 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,367 | py | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------
from msrest.serialization import Model
class PolicyEvaluationRecord(Model):
"""PolicyEvaluationRecord.
:param _links:
:type _links: :class:`ReferenceLinks <policy.v4_0.models.ReferenceLinks>`
:param artifact_id:
:type artifact_id: str
:param completed_date:
:type completed_date: datetime
:param configuration:
:type configuration: :class:`PolicyConfiguration <policy.v4_0.models.PolicyConfiguration>`
:param context:
:type context: :class:`object <policy.v4_0.models.object>`
:param evaluation_id:
:type evaluation_id: str
:param started_date:
:type started_date: datetime
:param status:
:type status: object
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'artifact_id': {'key': 'artifactId', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'iso-8601'},
'configuration': {'key': 'configuration', 'type': 'PolicyConfiguration'},
'context': {'key': 'context', 'type': 'object'},
'evaluation_id': {'key': 'evaluationId', 'type': 'str'},
'started_date': {'key': 'startedDate', 'type': 'iso-8601'},
'status': {'key': 'status', 'type': 'object'}
}
def __init__(self, _links=None, artifact_id=None, completed_date=None, configuration=None, context=None, evaluation_id=None, started_date=None, status=None):
super(PolicyEvaluationRecord, self).__init__()
self._links = _links
self.artifact_id = artifact_id
self.completed_date = completed_date
self.configuration = configuration
self.context = context
self.evaluation_id = evaluation_id
self.started_date = started_date
self.status = status
| [
"usama.blavins1@gmail.com"
] | usama.blavins1@gmail.com |
ca3dbf886ee950a14cdf1fa530bd80155925842b | 7b5828edda7751700ca7002b40a214e39e5f48a8 | /EA/simulation/objects/components/statistic_types.py | da8b914809370b45c665574304eedc7d87479741 | [] | no_license | daniela-venuta/Sims-4-Python-Script-Workspace | 54c33dac02f84daed66f46b7307f222fede0fa62 | f408b28fb34626b2e3b2953152343d591a328d66 | refs/heads/main | 2023-03-29T18:08:39.202803 | 2021-03-30T19:00:42 | 2021-03-30T19:00:42 | 353,111,243 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 750 | py | from sims4.tuning.tunable import Tunable
class StatisticComponentGlobalTuning:
DEFAULT_RADIUS_TO_CONSIDER_OFF_LOT_OBJECTS = Tunable(description='\n The radius from the Sim that an off-lot object must be for a Sim to consider it.\n If the object is not on the active lot and outside of this radius, the Sim will \n ignore it.\n ', tunable_type=float, default=20)
DEFAULT_OFF_LOT_TOLERANCE = Tunable(description="\n The tolerance for when a Sim is considered off the lot. If a Sim is off the \n lot but within this tolerance, he will be considered on the lot from autonomy's \n perspective. Note that this only effects autonomy, nothing else. \n ", tunable_type=float, default=5)
| [
"44103490+daniela-venuta@users.noreply.github.com"
] | 44103490+daniela-venuta@users.noreply.github.com |
5b4517a18505e30de5e8fe4c8792bac9f216c850 | 9923e30eb99716bfc179ba2bb789dcddc28f45e6 | /openapi-generator/python/test/test_vehicle_maintenance_passenger.py | a16b589746a17dd0378039efeaa695f04e7eccfd | [] | no_license | silverspace/samsara-sdks | cefcd61458ed3c3753ac5e6bf767229dd8df9485 | c054b91e488ab4266f3b3874e9b8e1c9e2d4d5fa | refs/heads/master | 2020-04-25T13:16:59.137551 | 2019-03-01T05:49:05 | 2019-03-01T05:49:05 | 172,804,041 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,544 | py | # coding: utf-8
"""
Samsara API
# Introduction Samsara provides API endpoints for interacting with Samsara Cloud, so that you can build powerful applications and custom solutions with sensor data. Samsara has endpoints available to track and analyze sensors, vehicles, and entire fleets. The Samsara Cloud API is a [RESTful API](https://en.wikipedia.org/wiki/Representational_state_transfer) accessed by an [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) client such as wget or curl, or HTTP libraries of most modern programming languages including python, ruby, java. We use built-in HTTP features, like HTTP authentication and HTTP verbs, which are understood by off-the-shelf HTTP clients. We allow you to interact securely with our API from a client-side web application (though you should never expose your secret API key). [JSON](http://www.json.org/) is returned by all API responses, including errors. If you’re familiar with what you can build with a REST API, the following API reference guide will be your go-to resource. API access to the Samsara cloud is available to all Samsara administrators. To start developing with Samsara APIs you will need to [obtain your API keys](#section/Authentication) to authenticate your API requests. If you have any questions you can reach out to us on [support@samsara.com](mailto:support@samsara.com) # Endpoints All our APIs can be accessed through HTTP requests to URLs like: ```curl https://api.samsara.com/<version>/<endpoint> ``` All our APIs are [versioned](#section/Versioning). If we intend to make breaking changes to an API which either changes the response format or request parameter, we will increment the version. # Authentication To authenticate your API request you will need to include your secret token. You can manage your API tokens in the [Dashboard](https://cloud.samsara.com). They are visible under `Settings->Organization->API Tokens`. Your API tokens carry many privileges, so be sure to keep them secure. Do not share your secret API tokens in publicly accessible areas such as GitHub, client-side code, and so on. Authentication to the API is performed via [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Provide your API token as the basic access_token value in the URL. You do not need to provide a password. ```curl https://api.samsara.com/<version>/<endpoint>?access_token={access_token} ``` All API requests must be made over [HTTPS](https://en.wikipedia.org/wiki/HTTPS). Calls made over plain HTTP or without authentication will fail. # Request Methods Our API endpoints use [HTTP request methods](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods) to specify the desired operation to be performed. The documentation below specified request method supported by each endpoint and the resulting action. ## GET GET requests are typically used for fetching data (like data for a particular driver). ## POST POST requests are typically used for creating or updating a record (like adding new tags to the system). With that being said, a few of our POST requests can be used for fetching data (like current location data of your fleet). ## PUT PUT requests are typically used for updating an existing record (like updating all devices associated with a particular tag). ## PATCH PATCH requests are typically used for modifying an existing record (like modifying a few devices associated with a particular tag). ## DELETE DELETE requests are used for deleting a record (like deleting a tag from the system). # Response Codes All API requests will respond with appropriate [HTTP status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes). Your API client should handle each response class differently. ## 2XX These are successful responses and indicate that the API request returned the expected response. ## 4XX These indicate that there was a problem with the request like a missing parameter or invalid values. Check the response for specific [error details](#section/Error-Responses). Requests that respond with a 4XX status code, should be modified before retrying. ## 5XX These indicate server errors when the server is unreachable or is misconfigured. In this case, you should retry the API request after some delay. # Error Responses In case of a 4XX status code, the body of the response will contain information to briefly explain the error reported. To help debugging the error, you can refer to the following table for understanding the error message. | Status Code | Message | Description | |-------------|----------------|-------------------------------------------------------------------| | 401 | Invalid token | The API token is invalid and could not be authenticated. Please refer to the [authentication section](#section/Authentication). | | 404 | Page not found | The API endpoint being accessed is invalid. | | 400 | Bad request | Default response for an invalid request. Please check the request to make sure it follows the format specified in the documentation. | # Versioning All our APIs are versioned. Our current API version is `v1` and we are continuously working on improving it further and provide additional endpoints. If we intend to make breaking changes to an API which either changes the response format or request parameter, we will increment the version. Thus, you can use our current API version worry free. # FAQs Check out our [responses to FAQs here](https://kb.samsara.com/hc/en-us/sections/360000538054-APIs). Don’t see an answer to your question? Reach out to us on [support@samsara.com](mailto:support@samsara.com). # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import openapi_client
from openapi_client.models.vehicle_maintenance_passenger import VehicleMaintenancePassenger # noqa: E501
from openapi_client.rest import ApiException
class TestVehicleMaintenancePassenger(unittest.TestCase):
"""VehicleMaintenancePassenger unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def testVehicleMaintenancePassenger(self):
"""Test VehicleMaintenancePassenger"""
# FIXME: construct object with mandatory attributes with example values
# model = openapi_client.models.vehicle_maintenance_passenger.VehicleMaintenancePassenger() # noqa: E501
pass
if __name__ == '__main__':
unittest.main()
| [
"greg@samsara.com"
] | greg@samsara.com |
4ae7f729d5904e4bbc7551d4ed5d9c0ed00c7574 | 1362bc36e86f8216d405b547f5f45874ac332b1e | /Uber/flowingWater.py | 301c6cff2eec1ddfeab6791a1667001183bbebac | [] | no_license | zhuolikevin/Algorithm-Practices-Python | ed5ca06758e35d910ffbea011b414b3c57fd6c7a | 1df8d93a8ecb8627899aadddb5dd5c5d0b144cdf | refs/heads/master | 2021-01-22T01:04:31.536327 | 2016-01-15T13:31:07 | 2016-01-15T13:31:07 | 32,602,632 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,400 | py | class Solution:
def search(self, i, j, visited):
stack = [(i, j)]
while stack:
x, y = stack.pop()
if x < 0 or x >= self.m or y < 0 or y >= self.n or self.mat[x][y] in visited:
continue
visited.add((x, y))
direc = [(1, 0), (-1, 0), (0, 1), (0, -1)]
for k in range(4):
newX = x + direc[k][0]
newY = y + direc[k][1]
if self.mat[newX][newY] in '~*':
continue
if self.mat[newX][newY] >= self.mat[x][y] and (newX, newY) not in visited:
stack.append((newX, newY))
def flowingWater(self, mat):
self.m = len(mat)
self.n = len(mat[0])
self.mat = mat
visited_pac = set()
for i in range(1, self.m-1):
self.search(i, 1, visited_pac)
for j in range(1, self.n-1):
self.search(1, j, visited_pac)
visited_atl = set()
for i in range(1, self.m-1):
self.search(i, self.n-2, visited_atl)
for j in range(1, self.n-1):
self.search(self.m-2, j, visited_atl)
return visited_pac & visited_atl
solution = Solution()
mountain = ['~~~~~~~', '~12235*', '~32344*', '~24531*', '~67145*', '~51124*', '*******']
# mountain = ['~~~~', '~25*', '~86*', '****']
print solution.flowingWater(mountain)
| [
"lizhuogo@gmail.com"
] | lizhuogo@gmail.com |
bdd9de3bd55fd46686b5c58557b70e1fc8644139 | 0fb0dba210ff0f63515c464d7acc95ae32d7603c | /Application/Automate the Process of Reporting the Install Date for ESET/automate-the-process-of-reporting-the-install-date-for-eset.py | 50234b12a83b445eea115ed4e289aae23e4e4005 | [] | no_license | slad99/pythonscripts | 7cbe6b8bb27c8c06e140c46e7c8cf286cbc56d8e | 4e0ebb023899a602cb041ef6f153fd3b7ab032e9 | refs/heads/master | 2022-01-04T21:49:10.486758 | 2019-06-28T14:29:28 | 2019-06-28T14:29:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,668 | py | import os,socket,_winreg,getpass
b=[]
print "USER NAME: "+getpass.getuser()
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect(("8.8.8.8", 80))
print "IP-ADDRESS : "+(s.getsockname()[0])
from time import gmtime, strftime
time=strftime("%Y-%m-%d %H:%M:%S", gmtime())
port=587
def computername():
import os
return os.environ['COMPUTERNAME']
## get ip address
def ipaddress():
import socket
return socket.gethostbyname(socket.gethostname())
def collectprograms(rtkey,pK,kA):
import _winreg
import os
list=[]
oK=_winreg.OpenKey(rtkey,pK,0,kA)
i=0
while True:
try:
bkey=_winreg.EnumKey(oK,i)
vkey=os.path.join(pK,bkey)
oK1=_winreg.OpenKey(rtkey,vkey,0,kA)
try:
DN,bla=_winreg.QueryValueEx(oK1,'DisplayName')
DV,bla=_winreg.QueryValueEx(oK1,'Publisher')
DI,bla=_winreg.QueryValueEx(oK1,'InstallDate')
inlist=[DN.strip(), DV.strip(),DI.strip()]
if inlist[1]=="None":
gh=0
else:
ki="\n"+inlist[0]+" "+inlist[1]+" Date:"+inlist[2]+"\n"
b.append(ki)
global str2
str2 = ''.join(str(e) for e in b)
except:
pass
i+=1
except:
break
_winreg.CloseKey(oK)
def programsinstalled():
uninstallkey='SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall'
if 'PROGRAMFILES(X86)' in os.environ.keys():
rklist=[(_winreg.HKEY_LOCAL_MACHINE,uninstallkey,_winreg.KEY_WOW64_32KEY | _winreg.KEY_READ),
(_winreg.HKEY_LOCAL_MACHINE,uninstallkey,_winreg.KEY_WOW64_64KEY | _winreg.KEY_READ),
(_winreg.HKEY_CURRENT_USER,uninstallkey,_winreg.KEY_WOW64_32KEY | _winreg.KEY_READ),
(_winreg.HKEY_CURRENT_USER,uninstallkey,_winreg.KEY_WOW64_64KEY | _winreg.KEY_READ)]
else:
rklist=[(_winreg.HKEY_LOCAL_MACHINE,uninstallkey,_winreg.KEY_READ),
(_winreg.HKEY_CURRENT_USER,uninstallkey,_winreg.KEY_READ)]
collected=''
blacklisted=''
for i in rklist:
col=collectprograms(i[0], i[1], i[2])
programsinstalled()
ki=re.findall('ESET(.*)',str2)
for i in ki:
sam=re.findall('Date:(.*)',i)[0]
d=re.findall('(.*)Date:',i)
val=('').join(d)
sam=list(sam)
sam.insert(4,'/')
sam.insert(7,'/')
strre = ''.join(str(e) for e in sam)
print 'ESET'+val+'Date: '+strre
| [
"noreply@github.com"
] | slad99.noreply@github.com |
1fde1ff80637cb7b41a81eeb7a470f9c3f319014 | dde4fefc427b36e72952babfabeb3db69e8f6e7b | /range fuc.py | c547300cefd66c86b02247e6942ee587665f103f | [] | no_license | ANKITPODDER2000/Python-Lab-2nd-Year | 6fb6e6eca91cde0eff98e724dc6499b26097d109 | 567b73e66a6c493aac8aede01b1837c83f4609a8 | refs/heads/master | 2020-09-17T06:46:22.186618 | 2019-11-25T19:25:30 | 2019-11-25T19:25:30 | 224,024,485 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 34 | py | for i in range(0,15):
print(i) | [
"ankitpodder0211@gmail.com"
] | ankitpodder0211@gmail.com |
9bf830b879b67b8bd3cde7fbd237f059e00381a7 | b1d941be5cd577ce34475339b021784aa9af6395 | /libcloudforensics/logging_utils.py | 747470010f535c75cd9b624fe30eda4db675d793 | [
"Apache-2.0"
] | permissive | google/cloud-forensics-utils | ef21ac682e040b5b977aa897aaf75b3b8ec1ed6d | 38926ef5d075696b2b0f6714f3758be1e6ea1658 | refs/heads/main | 2023-09-04T11:05:42.136161 | 2023-08-28T03:25:22 | 2023-08-28T03:25:22 | 238,205,900 | 418 | 95 | Apache-2.0 | 2023-09-14T05:55:03 | 2020-02-04T12:54:51 | Python | UTF-8 | Python | false | false | 4,407 | py | # -*- coding: utf-8 -*-
# Copyright 2020 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Module providing custom logging formatters and colorization for ANSI
compatible terminals."""
import logging
import random
import sys
from typing import List
def _GenerateColorSequences() -> List[str]:
"""Generates ANSI codes for 256 colors.
Works on Linux and macOS, Windows (WSL) to be confirmed.
Returns:
List[str]: A list of ANSI codes.
"""
sequences = []
for i in range(0, 16):
for j in range(0, 16):
code = str(i * 16 + j)
seq = '\u001b[38;5;' + code + 'm'
sequences.append(seq)
return sequences
COLOR_SEQS = _GenerateColorSequences()
RESET_SEQ = '\u001b[0m'
# Cherrypick a few interesting values. We still want the whole list of colors
# so that modules have a good amount colors to chose from.
# pylint: disable=unbalanced-tuple-unpacking
BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE = COLOR_SEQS[8:16]
BG_RED = '\u001b[41m' # Red background
BOLD = '\u001b[1m' # Bold / bright modifier
# We'll get something like this:
# [2020-07-09 18:06:05,187] [libcloudforensics] INFO Disk successfully copied
LOG_FORMAT = ('[%(asctime)s] [{0:s}{color:s}%(name)-20s{1:s}] %(levelname)-8s'
' %(message)s')
LEVEL_COLOR_MAP = {
'WARNING': YELLOW,
'INFO': WHITE,
'DEBUG': BLUE,
'CRITICAL': BOLD + BG_RED + WHITE,
'ERROR': RED
}
class Formatter(logging.Formatter):
"""Helper class used to add color to log messages depending on their level."""
def __init__(self,
colorize: bool = True,
random_color: bool = False,
**kwargs: str) -> None:
"""Initializes the Formatter object.
Args:
colorize (bool): If True, output will be colorized.
random_color (bool): If True, will colorize the module name with a random
color picked from COLOR_SEQS.
"""
self.colorize = colorize
kwargs['fmt'] = LOG_FORMAT.format('', '', color='')
if self.colorize:
color = ''
if random_color:
color = random.choice(COLOR_SEQS)
kwargs['fmt'] = LOG_FORMAT.format(BOLD, RESET_SEQ, color=color)
super().__init__(**kwargs) # type: ignore
def format(self, record: logging.LogRecord) -> str:
"""Hooks the native format method and colorizes messages if needed.
Args:
record (logging.LogRecord): Native log record.
Returns:
str: The formatted message string.
"""
if self.colorize:
message = record.getMessage()
loglevel_color = LEVEL_COLOR_MAP.get(record.levelname)
if loglevel_color:
message = loglevel_color + message + RESET_SEQ
record.msg = message
return super().format(record)
def SetUpLogger(name: str, no_newline: bool = False) -> None:
"""Setup a logger.
Args:
name (str): The name for the logger.
no_newline (bool): Optional. Whether or not to disable new lines in the
logger's output. Defaults to False.
"""
# We can ignore the mypy warning below since the manager is created at runtime
#pylint: disable=no-member
add_handler = name not in logging.root.manager.loggerDict # type: ignore
# pylint: enable=no-member
logger = logging.getLogger(name)
logger.setLevel(logging.INFO)
if add_handler:
console_handler = logging.StreamHandler(sys.stdout)
if no_newline:
console_handler.terminator = ''
formatter = Formatter(random_color=True)
console_handler.setFormatter(formatter)
logger.addHandler(console_handler)
def GetLogger(name: str) -> logging.Logger:
"""Return a logger.
This is a wrapper around logging.getLogger that is intended to be used by
the other modules so that they don't have to import the logging module +
this module.
Args:
name (str); The name for the logger.
Returns:
logging.Logger: The logger.
"""
return logging.getLogger(name)
| [
"noreply@github.com"
] | google.noreply@github.com |
6557dcc3b585514a79943390d6b8f3ae2e3c9ff6 | 96dcea595e7c16cec07b3f649afd65f3660a0bad | /tests/components/zodiac/test_config_flow.py | 18a512e0b455d0198ea9328ba4555bfa0d4e60d1 | [
"Apache-2.0"
] | permissive | home-assistant/core | 3455eac2e9d925c92d30178643b1aaccf3a6484f | 80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743 | refs/heads/dev | 2023-08-31T15:41:06.299469 | 2023-08-31T14:50:53 | 2023-08-31T14:50:53 | 12,888,993 | 35,501 | 20,617 | Apache-2.0 | 2023-09-14T21:50:15 | 2013-09-17T07:29:48 | Python | UTF-8 | Python | false | false | 2,119 | py | """Tests for the Zodiac config flow."""
from unittest.mock import patch
import pytest
from homeassistant.components.zodiac.const import DOMAIN
from homeassistant.config_entries import SOURCE_IMPORT, SOURCE_USER
from homeassistant.core import HomeAssistant
from homeassistant.data_entry_flow import FlowResultType
from tests.common import MockConfigEntry
async def test_full_user_flow(hass: HomeAssistant) -> None:
"""Test the full user configuration flow."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": SOURCE_USER}
)
assert result.get("type") == FlowResultType.FORM
assert result.get("step_id") == "user"
with patch(
"homeassistant.components.zodiac.async_setup_entry",
return_value=True,
) as mock_setup_entry:
result = await hass.config_entries.flow.async_configure(
result["flow_id"],
user_input={},
)
assert result.get("type") == FlowResultType.CREATE_ENTRY
assert result.get("title") == "Zodiac"
assert result.get("data") == {}
assert result.get("options") == {}
assert len(mock_setup_entry.mock_calls) == 1
@pytest.mark.parametrize("source", [SOURCE_USER, SOURCE_IMPORT])
async def test_single_instance_allowed(
hass: HomeAssistant,
source: str,
) -> None:
"""Test we abort if already setup."""
mock_config_entry = MockConfigEntry(domain=DOMAIN)
mock_config_entry.add_to_hass(hass)
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": source}
)
assert result.get("type") == FlowResultType.ABORT
assert result.get("reason") == "single_instance_allowed"
async def test_import_flow(
hass: HomeAssistant,
) -> None:
"""Test the import configuration flow."""
result = await hass.config_entries.flow.async_init(
DOMAIN,
context={"source": SOURCE_IMPORT},
data={},
)
assert result.get("type") == FlowResultType.CREATE_ENTRY
assert result.get("title") == "Zodiac"
assert result.get("data") == {}
assert result.get("options") == {}
| [
"noreply@github.com"
] | home-assistant.noreply@github.com |
8062d69ba2538832e60059ddae623206f877de02 | 81b3efefa7ec376eacfc5c28e4e0b2b8e8fa8a80 | /net/sftpipe | e0ac8722d2cf03fe0b5d181a4bd033cc7974d499 | [
"MIT"
] | permissive | akhuettel/code | 833be8af9615ce3a5519bb803813b30db1f4a230 | 0cc56df9bcef93d19090e82fa7d12b4212123d8e | refs/heads/master | 2023-08-31T06:00:18.154407 | 2021-10-22T05:07:11 | 2021-10-22T05:07:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,322 | #!/usr/bin/env python3
# Copy data from stdin to a remote file over SFTP. To be used if the target
# server doesn't have a POSIX-like shell interface and cannot reliably use 'cat
# > quoted_path'.
import argparse
import paramiko
import re
import sys
import subprocess
def parse_dest(arg):
if arg.startswith("sftp://"):
raise ValueError("parsing sftp:// URLs not supported yet")
else:
if m := re.match(r"^([^:]+):(.+)$", args.dest):
host, path = m.groups()
else:
raise ValueError(f"could not parse {arg!r}")
if m := re.match(r"^(.+)@([^@]+)$", host):
user, host = m.groups()
else:
user = None
return user, host, path
class OpenSshSubsystemChannel():
"""
A socket-like object to be used in place of paramiko.channel.Channel(), in
order to use Paramiko SFTP client with OpenSSH host/user authentication.
"""
def __init__(self, endpoint, subsystem):
self.ep = endpoint
self.subsys = subsystem
self.sshcmd = ["ssh", "-q", "-s", endpoint, subsystem]
self.proc = subprocess.Popen(self.sshcmd,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE)
def get_name(self):
return f"[fake channel to {self.subsys!r} on {self.ep!r}]"
def send(self, buf):
n = self.proc.stdin.write(buf)
self.proc.stdin.flush()
return n
def recv(self, nbytes):
return self.proc.stdout.read(nbytes)
def close(self):
self.proc.stdin.close()
self.proc.wait()
parser = argparse.ArgumentParser()
parser.add_argument("dest")
args = parser.parse_args()
user, host, path = parse_dest(args.dest)
print(f"sftpipe: Connecting to {host!r}...", file=sys.stderr)
'''
client = paramiko.client.SSHClient()
client.load_system_host_keys()
client.set_missing_host_key_policy(paramiko.client.WarningPolicy)
client.connect(host,
username=user,
gss_kex=True,
gss_auth=True)
'''
ep = f"{user}@{host}" if user else f"{host}"
chan = OpenSshSubsystemChannel(ep, "sftp")
sftp = paramiko.sftp_client.SFTPClient(chan)
print(f"sftpipe: Uploading to {path!r}...", file=sys.stderr)
sftp.putfo(sys.stdin.buffer, path)
sftp.close()
| [
"grawity@gmail.com"
] | grawity@gmail.com | |
7ea5445efa8cf1a6312bc7893484486984cce932 | 33b83b22d1e93b5e32800e3d521f8c1b25491941 | /Day06/03.切片.py | ec3ad03d25fec6f5c4a36785e096d8d4bf2e16e5 | [] | no_license | codeBeefFly/bxg_python_basic | 4ea9c2fb7a81176c501619192e1d89b2034614a9 | 685fdf9e4b763ef74abeab8b55eb365615c3b376 | refs/heads/master | 2022-12-20T06:41:57.297101 | 2020-10-11T08:51:52 | 2020-10-11T08:51:52 | 298,194,706 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 103 | py | boxes = ['酸奶','可乐','积木','矿泉水','纸盒子','脉动']
# 获取箱子中前三个商品
| [
"lijin890119@163.com"
] | lijin890119@163.com |
e26bdebcd83983ccb783fed8805b0f9edecf0197 | d94b6845aeeb412aac6850b70e22628bc84d1d6d | /ime/models/ime.py | 8177d1191a99cb35486a0f2c2514b6bb0add90c5 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | ishine/google-research | 541aea114a68ced68736340e037fc0f8257d1ea2 | c1ae273841592fce4c993bf35cdd0a6424e73da4 | refs/heads/master | 2023-06-08T23:02:25.502203 | 2023-05-31T01:00:56 | 2023-05-31T01:06:45 | 242,478,569 | 0 | 0 | Apache-2.0 | 2020-06-23T01:55:11 | 2020-02-23T07:59:42 | Jupyter Notebook | UTF-8 | Python | false | false | 17,352 | py | # coding=utf-8
# Copyright 2023 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Class that implement ime."""
from models.ar_net import ARNet
from models.linear import Linear
from models.lstm import LSTMime
from models.mlp import MLPime
from models.sdt import SDT
import torch
import torch.nn as nn
import torch.nn.functional as F
from utils.tools import add_gaussian_noise
class IME(nn.Module):
"""An implementation of Interpretable Mixture of Experts (IME).
IME consists of a group of experts and an assignment module which puts
weights on different expert.
Assignment module can either be interpretable model like Linear model or a
black box model like LSTM.
"""
def __init__(
self,
num_experts=3,
n_forecasts=1,
n_lags=0,
input_features=1,
gate_type="Linear",
expert_type="Linear",
d_model=512,
layers=3,
dropout=0.0,
device="cpu",
):
"""Initializes a IME instance.
Args:
num_experts: Number of experts
n_forecasts: Number of time steps to forecast
n_lags: Lags (past time steps) used to make forecast
input_features: Input features dimension
gate_type: Assignment module type can be "Linear" or "LSTM"
expert_type: Interpretable experts type can be "Linear" or " ARNet"
d_model: Hidden layer dimension for LSTM
layers: Number of LSTM layers.
dropout: Fraction of neurons affected by Dropout used by LSTM.
device: Device used by the model
Inputs:
original_inputs: A tensor of shape `(batch_size, seqence_length,
input_size)`
true_output: Actual forecast this is used for teacher forcing during
training.
past_values: Expert errors in the last time step
Returns:
expert_outputs: A tensor containing forecast produced by each expert
with size `(batch_size, num_experts, n_forecasts)`
weights: weights assigned to each expert by the assignment module
reg_out: Regression output the forecast a tensor of `(batch_size,
out_len)`
"""
super(IME, self).__init__()
self.num_experts = num_experts
self.device = device
self.n_forecasts = n_forecasts
self.n_lags = n_lags
self.expert_type = expert_type
self.gate_type = gate_type
# Only Linear and ARNet experts are supported for experts
assert self.expert_type == "Linear" or self.expert_type == " ARNet"
# Only Linear and LSTM experts are supported for assignment module
assert self.gate_type == "Linear" or self.gate_type == "LSTM"
if self.expert_type == "Linear":
self.experts = nn.ModuleList([
Linear(n_forecasts=n_forecasts, n_lags=n_lags)
for i in range(self.num_experts)
])
elif self.expert_type == " ARNet":
self.experts = nn.ModuleList([
ARNet(n_forecasts=n_forecasts, n_lags=n_lags, device=device)
for i in range(self.num_experts)
])
else:
raise NotImplementedError
# Gate networking takes the lags and the past values as inputs and gives
# output forecast and prediction for each expert
if self.gate_type == "Linear":
self.gate_network = nn.Linear((self.num_experts) + n_lags,
self.num_experts + self.n_forecasts)
elif self.gate_type == "LSTM":
self.gate_network = LSTMime(
input_features + self.num_experts,
self.num_experts,
n_forecasts,
d_model=d_model,
layers=layers,
dropout=dropout,
device=device)
else:
raise NotImplementedError
def forward(self,
original_inputs,
true_output,
past_values=None,
noise=False):
if self.gate_type == "Linear":
inputs = original_inputs
else:
inputs = original_inputs[:, :, 0].squeeze(-1)
# If gate is Linear then 2D concatentation with past values
if self.gate_type == "Linear":
if past_values is None:
past_values = torch.zeros(
(inputs.shape[0], self.num_experts)).to(self.device)
# Concatenate past values with the inputs to create input to gate network
gate_inputs = torch.cat((inputs, past_values), dim=1)
# Pass the Concatenated input to the gate network
gated_ouput = self.gate_network(gate_inputs).unsqueeze(2)
# The first self.num_experts outputs are prediction for each expert
assignment_logits = gated_ouput[:, :-self.n_forecasts, :]
# Last output is the forecast
reg_out = gated_ouput[:, -self.n_forecasts:, :].squeeze(-1)
# If gate is LSTM then 3D concatentation with past values
elif self.gate_type == "LSTM":
if past_values is None:
past_values = torch.zeros((original_inputs.shape)).to(self.device)
else:
past_values = past_values.unsqueeze(1).repeat(1,
original_inputs.shape[1],
1)
gate_inputs = torch.cat((original_inputs, past_values), dim=2)
assignment_logits, reg_out = self.gate_network(gate_inputs)
else:
raise NotImplementedError
# The weights for each output is retrieved by passing logits through softmax
weights = F.softmax(assignment_logits, dim=1)
# If noise flag add noise to the input
if noise:
inputs = add_gaussian_noise(inputs, device=self.device)
# If the interpretable experts are linear pass the input to each expert
if self.expert_type == "Linear":
expert_outputs_list = [
self.experts[i](inputs).unsqueeze(2) for i in range(self.num_experts)
]
# If ARNet is used then the orignal inputs and prediction is passed to
# experts since it is used for teacher forcing
elif self.expert_type == " ARNet":
expert_outputs_list = [
self.experts[i](inputs, true_output).unsqueeze(2)
for i in range(self.num_experts)
]
else:
raise NotImplementedError
# Concatenate the outputs of different experts
for i in range(len(expert_outputs_list)):
if i == 0:
expert_outputs = expert_outputs_list[i]
else:
expert_outputs = torch.cat((expert_outputs, expert_outputs_list[i]),
dim=2)
return expert_outputs, weights, reg_out
def predict(self, original_inputs, past_values=None):
"""Function used during inference time to make predictions.
Args:
original_inputs: A tensor of shape `(batch_size, seqence_length,
input_size)`
past_values: Expert errors in the last time step
Returns:
output: Forecast a tensor of shape `(batch_size, n_forecasts)`
expert_outputs: A tensor containing forecast produced by each expert
with size `(batch_size, num_experts, n_forecasts)`
argmax_weights: argmax ofweights assigned to each expert by the
assignment module
"""
# Interpetable model only take single feature as input
if self.gate_type == "Linear":
inputs = original_inputs
else:
inputs = original_inputs[:, :, 0].squeeze(-1)
# If gate is Linear then 2D concatentation with past values
if self.gate_type == "Linear":
if past_values is None:
past_values = torch.zeros(
(inputs.shape[0], self.num_experts)).to(self.device)
# Concatenate past values with the inputs to create input to gate network
gate_inputs = torch.cat((inputs, past_values), dim=1)
gated_ouput = self.gate_network(gate_inputs).unsqueeze(2)
# The first self.num_experts outputs are prediction for each expert
assignment_logits = gated_ouput[:, :-self.n_forecasts, :]
# If gate is LSTM then 3D concatentation with past values
elif self.gate_type == "LSTM":
if past_values is None:
past_values = torch.zeros((original_inputs.shape)).to(self.device)
else:
past_values = past_values.unsqueeze(1).repeat(1,
original_inputs.shape[1],
1)
gate_inputs = torch.cat((original_inputs, past_values), dim=2)
assignment_logits, _ = self.gate_network(gate_inputs)
else:
raise NotImplementedError
# The weights for each output is retrieved by passing logits through softmax
weights = F.softmax(assignment_logits, dim=1)
# get index of the maximum weight
max_index = torch.argmax(weights, dim=1).flatten()
# this gives argmax of weights by setting max index to 1 and reset to 0
argmax_weights = F.one_hot(
max_index, num_classes=assignment_logits.shape[1]).float().to(
self.device).unsqueeze(-1)
# If the interpretable experts are linear use regular forward function
if self.expert_type == "Linear":
expert_outputs_list = [
self.experts[i](inputs).unsqueeze(2) for i in range(self.num_experts)
]
# If ARNet then used predict function for prediction
elif self.expert_type == " ARNet":
expert_outputs_list = [
self.experts[i].predict(inputs).unsqueeze(2)
for i in range(self.num_experts)
]
else:
raise NotImplementedError
# Concatenate the outputs of different experts
for i in range(len(expert_outputs_list)):
if i == 0:
expert_outputs = expert_outputs_list[i]
else:
expert_outputs = torch.cat((expert_outputs, expert_outputs_list[i]),
dim=2)
# Final output the is matrix multipication of expert outputs and argmax of
# the weight
output = torch.matmul(expert_outputs, argmax_weights).squeeze(-1)
return output, expert_outputs, argmax_weights
class IMETabular(nn.Module):
"""An implementation of Interpretable Mixture of Experts (IME) for tabular data.
IME consists of a group of experts and an assignment module which puts
weights on different expert.
Assignment module can either be interpretable model like Linear model or a
black box model like MLP.
"""
def __init__(
self,
num_experts=3,
input_features=1,
output_features=1,
expert_type="Linear",
gate_type="Linear",
d_model=512,
layers=3,
depth=5,
device="cpu",
):
"""Initializes a IMETabular instance.
Args:
num_experts: Number of experts
input_features: Input features dimension
output_features: Output features dimension
expert_type: Interpretable experts type can be "Linear" or "SDT"
gate_type: Assignment module type can be "Linear" or "MLP"
d_model: Hidden layer dimension for MLP
layers: Number of MLP layers.
depth: depth of decision tree/
device: Device used by the model
"""
super(IMETabular, self).__init__()
self.num_experts = num_experts
self.device = device
self.input_features = input_features
self.output_features = output_features
self.expert_type = expert_type
self.gate_type = gate_type
# Only Linear and SDT experts are supported for experts
assert self.expert_type == "Linear" or self.expert_type == "SDT"
# Only Linear and LSTM experts are supported for assignment module
assert self.gate_type == "Linear" or self.gate_type == "MLP"
if self.expert_type == "Linear":
self.experts = nn.ModuleList([
nn.Linear(input_features, output_features)
for i in range(self.num_experts)
])
elif self.expert_type == "SDT":
self.experts = nn.ModuleList([
SDT(input_features, output_features, depth=depth, device=device)
for i in range(self.num_experts)
])
else:
raise NotImplementedError
# Gate networking takes the lags and the past values as inputs and gives
# output forecast and prediction for each expert
if self.gate_type == "Linear":
self.gate_network = nn.Linear((self.num_experts) + input_features,
self.num_experts + self.output_features)
elif self.gate_type == "MLP":
self.gate_network = MLPime(
input_features + self.num_experts,
output_features,
num_experts,
d_model=d_model,
n_layers=layers)
else:
raise NotImplementedError
def forward(self, inputs, past_values=None, noise=False):
"""Forward pass for IMETabular.
Args:
inputs: A tensor of shape `(batch_size,input_size)`
past_values: Expert errors in the last time step
noise: Boolean determines if noise should be added to input
Returns:
expert_outputs: A tensor containing forecast produced by each expert
with size `(batch_size, num_experts,output_dim)`
weights: weights assigned to each expert by the assignment module
reg_out: Regression output the forecast a tensor of `(batch_size,
output_features)`
"""
if past_values is None:
past_values = torch.zeros(
(inputs.shape[0], self.num_experts)).to(self.device)
# Concatenate past values with the inputs to create input to gate network
gate_inputs = torch.cat((inputs, past_values), dim=1)
if self.gate_type == "Linear":
gated_ouput = self.gate_network(gate_inputs).unsqueeze(2)
# The first self.num_experts outputs are prediction for each expert
assignment_logits = gated_ouput[:, :-self.output_features, :]
# Last output is the forecast
reg_out = gated_ouput[:, -self.output_features:, :].squeeze(-1)
# If gate is MLP
elif self.gate_type == "MLP":
# Pass the Concatenated input to the gate network
assignment_logits, reg_out = self.gate_network(gate_inputs)
else:
raise NotImplementedError
# The weights for each output is retrieved by passing logits through softmax
weights = F.softmax(assignment_logits, dim=1)
# If noise flag add noise to the input
if noise:
inputs = add_gaussian_noise(inputs, device=self.device)
# If the interpretable experts are linear pass the input to each expert
if self.expert_type == "Linear":
expert_outputs_list = [
self.experts[i](inputs).unsqueeze(2) for i in range(self.num_experts)
]
# Concatenate the outputs of different experts
for i in range(len(expert_outputs_list)):
if i == 0:
expert_outputs = expert_outputs_list[i]
else:
expert_outputs = torch.cat((expert_outputs, expert_outputs_list[i]),
dim=2)
elif self.expert_type == "SDT":
panelties = 0
for i in range(self.num_experts):
expert_output, panelty = self.experts[i](inputs, is_training_data=True)
panelties += panelty
if i == 0:
expert_outputs = expert_output.unsqueeze(2)
else:
expert_outputs = torch.cat(
(expert_outputs, expert_output.unsqueeze(2)), dim=2)
else:
raise NotImplementedError
if self.expert_type == "Linear":
return expert_outputs, weights, reg_out
else:
return expert_outputs, weights, reg_out, panelties
def predict(self, original_inputs, past_values=None):
"""Function used during inference time to make predictions.
Args:
original_inputs: A tensor of shape `(batch_size, input_size)`
past_values: Expert errors in the last time step
Returns:
output: Forecast a tensor of shape `(batch_size, output_features)`
expert_outputs: A tensor containing forecast produced by each expert
with size `(batch_size, num_experts, output_features)`
argmax_weights: argmax ofweights assigned to each expert by the
assignment module
"""
inputs = torch.cat((original_inputs, past_values), dim=1)
if self.gate_type == "Linear":
gated_ouput = self.gate_network(inputs).unsqueeze(2)
assignment_logits = gated_ouput[:, :-self.output_features, :]
elif self.gate_type == "MLP":
assignment_logits, _ = self.gate_network(inputs)
else:
raise NotImplementedError
weights = F.softmax(assignment_logits, dim=1)
max_index = torch.argmax(weights, dim=1).flatten()
argmax_weights = F.one_hot(
max_index, num_classes=assignment_logits.shape[1]).float().to(
self.device).unsqueeze(-1)
expert_outputs_list = [
self.experts[i](original_inputs).unsqueeze(2)
for i in range(self.num_experts)
]
for i in range(len(expert_outputs_list)):
if i == 0:
expert_outputs = expert_outputs_list[i]
else:
expert_outputs = torch.cat((expert_outputs, expert_outputs_list[i]),
dim=2)
output = torch.matmul(expert_outputs, argmax_weights).squeeze(-1)
return output, expert_outputs, argmax_weights
| [
"copybara-worker@google.com"
] | copybara-worker@google.com |
5a8e7108bea6fe1d2aa93e4c7a45b33778200cb6 | 998ced39bbacf743a445ae3f258d9a7215f10794 | /backend/menu/migrations/0001_initial.py | 1846814f922b9a90d09a1e8b8fc3c6674aacd07b | [] | no_license | crowdbotics-apps/test-19340 | d5483e2bbd889e187c3a0b145e40dafedef66af2 | ed7f208217b30631235fcbe61c33b06b189745a2 | refs/heads/master | 2023-07-06T02:51:14.025283 | 2020-08-03T17:19:10 | 2020-08-03T17:19:10 | 284,756,281 | 0 | 0 | null | 2021-08-03T20:03:13 | 2020-08-03T16:54:02 | JavaScript | UTF-8 | Python | false | false | 3,144 | py | # Generated by Django 2.2.15 on 2020-08-03 16:55
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('delivery_user_profile', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Category',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
('description', models.TextField()),
('image', models.URLField()),
('icon', models.URLField()),
],
),
migrations.CreateModel(
name='Country',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
('description', models.TextField()),
('prefix', models.CharField(max_length=8)),
('flag', models.URLField()),
],
),
migrations.CreateModel(
name='Item',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
('description', models.TextField()),
('image', models.URLField()),
('category', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='item_category', to='menu.Category')),
],
),
migrations.CreateModel(
name='Review',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('rating', models.FloatField()),
('review_text', models.TextField()),
('timestamp_created', models.DateTimeField(auto_now_add=True)),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='review_item', to='menu.Item')),
('profile', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='review_profile', to='delivery_user_profile.Profile')),
],
),
migrations.CreateModel(
name='ItemVariant',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
('description', models.TextField()),
('price', models.FloatField()),
('image', models.URLField()),
('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='itemvariant_country', to='menu.Country')),
('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='itemvariant_item', to='menu.Item')),
],
),
]
| [
"team@crowdbotics.com"
] | team@crowdbotics.com |
7cfb6733bf31310a349f2f1a6edc22f9c96b53f6 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /tools/grit/grit/tool/update_resource_ids/__init__.py | 3006fbffabefe5e72994d6313129bdbffb1a7347 | [
"Zlib",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"APSL-2.0",
"MIT",
"Apache-2.0",
"LGPL-2.0-only",
"LicenseRef-scancode-unknown"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | Python | false | false | 9,646 | py | # Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Package grit.tool.update_resource_ids
Updates GRID resource_ids from linked GRD files, while preserving structure.
A resource_ids file is a JSON dict (with Python comments) that maps GRD paths
to *items*. Item order is ignored by GRIT, but is important since it establishes
a narrative of item dependency (needs non-overlapping IDs) and mutual exclusion
(allows ID overlap). Example:
{
# The first entry in the file, SRCDIR, is special: It is a relative path from
# this file to the base of your checkout.
"SRCDIR": "../..",
# First GRD file. This entry is an "Item".
"1.grd": {
"messages": [400], # "Tag".
},
# Depends on 1.grd, i.e., 500 >= 400 + (# of IDs used in 1.grd).
"2a.grd": {
"includes": [500], # "Tag".
"structures": [510], # "Tag" (etc.).
},
# Depends on 2a.grd.
"3a.grd": {
"includes": [1000],
},
# Depends on 2a.grd, but overlaps with 3b.grd due to mutually exclusivity.
"3b.grd": {
"includes": [1000],
},
# Depends on {3a.grd, 3b.grd}.
"4.grd": {
"META": {"join": 2}, # Hint for update_resource_ids.
"structures": [1500],
},
# Depends on 1.grd but overlaps with 2a.grd.
"2b.grd": {
"includes": [500],
"structures": [540],
},
# Depends on {4.grd, 2b.grd}.
"5.grd": {
"META": {"join": 2}, # Hint for update_resource_ids.
"includes": [600],
},
# Depends on 5.grd. File is generated, so hint is needed for sizes.
"<(SHARED_INTERMEDIATE_DIR)/6.grd": {
"META": {"sizes": {"includes": [10]}},
"includes": [700],
},
}
The "structure" within a resouces_ids file are as follows:
1. Comments and spacing.
2. Item ordering, to establish dependency and grouping.
3. Special provision to allow ID overlaps from mutual exclusion.
This module parses a resource_ids file, reads ID usages from GRD files it refers
to, and generates an updated version of the resource_ids file while preserving
structure elements 1-3 stated above.
"""
from __future__ import print_function
import collections
import getopt
import os
import shutil
import sys
import tempfile
from grit.tool import interface
from grit.tool.update_resource_ids import assigner, common, parser, reader
def _ReadData(input_file):
if input_file == '-':
data = sys.stdin.read()
file_dir = os.getcwd()
else:
with open(input_file, 'rt') as f:
data = f.read()
file_dir = os.path.dirname(input_file)
return data, file_dir
def _MultiReplace(data, repl):
"""Multi-replacement of text |data| by ranges and replacement text.
Args:
data: Original text.
repl: List of (lo, hi, s) tuples, specifying that |data[lo:hi]| should be
replaced with |s|. The ranges must be inside |data|, and not overlap.
Returns: New text.
"""
res = []
prev = 0
for (lo, hi, s) in sorted(repl):
if prev < lo:
res.append(data[prev:lo])
res.append(s)
prev = hi
res.append(data[prev:])
return ''.join(res)
def _WriteFileIfChanged(output, new_data):
if not output:
sys.stdout.write(new_data)
return
# Avoid touching outputs if file contents has not changed so that ninja
# does not rebuild dependent when not necessary.
if os.path.exists(output) and _ReadData(output)[0] == new_data:
return
# Write to a temporary file to ensure atomic changes.
with tempfile.NamedTemporaryFile('wt', delete=False) as f:
f.write(new_data)
shutil.move(f.name, output)
class _Args:
"""Encapsulated arguments for this module."""
def __init__(self):
self.add_header = False
self.analyze_inputs = False
self.count = False
self.depfile = None
self.fake = False
self.input = None
self.naive = False
self.output = None
self.parse = False
self.tokenize = False
@staticmethod
def Parse(raw_args):
own_opts, raw_args = getopt.getopt(raw_args, 'o:cpt', [
'add-header',
'analyze-inputs',
'count',
'depfile=',
'fake',
'naive',
'parse',
'tokenize',
])
args = _Args();
if not len(raw_args) == 1:
print('grit update_resource_ids takes exactly one argument, the path to '
'the resource ids file.')
return 2
args.input = raw_args[0]
for (key, val) in own_opts:
if key == '-o':
args.output = val
elif key == '--add-header':
args.add_header = True
elif key == '--analyze-inputs':
args.analyze_inputs = True
elif key in ('--count', '-c'):
args.count = True
elif key == '--depfile':
args.depfile = val
elif key == '--fake':
args.fake = True
elif key == '--naive':
args.naive = True
elif key in ('--parse', '-p'):
args.parse = True
elif key in ('--tokenize', '-t'):
args.tokenize = True
return args
class UpdateResourceIds(interface.Tool):
"""Updates all start IDs in an resource_ids file by reading all GRD files it
refers to, estimating the number of required IDs of each type, then rewrites
start IDs while preserving structure.
Usage: grit update_resource_ids [--parse|-p] [--read-grd|-r] [--tokenize|-t]
[--naive] [--fake] [-o OUTPUT_FILE]
[--analyze-inputs] [--depfile DEPFILE]
[--add-header] RESOURCE_IDS_FILE
RESOURCE_IDS_FILE is the path of the input resource_ids file.
The -o option redirects output (default stdout) to OUPTUT_FILE, which can also
be RESOURCE_IDS_FILE.
Other options:
-E NAME=VALUE Sets environment variable NAME to VALUE (within grit).
--count|-c Parses RESOURCE_IDS_FILE, reads the GRD files, and prints
required sizes.
--fake For testing: Skips reading GRD files, and assigns 10 as the
usage of every tag.
--naive Use naive coarse assigner.
--parse|-p Parses RESOURCE_IDS_FILE and dumps its nodes to console.
--tokenize|-t Tokenizes RESOURCE_IDS_FILE and reprints it as syntax-
highlighted output.
--depfile=DEPFILE Write out a depfile for ninja to know about dependencies.
--analyze-inputs Writes dependencies to stdout.
--add-header Adds a "THIS FILE IS GENERATED" header to the output.
"""
def __init(self):
super(UpdateResourceIds, self).__init__()
def ShortDescription(self):
return 'Updates a resource_ids file based on usage, preserving structure'
def _DumpTokens(self, data, tok_gen):
# Reprint |data| with syntax highlight.
color_map = {
'#': common.Color.GRAY,
'S': common.Color.CYAN,
'0': common.Color.RED,
'{': common.Color.YELLOW,
'}': common.Color.YELLOW,
'[': common.Color.GREEN,
']': common.Color.GREEN,
':': common.Color.MAGENTA,
',': common.Color.MAGENTA,
}
for t, lo, hi in tok_gen:
c = color_map.get(t, common.Color.NONE)
sys.stdout.write(c(data[lo:hi]))
def _DumpRootObj(self, root_obj):
print(root_obj)
def _DumpResourceCounts(self, usage_gen):
tot = collections.Counter()
for item, tag_name_to_usage in usage_gen:
c = common.Color.YELLOW if item.grd.startswith('<') else common.Color.CYAN
print('%s: %r' % (c(item.grd), dict(tag_name_to_usage)))
tot += collections.Counter(tag_name_to_usage)
print(common.Color.GRAY('-' * 80))
print('%s: %r' % (common.Color.GREEN('Total'), dict(tot)))
print('%s: %d' % (common.Color.GREEN('Grand Total'), sum(tot.values())))
def Run(self, opts, raw_args):
self.SetOptions(opts)
args = _Args.Parse(raw_args)
data, file_dir = _ReadData(args.input)
tok_gen = parser.Tokenize(data)
if args.tokenize:
return self._DumpTokens(data, tok_gen)
root_obj = parser.ResourceIdParser(data, tok_gen).Parse()
if args.parse:
return self._DumpRootObj(root_obj)
item_list = common.BuildItemList(root_obj)
src_dir = os.path.normpath(os.path.join(file_dir, root_obj['SRCDIR'].val))
seen_files = set()
usage_gen = reader.GenerateResourceUsages(item_list, src_dir, args.fake,
seen_files)
if args.count:
return self._DumpResourceCounts(usage_gen)
for item, tag_name_to_usage in usage_gen:
item.SetUsages(tag_name_to_usage)
if args.analyze_inputs:
print('\n'.join(sorted(seen_files)))
return 0
new_ids_gen = assigner.GenerateNewIds(item_list, args.naive)
# Create replacement specs usable by _MultiReplace().
repl = [(tag.lo, tag.hi, str(new_id)) for tag, new_id in new_ids_gen]
rel_input_dir = args.input
# Update "SRCDIR" entry if output is specified.
if args.output:
new_srcdir = os.path.relpath(src_dir, os.path.dirname(args.output))
repl.append((root_obj['SRCDIR'].lo, root_obj['SRCDIR'].hi,
repr(new_srcdir)))
rel_input_dir = os.path.join('$SRCDIR',
os.path.relpath(rel_input_dir, new_srcdir))
new_data = _MultiReplace(data, repl)
if args.add_header:
header = []
header.append('# GENERATED FILE.')
header.append('# Edit %s instead.' % rel_input_dir)
header.append('#' * 80)
new_data = '\n'.join(header + ['']) + new_data
_WriteFileIfChanged(args.output, new_data)
if args.depfile:
deps_data = '{}: {}'.format(args.output, ' '.join(sorted(seen_files)))
_WriteFileIfChanged(args.depfile, deps_data)
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7f6e079c0a48ee76d3298878b56e133898d647cb | e77eda0d87beb6a38b55f1d6d3a28f5090cb4fe3 | /lose/utils/ui/keys.py | 34a75d2d046b7031c40225ecc36857833eadbcaf | [
"Apache-2.0"
] | permissive | brianbruggeman/lose-7drl | 5dde91fd214e4355bffa5a8d1f3e9b07c5b9ecdf | 8921b464e82c8c7e6bf7cfebd4e8a3a5e290ac38 | refs/heads/master | 2021-03-24T12:20:44.802970 | 2017-03-12T04:21:55 | 2017-03-12T04:21:55 | 83,945,692 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,890 | py | # -*- coding: utf-8 -*-
import sys
import operator
from random import choice, random, randint
import tcod
from ..logger import get_logger
logger = get_logger(__name__)
key_mapping = {
getattr(tcod, d): d.lower().replace('key_', '')
for d in dir(tcod)
if d.startswith('KEY_')
}
def get_input_info(input):
fields = [field for field in dir(input.cdata) if not field.startswith('_')]
info = {
field: getattr(input.cdata, field)
for field in fields
if getattr(input.cdata, field, None)
}
# If we're using CFFI, char will be of type CDATA and will basically
# point to a c-array of char types: char[1] The code below extracts
# that data into something readable.
char = info.get('c')
if isinstance(char, bytes):
char = ''.join(chr(_) for _ in char if _)
info['c'] = char
# If we're using CFFI, text will be of type CDATA and will basically
# point to a c-array of char types: char[32] The code below extracts
# that data into something readable.
text = info.get('text')
if text:
text = ''.join(chr(v) for val in text for v in val if v)
info['text'] = text
return info
def get_key_string(key):
char, char_string, mods, gen_mods = get_key_character(key)
return char_string
def get_key_character(key, exact=False):
mapped_key = key_mapping.get(key.vk)
if mapped_key == 'pressed':
mapped_key = 'escape'
char = mapped_key if mapped_key != 'char' else chr(key.c)
if char.endswith('win'):
char = char.replace('win', 'meta')
# Check modifiers
mods = ['shift', 'lalt', 'lctrl', 'lmeta', 'rmeta', 'rctrl', 'ralt']
found_mods = []
for mod in mods:
mod_value = getattr(key, mod, None)
if mod_value is True and mod != char:
found_mods.append(mod)
mods = found_mods
# Generalize modifiers
gen_mods = ['shift', 'alt', 'ctrl', 'meta', 'win']
found_gen_mods = []
for gen_mod in gen_mods:
if any(mod.endswith(gen_mod) for mod in mods):
if gen_mod == 'win':
gen_mod == 'meta'
if gen_mod not in found_gen_mods:
found_gen_mods.append(gen_mod)
gen_mods = found_gen_mods
# Create a string with gen_mods
if not exact:
char_string = '+'.join((*gen_mods, char))
else:
char_string = '+'.join((*mods, char))
return char, char_string, mods, gen_mods
def handle_movement(game_state, position, event):
movement_mapping = {
'up': (-1, 0),
'down': (1, 0),
'left': (0, -1),
'right': (0, 1)
}
success = None
if isinstance(event, dict):
return success
mapped_update = movement_mapping.get(event)
if mapped_update:
updated_position = tuple(map(operator.add, position, mapped_update))
if process_player_move(game_state, updated_position):
success = mapped_update
return success
def handle_combat(game_state, position, event):
level_map = game_state['current-level']
combat_mapping = {
'up': (-1, 0),
'down': (1, 0),
'left': (0, -1),
'right': (0, 1)
}
success = None
if isinstance(event, dict):
return success
mapped_update = combat_mapping.get(event)
if mapped_update:
tile_position = tuple(map(operator.add, position, mapped_update))
tile = level_map[tile_position]
mobs = tile.get('mobs', [])
if not mobs:
return success
mob = choice(mobs)
mob_name = mob['display']['text']
pct_to_hit = 60
hit = (random() <= (pct_to_hit / 100))
success = True
if hit:
damage = randint(1, 4)
mob['health'] -= damage
combat_msg = f'Player hit {mob_name} for {damage}.'
if mob['health'] < 0:
mob_index = tile['mobs'].index(mob)
tile['mobs'].pop(mob_index)
combat_msg = f'Player killed {mob_name}.'
if not tile['mobs']:
tile.pop('mobs')
else:
combat_msg = f'Player missed.'
logger.trace(combat_msg)
return success
def handle_game_user_input(game_state):
user_key = wait_for_user_input()
position = game_state['character-position']
movement_diff = handle_movement(game_state, position, user_key)
if movement_diff:
game_state['round-updates']['character-movement'] = movement_diff
if user_key in ['q', 'escape']:
sys.exit()
if user_key in ['shift+meta+d', 'shift+meta+D']:
game_state['debug'] = not game_state['debug']
elif not movement_diff:
character_action = handle_combat(game_state, position, user_key)
game_state['character-action'] = character_action
else:
return user_key
def handle_keys(key_mapping):
key = tcod.console_check_for_keypress()
if key.vk in key_mapping.get('fullscreen'):
# Alt+Enter: toggle fullscreen
tcod.console_set_fullscreen(not tcod.console_is_fullscreen())
elif key.vk in key_mapping.get('exit'):
return True # exit game
def process_player_move(game_state, updated_player_position):
tile = game_state['current-level'][updated_player_position]
tile_ref = game_state['tiles'][tile['name']]
if tile_ref['name'] == 'closed-door':
tile['name'] = 'open-door'
mobs = tile.get('mobs')
items = tile.get('items')
moved = False
blocking = tile.get('blocking') or tile_ref.get('blocking')
if mobs:
pass
elif not blocking or game_state['debug']:
game_state['character-position'] = updated_player_position
moved = True
if items:
for item in items:
game_state['player-inventory'].append(item)
tile.pop('items')
return moved
def wait_for_keypress(realtime=False):
if realtime:
key = tcod.console_check_for_keypress()
else:
key = tcod.console_wait_for_keypress(flush=True)
char, char_string, mods, gen_mods = get_key_character(key)
key_data = {
'key': char_string,
'val': key.vk,
'pressed': key.pressed,
}
logger.trace(key_data)
return char_string
def wait_for_user_input():
mouse = tcod.Mouse()
key = tcod.Key()
event_mask = tcod.EVENT_KEY_PRESS | tcod.EVENT_MOUSE
tcod.sys_check_for_event(event_mask, key, mouse)
mouse_info = get_input_info(mouse)
key_info = get_input_info(key)
mouse_button = any(mouse_info[field] for field in mouse_info if 'button' in field)
val = {}
if not key.pressed and not mouse_button:
return val
elif not key.pressed:
val = mouse_info
elif key.pressed:
val = get_key_string(key)
if val == 'meta+text':
val = key_info['text']
return val
| [
"Brian.M.Bruggeman@gmail.com"
] | Brian.M.Bruggeman@gmail.com |
0ff01722968ac8fe843ee54eaf63d28016723414 | ba2a05f20454bda428f140634bc602699f164fc4 | /00.SSAFY/1.first-semester/algorithm/APS_Basic/20190314/3750_digit_sum.py | 60bcca7f7a6d32798917a92f187b00ea604e7c9a | [] | no_license | snowink1137/TIL | 734da402e99afa52f1af4ef996a6b274b1bcce0b | 9e9c78eb0c892affc88e2d46e143cef98af743fb | refs/heads/master | 2023-01-08T18:26:34.311579 | 2021-11-14T11:04:22 | 2021-11-14T11:04:22 | 162,255,934 | 0 | 0 | null | 2023-01-07T11:09:09 | 2018-12-18T08:32:44 | Jupyter Notebook | UTF-8 | Python | false | false | 496 | py | import sys
sys.stdin = open('3750.txt', 'r')
T = int(input())
result_list = []
for test_case in range(1, T+1):
n = int(input())
while not 1 <= n <= 9:
result = 0
remain = n
while True:
if remain == 0 and n == 0:
break
remain = n % 10
result += remain
n = n // 10
n = result
result_list.append('#'+str(test_case))
result_list.append(' '+str(n)+'\n')
print(''.join(result_list))
| [
"snowink1137@gmail.com"
] | snowink1137@gmail.com |
be689ebb3657eb8867e6013a1be7eb5f5882edb9 | 3b1229c458aa232bfcf11cd6da5f1275e9bb3a8f | /python/Python基础/截图和代码/Python基础/PaxHeader/14-print一次输出多个变量.py | 97fa2a4739a01fb79033d136eca2687248c5823b | [] | no_license | sunjianbo/learning | 4fee3ddc5e3d4040a49f2ef3e6f239fd6a67b393 | 384cb4e73cc67e390ee2f4be0da9fe0319d93644 | refs/heads/master | 2021-02-17T16:32:22.557614 | 2020-03-09T05:29:51 | 2020-03-09T05:29:51 | 245,111,571 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 112 | py | 86 path=Python基础/截图和代码/Python基础/14-print一次输出多个变量.py
26 mtime=1490959062.01127
| [
"sunjianbo"
] | sunjianbo |
1639f0c947e83bfcbfa272ebc46b8629e060cbd7 | 2049bda43e392d5f5981fbfdb70090ba226e4ef8 | /apps/catalogue/migrations/0056_auto__chg_field_productspecialrequests_repackaging_done__chg_field_pro.py | c6b963c2946816baff57cd580f5379cdbb5cb71f | [] | no_license | embedded1/django-package-forwarding | 2ef84a1fde5ba6817d42d89f983512bdc3d77bc3 | 8c3286e9a7da8f4ae0401a81c8037585b3bb7ba6 | refs/heads/master | 2020-06-22T17:05:36.637695 | 2019-07-26T09:34:40 | 2019-07-26T09:34:40 | 197,738,052 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,510 | py | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'ProductSpecialRequests.repackaging_done'
db.alter_column('catalogue_productspecialrequests', 'repackaging_done', self.gf('django.db.models.fields.NullBooleanField')(null=True))
# Changing field 'ProductSpecialRequests.custom_requests_done'
db.alter_column('catalogue_productspecialrequests', 'custom_requests_done', self.gf('django.db.models.fields.NullBooleanField')(null=True))
def backwards(self, orm):
# Changing field 'ProductSpecialRequests.repackaging_done'
db.alter_column('catalogue_productspecialrequests', 'repackaging_done', self.gf('django.db.models.fields.BooleanField')())
# Changing field 'ProductSpecialRequests.custom_requests_done'
db.alter_column('catalogue_productspecialrequests', 'custom_requests_done', self.gf('django.db.models.fields.BooleanField')())
models = {
'address.country': {
'Meta': {'ordering': "('-is_highlighted', 'name')", 'object_name': 'Country'},
'is_highlighted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
'is_shipping_country': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
'iso_3166_1_a2': ('django.db.models.fields.CharField', [], {'max_length': '2', 'primary_key': 'True'}),
'iso_3166_1_a3': ('django.db.models.fields.CharField', [], {'max_length': '3', 'null': 'True', 'db_index': 'True'}),
'iso_3166_1_numeric': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'db_index': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
'printable_name': ('django.db.models.fields.CharField', [], {'max_length': '128'})
},
'auth.group': {
'Meta': {'object_name': 'Group'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
},
'auth.permission': {
'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
},
'auth.user': {
'Meta': {'object_name': 'User'},
'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
},
'catalogue.attributeentity': {
'Meta': {'object_name': 'AttributeEntity'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}),
'type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'entities'", 'to': "orm['catalogue.AttributeEntityType']"})
},
'catalogue.attributeentitytype': {
'Meta': {'object_name': 'AttributeEntityType'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'})
},
'catalogue.attributeoption': {
'Meta': {'object_name': 'AttributeOption'},
'group': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'options'", 'to': "orm['catalogue.AttributeOptionGroup']"}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'option': ('django.db.models.fields.CharField', [], {'max_length': '255'})
},
'catalogue.attributeoptiongroup': {
'Meta': {'object_name': 'AttributeOptionGroup'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '128'})
},
'catalogue.category': {
'Meta': {'ordering': "['full_name']", 'object_name': 'Category'},
'depth': ('django.db.models.fields.PositiveIntegerField', [], {}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'full_name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
'numchild': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
'path': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '255'})
},
'catalogue.contributor': {
'Meta': {'object_name': 'Contributor'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '255'})
},
'catalogue.contributorrole': {
'Meta': {'object_name': 'ContributorRole'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
'name_plural': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
},
'catalogue.customsformitem': {
'Meta': {'object_name': 'CustomsFormItem'},
'customs_form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'items'", 'to': "orm['catalogue.ProductCustomsForm']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'quantity': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
'value': ('django.db.models.fields.DecimalField', [], {'max_digits': '6', 'decimal_places': '2'})
},
'catalogue.option': {
'Meta': {'object_name': 'Option'},
'code': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '128'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
'type': ('django.db.models.fields.CharField', [], {'default': "'Required'", 'max_length': '128'})
},
'catalogue.product': {
'Meta': {'ordering': "['-date_created']", 'object_name': 'Product'},
'attributes': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['catalogue.ProductAttribute']", 'through': "orm['catalogue.ProductAttributeValue']", 'symmetrical': 'False'}),
'categories': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['catalogue.Category']", 'through': "orm['catalogue.ProductCategory']", 'symmetrical': 'False'}),
'combined_products': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'master'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalogue.Product']"}),
'condition': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_index': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'is_client_id_missing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'is_discountable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
'order': ('django.db.models.fields.related.OneToOneField', [], {'blank': 'True', 'related_name': "'package'", 'unique': 'True', 'null': 'True', 'to': "orm['order.Order']"}),
'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'variants'", 'null': 'True', 'to': "orm['catalogue.Product']"}),
'product_class': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.ProductClass']", 'null': 'True'}),
'product_options': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['catalogue.Option']", 'symmetrical': 'False', 'blank': 'True'}),
'rating': ('django.db.models.fields.FloatField', [], {'null': 'True'}),
'recommended_products': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['catalogue.Product']", 'symmetrical': 'False', 'through': "orm['catalogue.ProductRecommendation']", 'blank': 'True'}),
'related_products': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'relations'", 'blank': 'True', 'to': "orm['catalogue.Product']"}),
'score': ('django.db.models.fields.FloatField', [], {'default': '0.0', 'db_index': 'True'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '255'}),
'status': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '128', 'null': 'True', 'blank': 'True'}),
'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'upc': ('django.db.models.fields.CharField', [], {'max_length': '64', 'unique': 'True', 'null': 'True', 'blank': 'True'})
},
'catalogue.productattribute': {
'Meta': {'ordering': "['code']", 'object_name': 'ProductAttribute'},
'code': ('django.db.models.fields.SlugField', [], {'max_length': '128'}),
'entity_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.AttributeEntityType']", 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
'option_group': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.AttributeOptionGroup']", 'null': 'True', 'blank': 'True'}),
'product_class': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'attributes'", 'null': 'True', 'to': "orm['catalogue.ProductClass']"}),
'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'type': ('django.db.models.fields.CharField', [], {'default': "'text'", 'max_length': '20'})
},
'catalogue.productattributevalue': {
'Meta': {'object_name': 'ProductAttributeValue'},
'attribute': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.ProductAttribute']"}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'product': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'attribute_values'", 'to': "orm['catalogue.Product']"}),
'value_boolean': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'value_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
'value_entity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.AttributeEntity']", 'null': 'True', 'blank': 'True'}),
'value_float': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'value_integer': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'value_option': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.AttributeOption']", 'null': 'True', 'blank': 'True'}),
'value_richtext': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'value_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
},
'catalogue.productcategory': {
'Meta': {'ordering': "['-is_canonical']", 'object_name': 'ProductCategory'},
'category': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.Category']"}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'is_canonical': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
'product': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.Product']"})
},
'catalogue.productclass': {
'Meta': {'ordering': "['name']", 'object_name': 'ProductClass'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
'options': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['catalogue.Option']", 'symmetrical': 'False', 'blank': 'True'}),
'requires_shipping': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '128'}),
'track_stock': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
},
'catalogue.productconsolidationrequests': {
'Meta': {'object_name': 'ProductConsolidationRequests'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'package': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'consolidation_requests'", 'unique': 'True', 'to': "orm['catalogue.Product']"}),
'packaging': ('django.db.models.fields.CharField', [], {'default': "'Keep'", 'max_length': '64'})
},
'catalogue.productcontributor': {
'Meta': {'object_name': 'ProductContributor'},
'contributor': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.Contributor']"}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'product': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.Product']"}),
'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.ContributorRole']", 'null': 'True', 'blank': 'True'})
},
'catalogue.productcustomsform': {
'Meta': {'object_name': 'ProductCustomsForm'},
'content_type': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'package': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'customs_form'", 'unique': 'True', 'null': 'True', 'to': "orm['catalogue.Product']"})
},
'catalogue.productimage': {
'Meta': {'ordering': "['display_order']", 'unique_together': "(('product', 'display_order'),)", 'object_name': 'ProductImage'},
'caption': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'display_order': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'original': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}),
'product': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'images'", 'to': "orm['catalogue.Product']"})
},
'catalogue.productrecommendation': {
'Meta': {'object_name': 'ProductRecommendation'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'primary': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'primary_recommendations'", 'to': "orm['catalogue.Product']"}),
'ranking': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}),
'recommendation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.Product']"})
},
'catalogue.productshippinglabel': {
'Meta': {'object_name': 'ProductShippingLabel'},
'caption': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'original': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}),
'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'labels'", 'to': "orm['catalogue.Product']"})
},
'catalogue.productspecialrequests': {
'Meta': {'object_name': 'ProductSpecialRequests'},
'custom_requests_done': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_index': 'True', 'blank': 'True'}),
'express_checkout_done': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'filling_customs_declaration_done': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'is_custom_requests': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'is_express_checkout': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}),
'is_filling_customs_declaration': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'is_photos': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'is_repackaging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'package': ('django.db.models.fields.related.OneToOneField', [], {'blank': 'True', 'related_name': "'special_requests'", 'unique': 'True', 'null': 'True', 'to': "orm['catalogue.Product']"}),
'photos_done': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'repackaging_done': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'})
},
'contenttypes.contenttype': {
'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
},
'order.billingaddress': {
'Meta': {'object_name': 'BillingAddress'},
'country': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['address.Country']"}),
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'last_name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
'line1': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
'line2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'line3': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'line4': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'postcode': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
'search_text': ('django.db.models.fields.CharField', [], {'max_length': '1000'}),
'state': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'title': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'})
},
'order.order': {
'Meta': {'ordering': "['-date_placed']", 'object_name': 'Order'},
'basket_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'billing_address': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['order.BillingAddress']", 'null': 'True', 'blank': 'True'}),
'date_placed': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
'guest_email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'number': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}),
'shipping_address': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['order.ShippingAddress']", 'null': 'True', 'blank': 'True'}),
'shipping_excl_tax': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
'shipping_incl_tax': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
'shipping_insurance': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'shipping_insurance_excl_tax': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
'shipping_insurance_incl_tax': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
'shipping_method': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
'site': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['sites.Site']"}),
'status': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'total_excl_tax': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
'total_incl_tax': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'orders'", 'null': 'True', 'to': "orm['auth.User']"})
},
'order.shippingaddress': {
'Meta': {'object_name': 'ShippingAddress'},
'country': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['address.Country']"}),
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'last_name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
'line1': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
'line2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'line3': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'line4': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'notes': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'phone_number': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}),
'postcode': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
'search_text': ('django.db.models.fields.CharField', [], {'max_length': '1000'}),
'state': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'title': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'})
},
'sites.site': {
'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"},
'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
}
}
complete_apps = ['catalogue'] | [
"asili@usendhome.com"
] | asili@usendhome.com |
0be8fc99f29dfc8368be3b1a5f8c74fa377e33e5 | 9506059c37515ba00c2b9e804188f5bed896f7bd | /olfactorybulb/neuronunit/tests/__init__.py | e430ba4f9d83993ad61edf2184cd0f9f962605d5 | [
"MIT"
] | permissive | russelljjarvis/OlfactoryBulb | 241b41fcd642b7e91f8a5a087afd23df2103698a | af27b14f5c19c2b60845065b7f2d7da2c16f811d | refs/heads/master | 2022-07-21T22:42:03.058163 | 2020-05-15T00:01:22 | 2020-05-15T00:01:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,764 | py | # MOCKS for autodoc
import quantities as pq
if pq.mV.__class__.__module__ == 'sphinx.ext.autodoc.importer':
pq.mV = pq.ms = pq.Hz = pq.nA = 1.0
# END MOCKS
from abc import abstractmethod
from neuronunit import capabilities as ncap
from neuronunit.tests.base import VmTest
from olfactorybulb.neuronunit.tests.utilities import get_APs, cache
from sciunit import capabilities as scap
from olfactorybulb.neuronunit import capabilities as obncap
from olfactorybulb.neuronunit.tests import publications
SHOW_ERRORS = False
class OlfactoryBulbCellTest(VmTest):
@abstractmethod
def generate_prediction_nocache(self, model):
pass
def generate_prediction(self, model):
# import pydevd
# pydevd.settrace('192.168.0.100', port=4200, suspend=False)
result = self.fetch_cached(model)
if result is None:
# Check that self has all the required properties
self.check_required_properties()
# Perform the uncached test
try:
result = self.generate_prediction_nocache(model)
except:
import traceback
result = traceback.format_exc()
if SHOW_ERRORS:
print(result)
# Store result in cache
self.store_in_cache(model, result)
return result
def check_required_properties(self):
if hasattr(self, "required_properties"):
for prop in self.required_properties:
if not hasattr(self, prop):
raise Exception("Property '" + prop + "' not found. Make sure the property is declared either in the"
" generic test class or in the publication class.")
def fetch_cached(self, model):
return cache.get(self.get_hash(model))
def store_in_cache(self, model, result):
cache.store(self.get_hash(model), result)
def get_hash(self, model):
# The cache key is a hash of the model and the test - we want to store the model-test_result combination
model_hash = model.__hash__()
self_hash = self.__hash__()
return hash((model_hash, self_hash))
def __hash__(self):
return hash(self.__class__.__name__)
def get_dependent_prediction(self, dependent_test_class_generic, model):
# import pydevd
# pydevd.settrace('192.168.0.100', port=4200)
mro = self.__class__.mro()
if len(mro) < 4:
raise Exception("The test should be a class that inherits from an publications class"
"AND from a generic tests class, in that order. E.g. "
"'class MyTest(UrbanBurton2014, InputResistanceTest):'")
# Create a temp class that inherits from the generic test and from the specific publication
# Aways first parent class (by convention and to preserve inheritance)
publication_class = mro[1]
if not issubclass(publication_class, publications.BasePublication):
raise Exception("The first parent class '"+str(publication_class)+"' of the test should be a publication class. E.g. 'class MyTest(UrbanBurton2014, InputResistanceTest):'")
if not issubclass(dependent_test_class_generic, OlfactoryBulbCellTest):
raise Exception("The second parent class '"+dependent_test_class_generic.__class__.__name__+"' of the test should be a class that inherits from OlfactoryBulbCellTest. E.g. 'class MyTest(UrbanBurton2014, InputResistanceTest):'")
# Use SomeTestSomeAuthor1984 class name form - as descibed in BasePublication
dependent_test_class_name = dependent_test_class_generic.__name__ + publication_class.__name__
# Create the type dynamically
dependent_test_class = type(dependent_test_class_name,
(publication_class, dependent_test_class_generic),
{})
# Instantiate the dynamic class
dependent_test = dependent_test_class()
# Get the prediction (from cache if there)
return dependent_test.generate_prediction(model)
class OlfactoryBulbCellSpikeTest(OlfactoryBulbCellTest):
required_capabilities = (ncap.ReceivesSquareCurrent,
ncap.ProducesMembranePotential,
scap.Runnable,
obncap.SupportsSettingTemperature,
obncap.SupportsSettingStopTime)
def get_aps(self, voltage):
return get_APs(voltage, self.ss_delay, self.threshold_method) | [
"jbirgio@gmail.com"
] | jbirgio@gmail.com |
31ee4365ba660e46efea90ad50e7e7dd715b39c8 | f2cece9e5f2af8482c12fc7ad8b3a7e63e6de052 | /tbot/api/admin/__init__.py | 87d22b20d424ea6d10aa8c1f5924ddd379bedce8 | [] | no_license | nikifkon-old/questionnaire_bot | beadc716ca0a7cbfa6a4c47039c00123e8892eb4 | 3cbf889c7edf4ba438ce7e46c5f9b67efe5d7e72 | refs/heads/master | 2023-04-24T07:12:28.227259 | 2020-08-03T09:14:35 | 2020-08-03T09:14:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 425 | py | import flask_login as login
from tbot.models import Account
from tbot.utils import session_scope
# Initialize flask-login
def init_login(app):
with session_scope() as session:
login_manager = login.LoginManager()
login_manager.init_app(app)
# Create user loader function
@login_manager.user_loader
def load_user(user_id):
return session.query(Account).get(user_id)
| [
"kostya.nik.3854@gmail.com"
] | kostya.nik.3854@gmail.com |
c1507c1d668bf1ddc7979e99591b0ffae9c5d485 | db1b327c4913c453b2fdd9dda661938c4abc5c0e | /abc/94/D.py | e575890eacecafabd215188b428f103f2588b08a | [] | no_license | oamam/atcoder | 0c129aab72e3c7090c9799fdf52f6e8119ef5238 | 658054b69b7586eed896484535dcfa1fef498e43 | refs/heads/master | 2021-06-26T09:01:12.389266 | 2020-10-30T02:01:11 | 2020-10-30T02:01:11 | 165,225,322 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 295 | py | def main():
n = int(input())
a = list(map(int, input().split()))
if n == 2:
print(max(a), min(a))
else:
ma = max(a)
sa = sorted([(i, abs(ma // 2 - a[i]))
for i in range(n)], key=lambda x: x[1])
print(ma, a[sa[0][0]])
main()
| [
"chapa0106@gmail.com"
] | chapa0106@gmail.com |
36f6573767ca8a136f8eaa40ce2f6a7af7735a99 | fbf73800e27f66960f677a284c2771e66708973b | /talk_lib/talk.py | 2282b1a9ff25df18016a1301fa7ef17cad68f73e | [
"MIT"
] | permissive | allankellynet/mimas | 94140a341693d4729b3cdf5ea94ef2f7e550aad6 | 10025d43bba9e84f502a266760786842e7158a05 | refs/heads/master | 2022-05-30T21:35:06.083902 | 2020-02-27T14:04:27 | 2020-02-27T14:04:27 | 235,146,506 | 0 | 0 | MIT | 2022-05-25T04:56:13 | 2020-01-20T16:30:39 | Python | UTF-8 | Python | false | false | 1,904 | py | #-----------------------------------------------------
# Mimas: conference submission and review system
# (c) Allan Kelly 2016-2020 http://www.allankelly.net
# Licensed under MIT License, see LICENSE file
# -----------------------------------------------------
# system imports
# framework imports
from google.appengine.ext import ndb
# app imports
from speaker_lib import speaker
# Recgonised fields
SHORT_SYNOPSIS = "shortsynopsis"
LONG_SYNOPSIS = "longsynopsis"
class Talk(ndb.Model):
talk_title = ndb.StringProperty()
details = ndb.PickleProperty()
created = ndb.DateTimeProperty(auto_now_add=True)
directory_listing = ndb.StringProperty()
def __init__(self, *args, **kwargs):
super(Talk, self).__init__(*args, **kwargs)
self.talk_title = ""
self.directory_listing = "Listed"
self.details = {}
def field(self, f):
if (self.details.has_key(f)):
return self.details[f]
return ""
def field_ascii(self, f):
return self.field(f).encode('ascii', 'ignore')
def set_field(self, field, value):
self.details[field] = value
@property
def title(self):
return self.talk_title
@title.setter
def title(self, t):
self.talk_title = t
def is_listed(self):
return "Listed" == self.directory_listing
def hide_listing(self):
self.directory_listing = "Not listed"
def show_listing(self):
self.directory_listing = "Listed"
def mk_talk(parent_key, title):
t = Talk(parent=parent_key)
t.talk_title = title
t.put()
return t.key
def all_user_talks_by_email(username):
if not speaker.speaker_exists(username):
return {}
who = speaker.retreive_speaker(username)
return Talk.query(ancestor=who.key).fetch()
def speaker_talks_by_key(speaker_key):
return Talk.query(ancestor=speaker_key).fetch() | [
"allan@allankelly.net"
] | allan@allankelly.net |
f9ec77c6200fa013ae8c88352879593415f7e4ca | b05761d771bb5a85d39d370c649567c1ff3eb089 | /venv/lib/python3.10/site-packages/numpy/distutils/tests/test_fcompiler.py | c4dcda04c74e299d14a04befd238f39969ec0ee4 | [] | no_license | JawshyJ/Coding_Practice | 88c49cab955eab04609ec1003b6b8c20f103fc06 | eb6b229d41aa49b1545af2120e6bee8e982adb41 | refs/heads/master | 2023-02-19T10:18:04.818542 | 2023-02-06T21:22:58 | 2023-02-06T21:22:58 | 247,788,631 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 96 | py | /home/runner/.cache/pip/pool/98/95/de/cd35c351b76e842c151807c0047a440115a19e3f212d6f44394deb9fce | [
"37465112+JawshyJ@users.noreply.github.com"
] | 37465112+JawshyJ@users.noreply.github.com |
f920eae915049d1f03531e51cf0c975bd03f7079 | 20f3b4ee874e8b3e565f9ce60d4de8cab48d7d20 | /tests/basic-structs/test_memories.py | 9f0c3f45935af0fddd49af2d15ff8cdb1436a680 | [
"MIT"
] | permissive | pshchelo/kopf | ec968e6f11432f3728efb385bf18762676f7a5be | ab53ace82e62a6fa709bf5a580007eac1273ac34 | refs/heads/main | 2022-04-26T11:39:01.565811 | 2022-04-02T14:05:26 | 2022-04-02T14:05:26 | 221,041,880 | 0 | 0 | MIT | 2019-11-11T18:14:59 | 2019-11-11T18:14:58 | null | UTF-8 | Python | false | false | 1,599 | py | from unittest.mock import Mock
from kopf._cogs.structs.bodies import Body
from kopf._cogs.structs.ephemera import Memo
from kopf._core.reactor.inventory import ResourceMemories, ResourceMemory
BODY: Body = {
'metadata': {
'uid': 'uid1',
}
}
def test_creation_with_defaults():
ResourceMemory()
async def test_recalling_creates_when_absent():
memories = ResourceMemories()
memory = await memories.recall(BODY)
assert isinstance(memory, ResourceMemory)
async def test_recalling_reuses_when_present():
memories = ResourceMemories()
memory1 = await memories.recall(BODY)
memory2 = await memories.recall(BODY)
assert memory1 is memory2
async def test_forgetting_deletes_when_present():
memories = ResourceMemories()
memory1 = await memories.recall(BODY)
await memories.forget(BODY)
# Check by recalling -- it should be a new one.
memory2 = await memories.recall(BODY)
assert memory1 is not memory2
async def test_forgetting_ignores_when_absent():
memories = ResourceMemories()
await memories.forget(BODY)
async def test_memo_is_autocreated():
memories = ResourceMemories()
memory = await memories.recall(BODY)
assert isinstance(memory.memo, Memo)
async def test_memo_is_shallow_copied():
class MyMemo(Memo):
def __copy__(self):
mock()
return MyMemo()
mock = Mock()
memobase = MyMemo()
memories = ResourceMemories()
memory = await memories.recall(BODY, memobase=memobase)
assert mock.call_count == 1
assert memory.memo is not memobase
| [
"nolar@nolar.info"
] | nolar@nolar.info |
db9d1c13b7d436ab858207a924264786e3498ed2 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/otherforms/_infiltrates.py | 6ebdab4177a42ddd28fbae76e331e02785165b79 | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 238 | py |
#calss header
class _INFILTRATES():
def __init__(self,):
self.name = "INFILTRATES"
self.definitions = infiltrate
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.basic = ['infiltrate']
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
a4544faf8314eea6d6429d0c18c980fb8b91b2f5 | 0fcc6353edee4eed7a1ea4b1c89a00bfcf03e851 | /TryExcept/Finally.py | fc91ea5fe2e2768f5d5e8f587dd996b7f49dc433 | [] | no_license | GANESH0080/Python-Practice-Again | 81d8048c23d338a99bb17fa86a9f87b3057bfe52 | 6565911d14a22d0f33a41b417026c31a0a066be5 | refs/heads/master | 2020-09-20T03:40:45.462869 | 2019-11-27T07:19:24 | 2019-11-27T07:19:24 | 224,368,129 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 286 | py | #The try block will raise an error when trying to write to a read-only file:
try:
f = open("demofile.txt")
f.write("Lorum Ipsum")
except:
print("Something went wrong when writing to the file")
finally:
f.close()
#The program can continue, without leaving the file object open
| [
"ganusalunkhe@gmail.com"
] | ganusalunkhe@gmail.com |
73d4574f53efb7fc7035fb83bd09771334884d54 | 7e86f933cd477b08258dde4f52ecb2f45949d665 | /libdeepfry/emoji.py | b07ab177ca7fc98932ddfcf93773956e11d61f82 | [
"MIT"
] | permissive | MineRobber9000/deepfry | 25b41035c3f20d99ab1b40ffccde0ab24b8e5d9e | 383b7da439932dfc03fcae3fc52aa6538af20871 | refs/heads/master | 2020-04-13T13:45:30.294013 | 2018-12-27T09:46:38 | 2018-12-27T09:46:38 | 163,241,337 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 271 | py | import json, os.path
BASEDIR = os.path.dirname(os.path.abspath(__file__))
EMOJIS = os.path.join(BASEDIR,"emojis")
with open(BASEDIR+"/emoji.json") as f: d = json.load(f)
def listEmoji():
return list(d.keys())
def getImage(name):
return os.path.join(EMOJIS,d[name])
| [
"khuxkm@ttm.sh"
] | khuxkm@ttm.sh |
d70e924db0d9df85ee854247487a4ad1b3f3a949 | 919e74f05976d9ea5f28d5dcf0a3e9311a4d22b2 | /conans/test/integration/generators/markdown_test.py | 12d065d26ee68671ab6c0d48c0837bc62058442d | [
"MIT"
] | permissive | thorsten-klein/conan | 1801b021a66a89fc7d83e32100a6a44e98d4e567 | 7cf8f384b00ba5842886e39b2039963fc939b00e | refs/heads/develop | 2023-09-01T12:04:28.975538 | 2023-07-26T10:55:02 | 2023-07-26T10:55:02 | 150,574,910 | 0 | 0 | MIT | 2023-08-22T14:45:06 | 2018-09-27T11:16:48 | Python | UTF-8 | Python | false | false | 7,453 | py | import textwrap
import unittest
from conans.test.utils.tools import TestClient
class MarkDownGeneratorTest(unittest.TestCase):
def test_cmake_find_filename(self):
conanfile = textwrap.dedent("""
from conans import ConanFile
class HelloConan(ConanFile):
def package_info(self):
self.cpp_info.set_property("cmake_file_name", "FooBar")
self.cpp_info.set_property("cmake_target_name", "foobar")
self.cpp_info.set_property("pkg_config_name", "foobar_cfg")
""")
client = TestClient()
client.save({"conanfile.py": conanfile})
client.run("create . bar/0.1.0@user/testing")
client.run("install bar/0.1.0@user/testing -g markdown")
content = client.load("bar.md")
self.assertIn("find_package(FooBar)", content)
self.assertIn("target_link_libraries(${PROJECT_NAME} foobar)", content)
def test_cmake_find_filename_with_namespace(self):
conanfile = textwrap.dedent("""
from conans import ConanFile
class HelloConan(ConanFile):
def package_info(self):
self.cpp_info.set_property("cmake_file_name", "FooBar")
self.cpp_info.set_property("cmake_target_name", "foobar::foobar")
self.cpp_info.set_property("pkg_config_name", "foobar_cfg")
""")
client = TestClient()
client.save({"conanfile.py": conanfile})
client.run("create . bar/0.1.0@user/testing")
client.run("install bar/0.1.0@user/testing -g markdown")
content = client.load("bar.md")
self.assertIn("find_package(FooBar)", content)
self.assertIn("target_link_libraries(${PROJECT_NAME} foobar::foobar)", content)
def test_with_build_modules(self):
conanfile = textwrap.dedent("""
import os
from conans import ConanFile
class HelloConan(ConanFile):
exports_sources = 'bm.cmake'
def package(self):
self.copy('bm.cmake', dst='lib/cmake')
def package_info(self):
self.cpp_info.set_property("cmake_file_name", "FooBar")
self.cpp_info.set_property("cmake_target_name", "foobar")
self.cpp_info.set_property("pkg_config_name", "foobar_cfg")
self.cpp_info.set_property('cmake_build_modules', ['lib/cmake/bm.cmake'])
""")
client = TestClient()
client.save({"conanfile.py": conanfile,
"bm.cmake": "Content of build_module" })
client.run("create . bar/0.1.0@user/testing")
client.run("install bar/0.1.0@user/testing -g markdown")
content = client.load("bar.md")
self.assertIn("#### lib/cmake/bm.cmake", content)
self.assertIn("Content of build_module", content)
def test_no_components(self):
conanfile = textwrap.dedent("""
import os
from conans import ConanFile
class HelloConan(ConanFile):
def package_info(self):
self.cpp_info.set_property("cmake_target_name", "foobar")
""")
client = TestClient()
client.save({"conanfile.py": conanfile})
client.run("create . bar/0.1.0@user/testing")
client.run("install bar/0.1.0@user/testing -g markdown")
content = client.load("bar.md")
self.assertNotIn("Or link just one of its components", content)
self.assertNotIn("Declared components", content)
def test_with_components(self):
conanfile = textwrap.dedent("""
import os
from conans import ConanFile
class HelloConan(ConanFile):
def package_info(self):
self.cpp_info.set_property("cmake_target_name", "foobar")
self.cpp_info.components["component1"].set_property("cmake_target_name", "foobar::component_name")
""")
client = TestClient()
client.save({"conanfile.py": conanfile})
client.run("create . bar/0.1.0@user/testing")
client.run("install bar/0.1.0@user/testing -g markdown")
content = client.load("bar.md")
self.assertIn("target_link_libraries(${PROJECT_NAME} foobar::component_name)", content)
self.assertIn("* CMake target name: ``foobar::component_name``", content)
def test_with_components_and_target_namespace(self):
conanfile = textwrap.dedent("""
import os
from conans import ConanFile
class HelloConan(ConanFile):
def package_info(self):
self.cpp_info.set_property("cmake_target_name", "namespace::name")
self.cpp_info.components["component1"].set_property("cmake_target_name", "namespace::component_name")
""")
client = TestClient()
client.save({"conanfile.py": conanfile})
client.run("create . bar/0.1.0@user/testing")
client.run("install bar/0.1.0@user/testing -g markdown")
content = client.load("bar.md")
self.assertIn("target_link_libraries(${PROJECT_NAME} namespace::name)", content)
self.assertIn("* CMake target name: ``namespace::component_name``", content)
def test_c_project(self):
conanfile = textwrap.dedent("""
from conans import ConanFile
class HelloConan(ConanFile):
settings = "os", "arch", "compiler", "build_type"
def configure(self):
del self.settings.compiler.libcxx
del self.settings.compiler.cppstd
def package_info(self):
self.cpp_info.set_property("cmake_file_name", "FooBar")
self.cpp_info.set_property("cmake_target_name", "foobar")
self.cpp_info.set_property("pkg_config_name", "foobar_cfg")
""")
client = TestClient()
client.save({"conanfile.py": conanfile})
client.run("create . bar/0.1.0@user/testing")
client.run("install bar/0.1.0@user/testing -g markdown")
content = client.load("bar.md")
self.assertIn("main.c", content)
self.assertIn("project(bar_project C)", content)
def test_with_sys_requirements(self):
conanfile = textwrap.dedent("""
import os
from conans import ConanFile
class HelloConan(ConanFile):
def package_info(self):
self.cpp_info.components["component1"].system_libs = ["system_lib"]
""")
client = TestClient()
client.save({"conanfile.py": conanfile})
client.run("create . bar/0.1.0@user/testing")
client.run("install bar/0.1.0@user/testing -g markdown")
assert "Generator markdown created bar.md" in client.out
| [
"noreply@github.com"
] | thorsten-klein.noreply@github.com |
25c5552949f5b7481246f07942206d1094100615 | 2fdfc31a487a69c5d32fbebecb0f862ed376e01b | /demo/libs/plugins.py | 86e52dcbd65d691d0b7251e3cb34018e0eb5f770 | [
"MIT"
] | permissive | hwsyy/passport | 94f9e3f211e22828644494bcad79028e2fd65979 | 279ac5a87dd0aaa96f97c44a95765487ad71bdf5 | refs/heads/master | 2020-04-17T17:22:49.697451 | 2019-01-21T03:32:44 | 2019-01-21T03:32:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,891 | py | # -*- coding: utf-8 -*-
"""
demo.libs.plugins
~~~~~~~~~~~~~~
Plugins Manager: load and run plugins.
:copyright: (c) 2017 by staugur.
:license: MIT, see LICENSE for more details.
"""
import os
from utils.tool import plugin_logger
class PluginManager(object):
"""
定义插件基类, 遵循格式如下:
插件为目录, 目录名称为插件名称, 插件入口文件是__init__.py, 文件内包含name、description、version、author、license、url、README、state等插件信息.
静态资源请通过提供的接口上传至又拍云等第三方存储中.
plugins/
├── plugin1
│ ├── __init__.py
│ ├── LICENSE
│ ├── README
│ └── templates
│ └── plugin1
└── plugin2
├── __init__.py
├── LICENSE
├── README
└── templates
└── plugin2
"""
def __init__(self):
self.plugins = []
self.plugin_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "plugins")
self.__scanPlugins()
plugin_logger.debug(self.plugins)
def __getPluginInfo(self, package, plugin):
""" 组织插件信息 """
try:
url = plugin.__url__
except AttributeError:
url = None
try:
license = plugin.__license__
except AttributeError:
license = None
try:
license_file = plugin.__license_file__
except AttributeError:
license_file = None
try:
readme_file = plugin.__readme_file__
except AttributeError:
readme_file = None
try:
plugin_state = plugin.__state__
except AttributeError:
plugin_state = "enabled"
return {
"plugin_name": plugin.__name__,
"plugin_description": plugin.__description__,
"plugin_version": plugin.__version__,
"plugin_author": plugin.__author__,
"plugin_url": url,
"plugin_license": license,
"plugin_license_file": license_file,
"plugin_readme_file": readme_file,
"plugin_state": plugin_state,
"plugin_tpl_path": os.path.join("plugins", package, "templates"),
"plugin_tep": {},
"plugin_cep": {},
"plugin_bep": {}
}
def __scanPlugins(self):
""" 扫描插件目录 """
plugin_logger.info("Initialization Plugins Start, loadPlugins path: {0}".format(self.plugin_path))
if os.path.exists(self.plugin_path):
for package in os.listdir(self.plugin_path):
_plugin_path = os.path.join(self.plugin_path, package)
if os.path.isdir(_plugin_path):
if os.path.isfile(os.path.join(_plugin_path, "__init__.py")):
plugin_logger.info("find plugin package: {0}".format(package))
self.__runPlugins(package)
else:
plugin_logger.warning("Plugins directory not in here!")
def __runPlugins(self, package):
""" 动态加载插件模块,遵循插件格式的才能被启用并运行,否则删除加载 """
#: 动态加载模块(plugins.package): 可以查询自定义的信息, 并通过getPluginClass获取插件的类定义
plugin = __import__("{0}.{1}".format("plugins", package), fromlist=["plugins", ])
#: 检测插件信息
if plugin.__name__ and plugin.__version__ and plugin.__description__ and plugin.__author__:
#: 获取插件信息
pluginInfo = self.__getPluginInfo(package, plugin)
try:
#: 获取插件主类并实例化
p = plugin.getPluginClass()
i = p()
except Exception, e:
plugin_logger.exception(e, exc_info=True)
return
if plugin.__state__ != "enabled":
self.plugins.append(pluginInfo)
return
plugin_logger.info("runPlugin: package is {0}.{1}, class instance is {2}".format("plugins", package, i))
#: 更新插件信息
pluginInfo.update(plugin_instance=i)
#: 运行插件主类的run方法
if hasattr(i, "run"):
i.run()
#: 注册模板扩展点
if hasattr(i, "register_tep"):
tep = i.register_tep()
plugin_logger.info("The plugin {0} wants to register the following template extension points: {1}".format(package, tep))
if isinstance(tep, dict):
pluginInfo.update(plugin_tep=tep)
plugin_logger.info("Register TEP Success")
else:
plugin_logger.error("Register TEP Failed, not a dict")
#: 注册上下文扩展点
if hasattr(i, "register_cep"):
cep = i.register_cep()
plugin_logger.info("The plugin {0} wants to register the following context extension points: {1}".format(package, cep))
if isinstance(cep, dict):
pluginInfo.update(plugin_cep=cep)
plugin_logger.info("Register CEP Success")
else:
plugin_logger.error("Register CEP Failed, not a dict")
#: 注册蓝图扩展点
if hasattr(i, "register_bep"):
bep = i.register_bep()
plugin_logger.info("The plugin {0} wants to register the following blueprint extension points: {1}".format(package, bep))
if isinstance(bep, dict):
pluginInfo.update(plugin_bep=bep)
plugin_logger.info("Register BEP Success")
else:
plugin_logger.error("Register BEP Failed, not a dict")
#: 加入全局插件中
if hasattr(i, "run") or hasattr(i, "register_tep") or hasattr(i, "register_cep") or hasattr(i, "register_bep"):
self.plugins.append(pluginInfo)
else:
plugin_logger.error("The current class {0} does not have the `run` or `register_tep` or `register_cep` or `register_bep` method".format(i))
else:
del plugin
plugin_logger.warning("This plugin `{0}` not conform to the standard plugin format".format(package))
@property
def get_all_plugins(self):
""" 获取所有插件 """
return self.plugins
@property
def get_enabled_plugins(self):
""" 获取所有启用的插件 """
return [p for p in self.get_all_plugins if p["plugin_state"] == "enabled"]
@property
def get_all_tep(self):
"""模板扩展点, Template extension point, 更多扩展点自己定义.
#No1. 自定义在模板中的扩展点:
TEP: base_front_header_include
TEP: base_front_header_string
定义方法: key = lambda function(返回list)
#No2. 模板中启用自定义的扩展点:
{% if base_front_header_include %}
{% for hi in base_front_header_include() %}
{% include hi %}
{% endfor %}
{% endif %}
{% if base_front_header_string %}
{% for hs in base_front_header_string() %}
{{ hs|safe }}
{% endfor %}
{% endif %}
"""
return dict(
base_front_header_include=lambda: [plugin["plugin_tep"].get("base_front_header_include") for plugin in self.get_enabled_plugins if plugin["plugin_tep"].get("base_front_header_include")],
base_front_header_string=lambda: [plugin["plugin_tep"].get("base_front_header_string") for plugin in self.get_enabled_plugins if plugin["plugin_tep"].get("base_front_header_string")],
)
@property
def get_all_cep(self):
"""上下文扩展点, Context extension point, 分别对应请求前、请求后(返回前):
CEP: before_request_hook
CEP: after_request_hook
"""
return dict(
before_request_hook=lambda: [plugin["plugin_cep"].get("before_request_hook") for plugin in self.get_enabled_plugins if plugin["plugin_cep"].get("before_request_hook")],
after_request_hook=lambda: [plugin["plugin_cep"].get("after_request_hook") for plugin in self.get_enabled_plugins if plugin["plugin_cep"].get("after_request_hook")],
)
@property
def get_all_bep(self):
"""蓝图扩展点"""
return [plugin["plugin_bep"] for plugin in self.get_enabled_plugins if plugin["plugin_bep"]]
def get_plugin_info(self, plugin_name):
"""获取插件信息"""
return (i for i in self.get_all_plugins if i["plugin_name"] == plugin_name).next() | [
"staugur@vip.qq.com"
] | staugur@vip.qq.com |
5e1e458ba6c95125f1af4dffd2a3244e8f04e4fe | f647c6fb984b6e93977bb56a9a4533b8d47e6644 | /lib/dbsqlite.py | d78d5b670510243b004e03e42afa47e3c0487173 | [] | no_license | vdsmirnov52/wt000 | 7a88fcf29e5f786b8f2b0956b4a10ae68c0e32a6 | 0dd8ead0a73ed0f3f7f2f8c5302dff0071392570 | refs/heads/master | 2021-04-26T05:50:59.554131 | 2020-08-06T10:14:02 | 2020-08-06T10:14:02 | 79,928,565 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,670 | py | #!/usr/bin/python -u
# -*- coding: utf-8 -*-
import sys
import sqlite3
class dbsqlite:
r""" Работа с SQLite
Warning('You can only execute one statement at a time.',) ... только одно заявление за раз
Функции:
execute (query, [vals]) - Исполняет SQL запрос. Возвращает: {True|False}
get_row (query, [vals]) - Читает одну запись. Возвращает: row = (val1, val2, ...)
get_rows (query, [vals]) - Читает несколько записей Возвращает: rows = [(row1), (row2), ...]
get (query, fall, [vals]) - Исполняет запрос и читает данные. Если fall: 1 - fetchall() иначе 0 - fetchone())
get_table (tname, [swhere], [cols]) - Возвращает (desc, rows) или None
Примеры использования vals
C подставновкой по порядку на места знаков вопросов:
cursor.execute("SELECT Name FROM Artist ORDER BY Name LIMIT ?", ('2'))
C использованием именнованных замен:
cursor.execute("SELECT Name from Artist ORDER BY Name LIMIT :limit", {"limit": 3})
Переменные:
desc = [] - Список наименования полей последнего запроса
last_error = (exc_type, exc_value) последняя оштбка доступа к БД
"""
last_error = None
desc = [] ## Список наименования полей последнего запроса
def __init__ (self, file_db = './sqlite.db'):
# try:
self.conn = sqlite3.connect(file_db)
self.curs = self.conn.cursor()
# except:
def execute (self, query, uvars = None):
try:
if uvars:
self.curs.execute (query, uvars)
else: self.curs.execute (query)
self.last_error = None
return True
except (sqlite3.OperationalError, sqlite3.IntegrityError, sqlite3.Warning):
self.last_error = sys.exc_info()[:2]
return False
finally:
self.conn.commit()
def get_row (self, query, uvars = None):
return self.get (query, 0)
def get_rows (self, query, uvars = None):
return self.get (query, 1)
def get (self, query, fall, uvars = None):
self.last_error = None
try:
if uvars:
self.curs.execute (query, uvars)
else: self.curs.execute (query)
self.desc = [f[0] for f in self.curs.description]
if fall: return self.curs.fetchall()
else: return self.curs.fetchone()
except (sqlite3.OperationalError, sqlite3.Warning):
print 'except:', query
self.last_error = sys.exc_info()[:2]
finally:
self.conn.commit()
def close(self):
self.conn.close()
def get_table (self, tname, swhere = None, cols = None):
""" Читать таблицу из БД "SELECT {*|<cols>} FROM <tname> [WHERE <swhere>];" """
if not cols: cols = '*'
if not swhere:
query = "SELECT %s FROM %s;" % (cols, tname)
else: query = "SELECT %s FROM %s WHERE %s;" % (cols, tname, swhere)
self.rows = self.get_rows (query)
if self.rows: return self.desc, self.rows
'''
# Объединяем запросы к базе
cursor.executescript(""" insert into Artist values (Null, 'A Aagrh!'); insert into Artist values (Null, 'A Aagrh-2!'); """)
# C подставновкой по порядку на места знаков вопросов:
cursor.execute("SELECT Name FROM Artist ORDER BY Name LIMIT ?", ('2'))
# И с использованием именнованных замен:
cursor.execute("SELECT Name from Artist ORDER BY Name LIMIT :limit", {"limit": 3})
new_artists = [ ('A Aagrh!',), ('A Aagrh!-2',), ('A Aagrh!-3',), ]
cursor.executemany("insert into Artist values (Null, ?);", new_artists)
'''
if __name__ == '__main__':
sqls = ["""CREATE TABLE whosts (
id_wh INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
host_name TEXT NOT NULL
)""",
"INSERT INTO whosts (host_name) VALUES ('wialon.rnc52.ru')",
"INSERT INTO whosts (host_name) VALUES ('pp-wialon.rnc52.ru')",
"INSERT INTO whosts (host_name) VALUES ('sh-wialon.rnc52.ru')",
"INSERT INTO whosts (host_name) VALUES ('smp-wialon.rnc52.ru')",
"INSERT INTO whosts (host_name) VALUES ('test-wialon.rnc52.ru')",
'CREATE TABLE whusers (\n id_whu INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,\n login TEXT NOT NULL,\n passwd TEXT,\n token TEXT,\n token_create INTEGER\n)',
"INSERT INTO whusers (login, token) VALUES ('wialon', '1d5a4a6ab2bde440204e6bd1d53b3af82FD7F6B064E042FBBCC978E2B37A2A95930F80E6')",
"INSERT INTO whusers (login, token) VALUES ('V.Smirnov', 'c5a76d06f77af04aa4c9fa0699d465c299B67214D257083C5E790742520C44F9EA0E3D80')",
]
lite = dbsqlite('config.db') #'wialon.db')
'''
print lite.execute("INSERT INTO whosts (host_name) VALUES (?)", ('ZZZZZ',)), lite.last_error
for sql in sqls:
print sql, lite.execute(sql), lite.last_error
print 'SQLite version:', lite.get_row('SELECT SQLITE_VERSION()')
print 'get_rows:', lite.get_rows('SELECT * FROM whosts WHERE id_wh > 0'), lite.last_error, lite.desc
print 'get_table:', lite.get_table ('whusers'), lite.last_error
'''
print 'get_row', lite.get_row("SELECT * FROM whosts WHERE id_wh = 1;")
lite.execute("update whusers SET token = '1d5a4a6ab2bde440204e6bd1d53b3af88083648F594E6BCA5E6CB70EF1F85D7BF1B79E51', token_create = 1515073900 WHERE id_whu != 2;")
print 'get_row', lite.get_row("SELECT * FROM whusers WHERE id_whu = 1;")
lite.execute ("update whusers SET token = 'c5a76d06f77af04aa4c9fa0699d465c2AC7861F24C072495DD635404BDF84C5327051EBF', token_create = 1515075038 WHERE id_whu = 2;")
print 'last_error', lite.last_error
print 'get_row', lite.get_row("SELECT * FROM whusers WHERE id_whu = 2;")
# print help(sqlite3)
| [
"vdsmitnov52@gmail.com"
] | vdsmitnov52@gmail.com |
83e25dcf1a96fdde2966714124d86f0a571a3d92 | a37bf3343be428c453e480c7a411a91b125ab1d1 | /deb/openmediavault/usr/share/openmediavault/firstaid/modules.d/40restore_config_backup.py | a8e215ee7b7b78ea5a740be8e451314d7aa2d4c1 | [] | no_license | zys1310992814/openmediavault | 8e73ccd66fefaddd03385834137887614726812c | 337f37729783d9bf3a08866c0dbc8b25c53b9ca3 | refs/heads/master | 2020-04-20T14:18:57.505953 | 2019-02-02T15:18:07 | 2019-02-02T15:18:07 | 168,894,447 | 1 | 0 | null | 2019-02-03T00:41:55 | 2019-02-03T00:41:55 | null | UTF-8 | Python | false | false | 4,021 | py | #!/usr/bin/env python3
#
# This file is part of OpenMediaVault.
#
# @license http://www.gnu.org/licenses/gpl.html GPL Version 3
# @author Volker Theile <volker.theile@openmediavault.org>
# @copyright Copyright (c) 2009-2018 Volker Theile
#
# OpenMediaVault is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# OpenMediaVault is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.
import sys
import glob
import subprocess
import openmediavault
import openmediavault.firstaid
import openmediavault.subprocess
import dialog
import natsort
class Module(openmediavault.firstaid.IModule):
@property
def description(self):
return "Restore configuration backup"
def execute(self):
d = dialog.Dialog(dialog="dialog")
# Determine the first revision file which should look like
# '<filename>.<revision>'.
pathname = "%s.*" % openmediavault.getenv("OMV_CONFIG_FILE")
configbaks = natsort.humansorted(glob.glob(pathname))
# Does a auto-generated configuration backup exist?
if not configbaks:
d.msgbox(
"No configuration backup found!",
backtitle=self.description,
height=5,
width=34
)
return 0
# Get the latest configuration backup file.
configbak = configbaks.pop()
# Only show a diff, if there's a difference.
rc = openmediavault.subprocess.call( # yapf: disable
[
"diff", "--brief",
openmediavault.getenv("OMV_CONFIG_FILE"), configbak
],
stdout=subprocess.PIPE)
if rc == 0:
d.msgbox("There's no difference between the configuration " \
"files. Nothing to restore.",
backtitle=self.description,
height=6, width=58)
return 0
# Display the differences?
code = d.yesno("Do you want to see the differences between the " \
"current configuration and the backup.",
backtitle=self.description,
height=6, width=46)
if code == d.ESC:
return 0
if code == d.OK:
output = "===================================================================\n" \
"All lines with '-' will be changed to the lines with '+'\n" \
"===================================================================\n"
p = openmediavault.subprocess.Popen([
"diff", "--unified=1",
openmediavault.getenv("OMV_CONFIG_FILE"), configbak
],
stdout=subprocess.PIPE, shell=False) # yapf: disable
stdout, _ = p.communicate()
output += stdout.decode()
d.scrollbox(
output,
backtitle=self.description,
height=18,
width=72,
clear=True
)
# Restore configuration backup?
code = d.yesno("Do you want to restore the configuration backup? " \
"This will overwrite the actual configuration?",
backtitle=self.description,
height=6, width=57, defaultno=True)
if code != d.OK:
return 0
openmediavault.rpc.call(
"Config", "revertChanges", {"filename": configbak}
)
print("Configuration backup successfully restored.")
return 0
if __name__ == "__main__":
module = Module()
sys.exit(module.execute())
| [
"votdev@gmx.de"
] | votdev@gmx.de |
57fa47b2bde6a7e5a76d63e2b71fb76e98dbc5ea | 9c54d20ea935e3e96af2c81349e2e8e93f9e3abd | /main.py | 21a6aa4d5294a59744103c164ecb227296938ad1 | [] | no_license | folkol/python-tag-cloud | e0bfb0e9bd7b61ba4532407cd6380020bc75f8cc | fce689f7960983dc6f7e3ffe0de6020ad875f969 | refs/heads/master | 2023-02-23T14:37:27.327243 | 2022-02-11T07:20:58 | 2022-02-11T07:20:58 | 177,873,883 | 0 | 0 | null | 2023-02-16T23:39:47 | 2019-03-26T21:49:58 | Python | UTF-8 | Python | false | false | 1,339 | py | """Generates a tag cloud from words found in the given projects python files."""
import builtins
import keyword
import os
import sys
import tokenize
from collections import Counter
import matplotlib.pyplot as plt
from wordcloud import WordCloud
DIR_BLACKLIST = ['.git', 'venv', 'tests']
TOKEN_BLACKLIST = ['self', *keyword.kwlist, *dir(builtins)]
def project_tokens(root):
def file_tokens(file):
with open(file, 'rb') as f:
yield from (token.string
for token in tokenize.tokenize(f.readline)
if token.type == tokenize.NAME and token.string not in TOKEN_BLACKLIST)
for root, dirs, files in os.walk(root):
dirs[:] = [d for d in dirs if d not in DIR_BLACKLIST]
yield from (token
for file in files if file.endswith('.py')
for token in file_tokens(os.path.join(root, file)))
if __name__ == '__main__':
if len(sys.argv) != 2:
print('usage: python main.py /path/to/python/repo', file=sys.stderr)
sys.exit(1)
repo = sys.argv[1]
tokens = project_tokens(repo)
token_counts = Counter(tokens)
tag_cloud = WordCloud().generate_from_frequencies(token_counts)
plt.figure()
plt.imshow(tag_cloud, interpolation="bilinear")
plt.axis("off")
plt.savefig('tags.png')
| [
"mattias4@kth.se"
] | mattias4@kth.se |
338c9058e62cd3557cce13438c3687d06f08be89 | 365c85a280596d88082c1f150436453f96e18c15 | /Python/Sort/插入排序.py | 904ec4fc487bcb85b850ba614f3a7fe9dc05223f | [] | no_license | Crisescode/leetcode | 0177c1ebd47b0a63476706562bcf898f35f1c4f2 | c3a60010e016995f06ad4145e174ae19668e15af | refs/heads/master | 2023-06-01T06:29:41.992368 | 2023-05-16T12:32:10 | 2023-05-16T12:32:10 | 243,040,322 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,036 | py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
插入排序:
它的工作原理是每一次从待排序的数据元素中选出最小(或最大)的一个元素,
存放在序列的起始位置,所以称为:选择排序。
时间复杂度: O(n^2)
空间复杂度: O(1)
"""
from Utils.timer_decorater import timer
from typing import List
class Solution:
@timer
def insertion_sort(self, l: List) -> List:
if len(l) <= 1:
return l
for index in range(1, len(l)):
if l[index] < l[index - 1]:
temp = l[index]
tmp_index = index
for j in range(index - 1, -1, -1):
if l[j] > temp:
l[j + 1] = l[j]
tmp_index = j
else:
break
l[tmp_index] = temp
return l
if __name__ == "__main__":
need_sort_list = [2, 4, 8, 1, 7, 10, 12, 15, 3]
print(Solution().insertion_sort(need_sort_list))
| [
"zhaopanp2018@outlook.com"
] | zhaopanp2018@outlook.com |
1ca1c50f395e5d78d3d7df0362c1b89a800546a8 | 320280bfce76713436b76ffc3125ccf37e65a324 | /AnalyzeMiniPlusSubstructure/test/ttbar/ttbar_306.py | aebec186733d709d873615f93abaaaf8346d123d | [] | no_license | skhalil/MiniValidation | 75ea5c0d7cde17bf99c7d31501f8384560ee7b99 | 1a7fb8377e29172483ea6d3c7b3e427ff87e7e37 | refs/heads/master | 2016-09-05T10:31:38.562365 | 2015-01-29T05:30:32 | 2015-01-29T05:30:32 | 29,898,162 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,861 | py | import FWCore.ParameterSet.Config as cms
###############################################
useMiniAOD = True
# AOD
pfcandidates = 'particleFlow'
chsstring = 'pfNoPileUpJME'
genjetparticles = 'genParticles'
importantgenparticles = 'genParticles'
tracks = 'generalTracks'
vertices = 'offlinePrimaryVertices'
mergedvertices = 'inclusiveMergedVertices'
mergedvertices2 = ''
primaryvertices = 'offlinePrimaryVertices'
#miniAOD
if useMiniAOD:
pfcandidates = 'packedPFCandidates'
genjetparticles = 'packedGenParticles'
importantgenparticles = 'prunedGenParticles'
tracks = 'unpackedTracksAndVertices'
vertices = 'unpackedTracksAndVertices'
mergedvertices = 'unpackedTracksAndVertices'
mergedvertices2 = 'secondary'
primaryvertices = 'offlineSlimmedPrimaryVertices'
print 'useMiniAOD = '+str(useMiniAOD)
print ' pfcandidates = '+pfcandidates
print ' genjetparticles = '+genjetparticles
print ' importantgenparticles = '+importantgenparticles
print ' tracks = '+tracks
print ' vertices = '+vertices
print ' mergedvertices = '+mergedvertices
print ' mergedvertices2 = '+mergedvertices2
print ' primaryvertices = '+primaryvertices
###############################################
# SETUP
process = cms.Process("USER")
process.load("FWCore.MessageService.MessageLogger_cfi")
process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(False) , allowUnscheduled = cms.untracked.bool(True) )
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
process.MessageLogger.cerr.FwkReport.reportEvery = 1000
process.MessageLogger.cerr.FwkJob.limit=1
process.MessageLogger.cerr.ERROR = cms.untracked.PSet( limit = cms.untracked.int32(0) )
###############################################
# SOURCE
process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'root://cmsxrootd-site.fnal.gov//store/mc/Phys14DR/TTJets_MSDecaysCKM_central_Tune4C_13TeV-madgraph-tauola/MINIAODSIM/PU20bx25_PHYS14_25_V1-v1/10000/1A089196-7276-E411-9BA5-002590DB91E0.root'
)
)
###############################################
# ANA
process.demo = cms.EDAnalyzer("AnalyzeMiniPlusSubstructure",
vertices = cms.InputTag("offlineSlimmedPrimaryVertices"),
muons = cms.InputTag("slimmedMuons"),
electrons = cms.InputTag("slimmedElectrons"),
taus = cms.InputTag("slimmedTaus"),
photons = cms.InputTag("slimmedPhotons"),
jets = cms.InputTag("slimmedJets"),
fatjets = cms.InputTag("slimmedJetsAK8"),
mets = cms.InputTag("slimmedMETs"),
pfCands = cms.InputTag("packedPFCandidates"),
packed = cms.InputTag("packedGenParticles"),
pruned = cms.InputTag("prunedGenParticles"),
bits = cms.InputTag("TriggerResults","","HLT"),
prescales = cms.InputTag("patTrigger")
)
process.TFileService = cms.Service("TFileService",
fileName = cms.string("ttbar306.root"),
closeFileFast = cms.untracked.bool(True)
)
###############################################
# RECO AND GEN SETUP
process.load('PhysicsTools.PatAlgos.producersLayer1.patCandidates_cff')
process.load('Configuration.EventContent.EventContent_cff')
process.load('Configuration.StandardSequences.Geometry_cff')
process.load('Configuration.StandardSequences.MagneticField_38T_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
process.GlobalTag.globaltag ='PHYS14_25_V2'
#'START70_V6::All'
#'START70_V6::All'
process.load('RecoJets.Configuration.RecoPFJets_cff')
process.load('RecoJets.Configuration.RecoGenJets_cff')
#process.fixedGridRhoFastjetAll.pfCandidatesTag = pfcandidates
process.fixedGridRhoFastjetAll.pfCandidatesTag = 'packedPFCandidates'
process.fixedGridRhoAll.pfCandidatesTag = 'packedPFCandidates'
# process.fixedGridRhoAll.pfCandidatesTag = .InputTag("packedPFCandidates")
# process.fixedGridRhoFastjetAll = fixedGridRhoFastjetAll.clone( pfCandidatesTag = cms.InputTag("packedPFCandidates"))
# process.fixedGridRhoAll = fixedGridRhoAll.clone( pfCandidatesTag = cms.InputTag("packedPFCandidates"))
from RecoJets.JetProducers.SubJetParameters_cfi import SubJetParameters
from RecoJets.JetProducers.PFJetParameters_cfi import *
from RecoJets.JetProducers.CaloJetParameters_cfi import *
from RecoJets.JetProducers.AnomalousCellParameters_cfi import *
from RecoJets.JetProducers.CATopJetParameters_cfi import *
from RecoJets.JetProducers.GenJetParameters_cfi import *
from RecoJets.JetProducers.caTopTaggers_cff import *
###############################################
process.content = cms.EDAnalyzer("EventContentAnalyzer")
process.p = cms.Path(
#process.fixedGridRhoFastjetAll
process.demo
)
| [
"skhalil@fnal.gov"
] | skhalil@fnal.gov |
77cbfc57fc62ce75fd6dbe60b403562ca9184ab9 | 8104e1745a3a4ce41530b0353a2dd502eb3c6541 | /nova/nova/network/neutronv2/api.py | aad9cfbc0c25640d6ca993ca2c4c3075a45666de | [
"Apache-2.0"
] | permissive | eepalms/SoD | cc9d5ef59efd65656aaf790b47971a0b6bf36080 | 97613fb0324f65c8e43111e9216d3a2131fa4ef7 | refs/heads/master | 2021-01-12T00:57:30.654487 | 2017-01-08T05:16:27 | 2017-01-08T05:16:27 | 78,322,865 | 2 | 1 | null | 2020-07-24T02:00:16 | 2017-01-08T05:12:13 | Python | UTF-8 | Python | false | false | 86,072 | py | # Copyright 2012 OpenStack Foundation
# All Rights Reserved
# Copyright (c) 2012 NEC Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
import copy
import time
import uuid
from keystoneclient import auth
from keystoneclient.auth import token_endpoint
from keystoneclient import session
from neutronclient.common import exceptions as neutron_client_exc
from neutronclient.v2_0 import client as clientv20
from oslo_concurrency import lockutils
from oslo_config import cfg
from oslo_log import log as logging
from oslo_utils import excutils
from oslo_utils import uuidutils
import six
from nova.api.openstack import extensions
from nova.compute import utils as compute_utils
from nova import exception
from nova.i18n import _, _LE, _LI, _LW
from nova.network import base_api
from nova.network import model as network_model
from nova.network.neutronv2 import constants
from nova import objects
from nova.pci import manager as pci_manager
from nova.pci import request as pci_request
from nova.pci import whitelist as pci_whitelist
neutron_opts = [
cfg.StrOpt('url',
default='http://127.0.0.1:9696',
help='URL for connecting to neutron'),
cfg.StrOpt('region_name',
help='Region name for connecting to neutron in admin context'),
# TODO(berrange) temporary hack until Neutron can pass over the
# name of the OVS bridge it is configured with
cfg.StrOpt('ovs_bridge',
default='br-int',
help='Name of Integration Bridge used by Open vSwitch'),
cfg.IntOpt('extension_sync_interval',
default=600,
help='Number of seconds before querying neutron for'
' extensions'),
]
NEUTRON_GROUP = 'neutron'
CONF = cfg.CONF
CONF.register_opts(neutron_opts, NEUTRON_GROUP)
deprecations = {'cafile': [cfg.DeprecatedOpt('ca_certificates_file',
group=NEUTRON_GROUP)],
'insecure': [cfg.DeprecatedOpt('api_insecure',
group=NEUTRON_GROUP)],
'timeout': [cfg.DeprecatedOpt('url_timeout',
group=NEUTRON_GROUP)]}
_neutron_options = session.Session.register_conf_options(
CONF, NEUTRON_GROUP, deprecated_opts=deprecations)
auth.register_conf_options(CONF, NEUTRON_GROUP)
CONF.import_opt('default_floating_pool', 'nova.network.floating_ips')
CONF.import_opt('flat_injected', 'nova.network.manager')
LOG = logging.getLogger(__name__)
soft_external_network_attach_authorize = extensions.soft_core_authorizer(
'network', 'attach_external_network')
_SESSION = None
_ADMIN_AUTH = None
def list_opts():
list = copy.deepcopy(_neutron_options)
list.insert(0, auth.get_common_conf_options()[0])
# NOTE(dims): There are a lot of auth plugins, we just generate
# the config options for a few common ones
plugins = ['password', 'v2password', 'v3password']
for name in plugins:
for plugin_option in auth.get_plugin_class(name).get_options():
found = False
for option in list:
if option.name == plugin_option.name:
found = True
break
if not found:
list.append(plugin_option)
list.sort(key=lambda x: x.name)
return [(NEUTRON_GROUP, list)]
def reset_state():
global _ADMIN_AUTH
global _SESSION
_ADMIN_AUTH = None
_SESSION = None
def _load_auth_plugin(conf):
auth_plugin = auth.load_from_conf_options(conf, NEUTRON_GROUP)
if auth_plugin:
return auth_plugin
err_msg = _('Unknown auth plugin: %s') % conf.neutron.auth_plugin
raise neutron_client_exc.Unauthorized(message=err_msg)
def get_client(context, admin=False):
# NOTE(dprince): In the case where no auth_token is present we allow use of
# neutron admin tenant credentials if it is an admin context. This is to
# support some services (metadata API) where an admin context is used
# without an auth token.
global _ADMIN_AUTH
global _SESSION
auth_plugin = None
if not _SESSION:
_SESSION = session.Session.load_from_conf_options(CONF, NEUTRON_GROUP)
if admin or (context.is_admin and not context.auth_token):
# NOTE(jamielennox): The theory here is that we maintain one
# authenticated admin auth globally. The plugin will authenticate
# internally (not thread safe) and on demand so we extract a current
# auth plugin from it (whilst locked). This may or may not require
# reauthentication. We then use the static token plugin to issue the
# actual request with that current token in a thread safe way.
if not _ADMIN_AUTH:
_ADMIN_AUTH = _load_auth_plugin(CONF)
with lockutils.lock('neutron_admin_auth_token_lock'):
# FIXME(jamielennox): We should also retrieve the endpoint from the
# catalog here rather than relying on setting it in CONF.
auth_token = _ADMIN_AUTH.get_token(_SESSION)
# FIXME(jamielennox): why aren't we using the service catalog?
auth_plugin = token_endpoint.Token(CONF.neutron.url, auth_token)
elif context.auth_token:
auth_plugin = context.get_auth_plugin()
if not auth_plugin:
# We did not get a user token and we should not be using
# an admin token so log an error
raise neutron_client_exc.Unauthorized()
return clientv20.Client(session=_SESSION,
auth=auth_plugin,
endpoint_override=CONF.neutron.url,
region_name=CONF.neutron.region_name)
def _is_not_duplicate(item, items, items_list_name, instance):
present = item in items
# The expectation from this function's perspective is that the
# item is not part of the items list so if it is part of it
# we should at least log it as a warning
if present:
LOG.warning(_LW("%(item)s already exists in list: %(list_name)s "
"containing: %(items)s. ignoring it"),
{'item': item,
'list_name': items_list_name,
'items': items},
instance=instance)
return not present
class API(base_api.NetworkAPI):
"""API for interacting with the neutron 2.x API."""
def __init__(self, skip_policy_check=False):
super(API, self).__init__(skip_policy_check=skip_policy_check)
self.last_neutron_extension_sync = None
self.extensions = {}
def setup_networks_on_host(self, context, instance, host=None,
teardown=False):
"""Setup or teardown the network structures."""
def _get_available_networks(self, context, project_id,
net_ids=None, neutron=None):
"""Return a network list available for the tenant.
The list contains networks owned by the tenant and public networks.
If net_ids specified, it searches networks with requested IDs only.
"""
if not neutron:
neutron = get_client(context)
if net_ids:
# If user has specified to attach instance only to specific
# networks then only add these to **search_opts. This search will
# also include 'shared' networks.
search_opts = {'id': net_ids}
nets = neutron.list_networks(**search_opts).get('networks', [])
else:
# (1) Retrieve non-public network list owned by the tenant.
search_opts = {'tenant_id': project_id, 'shared': False}
nets = neutron.list_networks(**search_opts).get('networks', [])
# (2) Retrieve public network list.
search_opts = {'shared': True}
nets += neutron.list_networks(**search_opts).get('networks', [])
_ensure_requested_network_ordering(
lambda x: x['id'],
nets,
net_ids)
return nets
def _create_port(self, port_client, instance, network_id, port_req_body,
fixed_ip=None, security_group_ids=None,
available_macs=None, dhcp_opts=None):
"""Attempts to create a port for the instance on the given network.
:param port_client: The client to use to create the port.
:param instance: Create the port for the given instance.
:param network_id: Create the port on the given network.
:param port_req_body: Pre-populated port request. Should have the
device_id, device_owner, and any required neutron extension values.
:param fixed_ip: Optional fixed IP to use from the given network.
:param security_group_ids: Optional list of security group IDs to
apply to the port.
:param available_macs: Optional set of available MAC addresses,
from which one will be used at random.
:param dhcp_opts: Optional DHCP options.
:returns: ID of the created port.
:raises PortLimitExceeded: If neutron fails with an OverQuota error.
:raises NoMoreFixedIps: If neutron fails with
IpAddressGenerationFailure error.
:raises: PortBindingFailed: If port binding failed.
"""
try:
if fixed_ip:
port_req_body['port']['fixed_ips'] = [
{'ip_address': str(fixed_ip)}]
port_req_body['port']['network_id'] = network_id
port_req_body['port']['admin_state_up'] = True
port_req_body['port']['tenant_id'] = instance.project_id
if security_group_ids:
port_req_body['port']['security_groups'] = security_group_ids
if available_macs is not None:
if not available_macs:
raise exception.PortNotFree(
instance=instance.uuid)
mac_address = available_macs.pop()
port_req_body['port']['mac_address'] = mac_address
if dhcp_opts is not None:
port_req_body['port']['extra_dhcp_opts'] = dhcp_opts
port = port_client.create_port(port_req_body)
port_id = port['port']['id']
if (port['port'].get('binding:vif_type') ==
network_model.VIF_TYPE_BINDING_FAILED):
port_client.delete_port(port_id)
raise exception.PortBindingFailed(port_id=port_id)
LOG.debug('Successfully created port: %s', port_id,
instance=instance)
return port_id
except neutron_client_exc.InvalidIpForNetworkClient:
LOG.warning(_LW('Neutron error: %(ip)s is not a valid IP address '
'for network %(network_id)s.'),
{'ip': fixed_ip, 'network_id': network_id},
instance=instance)
msg = (_('Fixed IP %(ip)s is not a valid ip address for '
'network %(network_id)s.') %
{'ip': fixed_ip, 'network_id': network_id})
raise exception.InvalidInput(reason=msg)
except neutron_client_exc.IpAddressInUseClient:
LOG.warning(_LW('Neutron error: Fixed IP %s is '
'already in use.'), fixed_ip, instance=instance)
msg = _("Fixed IP %s is already in use.") % fixed_ip
raise exception.FixedIpAlreadyInUse(message=msg)
except neutron_client_exc.OverQuotaClient:
LOG.warning(_LW(
'Neutron error: Port quota exceeded in tenant: %s'),
port_req_body['port']['tenant_id'], instance=instance)
raise exception.PortLimitExceeded()
except neutron_client_exc.IpAddressGenerationFailureClient:
LOG.warning(_LW('Neutron error: No more fixed IPs in network: %s'),
network_id, instance=instance)
raise exception.NoMoreFixedIps(net=network_id)
except neutron_client_exc.MacAddressInUseClient:
LOG.warning(_LW('Neutron error: MAC address %(mac)s is already '
'in use on network %(network)s.') %
{'mac': mac_address, 'network': network_id},
instance=instance)
raise exception.PortInUse(port_id=mac_address)
except neutron_client_exc.NeutronClientException:
with excutils.save_and_reraise_exception():
LOG.exception(_LE('Neutron error creating port on network %s'),
network_id, instance=instance)
def _check_external_network_attach(self, context, nets):
"""Check if attaching to external network is permitted."""
if not soft_external_network_attach_authorize(context):
for net in nets:
# Perform this check here rather than in validate_networks to
# ensure the check is performed every time
# allocate_for_instance is invoked
if net.get('router:external') and not net.get('shared'):
raise exception.ExternalNetworkAttachForbidden(
network_uuid=net['id'])
def _unbind_ports(self, context, ports,
neutron, port_client=None):
"""Unbind the given ports by clearing their device_id and
device_owner.
:param context: The request context.
:param ports: list of port IDs.
:param neutron: neutron client for the current context.
:param port_client: The client with appropriate karma for
updating the ports.
"""
port_binding = self._has_port_binding_extension(context,
refresh_cache=True, neutron=neutron)
if port_client is None:
# Requires admin creds to set port bindings
port_client = (neutron if not port_binding else
get_client(context, admin=True))
for port_id in ports:
# A port_id is optional in the NetworkRequest object so check here
# in case the caller forgot to filter the list.
if port_id is None:
continue
port_req_body = {'port': {'device_id': '', 'device_owner': ''}}
if port_binding:
port_req_body['port']['binding:host_id'] = None
port_req_body['port']['binding:profile'] = {}
try:
port_client.update_port(port_id, port_req_body)
except Exception:
LOG.exception(_LE("Unable to clear device ID "
"for port '%s'"), port_id)
def _process_requested_networks(self, context, instance, neutron,
requested_networks, hypervisor_macs=None):
"""Processes and validates requested networks for allocation.
Iterates over the list of NetworkRequest objects, validating the
request and building sets of ports, networks and MAC addresses to
use for allocating ports for the instance.
:param instance: allocate networks on this instance
:type instance: nova.objects.Instance
:param neutron: neutron client session
:type neutron: neutronclient.v2_0.client.Client
:param requested_networks: list of NetworkRequests
:type requested_networks: nova.objects.NetworkRequestList
:param hypervisor_macs: None or a set of MAC addresses that the
instance should use. hypervisor_macs are supplied by the hypervisor
driver (contrast with requested_networks which is user supplied).
NB: NeutronV2 currently assigns hypervisor supplied MAC addresses
to arbitrary networks, which requires openflow switches to
function correctly if more than one network is being used with
the bare metal hypervisor (which is the only one known to limit
MAC addresses).
:type hypervisor_macs: set
:returns: tuple of:
- ports: dict mapping of port id to port dict
- net_ids: list of requested network ids
- ordered_networks: list of nova.objects.NetworkRequest objects
for requested networks (either via explicit network request
or the network for an explicit port request)
- available_macs: set of available MAC addresses to use if creating
a port later; this is the set of hypervisor_macs after removing
any MAC addresses from explicitly requested ports.
:raises nova.exception.PortNotFound: If a requested port is not found
in Neutron.
:raises nova.exception.PortNotUsable: If a requested port is not owned
by the same tenant that the instance is created under. This error
can also be raised if hypervisor_macs is not None and a requested
port's MAC address is not in that set.
:raises nova.exception.PortInUse: If a requested port is already
attached to another instance.
"""
available_macs = None
if hypervisor_macs is not None:
# Make a copy we can mutate: records macs that have not been used
# to create a port on a network. If we find a mac with a
# pre-allocated port we also remove it from this set.
available_macs = set(hypervisor_macs)
ports = {}
net_ids = []
ordered_networks = []
if requested_networks:
for request in requested_networks:
# Process a request to use a pre-existing neutron port.
if request.port_id:
# Make sure the port exists.
port = self._show_port(context, request.port_id,
neutron_client=neutron)
# Make sure the instance has access to the port.
if port['tenant_id'] != instance.project_id:
raise exception.PortNotUsable(port_id=request.port_id,
instance=instance.uuid)
# Make sure the port isn't already attached to another
# instance.
if port.get('device_id'):
raise exception.PortInUse(port_id=request.port_id)
# Make sure the port is usable
if (port.get('binding:vif_type') ==
network_model.VIF_TYPE_BINDING_FAILED):
raise exception.PortBindingFailed(
port_id=request.port_id)
if hypervisor_macs is not None:
if port['mac_address'] not in hypervisor_macs:
LOG.debug("Port %(port)s mac address %(mac)s is "
"not in the set of hypervisor macs: "
"%(hyper_macs)s",
{'port': request.port_id,
'mac': port['mac_address'],
'hyper_macs': hypervisor_macs},
instance=instance)
raise exception.PortNotUsable(
port_id=request.port_id,
instance=instance.uuid)
# Don't try to use this MAC if we need to create a
# port on the fly later. Identical MACs may be
# configured by users into multiple ports so we
# discard rather than popping.
available_macs.discard(port['mac_address'])
# If requesting a specific port, automatically process
# the network for that port as if it were explicitly
# requested.
request.network_id = port['network_id']
ports[request.port_id] = port
# Process a request to use a specific neutron network.
if request.network_id:
net_ids.append(request.network_id)
ordered_networks.append(request)
return ports, net_ids, ordered_networks, available_macs
def _process_security_groups(self, instance, neutron, security_groups):
"""Processes and validates requested security groups for allocation.
Iterates over the list of requested security groups, validating the
request and filtering out the list of security group IDs to use for
port allocation.
:param instance: allocate networks on this instance
:type instance: nova.objects.Instance
:param neutron: neutron client session
:type neutron: neutronclient.v2_0.client.Client
:param security_groups: list of requested security group name or IDs
to use when allocating new ports for the instance
:return: list of security group IDs to use when allocating new ports
:raises nova.exception.NoUniqueMatch: If multiple security groups
are requested with the same name.
:raises nova.exception.SecurityGroupNotFound: If a requested security
group is not in the tenant-filtered list of available security
groups in Neutron.
"""
security_group_ids = []
# TODO(arosen) Should optimize more to do direct query for security
# group if len(security_groups) == 1
if len(security_groups):
search_opts = {'tenant_id': instance.project_id}
user_security_groups = neutron.list_security_groups(
**search_opts).get('security_groups')
for security_group in security_groups:
name_match = None
uuid_match = None
for user_security_group in user_security_groups:
if user_security_group['name'] == security_group:
# If there was a name match in a previous iteration
# of the loop, we have a conflict.
if name_match:
raise exception.NoUniqueMatch(
_("Multiple security groups found matching"
" '%s'. Use an ID to be more specific.") %
security_group)
name_match = user_security_group['id']
if user_security_group['id'] == security_group:
uuid_match = user_security_group['id']
# If a user names the security group the same as
# another's security groups uuid, the name takes priority.
if name_match:
security_group_ids.append(name_match)
elif uuid_match:
security_group_ids.append(uuid_match)
else:
raise exception.SecurityGroupNotFound(
security_group_id=security_group)
return security_group_ids
def allocate_for_instance(self, context, instance, **kwargs):
"""Allocate network resources for the instance.
:param context: The request context.
:param instance: nova.objects.instance.Instance object.
:param requested_networks: optional value containing
network_id, fixed_ip, and port_id
:param security_groups: security groups to allocate for instance
:param macs: None or a set of MAC addresses that the instance
should use. macs is supplied by the hypervisor driver (contrast
with requested_networks which is user supplied).
NB: NeutronV2 currently assigns hypervisor supplied MAC addresses
to arbitrary networks, which requires openflow switches to
function correctly if more than one network is being used with
the bare metal hypervisor (which is the only one known to limit
MAC addresses).
:param dhcp_options: None or a set of key/value pairs that should
determine the DHCP BOOTP response, eg. for PXE booting an instance
configured with the baremetal hypervisor. It is expected that these
are already formatted for the neutron v2 api.
See nova/virt/driver.py:dhcp_options_for_instance for an example.
:param bind_host_id: the host ID to attach to the ports being created.
"""
hypervisor_macs = kwargs.get('macs', None)
# The neutron client and port_client (either the admin context or
# tenant context) are read here. The reason for this is that there are
# a number of different calls for the instance allocation.
# We do not want to create a new neutron session for each of these
# calls.
neutron = get_client(context)
# Requires admin creds to set port bindings
port_client = (neutron if not
self._has_port_binding_extension(context,
refresh_cache=True, neutron=neutron) else
get_client(context, admin=True))
# Store the admin client - this is used later
admin_client = port_client if neutron != port_client else None
LOG.debug('allocate_for_instance()', instance=instance)
if not instance.project_id:
msg = _('empty project id for instance %s')
raise exception.InvalidInput(
reason=msg % instance.uuid)
requested_networks = kwargs.get('requested_networks')
dhcp_opts = kwargs.get('dhcp_options', None)
bind_host_id = kwargs.get('bind_host_id')
ports, net_ids, ordered_networks, available_macs = (
self._process_requested_networks(context,
instance, neutron, requested_networks, hypervisor_macs))
nets = self._get_available_networks(context, instance.project_id,
net_ids, neutron=neutron)
if not nets:
# NOTE(chaochin): If user specifies a network id and the network
# can not be found, raise NetworkNotFound error.
if requested_networks:
for request in requested_networks:
if not request.port_id and request.network_id:
raise exception.NetworkNotFound(
network_id=request.network_id)
else:
LOG.debug("No network configured", instance=instance)
return network_model.NetworkInfo([])
# if this function is directly called without a requested_network param
# or if it is indirectly called through allocate_port_for_instance()
# with None params=(network_id=None, requested_ip=None, port_id=None,
# pci_request_id=None):
if (not requested_networks
or requested_networks.is_single_unspecified):
# bug/1267723 - if no network is requested and more
# than one is available then raise NetworkAmbiguous Exception
if len(nets) > 1:
msg = _("Multiple possible networks found, use a Network "
"ID to be more specific.")
raise exception.NetworkAmbiguous(msg)
ordered_networks.append(
objects.NetworkRequest(network_id=nets[0]['id']))
# NOTE(melwitt): check external net attach permission after the
# check for ambiguity, there could be another
# available net which is permitted bug/1364344
self._check_external_network_attach(context, nets)
security_groups = kwargs.get('security_groups', [])
security_group_ids = self._process_security_groups(
instance, neutron, security_groups)
preexisting_port_ids = []
created_port_ids = []
ports_in_requested_order = []
nets_in_requested_order = []
for request in ordered_networks:
# Network lookup for available network_id
network = None
for net in nets:
if net['id'] == request.network_id:
network = net
break
# if network_id did not pass validate_networks() and not available
# here then skip it safely not continuing with a None Network
else:
continue
nets_in_requested_order.append(network)
# If security groups are requested on an instance then the
# network must has a subnet associated with it. Some plugins
# implement the port-security extension which requires
# 'port_security_enabled' to be True for security groups.
# That is why True is returned if 'port_security_enabled'
# is not found.
if (security_groups and not (
network['subnets']
and network.get('port_security_enabled', True))):
raise exception.SecurityGroupCannotBeApplied()
request.network_id = network['id']
zone = 'compute:%s' % instance.availability_zone
port_req_body = {'port': {'device_id': instance.uuid,
'device_owner': zone}}
try:
self._populate_neutron_extension_values(
context, instance, request.pci_request_id, port_req_body,
neutron=neutron, bind_host_id=bind_host_id)
if request.port_id:
port = ports[request.port_id]
port_client.update_port(port['id'], port_req_body)
preexisting_port_ids.append(port['id'])
ports_in_requested_order.append(port['id'])
else:
created_port = self._create_port(
port_client, instance, request.network_id,
port_req_body, request.address,
security_group_ids, available_macs, dhcp_opts)
created_port_ids.append(created_port)
ports_in_requested_order.append(created_port)
except Exception:
with excutils.save_and_reraise_exception():
self._unbind_ports(context,
preexisting_port_ids,
neutron, port_client)
self._delete_ports(neutron, instance, created_port_ids)
nw_info = self.get_instance_nw_info(
context, instance, networks=nets_in_requested_order,
port_ids=ports_in_requested_order,
admin_client=admin_client,
preexisting_port_ids=preexisting_port_ids,
update_cells=True)
# NOTE(danms): Only return info about ports we created in this run.
# In the initial allocation case, this will be everything we created,
# and in later runs will only be what was created that time. Thus,
# this only affects the attach case, not the original use for this
# method.
return network_model.NetworkInfo([vif for vif in nw_info
if vif['id'] in created_port_ids +
preexisting_port_ids])
def _refresh_neutron_extensions_cache(self, context, neutron=None):
"""Refresh the neutron extensions cache when necessary."""
if (not self.last_neutron_extension_sync or
((time.time() - self.last_neutron_extension_sync)
>= CONF.neutron.extension_sync_interval)):
if neutron is None:
neutron = get_client(context)
extensions_list = neutron.list_extensions()['extensions']
self.last_neutron_extension_sync = time.time()
self.extensions.clear()
self.extensions = {ext['name']: ext for ext in extensions_list}
def _has_port_binding_extension(self, context, refresh_cache=False,
neutron=None):
if refresh_cache:
self._refresh_neutron_extensions_cache(context, neutron=neutron)
return constants.PORTBINDING_EXT in self.extensions
@staticmethod
def _populate_neutron_binding_profile(instance, pci_request_id,
port_req_body):
"""Populate neutron binding:profile.
Populate it with SR-IOV related information
"""
if pci_request_id:
pci_dev = pci_manager.get_instance_pci_devs(
instance, pci_request_id).pop()
devspec = pci_whitelist.get_pci_device_devspec(pci_dev)
profile = {'pci_vendor_info': "%s:%s" % (pci_dev.vendor_id,
pci_dev.product_id),
'pci_slot': pci_dev.address,
'physical_network':
devspec.get_tags().get('physical_network')
}
port_req_body['port']['binding:profile'] = profile
def _populate_neutron_extension_values(self, context, instance,
pci_request_id, port_req_body,
neutron=None, bind_host_id=None):
"""Populate neutron extension values for the instance.
If the extensions loaded contain QOS_QUEUE then pass the rxtx_factor.
"""
self._refresh_neutron_extensions_cache(context, neutron=neutron)
if constants.QOS_QUEUE in self.extensions:
flavor = instance.get_flavor()
rxtx_factor = flavor.get('rxtx_factor')
port_req_body['port']['rxtx_factor'] = rxtx_factor
if self._has_port_binding_extension(context, neutron=neutron):
port_req_body['port']['binding:host_id'] = bind_host_id
self._populate_neutron_binding_profile(instance,
pci_request_id,
port_req_body)
def _delete_ports(self, neutron, instance, ports, raise_if_fail=False):
exceptions = []
for port in ports:
try:
neutron.delete_port(port)
except neutron_client_exc.NeutronClientException as e:
if e.status_code == 404:
LOG.warning(_LW("Port %s does not exist"), port,
instance=instance)
else:
exceptions.append(e)
LOG.warning(
_LW("Failed to delete port %s for instance."),
port, instance=instance, exc_info=True)
if len(exceptions) > 0 and raise_if_fail:
raise exceptions[0]
def deallocate_for_instance(self, context, instance, **kwargs):
"""Deallocate all network resources related to the instance."""
LOG.debug('deallocate_for_instance()', instance=instance)
search_opts = {'device_id': instance.uuid}
neutron = get_client(context)
data = neutron.list_ports(**search_opts)
ports = [port['id'] for port in data.get('ports', [])]
requested_networks = kwargs.get('requested_networks') or []
# NOTE(danms): Temporary and transitional
if isinstance(requested_networks, objects.NetworkRequestList):
requested_networks = requested_networks.as_tuples()
ports_to_skip = set([port_id for nets, fips, port_id, pci_request_id
in requested_networks])
# NOTE(boden): requested_networks only passed in when deallocating
# from a failed build / spawn call. Therefore we need to include
# preexisting ports when deallocating from a standard delete op
# in which case requested_networks is not provided.
ports_to_skip |= set(self._get_preexisting_port_ids(instance))
ports = set(ports) - ports_to_skip
# Reset device_id and device_owner for the ports that are skipped
self._unbind_ports(context, ports_to_skip, neutron)
# Delete the rest of the ports
self._delete_ports(neutron, instance, ports, raise_if_fail=True)
# NOTE(arosen): This clears out the network_cache only if the instance
# hasn't already been deleted. This is needed when an instance fails to
# launch and is rescheduled onto another compute node. If the instance
# has already been deleted this call does nothing.
base_api.update_instance_cache_with_nw_info(self, context, instance,
network_model.NetworkInfo([]))
def allocate_port_for_instance(self, context, instance, port_id,
network_id=None, requested_ip=None,
bind_host_id=None):
"""Allocate a port for the instance."""
requested_networks = objects.NetworkRequestList(
objects=[objects.NetworkRequest(network_id=network_id,
address=requested_ip,
port_id=port_id,
pci_request_id=None)])
return self.allocate_for_instance(context, instance,
requested_networks=requested_networks,
bind_host_id=bind_host_id)
def deallocate_port_for_instance(self, context, instance, port_id):
"""Remove a specified port from the instance.
Return network information for the instance
"""
neutron = get_client(context)
preexisting_ports = self._get_preexisting_port_ids(instance)
if port_id in preexisting_ports:
self._unbind_ports(context, [port_id], neutron)
else:
self._delete_ports(neutron, instance, [port_id],
raise_if_fail=True)
return self.get_instance_nw_info(context, instance)
def list_ports(self, context, **search_opts):
"""List ports for the client based on search options."""
return get_client(context).list_ports(**search_opts)
def show_port(self, context, port_id):
"""Return the port for the client given the port id.
:param context: Request context.
:param port_id: The id of port to be queried.
:returns: A dict containing port data keyed by 'port', e.g.
::
{'port': {'port_id': 'abcd',
'fixed_ip_address': '1.2.3.4'}}
"""
return dict(port=self._show_port(context, port_id))
def _show_port(self, context, port_id, neutron_client=None, fields=None):
"""Return the port for the client given the port id.
:param context: Request context.
:param port_id: The id of port to be queried.
:param neutron_client: A neutron client.
:param fields: The condition fields to query port data.
:returns: A dict of port data.
e.g. {'port_id': 'abcd', 'fixed_ip_address': '1.2.3.4'}
"""
if not neutron_client:
neutron_client = get_client(context)
try:
if fields:
result = neutron_client.show_port(port_id, fields=fields)
else:
result = neutron_client.show_port(port_id)
return result.get('port')
except neutron_client_exc.PortNotFoundClient:
raise exception.PortNotFound(port_id=port_id)
except neutron_client_exc.Unauthorized:
raise exception.Forbidden()
except neutron_client_exc.NeutronClientException as exc:
msg = (_("Failed to access port %(port_id)s: %(reason)s") %
{'port_id': port_id, 'reason': exc})
raise exception.NovaException(message=msg)
def _get_instance_nw_info(self, context, instance, networks=None,
port_ids=None, admin_client=None,
preexisting_port_ids=None, **kwargs):
# NOTE(danms): This is an inner method intended to be called
# by other code that updates instance nwinfo. It *must* be
# called with the refresh_cache-%(instance_uuid) lock held!
LOG.debug('_get_instance_nw_info()', instance=instance)
# Ensure that we have an up to date copy of the instance info cache.
# Otherwise multiple requests could collide and cause cache
# corruption.
compute_utils.refresh_info_cache_for_instance(context, instance)
nw_info = self._build_network_info_model(context, instance, networks,
port_ids, admin_client,
preexisting_port_ids)
return network_model.NetworkInfo.hydrate(nw_info)
def _gather_port_ids_and_networks(self, context, instance, networks=None,
port_ids=None):
"""Return an instance's complete list of port_ids and networks."""
if ((networks is None and port_ids is not None) or
(port_ids is None and networks is not None)):
message = _("This method needs to be called with either "
"networks=None and port_ids=None or port_ids and "
"networks as not none.")
raise exception.NovaException(message=message)
ifaces = compute_utils.get_nw_info_for_instance(instance)
# This code path is only done when refreshing the network_cache
if port_ids is None:
port_ids = [iface['id'] for iface in ifaces]
net_ids = [iface['network']['id'] for iface in ifaces]
if networks is None:
networks = self._get_available_networks(context,
instance.project_id,
net_ids)
# an interface was added/removed from instance.
else:
# Prepare the network ids list for validation purposes
networks_ids = [network['id'] for network in networks]
# Validate that interface networks doesn't exist in networks.
# Though this issue can and should be solved in methods
# that prepare the networks list, this method should have this
# ignore-duplicate-networks/port-ids mechanism to reduce the
# probability of failing to boot the VM.
networks = networks + [
{'id': iface['network']['id'],
'name': iface['network']['label'],
'tenant_id': iface['network']['meta']['tenant_id']}
for iface in ifaces
if _is_not_duplicate(iface['network']['id'],
networks_ids,
"networks",
instance)]
# Include existing interfaces so they are not removed from the db.
# Validate that the interface id is not in the port_ids
port_ids = [iface['id'] for iface in ifaces
if _is_not_duplicate(iface['id'],
port_ids,
"port_ids",
instance)] + port_ids
return networks, port_ids
@base_api.refresh_cache
def add_fixed_ip_to_instance(self, context, instance, network_id):
"""Add a fixed IP to the instance from specified network."""
neutron = get_client(context)
search_opts = {'network_id': network_id}
data = neutron.list_subnets(**search_opts)
ipam_subnets = data.get('subnets', [])
if not ipam_subnets:
raise exception.NetworkNotFoundForInstance(
instance_id=instance.uuid)
zone = 'compute:%s' % instance.availability_zone
search_opts = {'device_id': instance.uuid,
'device_owner': zone,
'network_id': network_id}
data = neutron.list_ports(**search_opts)
ports = data['ports']
for p in ports:
for subnet in ipam_subnets:
fixed_ips = p['fixed_ips']
fixed_ips.append({'subnet_id': subnet['id']})
port_req_body = {'port': {'fixed_ips': fixed_ips}}
try:
neutron.update_port(p['id'], port_req_body)
return self._get_instance_nw_info(context, instance)
except Exception as ex:
msg = ("Unable to update port %(portid)s on subnet "
"%(subnet_id)s with failure: %(exception)s")
LOG.debug(msg, {'portid': p['id'],
'subnet_id': subnet['id'],
'exception': ex}, instance=instance)
raise exception.NetworkNotFoundForInstance(
instance_id=instance.uuid)
@base_api.refresh_cache
def remove_fixed_ip_from_instance(self, context, instance, address):
"""Remove a fixed IP from the instance."""
neutron = get_client(context)
zone = 'compute:%s' % instance.availability_zone
search_opts = {'device_id': instance.uuid,
'device_owner': zone,
'fixed_ips': 'ip_address=%s' % address}
data = neutron.list_ports(**search_opts)
ports = data['ports']
for p in ports:
fixed_ips = p['fixed_ips']
new_fixed_ips = []
for fixed_ip in fixed_ips:
if fixed_ip['ip_address'] != address:
new_fixed_ips.append(fixed_ip)
port_req_body = {'port': {'fixed_ips': new_fixed_ips}}
try:
neutron.update_port(p['id'], port_req_body)
except Exception as ex:
msg = ("Unable to update port %(portid)s with"
" failure: %(exception)s")
LOG.debug(msg, {'portid': p['id'], 'exception': ex},
instance=instance)
return self._get_instance_nw_info(context, instance)
raise exception.FixedIpNotFoundForSpecificInstance(
instance_uuid=instance.uuid, ip=address)
def _get_port_vnic_info(self, context, neutron, port_id):
"""Retrieve port vnic info
Invoked with a valid port_id.
Return vnic type and the attached physical network name.
"""
phynet_name = None
port = self._show_port(context, port_id, neutron_client=neutron,
fields=['binding:vnic_type', 'network_id'])
vnic_type = port.get('binding:vnic_type',
network_model.VNIC_TYPE_NORMAL)
if vnic_type in network_model.VNIC_TYPES_SRIOV:
net_id = port['network_id']
net = neutron.show_network(net_id,
fields='provider:physical_network').get('network')
phynet_name = net.get('provider:physical_network')
return vnic_type, phynet_name
def create_pci_requests_for_sriov_ports(self, context, pci_requests,
requested_networks):
"""Check requested networks for any SR-IOV port request.
Create a PCI request object for each SR-IOV port, and add it to the
pci_requests object that contains a list of PCI request object.
"""
if not requested_networks:
return
neutron = get_client(context, admin=True)
for request_net in requested_networks:
phynet_name = None
vnic_type = network_model.VNIC_TYPE_NORMAL
if request_net.port_id:
vnic_type, phynet_name = self._get_port_vnic_info(
context, neutron, request_net.port_id)
pci_request_id = None
if vnic_type in network_model.VNIC_TYPES_SRIOV:
request = objects.InstancePCIRequest(
count=1,
spec=[{pci_request.PCI_NET_TAG: phynet_name}],
request_id=str(uuid.uuid4()))
pci_requests.requests.append(request)
pci_request_id = request.request_id
# Add pci_request_id into the requested network
request_net.pci_request_id = pci_request_id
def _ports_needed_per_instance(self, context, neutron, requested_networks):
ports_needed_per_instance = 0
if requested_networks is None or len(requested_networks) == 0:
nets = self._get_available_networks(context, context.project_id,
neutron=neutron)
if len(nets) > 1:
# Attaching to more than one network by default doesn't
# make sense, as the order will be arbitrary and the guest OS
# won't know which to configure
msg = _("Multiple possible networks found, use a Network "
"ID to be more specific.")
raise exception.NetworkAmbiguous(msg)
else:
ports_needed_per_instance = 1
else:
net_ids_requested = []
# TODO(danms): Remove me when all callers pass an object
if isinstance(requested_networks[0], tuple):
requested_networks = objects.NetworkRequestList(
objects=[objects.NetworkRequest.from_tuple(t)
for t in requested_networks])
for request in requested_networks:
if request.port_id:
port = self._show_port(context, request.port_id,
neutron_client=neutron)
if port.get('device_id', None):
raise exception.PortInUse(port_id=request.port_id)
if not port.get('fixed_ips'):
raise exception.PortRequiresFixedIP(
port_id=request.port_id)
request.network_id = port['network_id']
else:
ports_needed_per_instance += 1
net_ids_requested.append(request.network_id)
# NOTE(jecarey) There is currently a race condition.
# That is, if you have more than one request for a specific
# fixed IP at the same time then only one will be allocated
# the ip. The fixed IP will be allocated to only one of the
# instances that will run. The second instance will fail on
# spawn. That instance will go into error state.
# TODO(jecarey) Need to address this race condition once we
# have the ability to update mac addresses in Neutron.
if request.address:
# TODO(jecarey) Need to look at consolidating list_port
# calls once able to OR filters.
search_opts = {'network_id': request.network_id,
'fixed_ips': 'ip_address=%s' % (
request.address),
'fields': 'device_id'}
existing_ports = neutron.list_ports(
**search_opts)['ports']
if existing_ports:
i_uuid = existing_ports[0]['device_id']
raise exception.FixedIpAlreadyInUse(
address=request.address,
instance_uuid=i_uuid)
# Now check to see if all requested networks exist
if net_ids_requested:
nets = self._get_available_networks(
context, context.project_id, net_ids_requested,
neutron=neutron)
for net in nets:
if not net.get('subnets'):
raise exception.NetworkRequiresSubnet(
network_uuid=net['id'])
if len(nets) != len(net_ids_requested):
requested_netid_set = set(net_ids_requested)
returned_netid_set = set([net['id'] for net in nets])
lostid_set = requested_netid_set - returned_netid_set
if lostid_set:
id_str = ''
for _id in lostid_set:
id_str = id_str and id_str + ', ' + _id or _id
raise exception.NetworkNotFound(network_id=id_str)
return ports_needed_per_instance
def validate_networks(self, context, requested_networks, num_instances):
"""Validate that the tenant can use the requested networks.
Return the number of instances than can be successfully allocated
with the requested network configuration.
"""
LOG.debug('validate_networks() for %s', requested_networks)
neutron = get_client(context)
ports_needed_per_instance = self._ports_needed_per_instance(
context, neutron, requested_networks)
# Note(PhilD): Ideally Nova would create all required ports as part of
# network validation, but port creation requires some details
# from the hypervisor. So we just check the quota and return
# how many of the requested number of instances can be created
if ports_needed_per_instance:
quotas = neutron.show_quota(tenant_id=context.project_id)['quota']
if quotas.get('port', -1) == -1:
# Unlimited Port Quota
return num_instances
# We only need the port count so only ask for ids back.
params = dict(tenant_id=context.project_id, fields=['id'])
ports = neutron.list_ports(**params)['ports']
free_ports = quotas.get('port') - len(ports)
if free_ports < 0:
msg = (_("The number of defined ports: %(ports)d "
"is over the limit: %(quota)d") %
{'ports': len(ports),
'quota': quotas.get('port')})
raise exception.PortLimitExceeded(msg)
ports_needed = ports_needed_per_instance * num_instances
if free_ports >= ports_needed:
return num_instances
else:
return free_ports // ports_needed_per_instance
return num_instances
def _get_instance_uuids_by_ip(self, context, address):
"""Retrieve instance uuids associated with the given IP address.
:returns: A list of dicts containing the uuids keyed by 'instance_uuid'
e.g. [{'instance_uuid': uuid}, ...]
"""
search_opts = {"fixed_ips": 'ip_address=%s' % address}
data = get_client(context).list_ports(**search_opts)
ports = data.get('ports', [])
return [{'instance_uuid': port['device_id']} for port in ports
if port['device_id']]
def _get_port_id_by_fixed_address(self, client,
instance, address):
"""Return port_id from a fixed address."""
zone = 'compute:%s' % instance.availability_zone
search_opts = {'device_id': instance.uuid,
'device_owner': zone}
data = client.list_ports(**search_opts)
ports = data['ports']
port_id = None
for p in ports:
for ip in p['fixed_ips']:
if ip['ip_address'] == address:
port_id = p['id']
break
if not port_id:
raise exception.FixedIpNotFoundForAddress(address=address)
return port_id
@base_api.refresh_cache
def associate_floating_ip(self, context, instance,
floating_address, fixed_address,
affect_auto_assigned=False):
"""Associate a floating IP with a fixed IP."""
# Note(amotoki): 'affect_auto_assigned' is not respected
# since it is not used anywhere in nova code and I could
# find why this parameter exists.
client = get_client(context)
port_id = self._get_port_id_by_fixed_address(client, instance,
fixed_address)
fip = self._get_floating_ip_by_address(client, floating_address)
param = {'port_id': port_id,
'fixed_ip_address': fixed_address}
client.update_floatingip(fip['id'], {'floatingip': param})
if fip['port_id']:
port = self._show_port(context, fip['port_id'],
neutron_client=client)
orig_instance_uuid = port['device_id']
msg_dict = dict(address=floating_address,
instance_id=orig_instance_uuid)
LOG.info(_LI('re-assign floating IP %(address)s from '
'instance %(instance_id)s'), msg_dict,
instance=instance)
orig_instance = objects.Instance.get_by_uuid(context,
orig_instance_uuid)
# purge cached nw info for the original instance
base_api.update_instance_cache_with_nw_info(self, context,
orig_instance)
def get_all(self, context):
"""Get all networks for client."""
client = get_client(context)
networks = client.list_networks().get('networks')
network_objs = []
for network in networks:
network_objs.append(objects.Network(context=context,
name=network['name'],
label=network['name'],
uuid=network['id']))
return objects.NetworkList(context=context,
objects=network_objs)
def get(self, context, network_uuid):
"""Get specific network for client."""
client = get_client(context)
try:
network = client.show_network(network_uuid).get('network') or {}
except neutron_client_exc.NetworkNotFoundClient:
raise exception.NetworkNotFound(network_id=network_uuid)
net_obj = objects.Network(context=context,
name=network['name'],
label=network['name'],
uuid=network['id'])
return net_obj
def delete(self, context, network_uuid):
"""Delete a network for client."""
raise NotImplementedError()
def disassociate(self, context, network_uuid):
"""Disassociate a network for client."""
raise NotImplementedError()
def associate(self, context, network_uuid, host=base_api.SENTINEL,
project=base_api.SENTINEL):
"""Associate a network for client."""
raise NotImplementedError()
def get_fixed_ip(self, context, id):
"""Get a fixed IP from the id."""
raise NotImplementedError()
def get_fixed_ip_by_address(self, context, address):
"""Return instance uuids given an address."""
uuid_maps = self._get_instance_uuids_by_ip(context, address)
if len(uuid_maps) == 1:
return uuid_maps[0]
elif not uuid_maps:
raise exception.FixedIpNotFoundForAddress(address=address)
else:
raise exception.FixedIpAssociatedWithMultipleInstances(
address=address)
def _setup_net_dict(self, client, network_id):
if not network_id:
return {}
pool = client.show_network(network_id)['network']
return {pool['id']: pool}
def _setup_port_dict(self, context, client, port_id):
if not port_id:
return {}
port = self._show_port(context, port_id, neutron_client=client)
return {port['id']: port}
def _setup_pools_dict(self, client):
pools = self._get_floating_ip_pools(client)
return {i['id']: i for i in pools}
def _setup_ports_dict(self, client, project_id=None):
search_opts = {'tenant_id': project_id} if project_id else {}
ports = client.list_ports(**search_opts)['ports']
return {p['id']: p for p in ports}
def get_floating_ip(self, context, id):
"""Return floating IP object given the floating IP id."""
client = get_client(context)
try:
fip = client.show_floatingip(id)['floatingip']
except neutron_client_exc.NeutronClientException as e:
if e.status_code == 404:
raise exception.FloatingIpNotFound(id=id)
else:
with excutils.save_and_reraise_exception():
LOG.exception(_LE('Unable to access floating IP %s'), id)
pool_dict = self._setup_net_dict(client,
fip['floating_network_id'])
port_dict = self._setup_port_dict(context, client, fip['port_id'])
return self._format_floating_ip_model(fip, pool_dict, port_dict)
def _get_floating_ip_pools(self, client, project_id=None):
search_opts = {constants.NET_EXTERNAL: True}
if project_id:
search_opts.update({'tenant_id': project_id})
data = client.list_networks(**search_opts)
return data['networks']
def get_floating_ip_pools(self, context):
"""Return floating IP pool names."""
client = get_client(context)
pools = self._get_floating_ip_pools(client)
# Note(salv-orlando): Return a list of names to be consistent with
# nova.network.api.get_floating_ip_pools
return [n['name'] or n['id'] for n in pools]
def _format_floating_ip_model(self, fip, pool_dict, port_dict):
pool = pool_dict[fip['floating_network_id']]
result = {'id': fip['id'],
'address': fip['floating_ip_address'],
'pool': pool['name'] or pool['id'],
'project_id': fip['tenant_id'],
# In Neutron v2, an exact fixed_ip_id does not exist.
'fixed_ip_id': fip['port_id'],
}
# In Neutron v2 API fixed_ip_address and instance uuid
# (= device_id) are known here, so pass it as a result.
result['fixed_ip'] = {'address': fip['fixed_ip_address']}
if fip['port_id']:
instance_uuid = port_dict[fip['port_id']]['device_id']
result['instance'] = {'uuid': instance_uuid}
# TODO(mriedem): remove this workaround once the get_floating_ip*
# API methods are converted to use nova objects.
result['fixed_ip']['instance_uuid'] = instance_uuid
else:
result['instance'] = None
return result
def get_floating_ip_by_address(self, context, address):
"""Return a floating IP given an address."""
client = get_client(context)
fip = self._get_floating_ip_by_address(client, address)
pool_dict = self._setup_net_dict(client,
fip['floating_network_id'])
port_dict = self._setup_port_dict(context, client, fip['port_id'])
return self._format_floating_ip_model(fip, pool_dict, port_dict)
def get_floating_ips_by_project(self, context):
client = get_client(context)
project_id = context.project_id
fips = self._safe_get_floating_ips(client, tenant_id=project_id)
if not fips:
return []
pool_dict = self._setup_pools_dict(client)
port_dict = self._setup_ports_dict(client, project_id)
return [self._format_floating_ip_model(fip, pool_dict, port_dict)
for fip in fips]
def get_instance_id_by_floating_address(self, context, address):
"""Return the instance id a floating IP's fixed IP is allocated to."""
client = get_client(context)
fip = self._get_floating_ip_by_address(client, address)
if not fip['port_id']:
return None
port = self._show_port(context, fip['port_id'], neutron_client=client)
return port['device_id']
def get_vifs_by_instance(self, context, instance):
raise NotImplementedError()
def get_vif_by_mac_address(self, context, mac_address):
raise NotImplementedError()
def _get_floating_ip_pool_id_by_name_or_id(self, client, name_or_id):
search_opts = {constants.NET_EXTERNAL: True, 'fields': 'id'}
if uuidutils.is_uuid_like(name_or_id):
search_opts.update({'id': name_or_id})
else:
search_opts.update({'name': name_or_id})
data = client.list_networks(**search_opts)
nets = data['networks']
if len(nets) == 1:
return nets[0]['id']
elif len(nets) == 0:
raise exception.FloatingIpPoolNotFound()
else:
msg = (_("Multiple floating IP pools matches found for name '%s'")
% name_or_id)
raise exception.NovaException(message=msg)
def allocate_floating_ip(self, context, pool=None):
"""Add a floating IP to a project from a pool."""
client = get_client(context)
pool = pool or CONF.default_floating_pool
pool_id = self._get_floating_ip_pool_id_by_name_or_id(client, pool)
param = {'floatingip': {'floating_network_id': pool_id}}
try:
fip = client.create_floatingip(param)
except (neutron_client_exc.IpAddressGenerationFailureClient,
neutron_client_exc.ExternalIpAddressExhaustedClient) as e:
raise exception.NoMoreFloatingIps(six.text_type(e))
except neutron_client_exc.OverQuotaClient as e:
raise exception.FloatingIpLimitExceeded(six.text_type(e))
except neutron_client_exc.BadRequest as e:
raise exception.FloatingIpBadRequest(six.text_type(e))
return fip['floatingip']['floating_ip_address']
def _safe_get_floating_ips(self, client, **kwargs):
"""Get floating IP gracefully handling 404 from Neutron."""
try:
return client.list_floatingips(**kwargs)['floatingips']
# If a neutron plugin does not implement the L3 API a 404 from
# list_floatingips will be raised.
except neutron_client_exc.NotFound:
return []
except neutron_client_exc.NeutronClientException as e:
# bug/1513879 neutron client is currently using
# NeutronClientException when there is no L3 API
if e.status_code == 404:
return []
with excutils.save_and_reraise_exception():
LOG.exception(_LE('Unable to access floating IP for %s'),
', '.join(['%s %s' % (k, v)
for k, v in six.iteritems(kwargs)]))
def _get_floating_ip_by_address(self, client, address):
"""Get floating IP from floating IP address."""
if not address:
raise exception.FloatingIpNotFoundForAddress(address=address)
fips = self._safe_get_floating_ips(client, floating_ip_address=address)
if len(fips) == 0:
raise exception.FloatingIpNotFoundForAddress(address=address)
elif len(fips) > 1:
raise exception.FloatingIpMultipleFoundForAddress(address=address)
return fips[0]
def _get_floating_ips_by_fixed_and_port(self, client, fixed_ip, port):
"""Get floating IPs from fixed IP and port."""
return self._safe_get_floating_ips(client, fixed_ip_address=fixed_ip,
port_id=port)
def release_floating_ip(self, context, address,
affect_auto_assigned=False):
"""Remove a floating IP with the given address from a project."""
# Note(amotoki): We cannot handle a case where multiple pools
# have overlapping IP address range. In this case we cannot use
# 'address' as a unique key.
# This is a limitation of the current nova.
# Note(amotoki): 'affect_auto_assigned' is not respected
# since it is not used anywhere in nova code and I could
# find why this parameter exists.
self._release_floating_ip(context, address)
def disassociate_and_release_floating_ip(self, context, instance,
floating_ip):
"""Removes (deallocates) and deletes the floating IP.
This api call was added to allow this to be done in one operation
if using neutron.
"""
self._release_floating_ip(context, floating_ip['address'],
raise_if_associated=False)
def _release_floating_ip(self, context, address,
raise_if_associated=True):
client = get_client(context)
fip = self._get_floating_ip_by_address(client, address)
if raise_if_associated and fip['port_id']:
raise exception.FloatingIpAssociated(address=address)
client.delete_floatingip(fip['id'])
@base_api.refresh_cache
def disassociate_floating_ip(self, context, instance, address,
affect_auto_assigned=False):
"""Disassociate a floating IP from the instance."""
# Note(amotoki): 'affect_auto_assigned' is not respected
# since it is not used anywhere in nova code and I could
# find why this parameter exists.
client = get_client(context)
fip = self._get_floating_ip_by_address(client, address)
client.update_floatingip(fip['id'], {'floatingip': {'port_id': None}})
def migrate_instance_start(self, context, instance, migration):
"""Start to migrate the network of an instance."""
# NOTE(wenjianhn): just pass to make migrate instance doesn't
# raise for now.
pass
def migrate_instance_finish(self, context, instance, migration):
"""Finish migrating the network of an instance."""
self._update_port_binding_for_instance(context, instance,
migration['dest_compute'])
def add_network_to_project(self, context, project_id, network_uuid=None):
"""Force add a network to the project."""
raise NotImplementedError()
def _nw_info_get_ips(self, client, port):
network_IPs = []
for fixed_ip in port['fixed_ips']:
fixed = network_model.FixedIP(address=fixed_ip['ip_address'])
floats = self._get_floating_ips_by_fixed_and_port(
client, fixed_ip['ip_address'], port['id'])
for ip in floats:
fip = network_model.IP(address=ip['floating_ip_address'],
type='floating')
fixed.add_floating_ip(fip)
network_IPs.append(fixed)
return network_IPs
def _nw_info_get_subnets(self, context, port, network_IPs):
subnets = self._get_subnets_from_port(context, port)
for subnet in subnets:
subnet['ips'] = [fixed_ip for fixed_ip in network_IPs
if fixed_ip.is_in_subnet(subnet)]
return subnets
def _nw_info_build_network(self, port, networks, subnets):
network_name = None
for net in networks:
if port['network_id'] == net['id']:
network_name = net['name']
tenant_id = net['tenant_id']
break
else:
tenant_id = port['tenant_id']
LOG.warning(_LW("Network %(id)s not matched with the tenants "
"network! The ports tenant %(tenant_id)s will be "
"used."),
{'id': port['network_id'], 'tenant_id': tenant_id})
bridge = None
ovs_interfaceid = None
# Network model metadata
should_create_bridge = None
vif_type = port.get('binding:vif_type')
port_details = port.get('binding:vif_details')
# TODO(berrange) Neutron should pass the bridge name
# in another binding metadata field
if vif_type == network_model.VIF_TYPE_OVS:
bridge = CONF.neutron.ovs_bridge
ovs_interfaceid = port['id']
elif vif_type == network_model.VIF_TYPE_BRIDGE:
bridge = "brq" + port['network_id']
should_create_bridge = True
elif vif_type == network_model.VIF_TYPE_DVS:
# The name of the DVS port group will contain the neutron
# network id
bridge = port['network_id']
elif (vif_type == network_model.VIF_TYPE_VHOSTUSER and
port_details.get(network_model.VIF_DETAILS_VHOSTUSER_OVS_PLUG,
False)):
bridge = CONF.neutron.ovs_bridge
ovs_interfaceid = port['id']
# Prune the bridge name if necessary. For the DVS this is not done
# as the bridge is a '<network-name>-<network-UUID>'.
if bridge is not None and vif_type != network_model.VIF_TYPE_DVS:
bridge = bridge[:network_model.NIC_NAME_LEN]
network = network_model.Network(
id=port['network_id'],
bridge=bridge,
injected=CONF.flat_injected,
label=network_name,
tenant_id=tenant_id
)
network['subnets'] = subnets
port_profile = port.get('binding:profile')
if port_profile:
physical_network = port_profile.get('physical_network')
if physical_network:
network['physical_network'] = physical_network
if should_create_bridge is not None:
network['should_create_bridge'] = should_create_bridge
return network, ovs_interfaceid
def _get_preexisting_port_ids(self, instance):
"""Retrieve the preexisting ports associated with the given instance.
These ports were not created by nova and hence should not be
deallocated upon instance deletion.
"""
net_info = compute_utils.get_nw_info_for_instance(instance)
if not net_info:
LOG.debug('Instance cache missing network info.',
instance=instance)
return [vif['id'] for vif in net_info
if vif.get('preserve_on_delete')]
def _build_network_info_model(self, context, instance, networks=None,
port_ids=None, admin_client=None,
preexisting_port_ids=None):
"""Return list of ordered VIFs attached to instance.
:param context: Request context.
:param instance: Instance we are returning network info for.
:param networks: List of networks being attached to an instance.
If value is None this value will be populated
from the existing cached value.
:param port_ids: List of port_ids that are being attached to an
instance in order of attachment. If value is None
this value will be populated from the existing
cached value.
:param admin_client: A neutron client for the admin context.
:param preexisting_port_ids: List of port_ids that nova didn't
allocate and there shouldn't be deleted when
an instance is de-allocated. Supplied list will
be added to the cached list of preexisting port
IDs for this instance.
"""
search_opts = {'tenant_id': instance.project_id,
'device_id': instance.uuid, }
if admin_client is None:
client = get_client(context, admin=True)
else:
client = admin_client
data = client.list_ports(**search_opts)
current_neutron_ports = data.get('ports', [])
nw_info_refresh = networks is None and port_ids is None
networks, port_ids = self._gather_port_ids_and_networks(
context, instance, networks, port_ids)
nw_info = network_model.NetworkInfo()
if preexisting_port_ids is None:
preexisting_port_ids = []
preexisting_port_ids = set(
preexisting_port_ids + self._get_preexisting_port_ids(instance))
current_neutron_port_map = {}
for current_neutron_port in current_neutron_ports:
current_neutron_port_map[current_neutron_port['id']] = (
current_neutron_port)
for port_id in port_ids:
current_neutron_port = current_neutron_port_map.get(port_id)
if current_neutron_port:
vif_active = False
if (current_neutron_port['admin_state_up'] is False
or current_neutron_port['status'] == 'ACTIVE'):
vif_active = True
network_IPs = self._nw_info_get_ips(client,
current_neutron_port)
subnets = self._nw_info_get_subnets(context,
current_neutron_port,
network_IPs)
devname = "tap" + current_neutron_port['id']
devname = devname[:network_model.NIC_NAME_LEN]
network, ovs_interfaceid = (
self._nw_info_build_network(current_neutron_port,
networks, subnets))
preserve_on_delete = (current_neutron_port['id'] in
preexisting_port_ids)
nw_info.append(network_model.VIF(
id=current_neutron_port['id'],
address=current_neutron_port['mac_address'],
network=network,
vnic_type=current_neutron_port.get('binding:vnic_type',
network_model.VNIC_TYPE_NORMAL),
type=current_neutron_port.get('binding:vif_type'),
profile=current_neutron_port.get('binding:profile'),
details=current_neutron_port.get('binding:vif_details'),
ovs_interfaceid=ovs_interfaceid,
devname=devname,
active=vif_active,
preserve_on_delete=preserve_on_delete))
elif nw_info_refresh:
LOG.info(_LI('Port %s from network info_cache is no '
'longer associated with instance in Neutron. '
'Removing from network info_cache.'), port_id,
instance=instance)
return nw_info
def _get_subnets_from_port(self, context, port):
"""Return the subnets for a given port."""
fixed_ips = port['fixed_ips']
# No fixed_ips for the port means there is no subnet associated
# with the network the port is created on.
# Since list_subnets(id=[]) returns all subnets visible for the
# current tenant, returned subnets may contain subnets which is not
# related to the port. To avoid this, the method returns here.
if not fixed_ips:
return []
search_opts = {'id': [ip['subnet_id'] for ip in fixed_ips]}
data = get_client(context).list_subnets(**search_opts)
ipam_subnets = data.get('subnets', [])
subnets = []
for subnet in ipam_subnets:
subnet_dict = {'cidr': subnet['cidr'],
'gateway': network_model.IP(
address=subnet['gateway_ip'],
type='gateway'),
}
# attempt to populate DHCP server field
search_opts = {'network_id': subnet['network_id'],
'device_owner': 'network:dhcp'}
data = get_client(context).list_ports(**search_opts)
dhcp_ports = data.get('ports', [])
for p in dhcp_ports:
for ip_pair in p['fixed_ips']:
if ip_pair['subnet_id'] == subnet['id']:
subnet_dict['dhcp_server'] = ip_pair['ip_address']
break
subnet_object = network_model.Subnet(**subnet_dict)
for dns in subnet.get('dns_nameservers', []):
subnet_object.add_dns(
network_model.IP(address=dns, type='dns'))
for route in subnet.get('host_routes', []):
subnet_object.add_route(
network_model.Route(cidr=route['destination'],
gateway=network_model.IP(
address=route['nexthop'],
type='gateway')))
subnets.append(subnet_object)
return subnets
def get_dns_domains(self, context):
"""Return a list of available dns domains.
These can be used to create DNS entries for floating IPs.
"""
raise NotImplementedError()
def add_dns_entry(self, context, address, name, dns_type, domain):
"""Create specified DNS entry for address."""
raise NotImplementedError()
def modify_dns_entry(self, context, name, address, domain):
"""Create specified DNS entry for address."""
raise NotImplementedError()
def delete_dns_entry(self, context, name, domain):
"""Delete the specified dns entry."""
raise NotImplementedError()
def delete_dns_domain(self, context, domain):
"""Delete the specified dns domain."""
raise NotImplementedError()
def get_dns_entries_by_address(self, context, address, domain):
"""Get entries for address and domain."""
raise NotImplementedError()
def get_dns_entries_by_name(self, context, name, domain):
"""Get entries for name and domain."""
raise NotImplementedError()
def create_private_dns_domain(self, context, domain, availability_zone):
"""Create a private DNS domain with nova availability zone."""
raise NotImplementedError()
def create_public_dns_domain(self, context, domain, project=None):
"""Create a private DNS domain with optional nova project."""
raise NotImplementedError()
def setup_instance_network_on_host(self, context, instance, host):
"""Setup network for specified instance on host."""
self._update_port_binding_for_instance(context, instance, host)
def cleanup_instance_network_on_host(self, context, instance, host):
"""Cleanup network for specified instance on host."""
pass
def _update_port_binding_for_instance(self, context, instance, host):
if not self._has_port_binding_extension(context, refresh_cache=True):
return
neutron = get_client(context, admin=True)
search_opts = {'device_id': instance.uuid,
'tenant_id': instance.project_id}
data = neutron.list_ports(**search_opts)
ports = data['ports']
for p in ports:
# If the host hasn't changed, like in the case of resizing to the
# same host, there is nothing to do.
if p.get('binding:host_id') != host:
try:
neutron.update_port(p['id'],
{'port': {'binding:host_id': host}})
except Exception:
with excutils.save_and_reraise_exception():
LOG.exception(_LE("Unable to update host of port %s"),
p['id'], instance=instance)
def update_instance_vnic_index(self, context, instance, vif, index):
"""Update instance vnic index.
When the 'VNIC index' extension is supported this method will update
the vnic index of the instance on the port.
"""
self._refresh_neutron_extensions_cache(context)
if constants.VNIC_INDEX_EXT in self.extensions:
neutron = get_client(context)
port_req_body = {'port': {'vnic_index': index}}
try:
neutron.update_port(vif['id'], port_req_body)
except Exception:
with excutils.save_and_reraise_exception():
LOG.exception(_LE('Unable to update instance VNIC index '
'for port %s.'),
vif['id'], instance=instance)
def _ensure_requested_network_ordering(accessor, unordered, preferred):
"""Sort a list with respect to the preferred network ordering."""
if preferred:
unordered.sort(key=lambda i: preferred.index(accessor(i)))
| [
"tianweiz@princeton.edu"
] | tianweiz@princeton.edu |
76f0aba3cd468d0ec66404e8b7947d7b7333aafa | 3a642fa1fc158d3289358b53770cdb39e5893711 | /src/xlsxwriter/test/comparison/test_format01.py | 4c50643ba2bfbb06d966fe651528ff22ebe50e1b | [] | no_license | andbar-ru/traceyourself.appspot.com | d461277a3e6f8c27a651a1435f3206d7b9307d9f | 5f0af16ba2727faceb6b7e1b98073cd7d3c60d4c | refs/heads/master | 2020-07-23T14:58:21.511328 | 2016-12-26T22:03:01 | 2016-12-26T22:03:01 | 73,806,841 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,078 | py | ###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013, John McNamara, jmcnamara@cpan.org
#
import unittest
import os
from ...workbook import Workbook
from ..helperfunctions import _compare_xlsx_files
class TestCompareXLSXFiles(unittest.TestCase):
"""
Test file created by XlsxWriter against a file created by Excel.
"""
def setUp(self):
self.maxDiff = None
filename = 'format01.xlsx'
test_dir = 'xlsxwriter/test/comparison/'
self.got_filename = test_dir + '_test_' + filename
self.exp_filename = test_dir + 'xlsx_files/' + filename
self.ignore_files = []
self.ignore_elements = {}
def test_create_file(self):
"""Test the creation of a simple XlsxWriter file with unused formats."""
filename = self.got_filename
####################################################
workbook = Workbook(filename)
worksheet1 = workbook.add_worksheet()
worksheet2 = workbook.add_worksheet('Data Sheet')
worksheet3 = workbook.add_worksheet()
unused1 = workbook.add_format({'bold': 1})
bold = workbook.add_format({'bold': 1})
unused2 = workbook.add_format({'bold': 1})
unused3 = workbook.add_format({'italic': 1})
worksheet1.write('A1', 'Foo')
worksheet1.write('A2', 123)
worksheet3.write('B2', 'Foo')
worksheet3.write('B3', 'Bar', bold)
worksheet3.write('C4', 234)
workbook.close()
####################################################
got, exp = _compare_xlsx_files(self.got_filename,
self.exp_filename,
self.ignore_files,
self.ignore_elements)
self.assertEqual(got, exp)
def tearDown(self):
# Cleanup.
if os.path.exists(self.got_filename):
os.remove(self.got_filename)
if __name__ == '__main__':
unittest.main()
| [
"andrey@voktd-andbar.int.kronshtadt.ru"
] | andrey@voktd-andbar.int.kronshtadt.ru |
26c7774f14779d1cd3315d78272da86bbefcef4d | d9aa4291a4978b932bef84b8d26aa4b911ca2add | /day04正则re模块/03 re模块正则表达式.py | a5c42f5fb0a7f43dad3f6996b9c6b9feadeed74b | [] | no_license | SelfShadows/my_git | 9a32d3713efb1b055d04c813b319eb2196fdcf53 | b10a4c838e1146b3f6ce297480840de9a8e89206 | refs/heads/master | 2020-12-15T22:33:49.273814 | 2020-02-14T16:33:46 | 2020-02-14T16:33:46 | 235,274,933 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 403 | py | import re
#ret=re.split('ab','abcd')
#print(ret)
# ret=re.search('[\d|\w](?P<name>\w.*?s)','sdfdf 3dd3fds2 13f')
# print(ret)
# print(ret.group('name'))
#命名
# ret=re.search('<(?P<flag_name>\w+)>\w+</(?P=flag_name)>','<tl>hello</tl>')
# print(ret.group())
#匹配整数
ret=re.findall('\d+\.\d+|(\d+)','8+4-2*5.21-5+10-(50.75+55)')
for i in ret:
if i=='':
ret.remove('')
print(ret) | [
"870670791@qq.com"
] | 870670791@qq.com |
62df615bb39689d2921aede204a4472f282f1fa7 | ae85cd400fa71296867c9e55297affa2d3679b5d | /algorithms/pattern_matching/rabin-karp.py2.py | 6cce3fe2ac69b7fa1deb148357b646ccaffca4c0 | [] | no_license | Psycadelik/sifu | a1e751aa4e97cd56431cdf8704304b82943db37c | 72965f694f7a44aa8711d11934b216d5ccf9d280 | refs/heads/master | 2023-04-12T17:07:00.677702 | 2021-05-07T07:30:14 | 2021-05-07T07:30:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,365 | py | '''
28. Implement strStr()
Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
Clarification:
What should we return when needle is an empty string? This is a great question to ask during an interview.
For the purpose of this problem, we will return 0 when needle is an empty string.
This is consistent to C's strstr() and Java's indexOf().
Example 1:
Input: haystack = "hello", needle = "ll"
Output: 2
Example 2:
Input: haystack = "aaaaa", needle = "bba"
Output: -1
Example 3:
Input: haystack = "", needle = ""
Output: 0
'''
'''
The Rabin–Karp algorithm or Karp–Rabin algorithm is a string-searching algorithm
created by Richard M. Karp and Michael O. Rabin (1987)
that uses hashing to find an exact match of a pattern string in a text.
It uses a rolling hash to quickly filter out positions of the text that cannot match the pattern,
and then checks for a match at the remaining positions. Generalizations of the same idea can be
used to find more than one match of a single pattern, or to find matches for more than one pattern.
https://github.com/mission-peace/interview/blob/master/python/string/rabinkarp.py
https://brilliant.org/wiki/rabin-karp-algorithm/#:~:text=The%20best%2D%20and%20average%2Dcase,collision%20and%20therefore%20must%20check
https://leetcode.com/problems/implement-strstr/discuss/1019737/Rabin-karp-algorithm-with-explanation-Python
'''
class Solution:
def __init__(self):
self.base = 26 # base of the polynomial hash
self.prime_mod = 101 # to avoid hash overflow, doesn't have to be prime number
self.pattern_hash = self.myhash()
def check_equal(self, str1, str2):
if len(str1) != len(str2):
return False
i = j = 0
for i, j in zip(str1, str2):
if i != j:
return False
return True
def create_hash(self, _str, end):
my_hash = 0
for i in range(end + 1):
my_hash = my_hash + (ord(_str[i]) * self.base ** i)
return my_hash
def recalculate_hash(self, _str, start, end, old_hash, pattern_len):
prev_char_code = ord(_str[start]) * self.base ** pattern_len - 1
new_hash = new_hash - prev_char_code
new_char_code = ord(_str[end]) * self.base ** 0
new_hash += new_char_code
return new_hash
# def recalculate_hash(self, _str, old_index, new_index, old_hash, pattern_len):
# new_hash = old_hash - ord(_str[old_index])
# new_hash = new_hash/self.prime
# new_hash += ord(_str[new_index]) * pow(self.prime, pattern_len - 1)
# return new_hash
def pattern_matching(self, text, pattern):
if pattern == '' or text == '':
return None
n, m = len(text), len(pattern),
if m > n:
return None
pattern_hash = create_hash(pattern, m - 1)
text_hash = create_hash(text, m - 1)
for i in range(1, n - m + 2):
if pattern_hash == text_hash:
window_text = text[i-1:i+m-1]
if check_equal(window_text, pattern):
return i - 1
# if i < n - m + 1:
# text_hash = recalculate_hash(text, i-1, i+m-1, text_hash, m)
text_hash = self.recalculate_hash(text, i, i+m, text_hash, m)
return -1
| [
"erickmwazonga@gmail.com"
] | erickmwazonga@gmail.com |
2d6e2ed0883d161c1401bb9fb640a3ab787fb618 | 664c3ced94ab0e9a5bac547028db59a3ca1f2074 | /16. Python games with Pygame/EG16-05 background sprite/EG16-05 background sprite.py | 22797007a32d97adb2843f167fe7fe7d0a565b7e | [
"MIT"
] | permissive | nikcbg/Begin-to-Code-with-Python | 2b1283a7818e26d3471677b51d1832cde52c4ddc | a72fdf18ca15f564be895c6394a91afc75fc3e2c | refs/heads/master | 2021-06-23T23:09:36.009442 | 2021-06-23T11:17:24 | 2021-06-23T11:17:24 | 209,285,197 | 0 | 0 | MIT | 2021-03-17T07:48:09 | 2019-09-18T10:50:51 | Python | UTF-8 | Python | false | false | 2,148 | py | # EG16-05 background sprite
import pygame
class Sprite:
'''
A sprite in the game. Can be sub-classed
to create sprites with particular behaviours
'''
def __init__(self, image, game):
'''
Initialize a sprite
image is the image to use to draw the sprite
default position is origin (0,0)
game is the game that contains this sprite
'''
self.image = image
self.position = [0, 0]
self.game = game
self.reset()
def update(self):
'''
Called in the game loop to update
the status of the sprite.
Does nothing in the super class
'''
pass
def draw(self):
'''
Draws the sprite on the screen at its
current position
'''
self.game.surface.blit(self.image, self.position)
def reset(self):
'''
Called at the start of a new game to
reset the sprite
'''
pass
class CrackerChase:
'''
Plays the amazing cracker chase game
'''
def play_game(self):
'''
Starts the game playing
Will return when the player exits
the game.
'''
init_result = pygame.init()
if init_result[1] != 0:
print('pygame not installed properly')
return
self.width = 800
self.height = 600
self.size = (self.width, self.height)
self.surface = pygame.display.set_mode(self.size)
pygame.display.set_caption('Cracker Chase')
background_image = pygame.image.load('background.png')
self.background_sprite = Sprite(image=background_image,
game=self)
clock = pygame.time.Clock()
while True:
clock.tick(60)
for e in pygame.event.get():
if e.type == pygame.KEYDOWN:
if e.key == pygame.K_ESCAPE:
pygame.quit()
return
self.background_sprite.draw()
pygame.display.flip()
game = CrackerChase()
game.play_game()
| [
"nkcbg@yahoo.com"
] | nkcbg@yahoo.com |
48dda0032940d6cc8a1faecdbe87f99ff551ae62 | bba2bd15307d94707825057fe2790a72c707a363 | /allennlpx/modules/token_embedders/embedding.py | dcab25dbe87317171a6a1e8769f6d4cc8fd80498 | [] | no_license | Xalp/dne | c78e8ef2f730b129623ed3eaa27f93d2cf85d6f6 | afa519eea9ccd29332c477d89b4691fc2520813b | refs/heads/master | 2023-02-16T14:27:48.089160 | 2021-01-15T12:30:44 | 2021-01-15T12:30:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,568 | py | import logging
import warnings
import numpy
import torch
from allennlp.nn import util
from overrides import overrides
from allennlp.common import Tqdm
from allennlp.common.checks import ConfigurationError
from allennlp.data import Vocabulary
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=FutureWarning)
logger = logging.getLogger(__name__)
from allennlp.modules.token_embedders.embedding import EmbeddingsTextFile
from allennlp.modules.token_embedders.embedding import Embedding
from torch.nn.functional import embedding
from allennlp.modules.time_distributed import TimeDistributed
from allennlpx.training import adv_utils
class VanillaEmbedding(Embedding):
def __init__(
self,
**kwargs,
) -> None:
super().__init__(**kwargs)
@overrides
def forward(self, tokens: torch.Tensor) -> torch.Tensor:
original_size = tokens.size()
tokens = util.combine_initial_dims(tokens)
embedded = embedding(
tokens,
self.weight,
padding_idx=self.padding_index,
max_norm=self.max_norm,
norm_type=self.norm_type,
scale_grad_by_freq=self.scale_grad_by_freq,
sparse=self.sparse,
)
# Now (if necessary) add back in the extra dimensions.
embedded = util.uncombine_initial_dims(embedded, original_size)
if self._projection:
projection = self._projection
for _ in range(embedded.dim() - 2):
projection = TimeDistributed(projection)
embedded = projection(embedded)
# if adv_utils.is_adv_mode():
# info = adv_utils.get_gradient_info()
# grad_norm = torch.norm(info.last_bw, dim=-1, keepdim=True) + 1e-6
# delta = info.last_bw / grad_norm
# embedded += info.grd_step * delta
return embedded
def _read_embeddings_from_text_file(
file_uri: str,
embedding_dim: int,
vocab: Vocabulary,
namespace: str = "tokens") -> torch.FloatTensor:
"""
Read pre-trained word vectors from an eventually compressed text file, possibly contained
inside an archive with multiple files. The text file is assumed to be utf-8 encoded with
space-separated fields: [word] [dim 1] [dim 2] ...
Lines that contain more numerical tokens than `embedding_dim` raise a warning and are skipped.
The remainder of the docstring is identical to `_read_pretrained_embeddings_file`.
"""
tokens_to_keep = set(
vocab.get_index_to_token_vocabulary(namespace).values())
vocab_size = vocab.get_vocab_size(namespace)
embeddings = {}
# First we read the embeddings from the file, only keeping vectors for the words we need.
logger.info("Reading pretrained embeddings from file")
with EmbeddingsTextFile(file_uri) as embeddings_file:
for line in Tqdm.tqdm(embeddings_file):
token = line.split(" ", 1)[0]
if token in tokens_to_keep:
fields = line.rstrip().split(" ")
if len(fields) - 1 != embedding_dim:
# Sometimes there are funny unicode parsing problems that lead to different
# fields lengths (e.g., a word with a unicode space character that splits
# into more than one column). We skip those lines. Note that if you have
# some kind of long header, this could result in all of your lines getting
# skipped. It's hard to check for that here; you just have to look in the
# embedding_misses_file and at the model summary to make sure things look
# like they are supposed to.
logger.warning(
"Found line with wrong number of dimensions (expected: %d; actual: %d): %s",
embedding_dim,
len(fields) - 1,
line,
)
continue
vector = numpy.asarray(fields[1:], dtype="float32")
embeddings[token] = vector
if not embeddings:
raise ConfigurationError(
"No embeddings of correct dimension found; you probably "
"misspecified your embedding_dim parameter, or didn't "
"pre-populate your Vocabulary")
all_embeddings = numpy.asarray(list(embeddings.values()))
float(numpy.mean(all_embeddings))
float(numpy.std(all_embeddings))
# Now we initialize the weight matrix for an embedding layer, starting with random vectors,
# then filling in the word vectors we just read.
logger.info("Initializing pre-trained embedding layer")
embedding_matrix = torch.FloatTensor(vocab_size, embedding_dim).fill_(0.)
num_tokens_found = 0
index_to_token = vocab.get_index_to_token_vocabulary(namespace)
for i in range(vocab_size):
token = index_to_token[i]
# If we don't have a pre-trained vector for this word, we'll just leave this row alone,
# so the word has a random initialization.
if token in embeddings:
embedding_matrix[i] = torch.FloatTensor(embeddings[token])
num_tokens_found += 1
else:
logger.debug(
"Token %s was not found in the embedding file. Initialising randomly.",
token)
logger.info("Pretrained embeddings were found for %d out of %d tokens",
num_tokens_found, vocab_size)
return embedding_matrix
| [
"dugu9sword@163.com"
] | dugu9sword@163.com |
3241bf7425397cb464d443fdc964822f93d76157 | e9f4f2f48f96f8eef84851fb1191c5f5ae7ca882 | /odps/config.py | 1b9afca23b4335d61c3c7ace6f55d59a65aa5d7c | [
"Apache-2.0"
] | permissive | bleachyin/aliyun-odps-python-sdk | 18d156b794de530090bc04e1cba918e08b0f77bc | 6a99db643076b3957f0e6c774c482e81881dbe25 | refs/heads/master | 2021-01-16T22:44:11.875016 | 2016-02-05T02:17:25 | 2016-02-05T02:17:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,873 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from copy import deepcopy
import contextlib
import six
DEFAULT_CHUNK_SIZE = 1496
DEFAULT_CONNECT_RETRY_TIMES = 4
DEFAULT_CONNECT_TIMEOUT = 5
DEFAULT_READ_TIMEOUT = 120
class AttributeDict(dict):
def __getattr__(self, item):
if item in self:
val = self[item]
if isinstance(val, AttributeDict):
return val
else:
return val[0]
return object.__getattribute__(self, item)
def register(self, key, value, validator=None):
self[key] = value, validator
def __setattr__(self, key, value):
if not isinstance(value, AttributeDict):
validate = None
if key in self:
validate = self[key][1]
if validate is not None:
if not validate(value):
raise ValueError('Cannot set value %s' % value)
self[key] = value, validate
else:
self[key] = value
class Config(object):
def __init__(self, config=None):
self._config = config or AttributeDict()
self._validators = dict()
def __getattr__(self, item):
if item == '_config':
return object.__getattribute__(self, '_config')
return getattr(self._config, item)
def __setattr__(self, key, value):
if key == '_config':
object.__setattr__(self, key, value)
setattr(self._config, key, value)
def register_option(self, option, value, validator=None):
splits = option.split('.')
conf = self._config
for name in splits[:-1]:
config = conf.get(name)
if config is None:
conf[name] = AttributeDict()
conf = conf[name]
elif not isinstance(config, dict):
raise AttributeError(
'Fail to set option: %s, conflict has encountered' % option)
else:
conf = config
key = splits[-1]
if conf.get(key) is not None:
raise AttributeError(
'Fail to set option: %s, option has been set' % option)
conf.register(key, value, validator)
@contextlib.contextmanager
def option_context(config=None):
global options
global_options = options
try:
config = config or dict()
local_options = Config(deepcopy(global_options._config))
for option, value in six.iteritems(config):
local_options.register_option(option, value)
options = local_options
yield options
finally:
options = global_options
def is_interactive():
import __main__ as main
return not hasattr(main, '__file__')
# validators
def any_validator(*validators):
def validate(x):
return any(validator(x) for validator in validators)
return validate
def all_validator(*validators):
def validate(x):
return all(validator(x) for validator in validators)
return validate
is_null = lambda x: x is None
is_bool = lambda x: isinstance(x, bool)
is_integer = lambda x: isinstance(x, six.integer_types)
is_string = lambda x: isinstance(x, six.string_types)
def is_in(vals):
def validate(x):
return x in vals
return validate
options = Config()
options.register_option('access_id', None)
options.register_option('access_key', None)
options.register_option('end_point', None)
options.register_option('default_project', None)
options.register_option('log_view_host', None)
options.register_option('tunnel_endpoint', None)
# network connections
options.register_option('chunk_size', DEFAULT_CHUNK_SIZE, validator=is_integer)
options.register_option('retry_times', DEFAULT_CONNECT_RETRY_TIMES, validator=is_integer)
options.register_option('connect_timeout', DEFAULT_CONNECT_TIMEOUT, validator=is_integer)
options.register_option('read_timeout', DEFAULT_READ_TIMEOUT, validator=is_integer)
# terminal
options.register_option('console.max_lines', None)
options.register_option('console.max_width', None)
options.register_option('console.use_color', False, validator=is_bool)
# DataFrame
options.register_option('interactive', is_interactive(), validator=is_bool)
options.register_option('verbose', False, validator=is_bool)
options.register_option('verbose_log', None)
options.register_option('df.analyze', True, validator=is_bool)
# display
from .console import detect_console_encoding
options.register_option('display.encoding', detect_console_encoding(), validator=is_string)
options.register_option('display.max_rows', 60, validator=any_validator(is_null, is_integer))
options.register_option('display.max_columns', 20, validator=any_validator(is_null, is_integer))
options.register_option('display.large_repr', 'truncate', validator=is_in(['truncate', 'info']))
options.register_option('display.notebook_repr_html', True, validator=is_bool)
options.register_option('display.precision', 6, validator=is_integer)
options.register_option('display.float_format', None)
options.register_option('display.chop_threshold', None)
options.register_option('display.column_space', 12, validator=is_integer)
options.register_option('display.pprint_nest_depth', 3, validator=is_integer)
options.register_option('display.max_seq_items', 100, validator=is_integer)
options.register_option('display.max_colwidth', 50, validator=is_integer)
options.register_option('display.multi_sparse', True, validator=is_bool)
options.register_option('display.colheader_justify', 'right', validator=is_string)
options.register_option('display.unicode.ambiguous_as_wide', False, validator=is_bool)
options.register_option('display.unicode.east_asian_width', False, validator=is_bool)
options.register_option('display.height', 60, validator=any_validator(is_null, is_integer))
options.register_option('display.width', 80, validator=any_validator(is_null, is_integer))
options.register_option('display.expand_frame_repr', True)
options.register_option('display.show_dimensions', 'truncate', validator=is_in([True, False, 'truncate']))
| [
"xuye.qin@alibaba-inc.com"
] | xuye.qin@alibaba-inc.com |
36f275751e1301d42602f769a222608e3f3ea75d | 448fd7b58f53b6b8394a2a4a8f6325c3b731afa8 | /EXE_RP/modules custom setups/pyforms/setup.py | 461f21c3b99588eeb172ee6e1cd8b30916b711b1 | [
"MIT"
] | permissive | webclinic017/TraderSoftwareRP | 7c4a5833226f54c84d941830adc26263e984f957 | 3996bb4b1add72901530079d0a2b7aa6a7b33680 | refs/heads/master | 2022-04-17T13:29:03.724522 | 2020-04-12T07:48:00 | 2020-04-12T07:48:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,505 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
__author__ = "Ricardo Ribeiro"
__credits__ = ["Ricardo Ribeiro"]
__license__ = "MIT"
__version__ = "0.1"
__maintainer__ = "Ricardo Ribeiro"
__email__ = "ricardojvr@gmail.com"
__status__ = "Production"
from setuptools import setup
setup(
name ='PyForms',
version ='0.1.4.dev2',
description ="""Pyforms is a Python 2.7 and 3.0 framework to develop GUI application,
which promotes modular software design and code reusability with minimal effort.""",
author ='Ricardo Ribeiro',
author_email ='ricardojvr@gmail.com',
license ='MIT',
download_urlname ='https://github.com/UmSenhorQualquer/pyforms',
url ='https://github.com/UmSenhorQualquer/pyforms',
packages=[
'pyforms',
'pyforms.Utils',
'pyforms.terminal',
'pyforms.terminal.Controls',
'pyforms.web',
'pyforms.web.Controls',
'pyforms.web.django',
'pyforms.web.django.templatetags',
'pyforms.gui',
'pyforms.gui.dialogs',
'pyforms.gui.Controls',
'pyforms.gui.Controls.ControlEventTimeline',
'pyforms.gui.Controls.ControlEventsGraph',
'pyforms.gui.Controls.ControlPlayer' ],
package_data={'pyforms': [
'web/django/*.js',
'web/django/chartjs/Chart.min.js',
'gui/Controls/uipics/*.png',
'gui/mainWindow.ui', 'gui/Controls/*.ui', 'gui/Controls/ControlPlayer/*.ui',
'gui/Controls/ControlEventTimeline/*.ui']
},
install_requires=[
"pyopengl >= 3.1.0",
"visvis >= 1.9.1",
"numpy >= 1.6.1"
],
) | [
"reprior123@gmail.com"
] | reprior123@gmail.com |
669b7d9bcd7b3ebfd57a1310141c672bc89c7dec | e32bb97b6b18dfd48760ed28553a564055878d48 | /source_py2/test_python_toolbox/test_nifty_collections/test_lazy_tuple/test_frozen_dict.py | 6a5067df2c9b2f5f39bfd4f4bdc6892857a6111c | [
"MIT"
] | permissive | rfdiazpr/python_toolbox | 26cb37dd42342c478931699b00d9061aedcd924a | 430dd842ed48bccdb3a3166e91f76bd2aae75a88 | refs/heads/master | 2020-12-31T04:15:53.977935 | 2014-04-30T23:54:58 | 2014-04-30T23:54:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,416 | py | # Copyright 2009-2014 Ram Rachum.
# This program is distributed under the MIT license.
'''Testing module for `python_toolbox.nifty_collections.LazyTuple`.'''
import uuid
import itertools
import collections
from python_toolbox import cute_iter_tools
from python_toolbox import sequence_tools
from python_toolbox import cute_testing
from python_toolbox.nifty_collections import FrozenDict
def test():
frozen_dict = FrozenDict({'1': 'a', '2': 'b', '3': 'c',})
assert len(frozen_dict) == 3
assert set(frozen_dict) == set(frozen_dict.keys()) == \
set(frozen_dict.iterkeys()) == set('123')
assert set(frozen_dict.values()) == \
set(frozen_dict.itervalues()) == set('abc')
assert set(frozen_dict.items()) == \
set(frozen_dict.iteritems()) == {('1', 'a'), ('2', 'b'), ('3', 'c'),}
assert frozen_dict['1'] == 'a'
with cute_testing.RaiseAssertor(exception_type=LookupError):
frozen_dict['missing value']
assert {frozen_dict, frozen_dict} == {frozen_dict}
assert {frozen_dict: frozen_dict} == {frozen_dict: frozen_dict}
assert isinstance(hash(frozen_dict), int)
assert frozen_dict.copy({'meow': 'frrr'}) == \
frozen_dict.copy(meow='frrr') == \
FrozenDict({'1': 'a', '2': 'b', '3': 'c', 'meow': 'frrr',})
assert repr(frozen_dict).startswith('FrozenDict(') | [
"ram@rachum.com"
] | ram@rachum.com |
f11e82d29c20ff0e44d26b7febaefe0bfff58a0a | 30f15cac2567373380d288e4be7a8e7aed73519c | /examples/gabcpmc_sumnorm_useaux.py | 1d05365786c5bd244fcc8f535b8a9e255f6a65c7 | [] | no_license | HajimeKawahara/abcfast | c208570111c23145ae95421e7471cc5f69335127 | 951d7998578a245da2dabb6f97c70a2392ea5d43 | refs/heads/master | 2020-04-21T21:04:15.619478 | 2020-03-20T03:56:07 | 2020-03-20T03:56:07 | 169,866,980 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,678 | py | from abcfast.gabcpmc import *
from abcfast.utils import statutils
if __name__ == "__main__":
import numpy as np
import matplotlib.pyplot as plt
from numpy import random
from scipy.stats import gamma as gammafunc
from scipy.stats import norm as normfunc
import time
import sys
tstart=time.time()
print("*******************************************")
print("GPU ABC PMC Method.")
print("This code demonstrates a normal+normal distribution. Beaumont+2009")
print("*******************************************")
#preparing data
nsample=500
Yobs=0.0
# start ABCpmc
abc=ABCpmc()
abc.wide=2.0
abc.Ecrit=0.0
abc.maxtryx=100000#debug magic
abc.npart=512*16#debug magic
# input model/prior
abc.nparam=1
abc.aux=np.array([0.1,1.0])
abc.model=\
"""
/* the double normal distribution model generator */
#include "gennorm.h"
__device__ float model(float* Ysim, float* param, curandState* s, float* aux, int isample){
float cl=curand_uniform(s);
int i=int(cl*2.0);
Ysim[0] = normf(param[0],aux[i], s);
}
"""
# prior
def fprior():
def f(x):
mask=(x<10.0)*(x>-10.0)
arr=np.zeros(len(x))
arr[mask]=1.0
return arr
return f
abc.fprior = fprior()#
abc.prior=\
"""
#include <curand_kernel.h>
__device__ void prior(float* param,curandState* s){
param[0] = (curand_uniform(s)-0.5)*20.0;
return;
}
"""
# data and the summary statistics
abc.nsample = 1
abc.ndata = 1
Ysum = Yobs
abc.Ysm = np.array([Ysum])
#set prior parameters
abc.epsilon_list = np.array([2.0,1.5,1.0,0.5,1.e-2])
#initial run of abc pmc
abc.check_preparation()
abc.run()
abc.check()
# plt.hist(abc.x,bins=20,label="$\epsilon$="+str(abc.epsilon),density=True,alpha=0.5)
#pmc sequence
for eps in abc.epsilon_list[1:]:
abc.run()
abc.check()
tend = time.time()
xref=np.linspace(-3.0,3.0,1000)
print(tend-tstart,"sec")
print(abc.xres())
#plotting...
fig=plt.figure()
ax=fig.add_subplot(211)
ax.hist(abc.x,bins=200,label="$\epsilon$="+str(abc.epsilon),density=True,alpha=0.3)
ax.hist(abc.xres(),bins=200,label="resampled",density=True,alpha=0.1)
ax.plot(xref,0.5*normfunc.pdf(xref,0.0,1.0)+0.5*normfunc.pdf(xref,0.0,1.e-1))
ax.legend()
ax=fig.add_subplot(212)
ax.plot(abc.x,abc.w,".")
plt.ylabel("weight")
plt.xlim(-3,3)
plt.ylim(0,np.max(abc.w))
plt.savefig("sumnorm.png")
plt.show()
| [
"divrot@gmail.com"
] | divrot@gmail.com |
d8b647cce8583803aa21188fc6af6a53879bbcc8 | 5c661f53aa00dbaf595d0e8a565a749c4c55c5cf | /commando/django/core/management/sqlflush.py | ffc719348003842cbde0b2f1f1479c431d769673 | [
"MIT"
] | permissive | skibblenybbles/django-commando | 894f34c80d16fe60555c3f34439e45af124dba32 | dd1dd6969fc0dd8231fc115fee3eeb690809585b | refs/heads/master | 2021-01-22T06:54:28.874271 | 2014-01-16T15:38:07 | 2014-01-16T15:38:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,250 | py | from commando import management
BaseSQLFlushCommand = management.get_command_class(
"sqlflush", exclude_packages=("commando",))
if BaseSQLFlushCommand is not None:
base = BaseSQLFlushCommand()
class SQLFlushCommandOptions(management.CommandOptions):
"""
SQLFlush command options.
"""
args = base.args
help = base.help
option_list = base.option_list[
len(management.BaseCommandOptions.option_list):]
option_groups = (
("[sqlflush options]",
"These options will be passed to sqlflush.",
option_list,
),) if option_list else ()
actions = ("sqlflush",)
def handle_sqlflush(self, *args, **options):
return self.call_command("sqlflush", *args, **options)
class SQLFlushCommand(SQLFlushCommandOptions, management.StandardCommand):
"""
SQLFlush command.
"""
option_list = management.StandardCommand.option_list
option_groups = \
SQLFlushCommandOptions.option_groups + \
management.StandardCommand.option_groups
else:
SQLFlushCommand = management.StandardCommand
| [
"mkibbel@gmail.com"
] | mkibbel@gmail.com |
6a88be3e9bcc912b2a54083082b83a3e47393144 | d91b7761d556d320e897eddceb378a53a99fb1a6 | /library/CAMB_library.py | c860083a5735c3e64a9648f1ae34b49e7ae5b841 | [] | no_license | franciscovillaescusa/Pylians3_old | d945760e4ccce91d943276db1a456c76861e5f22 | aa9ca5904b818c3f4ca431642332986fc8932772 | refs/heads/master | 2020-06-19T14:37:01.421069 | 2019-09-08T16:29:47 | 2019-09-08T16:29:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,413 | py | import numpy as np
import camb
import sys,os
# This routine computes the linear power spectra using CAMB given the input
# cosmological parameters. To do the rescaling with s8 we always need to generate
# the z=0 linear matter Pk, i.e. in redshifts there always should be 0
# PkL.z -------> redshifts [0, 0.5, 1, 2 ...]
# PkL.k -------> wavenumbers
# PkL.s8 ------> array with the values of sigma8
# PkL.Hz ------> array with the values of Hz
# PkL.Pkmm ----> matrix with matter Pk: Pkmm[1,:] = mm P(k) at z[1]
# PkL.Pkcc ----> matrix with matter Pk: Pkcc[1,:] = cc P(k) at z[1]
# PkL.Pkbb ----> matrix with matter Pk: Pkbb[1,:] = bb P(k) at z[1]
# PkL.Pkcb ----> matrix with matter Pk: Pkcb[1,:] = cb P(k) at z[1]
# PkL.Pknn ----> matrix with matter Pk: Pkcc[1,:] = nu P(k) at z[1]
class PkL:
def __init__(self, Omega_m=0.3175, Omega_b=0.049, h=0.6711, ns=0.9624, s8=None,
Mnu=0.0, As=2.13e-9, Omega_k=0.0,
pivot_scalar=0.05, pivot_tensor=0.05,
Nnu=3, hierarchy='degenerate', Neff=3.046, tau=None,
redshifts=[0, 0.5, 1, 2, 3], kmax=10.0, k_per_logint=50,
verbose=False):
Omega_c = Omega_m - Omega_b - Mnu/(93.14*h**2)
Omega_cb = Omega_c + Omega_b
pars = camb.CAMBparams()
# set accuracy of the calculation
pars.set_accuracy(AccuracyBoost=5.0, lSampleBoost=5.0,
lAccuracyBoost=5.0, HighAccuracyDefault=True,
DoLateRadTruncation=True)
# set value of the cosmological parameters
pars.set_cosmology(H0=h*100.0, ombh2=Omega_b*h**2, omch2=Omega_c*h**2,
mnu=Mnu, omk=Omega_k,
neutrino_hierarchy=hierarchy,
num_massive_neutrinos=Nnu, nnu=Neff,
tau=tau)
# set the value of the primordial power spectrum parameters
pars.InitPower.set_params(As=As, ns=ns,
pivot_scalar=pivot_scalar,
pivot_tensor=pivot_tensor)
# set redshifts, k-range and k-sampling
pars.set_matter_power(redshifts=redshifts, kmax=kmax,
k_per_logint=k_per_logint)
# compute results
results = camb.get_results(pars)
# get raw matter P(k) and transfer functions with weird k-binning
#k, zs, Pk = results.get_linear_matter_power_spectrum()
#Tk = (results.get_matter_transfer_data()).transfer_data
# interpolate to get Pmm, Pcc...etc
k,z,Pmm = results.get_matter_power_spectrum(minkh=2e-5, maxkh=kmax,
npoints=500, var1=7, var2=7,
have_power_spectra=True,
params=None)
k,z,Pcc = results.get_matter_power_spectrum(minkh=2e-5, maxkh=kmax,
npoints=500, var1=2, var2=2,
have_power_spectra=True,
params=None)
k,z,Pbb = results.get_matter_power_spectrum(minkh=2e-5, maxkh=kmax,
npoints=500, var1=3, var2=3,
have_power_spectra=True,
params=None)
k,z,Pcb = results.get_matter_power_spectrum(minkh=2e-5, maxkh=kmax,
npoints=500, var1=2, var2=3,
have_power_spectra=True,
params=None)
Pcb = (Omega_c**2*Pcc + Omega_b**2*Pbb +\
2.0*Omega_b*Omega_c*Pcb)/Omega_cb**2
k,z,Pnn = results.get_matter_power_spectrum(minkh=2e-5, maxkh=kmax,
npoints=500, var1=6, var2=6,
have_power_spectra=True,
params=None)
# rescale by sigma_8
s8_linear = results.get_sigma8()[-1]
if s8!=None and z[0]!=0.0:
raise Exception('To rescale by s8 we need to generate the linear Pk at z=0')
factor = (s8/s8_linear)**2
# get sigma_8 and Hz in km/s/(kpc/h)
self.s8 = np.array(results.get_sigma8())[::-1]*np.sqrt(factor)
self.Hz = np.array([results.hubble_parameter(red) for red in z])
self.z = z; self.k = k
self.Pkmm = Pmm*factor; self.Pknn = Pnn*factor
self.Pkcc = Pcc*factor; self.Pkbb = Pbb*factor; self.Pkcb = Pcb*factor
if verbose: print(pars)
#fout = 'Pk_trans_z=%.3f.txt'%z
# notice that transfer functions have an inverted order:i=0 ==>z_max
#np.savetxt(fout,np.transpose([Tk[0,:,i],Tk[1,:,i],Tk[2,:,i],Tk[3,:,i],
# Tk[4,:,i],Tk[5,:,i],Tk[6,:,i]]))
| [
"villaescusa.francisco@gmail.com"
] | villaescusa.francisco@gmail.com |
892c7ac75a0e494f8780281d4139c8602ba5f045 | 171781c9b8ac1cb1bd0562db53788d2c570d4aa4 | /myapp/apps.py | ec02046654421fb4a91100b3f227104a665ba0e9 | [] | no_license | johnbangla/showcasesecond | 4949c492ffc38306320325ea5bacb40b72ba7e21 | 84877579a7204d289a64e1db57ada4ff0e792b95 | refs/heads/master | 2023-01-12T07:12:56.754055 | 2020-10-29T07:20:22 | 2020-10-29T07:20:22 | 275,085,380 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 137 | py | from django.apps import AppConfig
class MyappConfig(AppConfig):
name = 'myapp'
def ready(self):
import myapp.signals | [
"johnbangla@gmail.com"
] | johnbangla@gmail.com |
1233414a1856f946a67a85615938cf7566b3e2d4 | f6d2d1c3e5525dc955a47da39d78481cda105699 | /django/pitches/api/serializers.py | 2da08e797f0fb7c1929b6bc208d809a9811e9ec4 | [] | no_license | KyleLawson16/pitch-yak | 340458833debe4ccf5e3774fb714491624035297 | c98505c5c4a8de369fd749d56a91028373109e50 | refs/heads/master | 2021-01-23T18:31:36.105954 | 2017-09-11T22:21:49 | 2017-09-11T22:21:49 | 102,796,610 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,030 | py | from rest_framework.serializers import (
ModelSerializer,
HyperlinkedIdentityField,
SerializerMethodField
)
from pitches.models import Pitch
pitches_detail_url = HyperlinkedIdentityField(
view_name='api:detail',
lookup_field='unique_id'
)
class PitchListSerializer(ModelSerializer):
url = pitches_detail_url
class Meta:
model = Pitch
fields = [
'url',
'id',
'title',
'pitch',
'likes',
'dislikes',
]
class PitchCreateUpdateSerializer(ModelSerializer):
class Meta:
model = Pitch
fields = [
'title',
'pitch',
]
class PitchDetailSerializer(ModelSerializer):
user = SerializerMethodField()
class Meta:
model = Pitch
fields = [
'user',
'id',
'title',
'pitch',
'likes',
'dislikes',
]
def get_user(self, obj):
return str(obj.user.username)
| [
"Kyle.Lawson7@yahoo.com"
] | Kyle.Lawson7@yahoo.com |
d06d05cbff3f00b938366a8b1ec2a636bbbfca52 | 62e58c051128baef9452e7e0eb0b5a83367add26 | /x12/3070/453003070.py | 91a536502088f709e87f6454abc6630e2e0603aa | [] | no_license | dougvanhorn/bots-grammars | 2eb6c0a6b5231c14a6faf194b932aa614809076c | 09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d | refs/heads/master | 2021-05-16T12:55:58.022904 | 2019-05-17T15:22:23 | 2019-05-17T15:22:23 | 105,274,633 | 0 | 0 | null | 2017-09-29T13:21:21 | 2017-09-29T13:21:21 | null | UTF-8 | Python | false | false | 837 | py | from bots.botsconfig import *
from records003070 import recorddefs
syntax = {
'version' : '00403', #version of ISA to send
'functionalgroup' : 'ST',
}
structure = [
{ID: 'ST', MIN: 1, MAX: 1, LEVEL: [
{ID: 'SSC', MIN: 1, MAX: 1},
{ID: 'DTP', MIN: 1, MAX: 2},
{ID: 'N1', MIN: 0, MAX: 999999},
{ID: 'R2', MIN: 0, MAX: 13},
{ID: 'OD', MIN: 0, MAX: 1},
{ID: 'PI', MIN: 0, MAX: 10},
{ID: 'PR', MIN: 0, MAX: 99},
{ID: 'CT', MIN: 0, MAX: 99},
{ID: 'APR', MIN: 0, MAX: 99},
{ID: 'SHR', MIN: 0, MAX: 99},
{ID: 'SR', MIN: 0, MAX: 7, LEVEL: [
{ID: 'LX', MIN: 0, MAX: 999999, LEVEL: [
{ID: 'ISD', MIN: 0, MAX: 15},
{ID: 'ISC', MIN: 0, MAX: 999999},
]},
]},
{ID: 'SE', MIN: 1, MAX: 1},
]}
]
| [
"jason.capriotti@gmail.com"
] | jason.capriotti@gmail.com |
49d16d047bd4ea4ff578997b297de8bd7f86c743 | 8feecb692bacdb10340af1b40878da4f24f5f2dd | /ammarit/it/migrations/0002_auto_20160718_1343.py | 5b5c18bf81fab9a5096915a2faa964e1bf36cb8f | [
"Apache-2.0"
] | permissive | aammar/IT-Storage-Ticket-System | 2bbf4cf240eef59557bc0faf728379dadf522cce | 6b8fb7a915cdd10e7a003301a35477a718129643 | refs/heads/master | 2021-01-11T18:18:45.272913 | 2016-08-25T19:23:33 | 2016-08-25T19:23:33 | 71,046,768 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 944 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('it', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='item',
old_name='Category',
new_name='category',
),
migrations.RenameField(
model_name='item',
old_name='Item_Number',
new_name='itemNumber',
),
migrations.RenameField(
model_name='item',
old_name='Make',
new_name='make',
),
migrations.RenameField(
model_name='item',
old_name='Model',
new_name='model',
),
migrations.AddField(
model_name='item',
name='owner',
field=models.ForeignKey(to='it.Owner', null=True),
),
]
| [
"hasan.aljawaheri@gmail.com"
] | hasan.aljawaheri@gmail.com |
bc06edcede98909e1064f09cc79a7c965352f912 | d0151e3cc292a1d3e2472515741c24ac99ef89c5 | /lcamatrix/product_flow.py | ffde7890434ec03686092acd85b1da8f9bfa665e | [] | no_license | bkuczenski/lca-matrix | 73123fbc0bf238697aed316577287b148318b2aa | 78962e3f9ce94c351754667df07b6ed0e61d1fa7 | refs/heads/master | 2021-01-19T19:59:06.480947 | 2017-06-16T19:45:25 | 2017-06-16T19:45:25 | 78,722,803 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,288 | py | class ProductFlow(object):
"""
Class for storing foreground-relevant information about a single matched row-and-column in the interior matrix.
"""
def __init__(self, index, flow, process):
"""
Initialize a row+column in the technology matrix. Each row corresponds to a reference exchange in the database,
and thus represents a particular process generating / consuming a particular flow. A ProductFlow entry is
akin to a fragment termination.
inbound_ev is the exchange value of the reference flow, which is divided into the exchange values of the child
flows. It has the convention Output = positive, so if the reference exchange is an input, the inbound_ev is
negated. Similarly, the exchange values of matrix entries made with ProductFlow parents need to be implemented
as Input = positive, with outputs negated. This is to satisfy the make-use equation e.g. V - U' in Suh 2010
or whichever it was.
:param flow: the LcFlow entity that represents the commodity (term_flow in the fragment sense)
:param process: the termination of the parent node's exchange (term_node). None is equivalent to a
cutoff flow or elementary flow (distinction is left to a compartment manager). If non-null, the process must
possess a reference exchange with the same flow or the graph traversal may be curtailed.
"""
self._index = index
self._flow = flow
self._process = process
self._direction = None
self._hash = (flow.uuid, None)
self._inbound_ev = 1.0
if process is None:
raise TypeError('No termination? should be a cutoff.')
if len([x for x in process.reference_entity if x.flow == flow]) == 0:
# still a cutoff- raise a flag but not an error
print('NoMatchingReference: Flow: %s, Termination: %s' % (flow.uuid, process.uuid))
else:
self._hash = (flow.uuid, process.uuid)
ref_exch = process.reference(flow)
self._direction = ref_exch.direction
self._inbound_ev = ref_exch.value
if self._inbound_ev is None:
print('None inbound ev! using 1.0. f:%s t:%s' % (flow, process))
self._inbound_ev = 1.0
elif self._inbound_ev == 0:
raise ZeroDivisionError('No inbound EV for f:%s t:%s' % (flow.get_external_ref(),
process.get_external_ref()))
if self._direction == 'Input':
self._inbound_ev *= -1
def __eq__(self, other):
"""
shortcut-- allow comparisons without dummy creation
:param other:
:return:
"""
return hash(self) == hash(other)
# if not isinstance(other, ProductFlow):
# return False
# return self.flow == other.flow and self.process == other.process
def __hash__(self):
return hash(self._hash)
def adjust_ev(self, value):
"""
Compensate recorded inbound exchange value if the process is found to depend on its own reference flow.
Assumption is that the flow is already sign-corrected (i.e. inbound_ev is positive-output, adjustment value
is positive-input, so new inbound_ev is difference
:param value:
:return:
"""
if value == self._inbound_ev:
print('Ignoring unitary self-dependency')
else:
self._inbound_ev -= value
@property
def index(self):
return self._index
@property
def key(self):
"""
Product flow key is (uuid of reference flow, uuid of process)
:return:
"""
return self._hash
@property
def flow(self):
return self._flow
@property
def process(self):
return self._process
@property
def direction(self):
return self._direction
@property
def inbound_ev(self):
return self._inbound_ev
def __str__(self):
return '%s:==%s' % (self._process, self._flow)
def table_label(self):
return '%s (%s) [%s]' % (self._flow['Name'], self._flow.unit(), self._process['SpatialScope'])
| [
"brandon.kuczenski@301south.net"
] | brandon.kuczenski@301south.net |
3c79559ef9bdf98549d064edf7d6923df2b5dfab | 895ce933b8103b739f9b46b1a3f4c1c4f12061f3 | /tests/charts/test_worker.py | 1c495e4f313a0340068e79469f10c01fc9e7ff02 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | permissive | antonymayi/airflow | 1e80968339a32f47c641f0feec421fe724d978f6 | eb47c42d6ba3ca33cf4223ac6c2a4904cf1f388e | refs/heads/main | 2022-11-05T02:50:14.252178 | 2022-11-03T08:15:20 | 2022-11-03T08:15:20 | 204,968,973 | 0 | 0 | Apache-2.0 | 2019-08-28T17:50:48 | 2019-08-28T15:50:48 | null | UTF-8 | Python | false | false | 28,522 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from __future__ import annotations
import jmespath
import pytest
from tests.charts.helm_template_generator import render_chart
class TestWorker:
@pytest.mark.parametrize(
"executor, persistence, kind",
[
("CeleryExecutor", False, "Deployment"),
("CeleryExecutor", True, "StatefulSet"),
("CeleryKubernetesExecutor", False, "Deployment"),
("CeleryKubernetesExecutor", True, "StatefulSet"),
],
)
def test_worker_kind(self, executor, persistence, kind):
"""
Test worker kind is StatefulSet when worker persistence is enabled.
"""
docs = render_chart(
values={
"executor": executor,
"workers": {"persistence": {"enabled": persistence}},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert kind == jmespath.search("kind", docs[0])
@pytest.mark.parametrize(
"revision_history_limit, global_revision_history_limit",
[(8, 10), (10, 8), (8, None), (None, 10), (None, None)],
)
def test_revision_history_limit(self, revision_history_limit, global_revision_history_limit):
values = {"workers": {}}
if revision_history_limit:
values["workers"]["revisionHistoryLimit"] = revision_history_limit
if global_revision_history_limit:
values["revisionHistoryLimit"] = global_revision_history_limit
docs = render_chart(
values=values,
show_only=["templates/workers/worker-deployment.yaml"],
)
expected_result = revision_history_limit if revision_history_limit else global_revision_history_limit
assert jmespath.search("spec.revisionHistoryLimit", docs[0]) == expected_result
def test_should_add_extra_containers(self):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {
"extraContainers": [
{"name": "test-container", "image": "test-registry/test-repo:test-tag"}
],
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert {
"name": "test-container",
"image": "test-registry/test-repo:test-tag",
} == jmespath.search("spec.template.spec.containers[-1]", docs[0])
def test_should_add_extra_init_containers(self):
docs = render_chart(
values={
"workers": {
"extraInitContainers": [
{"name": "test-init-container", "image": "test-registry/test-repo:test-tag"}
],
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert {
"name": "test-init-container",
"image": "test-registry/test-repo:test-tag",
} == jmespath.search("spec.template.spec.initContainers[-1]", docs[0])
def test_should_add_extra_volume_and_extra_volume_mount(self):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {
"extraVolumes": [{"name": "test-volume", "emptyDir": {}}],
"extraVolumeMounts": [{"name": "test-volume", "mountPath": "/opt/test"}],
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert "test-volume" == jmespath.search("spec.template.spec.volumes[0].name", docs[0])
assert "test-volume" == jmespath.search(
"spec.template.spec.containers[0].volumeMounts[0].name", docs[0]
)
def test_should_add_extraEnvs(self):
docs = render_chart(
values={
"workers": {
"env": [{"name": "TEST_ENV_1", "value": "test_env_1"}],
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert {"name": "TEST_ENV_1", "value": "test_env_1"} in jmespath.search(
"spec.template.spec.containers[0].env", docs[0]
)
def test_should_add_extraEnvs_to_wait_for_migration_container(self):
docs = render_chart(
values={
"workers": {
"waitForMigrations": {"env": [{"name": "TEST_ENV_1", "value": "test_env_1"}]},
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert {"name": "TEST_ENV_1", "value": "test_env_1"} in jmespath.search(
"spec.template.spec.initContainers[0].env", docs[0]
)
def test_should_add_component_specific_labels(self):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {
"labels": {"test_label": "test_label_value"},
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert "test_label" in jmespath.search("spec.template.metadata.labels", docs[0])
assert jmespath.search("spec.template.metadata.labels", docs[0])["test_label"] == "test_label_value"
def test_workers_host_aliases(self):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {
"hostAliases": [{"ip": "127.0.0.2", "hostnames": ["test.hostname"]}],
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert "127.0.0.2" == jmespath.search("spec.template.spec.hostAliases[0].ip", docs[0])
assert "test.hostname" == jmespath.search("spec.template.spec.hostAliases[0].hostnames[0]", docs[0])
@pytest.mark.parametrize(
"persistence, update_strategy, expected_update_strategy",
[
(False, None, None),
(True, {"rollingUpdate": {"partition": 0}}, {"rollingUpdate": {"partition": 0}}),
(True, None, None),
],
)
def test_workers_update_strategy(self, persistence, update_strategy, expected_update_strategy):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {
"persistence": {"enabled": persistence},
"updateStrategy": update_strategy,
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert expected_update_strategy == jmespath.search("spec.updateStrategy", docs[0])
@pytest.mark.parametrize(
"persistence, strategy, expected_strategy",
[
(True, None, None),
(
False,
{"rollingUpdate": {"maxSurge": "100%", "maxUnavailable": "50%"}},
{"rollingUpdate": {"maxSurge": "100%", "maxUnavailable": "50%"}},
),
(False, None, None),
],
)
def test_workers_strategy(self, persistence, strategy, expected_strategy):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {"persistence": {"enabled": persistence}, "strategy": strategy},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert expected_strategy == jmespath.search("spec.strategy", docs[0])
def test_should_create_valid_affinity_tolerations_and_node_selector(self):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {
"affinity": {
"nodeAffinity": {
"requiredDuringSchedulingIgnoredDuringExecution": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{"key": "foo", "operator": "In", "values": ["true"]},
]
}
]
}
}
},
"tolerations": [
{"key": "dynamic-pods", "operator": "Equal", "value": "true", "effect": "NoSchedule"}
],
"nodeSelector": {"diskType": "ssd"},
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert "StatefulSet" == jmespath.search("kind", docs[0])
assert "foo" == jmespath.search(
"spec.template.spec.affinity.nodeAffinity."
"requiredDuringSchedulingIgnoredDuringExecution."
"nodeSelectorTerms[0]."
"matchExpressions[0]."
"key",
docs[0],
)
assert "ssd" == jmespath.search(
"spec.template.spec.nodeSelector.diskType",
docs[0],
)
assert "dynamic-pods" == jmespath.search(
"spec.template.spec.tolerations[0].key",
docs[0],
)
def test_affinity_tolerations_topology_spread_constraints_and_node_selector_precedence(self):
"""When given both global and worker affinity etc, worker affinity etc is used"""
expected_affinity = {
"nodeAffinity": {
"requiredDuringSchedulingIgnoredDuringExecution": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{"key": "foo", "operator": "In", "values": ["true"]},
]
}
]
}
}
}
expected_topology_spread_constraints = {
"maxSkew": 1,
"topologyKey": "foo",
"whenUnsatisfiable": "ScheduleAnyway",
"labelSelector": {"matchLabels": {"tier": "airflow"}},
}
docs = render_chart(
values={
"workers": {
"affinity": expected_affinity,
"tolerations": [
{"key": "dynamic-pods", "operator": "Equal", "value": "true", "effect": "NoSchedule"}
],
"topologySpreadConstraints": [expected_topology_spread_constraints],
"nodeSelector": {"type": "ssd"},
},
"affinity": {
"nodeAffinity": {
"preferredDuringSchedulingIgnoredDuringExecution": [
{
"weight": 1,
"preference": {
"matchExpressions": [
{"key": "not-me", "operator": "In", "values": ["true"]},
]
},
}
]
}
},
"tolerations": [
{"key": "not-me", "operator": "Equal", "value": "true", "effect": "NoSchedule"}
],
"topologySpreadConstraints": [
{
"maxSkew": 1,
"topologyKey": "not-me",
"whenUnsatisfiable": "ScheduleAnyway",
"labelSelector": {"matchLabels": {"tier": "airflow"}},
}
],
"nodeSelector": {"type": "not-me"},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert expected_affinity == jmespath.search("spec.template.spec.affinity", docs[0])
assert "ssd" == jmespath.search(
"spec.template.spec.nodeSelector.type",
docs[0],
)
tolerations = jmespath.search("spec.template.spec.tolerations", docs[0])
assert 1 == len(tolerations)
assert "dynamic-pods" == tolerations[0]["key"]
assert expected_topology_spread_constraints == jmespath.search(
"spec.template.spec.topologySpreadConstraints[0]", docs[0]
)
def test_should_create_default_affinity(self):
docs = render_chart(show_only=["templates/workers/worker-deployment.yaml"])
assert {"component": "worker"} == jmespath.search(
"spec.template.spec.affinity.podAntiAffinity."
"preferredDuringSchedulingIgnoredDuringExecution[0]."
"podAffinityTerm.labelSelector.matchLabels",
docs[0],
)
def test_livenessprobe_values_are_configurable(self):
docs = render_chart(
values={
"workers": {
"livenessProbe": {
"initialDelaySeconds": 111,
"timeoutSeconds": 222,
"failureThreshold": 333,
"periodSeconds": 444,
"command": ["sh", "-c", "echo", "wow such test"],
}
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
livenessprobe = jmespath.search("spec.template.spec.containers[0].livenessProbe", docs[0])
assert livenessprobe == {
"initialDelaySeconds": 111,
"timeoutSeconds": 222,
"failureThreshold": 333,
"periodSeconds": 444,
"exec": {
"command": ["sh", "-c", "echo", "wow such test"],
},
}
def test_disable_livenessprobe(self):
docs = render_chart(
values={
"workers": {"livenessProbe": {"enabled": False}},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
livenessprobe = jmespath.search("spec.template.spec.containers[0].livenessProbe", docs[0])
assert livenessprobe is None
@pytest.mark.parametrize(
"log_persistence_values, expected_volume",
[
({"enabled": False}, {"emptyDir": {}}),
({"enabled": True}, {"persistentVolumeClaim": {"claimName": "release-name-logs"}}),
(
{"enabled": True, "existingClaim": "test-claim"},
{"persistentVolumeClaim": {"claimName": "test-claim"}},
),
],
)
def test_logs_persistence_changes_volume(self, log_persistence_values, expected_volume):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {"persistence": {"enabled": False}},
"logs": {"persistence": log_persistence_values},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert {"name": "logs", **expected_volume} in jmespath.search("spec.template.spec.volumes", docs[0])
def test_worker_resources_are_configurable(self):
docs = render_chart(
values={
"workers": {
"resources": {
"limits": {"cpu": "200m", "memory": "128Mi"},
"requests": {"cpu": "300m", "memory": "169Mi"},
}
},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
# main container
assert "128Mi" == jmespath.search("spec.template.spec.containers[0].resources.limits.memory", docs[0])
assert "200m" == jmespath.search("spec.template.spec.containers[0].resources.limits.cpu", docs[0])
assert "169Mi" == jmespath.search(
"spec.template.spec.containers[0].resources.requests.memory", docs[0]
)
assert "300m" == jmespath.search("spec.template.spec.containers[0].resources.requests.cpu", docs[0])
# initContainer wait-for-airflow-configurations
assert "128Mi" == jmespath.search(
"spec.template.spec.initContainers[0].resources.limits.memory", docs[0]
)
assert "200m" == jmespath.search("spec.template.spec.initContainers[0].resources.limits.cpu", docs[0])
assert "169Mi" == jmespath.search(
"spec.template.spec.initContainers[0].resources.requests.memory", docs[0]
)
assert "300m" == jmespath.search(
"spec.template.spec.initContainers[0].resources.requests.cpu", docs[0]
)
def test_worker_resources_are_not_added_by_default(self):
docs = render_chart(
show_only=["templates/workers/worker-deployment.yaml"],
)
assert jmespath.search("spec.template.spec.containers[0].resources", docs[0]) == {}
def test_no_airflow_local_settings(self):
docs = render_chart(
values={"airflowLocalSettings": None}, show_only=["templates/workers/worker-deployment.yaml"]
)
volume_mounts = jmespath.search("spec.template.spec.containers[0].volumeMounts", docs[0])
assert "airflow_local_settings.py" not in str(volume_mounts)
def test_airflow_local_settings(self):
docs = render_chart(
values={"airflowLocalSettings": "# Well hello!"},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert {
"name": "config",
"mountPath": "/opt/airflow/config/airflow_local_settings.py",
"subPath": "airflow_local_settings.py",
"readOnly": True,
} in jmespath.search("spec.template.spec.containers[0].volumeMounts", docs[0])
def test_airflow_local_settings_kerberos_sidecar(self):
docs = render_chart(
values={
"airflowLocalSettings": "# Well hello!",
"workers": {"kerberosSidecar": {"enabled": True}},
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert {
"name": "config",
"mountPath": "/opt/airflow/config/airflow_local_settings.py",
"subPath": "airflow_local_settings.py",
"readOnly": True,
} in jmespath.search("spec.template.spec.containers[2].volumeMounts", docs[0])
@pytest.mark.parametrize(
"airflow_version, expected_arg",
[
("1.9.0", "airflow worker"),
("1.10.14", "airflow worker"),
("2.0.2", "airflow celery worker"),
("2.1.0", "airflow celery worker"),
],
)
def test_default_command_and_args_airflow_version(self, airflow_version, expected_arg):
docs = render_chart(
values={
"airflowVersion": airflow_version,
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert jmespath.search("spec.template.spec.containers[0].command", docs[0]) is None
assert [
"bash",
"-c",
f"exec \\\n{expected_arg}",
] == jmespath.search("spec.template.spec.containers[0].args", docs[0])
@pytest.mark.parametrize("command", [None, ["custom", "command"]])
@pytest.mark.parametrize("args", [None, ["custom", "args"]])
def test_command_and_args_overrides(self, command, args):
docs = render_chart(
values={"workers": {"command": command, "args": args}},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert command == jmespath.search("spec.template.spec.containers[0].command", docs[0])
assert args == jmespath.search("spec.template.spec.containers[0].args", docs[0])
def test_command_and_args_overrides_are_templated(self):
docs = render_chart(
values={"workers": {"command": ["{{ .Release.Name }}"], "args": ["{{ .Release.Service }}"]}},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert ["release-name"] == jmespath.search("spec.template.spec.containers[0].command", docs[0])
assert ["Helm"] == jmespath.search("spec.template.spec.containers[0].args", docs[0])
def test_log_groomer_default_command_and_args(self):
docs = render_chart(show_only=["templates/workers/worker-deployment.yaml"])
assert jmespath.search("spec.template.spec.containers[1].command", docs[0]) is None
assert ["bash", "/clean-logs"] == jmespath.search("spec.template.spec.containers[1].args", docs[0])
def test_log_groomer_collector_default_retention_days(self):
docs = render_chart(show_only=["templates/workers/worker-deployment.yaml"])
assert "AIRFLOW__LOG_RETENTION_DAYS" == jmespath.search(
"spec.template.spec.containers[1].env[0].name", docs[0]
)
assert "15" == jmespath.search("spec.template.spec.containers[1].env[0].value", docs[0])
@pytest.mark.parametrize("command", [None, ["custom", "command"]])
@pytest.mark.parametrize("args", [None, ["custom", "args"]])
def test_log_groomer_command_and_args_overrides(self, command, args):
docs = render_chart(
values={"workers": {"logGroomerSidecar": {"command": command, "args": args}}},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert command == jmespath.search("spec.template.spec.containers[1].command", docs[0])
assert args == jmespath.search("spec.template.spec.containers[1].args", docs[0])
def test_log_groomer_command_and_args_overrides_are_templated(self):
docs = render_chart(
values={
"workers": {
"logGroomerSidecar": {
"command": ["{{ .Release.Name }}"],
"args": ["{{ .Release.Service }}"],
}
}
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert ["release-name"] == jmespath.search("spec.template.spec.containers[1].command", docs[0])
assert ["Helm"] == jmespath.search("spec.template.spec.containers[1].args", docs[0])
@pytest.mark.parametrize(
"retention_days, retention_result",
[
(None, None),
(30, "30"),
],
)
def test_log_groomer_retention_days_overrides(self, retention_days, retention_result):
docs = render_chart(
values={"workers": {"logGroomerSidecar": {"retentionDays": retention_days}}},
show_only=["templates/workers/worker-deployment.yaml"],
)
if retention_result:
assert "AIRFLOW__LOG_RETENTION_DAYS" == jmespath.search(
"spec.template.spec.containers[1].env[0].name", docs[0]
)
assert retention_result == jmespath.search(
"spec.template.spec.containers[1].env[0].value", docs[0]
)
else:
assert jmespath.search("spec.template.spec.containers[1].env", docs[0]) is None
def test_dags_gitsync_sidecar_and_init_container(self):
docs = render_chart(
values={"dags": {"gitSync": {"enabled": True}}},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert "git-sync" in [c["name"] for c in jmespath.search("spec.template.spec.containers", docs[0])]
assert "git-sync-init" in [
c["name"] for c in jmespath.search("spec.template.spec.initContainers", docs[0])
]
def test_dags_gitsync_with_persistence_no_sidecar_or_init_container(self):
docs = render_chart(
values={"dags": {"gitSync": {"enabled": True}, "persistence": {"enabled": True}}},
show_only=["templates/workers/worker-deployment.yaml"],
)
# No gitsync sidecar or init container
assert "git-sync" not in [
c["name"] for c in jmespath.search("spec.template.spec.containers", docs[0])
]
assert "git-sync-init" not in [
c["name"] for c in jmespath.search("spec.template.spec.initContainers", docs[0])
]
def test_log_groomer_resources(self):
docs = render_chart(
values={
"workers": {
"logGroomerSidecar": {
"resources": {
"requests": {"memory": "2Gi", "cpu": "1"},
"limits": {"memory": "3Gi", "cpu": "2"},
}
}
}
},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert {
"limits": {
"cpu": "2",
"memory": "3Gi",
},
"requests": {
"cpu": "1",
"memory": "2Gi",
},
} == jmespath.search("spec.template.spec.containers[1].resources", docs[0])
def test_persistence_volume_annotations(self):
docs = render_chart(
values={"workers": {"persistence": {"annotations": {"foo": "bar"}}}},
show_only=["templates/workers/worker-deployment.yaml"],
)
assert {"foo": "bar"} == jmespath.search("spec.volumeClaimTemplates[0].metadata.annotations", docs[0])
class TestWorkerKedaAutoScaler:
def test_should_add_component_specific_labels(self):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {
"keda": {"enabled": True},
"labels": {"test_label": "test_label_value"},
},
},
show_only=["templates/workers/worker-kedaautoscaler.yaml"],
)
assert "test_label" in jmespath.search("metadata.labels", docs[0])
assert jmespath.search("metadata.labels", docs[0])["test_label"] == "test_label_value"
class TestWorkerNetworkPolicy:
def test_should_add_component_specific_labels(self):
docs = render_chart(
values={
"networkPolicies": {"enabled": True},
"executor": "CeleryExecutor",
"workers": {
"labels": {"test_label": "test_label_value"},
},
},
show_only=["templates/workers/worker-networkpolicy.yaml"],
)
assert "test_label" in jmespath.search("metadata.labels", docs[0])
assert jmespath.search("metadata.labels", docs[0])["test_label"] == "test_label_value"
class TestWorkerService:
def test_should_add_component_specific_labels(self):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {
"labels": {"test_label": "test_label_value"},
},
},
show_only=["templates/workers/worker-service.yaml"],
)
assert "test_label" in jmespath.search("metadata.labels", docs[0])
assert jmespath.search("metadata.labels", docs[0])["test_label"] == "test_label_value"
class TestWorkerServiceAccount:
def test_should_add_component_specific_labels(self):
docs = render_chart(
values={
"executor": "CeleryExecutor",
"workers": {
"serviceAccount": {"create": True},
"labels": {"test_label": "test_label_value"},
},
},
show_only=["templates/workers/worker-service.yaml"],
)
assert "test_label" in jmespath.search("metadata.labels", docs[0])
assert jmespath.search("metadata.labels", docs[0])["test_label"] == "test_label_value"
| [
"noreply@github.com"
] | antonymayi.noreply@github.com |
fe662e47d1a55bc77cd5d40a5e665d68cbbdfdc9 | 047c1101cb73daaff08d879dbfe4b6880324a554 | /tests/test_surface.py | cc0322cadda50b56ec943ab9db6aa17d652d9283 | [
"Apache-2.0"
] | permissive | matekatona/bezier | ff259320c1c26ff3f9470047a2a812aec5277b34 | 3afc6e549f016cc6dcf7a53b17da0c68fd622756 | refs/heads/master | 2021-01-25T01:21:21.989712 | 2017-06-08T04:24:36 | 2017-06-08T04:24:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 37,614 | py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import mock
import numpy as np
import pytest
from tests import utils
# pylint: disable=invalid-name,no-member
slow = pytest.mark.skipif(
pytest.config.getoption('--ignore-slow') and utils.WITHOUT_SPEEDUPS,
reason='--ignore-slow ignores the slow tests',
)
# pylint: enable=invalid-name,no-member
class TestSurface(utils.NumPyTestCase):
REF_TRIANGLE = utils.ref_triangle_uniform_nodes(5)
REF_TRIANGLE3 = utils.ref_triangle_uniform_nodes(3)
QUADRATIC = np.asfortranarray([
[0.0, 0.0],
[1.25, 0.5],
[2.0, 1.0],
[-1.5, 0.75],
[0.0, 2.0],
[-3.0, 3.0],
])
UNIT_TRIANGLE = np.asfortranarray([
[0.0, 0.0],
[1.0, 0.0],
[0.0, 1.0],
])
ZEROS = np.zeros((3, 2), order='F')
@staticmethod
def _get_target_class():
from bezier import surface
return surface.Surface
def _make_one(self, *args, **kwargs):
klass = self._get_target_class()
return klass(*args, **kwargs)
def _make_one_no_slots(self, *args, **kwargs):
class NoSlots(self._get_target_class()):
pass
return NoSlots(*args, **kwargs)
def test_constructor(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[0.625, 0.5],
[1.0, 0.75],
])
surface = self._make_one(nodes, 1, _copy=False)
self.assertEqual(surface._degree, 1)
self.assertEqual(surface._dimension, 2)
self.assertIs(surface._nodes, nodes)
self.assertEqual(surface._base_x, 0.0)
self.assertEqual(surface._base_y, 0.0)
self.assertEqual(surface._width, 1.0)
self.assertIsNone(surface._area)
self.assertIsNone(surface._edges)
self.assertIsNone(surface._is_valid)
def test_constructor_wrong_dimension(self):
nodes = np.asfortranarray([1.0, 2.0])
with self.assertRaises(ValueError):
self._make_one(nodes, 0)
nodes = np.zeros((3, 2, 2), order='F')
with self.assertRaises(ValueError):
self._make_one(nodes, 1)
def test_from_nodes_factory(self):
nodes = np.asfortranarray([
[0.0, 0.0, 0.0],
[1.0, 0.5, 0.0],
[2.0, 0.0, 0.0],
[0.0, 1.0, 2.0],
[1.0, 1.0, 0.0],
[2.0, 3.0, 0.0],
])
klass = self._get_target_class()
surface = klass.from_nodes(
nodes, base_x=0.25, base_y=0.0, width=0.625)
self.assertIsInstance(surface, klass)
self.assertEqual(surface._degree, 2)
self.assertEqual(surface._dimension, 3)
self.assertEqual(surface._nodes, nodes)
self.assertEqual(surface._base_x, 0.25)
self.assertEqual(surface._base_y, 0.0)
self.assertEqual(surface._width, 0.625)
self.assertIsNone(surface._area)
self.assertIsNone(surface._edges)
self.assertIsNone(surface._is_valid)
def test___repr__(self):
nodes = np.zeros((15, 3), order='F')
surface = self._make_one(nodes, 4)
expected = '<Surface (degree=4, dimension=3)>'
self.assertEqual(repr(surface), expected)
def test___repr__custom_triangle(self):
from bezier import surface as surface_mod
degree = 4
dimension = 3
num_nodes = ((degree + 1) * (degree + 2)) // 2
nodes = np.zeros((num_nodes, dimension), order='F')
base_x = 0.46875
base_y = 0.3125
width = 0.03125
surface = self._make_one(
nodes, degree, base_x=base_x, base_y=base_y, width=width)
expected = surface_mod._REPR_TEMPLATE.format(
'Surface', degree, dimension, base_x, base_y, width)
self.assertEqual(repr(surface), expected)
def test__get_degree_valid(self):
klass = self._get_target_class()
self.assertEqual(0, klass._get_degree(1))
self.assertEqual(1, klass._get_degree(3))
self.assertEqual(2, klass._get_degree(6))
self.assertEqual(3, klass._get_degree(10))
self.assertEqual(11, klass._get_degree(78))
def test__get_degree_invalid(self):
klass = self._get_target_class()
with self.assertRaises(ValueError):
klass._get_degree(2)
with self.assertRaises(ValueError):
klass._get_degree(9)
def test_area_property_not_cached(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[1.0, 2.0],
[2.0, 3.0],
])
surface = self._make_one(nodes, 1)
self.assertIsNone(surface._area)
with self.assertRaises(NotImplementedError):
getattr(surface, 'area')
def test_area_property(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[1.0, 2.0],
[2.0, 3.0],
])
surface = self._make_one(nodes, 1)
area = 3.14159
surface._area = area
self.assertEqual(surface.area, area)
def test_width_property(self):
surface = self._make_one(self.ZEROS, 1)
self.assertEqual(surface.width, 1.0)
def test_base_x_property(self):
surface = self._make_one(self.ZEROS, 1)
self.assertEqual(surface.base_x, 0.0)
def test_base_y_property(self):
surface = self._make_one(self.ZEROS, 1)
self.assertEqual(surface.base_y, 0.0)
def test__compute_edge_nodes(self):
nodes = np.asfortranarray([
[1.0, 2.0],
[4.0, 2.5],
[0.0, 4.0],
])
p100, p010, p001 = nodes
surface = self._make_one(nodes, 1)
nodes1, nodes2, nodes3 = surface._compute_edge_nodes()
expected1 = np.asfortranarray(np.vstack([p100, p010]))
self.assertEqual(nodes1, expected1)
expected2 = np.asfortranarray(np.vstack([p010, p001]))
self.assertEqual(nodes2, expected2)
expected3 = np.asfortranarray(np.vstack([p001, p100]))
self.assertEqual(nodes3, expected3)
def _edges_helper(self, edge1, edge2, edge3,
nodes1, nodes2, nodes3):
import bezier
self.assertIsInstance(edge1, bezier.Curve)
self.assertEqual(edge1._edge_index, 0)
self.assertIs(edge1.next_edge, edge2)
self.assertIs(edge1.previous_edge, edge3)
self.assertEqual(edge1.nodes, nodes1)
self.assertIsInstance(edge2, bezier.Curve)
self.assertEqual(edge2._edge_index, 1)
self.assertIs(edge2.next_edge, edge3)
self.assertIs(edge2.previous_edge, edge1)
self.assertEqual(edge2.nodes, nodes2)
self.assertIsInstance(edge3, bezier.Curve)
self.assertEqual(edge3._edge_index, 2)
self.assertIs(edge3.next_edge, edge1)
self.assertIs(edge3.previous_edge, edge2)
self.assertEqual(edge3.nodes, nodes3)
def test__compute_edges_linear(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[2.0, 1.0],
[-3.0, 3.0],
])
p100, p010, p001 = nodes
surface = self._make_one(nodes, 1)
edge1, edge2, edge3 = surface._compute_edges()
nodes1 = np.asfortranarray(np.vstack([p100, p010]))
nodes2 = np.asfortranarray(np.vstack([p010, p001]))
nodes3 = np.asfortranarray(np.vstack([p001, p100]))
self._edges_helper(
edge1, edge2, edge3, nodes1, nodes2, nodes3)
def test__compute_edges_quadratic(self):
nodes = self.QUADRATIC
p200, p110, p020, p101, p011, p002 = nodes
surface = self._make_one(nodes, 2)
edge1, edge2, edge3 = surface._compute_edges()
nodes1 = np.asfortranarray(np.vstack([p200, p110, p020]))
nodes2 = np.asfortranarray(np.vstack([p020, p011, p002]))
nodes3 = np.asfortranarray(np.vstack([p002, p101, p200]))
self._edges_helper(
edge1, edge2, edge3, nodes1, nodes2, nodes3)
def test__compute_edges_cubic(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[0.328125, 0.1484375],
[0.65625, 0.1484375],
[1.0, 0.0],
[0.1484375, 0.328125],
[0.5, 0.5],
[1.0, 0.53125],
[0.1484375, 0.65625],
[0.53125, 1.0],
[0.0, 1.0],
])
(p300, p210, p120, p030, p201,
unused_p111, p021, p102, p012, p003) = nodes
surface = self._make_one(nodes, 3)
edges = surface._compute_edges()
self._edges_helper(
edges[0], edges[1], edges[2],
np.asfortranarray(np.vstack([p300, p210, p120, p030])),
np.asfortranarray(np.vstack([p030, p021, p012, p003])),
np.asfortranarray(np.vstack([p003, p102, p201, p300])))
def test__get_edges(self):
surface = self._make_one_no_slots(self.ZEROS, 1)
compute_mock = mock.Mock(return_value=mock.sentinel.edges)
surface._compute_edges = compute_mock
self.assertIsNone(surface._edges)
self.assertIs(surface._get_edges(), mock.sentinel.edges)
self.assertIs(surface._edges, mock.sentinel.edges)
compute_mock.assert_called_once_with()
def test__get_edges_cached(self):
surface = self._make_one_no_slots(self.ZEROS, 1)
compute_mock = mock.Mock()
surface._compute_edges = compute_mock
surface._edges = mock.sentinel.edges
self.assertIs(surface._get_edges(), mock.sentinel.edges)
compute_mock.assert_not_called()
def test_edges_property(self):
nodes = self.UNIT_TRIANGLE
surface = self._make_one(nodes, 1)
edge1, edge2, edge3 = surface.edges
nodes1 = np.asfortranarray(nodes[:2, :])
nodes2 = np.asfortranarray(nodes[1:, :])
nodes3 = np.asfortranarray(nodes[(2, 0), :])
self._edges_helper(edge1, edge2, edge3,
nodes1, nodes2, nodes3)
def test_edges_property_cached(self):
surface = self._make_one_no_slots(self.ZEROS, 1)
# Create mock "edges" to be computed.
sentinel1 = mock.Mock(spec=['_copy'])
sentinel2 = mock.Mock(spec=['_copy'])
sentinel3 = mock.Mock(spec=['_copy'])
expected = sentinel1, sentinel2, sentinel3
surface._compute_edges = mock.Mock(return_value=expected)
# Make sure the "edges" when copied just return themselves.
sentinel1._copy.return_value = sentinel1
sentinel2._copy.return_value = sentinel2
sentinel3._copy.return_value = sentinel3
# Access the property and check the mocks.
self.assertEqual(surface.edges, expected)
surface._compute_edges.assert_any_call()
self.assertEqual(surface._compute_edges.call_count, 1)
sentinel1._copy.assert_called_once_with()
sentinel2._copy.assert_called_once_with()
sentinel3._copy.assert_called_once_with()
# Access again but make sure no more calls to _compute_edges().
self.assertEqual(surface.edges, expected)
self.assertEqual(surface._compute_edges.call_count, 1)
def test__verify_barycentric(self):
klass = self._get_target_class()
# Valid inside.
self.assertIsNone(klass._verify_barycentric(0.5, 0.25, 0.25))
# Valid boundary.
self.assertIsNone(klass._verify_barycentric(0.5, 0.0, 0.5))
self.assertIsNone(klass._verify_barycentric(0.25, 0.75, 0.0))
self.assertIsNone(klass._verify_barycentric(0.0, 0.0, 1.0))
self.assertIsNone(klass._verify_barycentric(0.0, 0.5, 0.5))
# Invalid sum.
with self.assertRaises(ValueError):
klass._verify_barycentric(0.5, 0.5, 0.5)
# Invalid lamdba1
with self.assertRaises(ValueError):
klass._verify_barycentric(-0.5, 0.75, 0.75)
# Invalid lamdba2.
with self.assertRaises(ValueError):
klass._verify_barycentric(0.75, -0.5, 0.75)
# Invalid lamdba3.
with self.assertRaises(ValueError):
klass._verify_barycentric(0.875, 0.25, -0.125)
def test_evaluate_barycentric(self):
surface = self._make_one(self.UNIT_TRIANGLE, 1, _copy=False)
lambda_vals = (0.25, 0.0, 0.75)
# Just make sure we call the helper.
patch = mock.patch('bezier._surface_helpers.evaluate_barycentric',
return_value=mock.sentinel.evaluated)
with patch as mocked:
result = surface.evaluate_barycentric(*lambda_vals)
self.assertIs(result, mock.sentinel.evaluated)
mocked.assert_called_once_with(
self.UNIT_TRIANGLE, 1, *lambda_vals)
def test_evaluate_barycentric_negative_weights_no_verify(self):
lambda_vals = (0.25, -0.5, 1.25)
nodes = np.asfortranarray([
[0.0, 0.0],
[1.0, 0.5],
[0.0, 1.25],
])
surface = self._make_one(nodes, 1)
self.assertLess(min(lambda_vals), 0.0)
result = surface.evaluate_barycentric(*lambda_vals, _verify=False)
expected = np.asfortranarray([[-0.5, 1.3125]])
self.assertEqual(result, expected)
def test_evaluate_barycentric_non_unity_weights_no_verify(self):
lambda_vals = (0.25, 0.25, 0.25)
nodes = np.asfortranarray([
[0.0, 0.0],
[1.0, 0.5],
[0.0, 1.25],
])
surface = self._make_one(nodes, 1)
self.assertNotEqual(sum(lambda_vals), 1.0)
result = surface.evaluate_barycentric(*lambda_vals, _verify=False)
expected = np.asfortranarray([[0.25, 0.4375]])
self.assertEqual(result, expected)
def test_evaluate_barycentric_multi_wrong_dimension(self):
surface = self._make_one(self.ZEROS, 1)
param_vals_1d = np.zeros((4,), order='F')
with self.assertRaises(ValueError):
surface.evaluate_barycentric_multi(param_vals_1d)
def _eval_bary_multi_helper(self, **kwargs):
nodes = np.asfortranarray([
[0.0, 0.0],
[2.0, 1.0],
[-3.0, 2.0],
])
surface = self._make_one(nodes, 1, _copy=False)
param_vals = np.asfortranarray([[1.0, 0.0, 0.0]])
patch = mock.patch(
'bezier._surface_helpers.evaluate_barycentric_multi',
return_value=mock.sentinel.evaluated)
with patch as mocked:
result = surface.evaluate_barycentric_multi(param_vals, **kwargs)
self.assertEqual(result, mock.sentinel.evaluated)
mocked.assert_called_once_with(nodes, 1, param_vals, 2)
def test_evaluate_barycentric_multi(self):
self._eval_bary_multi_helper()
def test_evaluate_barycentric_multi_no_verify(self):
self._eval_bary_multi_helper(_verify=False)
def test__verify_cartesian(self):
klass = self._get_target_class()
# Valid inside.
self.assertIsNone(klass._verify_cartesian(0.25, 0.25))
# Valid boundary.
self.assertIsNone(klass._verify_cartesian(0.0, 0.5))
self.assertIsNone(klass._verify_cartesian(0.75, 0.0))
self.assertIsNone(klass._verify_cartesian(0.0, 1.0))
self.assertIsNone(klass._verify_cartesian(0.5, 0.5))
# Invalid s.
with self.assertRaises(ValueError):
klass._verify_cartesian(-0.5, 0.75)
# Invalid t.
with self.assertRaises(ValueError):
klass._verify_cartesian(0.25, -0.125)
# Invalid (1 - s - t).
with self.assertRaises(ValueError):
klass._verify_cartesian(0.75, 0.75)
def test_evaluate_cartesian(self):
s_t_vals = (0.125, 0.125)
nodes = np.asfortranarray([
[1.0, 1.0],
[2.0, 1.5],
[1.0, 2.75],
])
surface = self._make_one(nodes, 1)
expected = np.asfortranarray([[1.125, 1.28125]])
result = surface.evaluate_cartesian(*s_t_vals)
self.assertEqual(result, expected)
def test_evaluate_cartesian_no_verify(self):
s_t_vals = (0.25, 1.0)
nodes = np.asfortranarray([
[1.0, 1.0],
[2.0, 1.5],
[1.0, 2.75],
])
surface = self._make_one(nodes, 1)
expected = np.asfortranarray([[1.25, 2.875]])
result = surface.evaluate_cartesian(*s_t_vals, _verify=False)
self.assertEqual(result, expected)
def test_evaluate_cartesian_calls_helper(self):
nodes = self.ZEROS
surface = self._make_one_no_slots(nodes, 1, _copy=False)
patch = mock.patch('bezier._surface_helpers.evaluate_barycentric',
return_value=mock.sentinel.point)
s_val = 0.25
t_val = 0.25
with patch as mocked:
result = surface.evaluate_cartesian(s_val, t_val)
self.assertIs(result, mock.sentinel.point)
mocked.assert_called_once_with(nodes, 1, 0.5, s_val, t_val)
def test_evaluate_cartesian_multi_wrong_dimension(self):
surface = self._make_one(self.ZEROS, 1)
param_vals_1d = np.zeros((4,), order='F')
with self.assertRaises(ValueError):
surface.evaluate_cartesian_multi(param_vals_1d)
def _eval_cartesian_multi_helper(self, **kwargs):
nodes = np.asfortranarray([
[2.0, 3.0],
[0.0, 2.0],
[3.0, 7.5],
])
surface = self._make_one(nodes, 1, _copy=False)
param_vals = np.asfortranarray([[1.0, 0.0]])
patch = mock.patch(
'bezier._surface_helpers.evaluate_cartesian_multi',
return_value=mock.sentinel.evaluated)
with patch as mocked:
result = surface.evaluate_cartesian_multi(param_vals, **kwargs)
self.assertEqual(result, mock.sentinel.evaluated)
mocked.assert_called_once_with(nodes, 1, param_vals, 2)
def test_evaluate_cartesian_multi(self):
self._eval_cartesian_multi_helper()
def test_evaluate_cartesian_multi_no_verify(self):
self._eval_cartesian_multi_helper(_verify=False)
def test_plot_wrong_dimension(self):
nodes = np.asfortranarray([
[0.0, 0.0, 0.0],
[1.0, 3.0, 4.0],
[2.0, 6.0, 9.0],
])
surface = self._make_one(nodes, 1, _copy=False)
with self.assertRaises(NotImplementedError):
surface.plot(32)
@mock.patch('bezier._plot_helpers.new_axis')
@mock.patch('bezier._plot_helpers.add_patch')
def test_plot_defaults(self, add_patch_mock, new_axis_mock):
ax = mock.Mock(spec=[])
new_axis_mock.return_value = ax
curve = self._make_one(self.UNIT_TRIANGLE, 1, _copy=False)
pts_per_edge = 16
result = curve.plot(pts_per_edge)
self.assertIs(result, ax)
# Verify mocks.
new_axis_mock.assert_called_once_with()
add_patch_mock.assert_called_once_with(
ax, None, pts_per_edge, *curve._edges)
@mock.patch('bezier._plot_helpers.new_axis')
@mock.patch('bezier._plot_helpers.add_patch')
def test_plot_explicit(self, add_patch_mock, new_axis_mock):
ax = mock.Mock(spec=['plot'])
color = (0.5, 0.5, 0.5)
curve = self._make_one(self.UNIT_TRIANGLE, 1, _copy=False)
pts_per_edge = 16
result = curve.plot(
pts_per_edge, color=color, ax=ax, with_nodes=True)
self.assertIs(result, ax)
# Verify mocks.
new_axis_mock.assert_not_called()
add_patch_mock.assert_called_once_with(
ax, color, pts_per_edge, *curve._edges)
# Check the call to ax.plot(). We can't assert_any_call()
# since == breaks on NumPy arrays.
self.assertEqual(ax.plot.call_count, 1)
call = ax.plot.mock_calls[0]
utils.check_plot_call(
self, call, self.UNIT_TRIANGLE,
color='black', marker='o', linestyle='None')
def _subdivide_helper(self, nodes, expected_a, expected_b,
expected_c, expected_d):
klass = self._get_target_class()
surface = klass.from_nodes(nodes)
surface_a, surface_b, surface_c, surface_d = surface.subdivide()
self.assertIsInstance(surface_a, klass)
self.assertEqual(surface_a._nodes, expected_a)
self.assertIsInstance(surface_b, klass)
self.assertEqual(surface_b._nodes, expected_b)
self.assertIsInstance(surface_c, klass)
self.assertEqual(surface_c._nodes, expected_c)
self.assertIsInstance(surface_d, klass)
self.assertEqual(surface_d._nodes, expected_d)
def _subdivide_points_check(self, surface):
# Using the exponent means that we will divide by
# 2**exp, which can be done without roundoff (for small
# enough exponents).
sub_surfaces = surface.subdivide()
ref_triangle = self.REF_TRIANGLE
quarter_a = 0.5 * ref_triangle
quarters = [
quarter_a,
np.asfortranarray([0.5, 0.5]) - quarter_a, # B
quarter_a + np.asfortranarray([0.5, 0.0]), # C
quarter_a + np.asfortranarray([0.0, 0.5]), # D
]
for sub_surface, quarter in zip(sub_surfaces, quarters):
# Make sure sub_surface(ref_triangle) == surface(quarter)
main_vals = surface.evaluate_cartesian_multi(quarter)
sub_vals = sub_surface.evaluate_cartesian_multi(ref_triangle)
self.assertEqual(main_vals, sub_vals)
def test_subdivide_linear(self):
expected_a = np.asfortranarray([
[0.0, 0.0],
[0.5, 0.0],
[0.0, 0.5],
])
expected_b = np.asfortranarray([
[0.5, 0.5],
[0.0, 0.5],
[0.5, 0.0],
])
expected_c = np.asfortranarray([
[0.5, 0.0],
[1.0, 0.0],
[0.5, 0.5],
])
expected_d = np.asfortranarray([
[0.0, 0.5],
[0.5, 0.5],
[0.0, 1.0],
])
self._subdivide_helper(self.UNIT_TRIANGLE, expected_a,
expected_b, expected_c, expected_d)
@slow
def test_subdivide_line_check_evaluate(self):
# Use a fixed seed so the test is deterministic and round
# the nodes to 8 bits of precision to avoid round-off.
nodes = utils.get_random_nodes(
shape=(3, 2), seed=123987, num_bits=8)
klass = self._get_target_class()
surface = klass.from_nodes(nodes)
self.assertEqual(surface.degree, 1)
self._subdivide_points_check(surface)
def test_subdivide_quadratic(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[0.5, 0.25],
[1.0, 0.0],
[0.5, 0.75],
[0.0, 1.0],
[0.0, 0.5],
])
expected_a = np.asfortranarray([
[0.0, 0.0],
[0.25, 0.125],
[0.5, 0.125],
[0.25, 0.375],
[0.25, 0.5],
[0.25, 0.5],
])
expected_b = np.asfortranarray([
[0.25, 0.625],
[0.25, 0.625],
[0.25, 0.5],
[0.5, 0.5],
[0.25, 0.5],
[0.5, 0.125],
])
expected_c = np.asfortranarray([
[0.5, 0.125],
[0.75, 0.125],
[1.0, 0.0],
[0.5, 0.5],
[0.5, 0.5],
[0.25, 0.625],
])
expected_d = np.asfortranarray([
[0.25, 0.5],
[0.25, 0.625],
[0.25, 0.625],
[0.25, 0.625],
[0.0, 0.75],
[0.0, 0.5],
])
self._subdivide_helper(nodes, expected_a, expected_b,
expected_c, expected_d)
@slow
def test_subdivide_quadratic_check_evaluate(self):
# Use a fixed seed so the test is deterministic and round
# the nodes to 8 bits of precision to avoid round-off.
nodes = utils.get_random_nodes(
shape=(6, 2), seed=45001, num_bits=8)
klass = self._get_target_class()
surface = klass.from_nodes(nodes)
self.assertEqual(surface.degree, 2)
self._subdivide_points_check(surface)
def test_subdivide_cubic(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[3.25, 1.5],
[6.5, 1.5],
[10.0, 0.0],
[1.5, 3.25],
[5.0, 5.0],
[10.0, 5.25],
[1.5, 6.5],
[5.25, 10.0],
[0.0, 10.0],
])
expected_a = np.asfortranarray([
[0.0, 0.0],
[1.625, 0.75],
[3.25, 1.125],
[4.90625, 1.125],
[0.75, 1.625],
[2.4375, 2.4375],
[4.3125, 2.875],
[1.125, 3.25],
[2.875, 4.3125],
[1.125, 4.90625],
])
expected_b = np.asfortranarray([
[6.96875, 6.96875],
[4.8125, 6.65625],
[2.875, 5.96875],
[1.125, 4.90625],
[6.65625, 4.8125],
[4.75, 4.75],
[2.875, 4.3125],
[5.96875, 2.875],
[4.3125, 2.875],
[4.90625, 1.125],
])
expected_c = np.asfortranarray([
[4.90625, 1.125],
[6.5625, 1.125],
[8.25, 0.75],
[10.0, 0.0],
[5.96875, 2.875],
[7.875, 2.9375],
[10.0, 2.625],
[6.65625, 4.8125],
[8.8125, 5.125],
[6.96875, 6.96875],
])
expected_d = np.asfortranarray([
[1.125, 4.90625],
[2.875, 5.96875],
[4.8125, 6.65625],
[6.96875, 6.96875],
[1.125, 6.5625],
[2.9375, 7.875],
[5.125, 8.8125],
[0.75, 8.25],
[2.625, 10.0],
[0.0, 10.0],
])
self._subdivide_helper(nodes, expected_a, expected_b,
expected_c, expected_d)
@slow
def test_subdivide_cubic_check_evaluate(self):
# Use a fixed seed so the test is deterministic and round
# the nodes to 8 bits of precision to avoid round-off.
nodes = utils.get_random_nodes(
shape=(10, 2), seed=346323, num_bits=8)
klass = self._get_target_class()
surface = klass.from_nodes(nodes)
self.assertEqual(surface.degree, 3)
self._subdivide_points_check(surface)
@slow
def test_subdivide_quartic_check_evaluate(self):
# Use a fixed seed so the test is deterministic and round
# the nodes to 8 bits of precision to avoid round-off.
nodes = utils.get_random_nodes(
shape=(15, 2), seed=741002, num_bits=8)
klass = self._get_target_class()
surface = klass.from_nodes(nodes)
self.assertEqual(surface.degree, 4)
self._subdivide_points_check(surface)
@slow
def test_subdivide_on_the_fly(self):
# Test for a degree where the subdivision is done on the fly
# rather than via a stored matrix.
nodes = utils.get_random_nodes(
shape=(21, 2), seed=446, num_bits=8)
# Use a fixed seed so the test is deterministic and round
# the nodes to 8 bits of precision to avoid round-off.
klass = self._get_target_class()
surface = klass.from_nodes(nodes)
self.assertEqual(surface.degree, 5)
self._subdivide_points_check(surface)
def test__compute_valid_valid_linear(self):
surface = self._make_one(self.UNIT_TRIANGLE, 1)
self.assertTrue(surface._compute_valid())
def test__compute_valid_invalid_linear(self):
nodes = np.asfortranarray([
[0.0, 0.0, 0.0],
[1.0, 2.0, 2.0],
[2.0, 4.0, 4.0],
])
surface = self._make_one(nodes, 1)
self.assertFalse(surface._compute_valid())
def test__compute_valid_quadratic_valid(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[0.5, -0.1875],
[1.0, 0.0],
[0.1875, 0.5],
[0.625, 0.625],
[0.0, 1.0],
])
surface = self._make_one(nodes, 2)
self.assertTrue(surface._compute_valid())
def test__compute_valid_quadratic_invalid(self):
# B(L1, L2, L3) = [L1^2 + L2^2, L2^2 + L3^2]
nodes = np.asfortranarray([
[1.0, 0.0],
[0.0, 0.0],
[1.0, 1.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 1.0],
])
surface = self._make_one(nodes, 2)
self.assertFalse(surface._compute_valid())
def test__compute_valid_quadratic_bad_dimension(self):
nodes = np.zeros((6, 3), order='F')
surface = self._make_one(nodes, 2)
with self.assertRaises(NotImplementedError):
surface._compute_valid()
def test__compute_valid_cubic_valid(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[1.0, 0.0],
[2.0, 0.0],
[3.0, 0.0],
[0.0, 1.0],
[1.0, 1.0],
[2.25, 1.25],
[0.0, 2.0],
[1.25, 2.25],
[0.0, 3.0],
])
surface = self._make_one(nodes, 3)
self.assertTrue(surface._compute_valid())
def test__compute_valid_cubic_invalid(self):
# B(L1, L2, L3) = [L1^3 + L2^3, L2^3 + L3^3]
nodes = np.asfortranarray([
[1.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[1.0, 1.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 0.0],
[0.0, 1.0],
])
surface = self._make_one(nodes, 3)
self.assertFalse(surface._compute_valid())
def test__compute_valid_bad_degree(self):
nodes = np.zeros((15, 2), order='F')
surface = self._make_one(nodes, 4)
with self.assertRaises(NotImplementedError):
surface._compute_valid()
def test_is_valid_property(self):
surface = self._make_one(self.UNIT_TRIANGLE, 1)
self.assertTrue(surface.is_valid)
def test_is_valid_property_cached(self):
surface = self._make_one_no_slots(self.ZEROS, 1)
compute_valid = mock.Mock()
surface._compute_valid = compute_valid
compute_valid.return_value = True
self.assertIsNone(surface._is_valid)
# Access the property and check the mocks.
self.assertTrue(surface.is_valid)
self.assertTrue(surface._is_valid)
compute_valid.assert_called_once_with()
# Access again but make sure no more calls to _compute_valid().
self.assertTrue(surface.is_valid)
self.assertEqual(compute_valid.call_count, 1)
def test___dict___property(self):
surface = self._make_one(self.UNIT_TRIANGLE, 1, _copy=False)
props_dict = surface.__dict__
expected = {
'_nodes': self.UNIT_TRIANGLE,
'_dimension': 2,
'_degree': 1,
'_base_x': 0.0,
'_base_y': 0.0,
'_width': 1.0,
'_area': None,
'_edges': None,
'_is_valid': None,
}
self.assertEqual(props_dict, expected)
# Check that modifying ``props_dict`` won't modify ``surface``.
expected['_width'] = 1.5
self.assertNotEqual(surface._width, expected['_width'])
def test_locate(self):
surface = self._make_one(self.QUADRATIC, 2)
point = surface.evaluate_cartesian(0.5, 0.25)
s, t = surface.locate(point)
self.assertEqual(s, 0.5)
self.assertEqual(t, 0.25)
def test_locate_no_verify(self):
surface = self._make_one(self.QUADRATIC, 2)
s = 0.125
t = 0.125
x_val, y_val = surface.evaluate_cartesian(s, t).flatten()
point = np.asfortranarray([
[x_val, y_val],
[np.nan, np.nan],
])
# Make sure it fails.
with self.assertRaises(ValueError):
surface.locate(point)
# Will only use the first row if _verify=False.
computed_s, computed_t = surface.locate(point, _verify=False)
self.assertEqual(s, computed_s)
self.assertEqual(t, computed_t)
def test_locate_bad_dimension(self):
nodes = np.asfortranarray([[0.0], [1.0], [2.0]])
surface = self._make_one(nodes, 1)
with self.assertRaises(NotImplementedError):
surface.locate(None)
def test_locate_bad_point(self):
surface = self._make_one(self.QUADRATIC, 2)
point1 = np.asfortranarray([0.0, 1.0])
point2 = np.asfortranarray([[0.0, 1.0, 2.0]])
with self.assertRaises(ValueError):
surface.locate(point1)
with self.assertRaises(ValueError):
surface.locate(point2)
def _basic_intersect_helper(self, **kwargs):
import bezier
surface1 = self._make_one(self.UNIT_TRIANGLE, 1)
# Similar triangle with overlapping square.
nodes = np.asfortranarray([
[0.5, 0.0],
[0.5, 1.0],
[-0.5, 1.0],
])
surface2 = self._make_one(nodes, 1)
intersections = surface1.intersect(surface2, **kwargs)
self.assertEqual(len(intersections), 1)
intersection = intersections[0]
self.assertIsInstance(intersection, bezier.CurvedPolygon)
all_edges = surface1._get_edges() + surface2._get_edges()
# Check which sides the intersectioned edges come from.
self.assertEqual(
[all_edges.index(edge.root) for edge in intersection._edges],
[5, 3, 1, 2])
self.assertEqual([edge.start for edge in intersection._edges],
[0.5, 0.0, 0.5, 0.0])
self.assertEqual([edge.end for edge in intersection._edges],
[1.0, 0.5, 1.0, 0.5])
def test_intersect(self):
self._basic_intersect_helper()
def test_intersect_no_verify(self):
self._basic_intersect_helper(_verify=False)
def test_intersect_algebraic(self):
from bezier import _intersection_helpers
strategy = _intersection_helpers.IntersectionStrategy.algebraic
self._basic_intersect_helper(strategy=strategy)
def test_intersect_disjoint_bbox(self):
surface1 = self._make_one(self.UNIT_TRIANGLE, 1)
nodes = np.asfortranarray([
[4.0, 0.0],
[5.0, 0.0],
[4.0, 1.0],
])
surface2 = self._make_one(nodes, 1)
intersections = surface1.intersect(surface2)
self.assertEqual(intersections, [])
def test_intersect_tangent_bbox(self):
surface1 = self._make_one(self.UNIT_TRIANGLE, 1)
nodes = np.asfortranarray([
[0.0, 0.0],
[0.0, 1.0],
[-1.0, 1.0],
])
surface2 = self._make_one(nodes, 1)
intersections = surface1.intersect(surface2)
self.assertEqual(intersections, [])
def test_intersect_non_surface(self):
surface = self._make_one(self.UNIT_TRIANGLE, 1)
with self.assertRaises(TypeError):
surface.intersect(object())
def test_intersect_unsupported_dimension(self):
surface1 = self._make_one(self.UNIT_TRIANGLE, 1)
nodes2 = np.zeros((3, 3), order='F')
surface2 = self._make_one(nodes2, 1)
with self.assertRaises(NotImplementedError):
surface1.intersect(surface2)
with self.assertRaises(NotImplementedError):
surface2.intersect(surface1)
def test_elevate_linear(self):
nodes = np.asfortranarray([
[0.0, 0.0],
[2.0, 1.0],
[-1.0, 2.0],
])
surface = self._make_one(nodes, 1)
elevated = surface.elevate()
expected = np.asfortranarray([
[0.0, 0.0],
[1.0, 0.5],
[2.0, 1.0],
[-0.5, 1.0],
[0.5, 1.5],
[-1.0, 2.0],
])
self.assertEqual(surface.degree, 1)
self.assertEqual(elevated.degree, 2)
self.assertEqual(elevated.nodes, expected)
main_vals = surface.evaluate_cartesian_multi(self.REF_TRIANGLE3)
sub_vals = elevated.evaluate_cartesian_multi(self.REF_TRIANGLE3)
self.assertEqual(main_vals, sub_vals)
def test_elevate_quadratic(self):
klass = self._get_target_class()
nodes = np.asfortranarray([[0.0], [6.0], [9.0], [0.0], [6.0], [-3.0]])
surface = klass.from_nodes(nodes)
elevated = surface.elevate()
expected = np.asfortranarray([
[0.0], [4.0], [7.0], [9.0], [0.0],
[4.0], [7.0], [-1.0], [3.0], [-3.0]])
self.assertEqual(surface.degree, 2)
self.assertEqual(elevated.degree, 3)
self.assertEqual(elevated.nodes, expected)
main_vals = surface.evaluate_cartesian_multi(self.REF_TRIANGLE3)
sub_vals = elevated.evaluate_cartesian_multi(self.REF_TRIANGLE3)
self.assertEqual(main_vals, sub_vals)
| [
"daniel.j.hermes@gmail.com"
] | daniel.j.hermes@gmail.com |
ee667b910b500ba5afa77f5fb347aa8a5094ab98 | 40f4908483b98fc4f370ff4f2d520e1284d045b3 | /immortals_repo/shared/tools/brass_api/translator/preprocess.py | 66bdc5df406a7b802fee3c8356a7ed5a65c0d91c | [] | no_license | TF-185/bbn-immortals | 7f70610bdbbcbf649f3d9021f087baaa76f0d8ca | e298540f7b5f201779213850291337a8bded66c7 | refs/heads/master | 2023-05-31T00:16:42.522840 | 2019-10-24T21:45:07 | 2019-10-24T21:45:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,063 | py | import shutil
import os
from brass_api.common.exception_class import BrassException
def create_preprocessor(xml_file):
'''
Returns a MDLPreprocessor or a VICTORYPreprocessor.
:param xml_file:
:return:
'''
if os.path.exists(xml_file):
infile = open(xml_file, 'r')
first_line = infile.readline().rstrip()
second_line = infile.readlines()[0].rstrip()
if 'MDL' in first_line:
return MDLPreprocessor(xml_file)
elif 'DAUInventory' in first_line:
return InventoryPreprocessor(xml_file)
elif 'VCL' in second_line:
return VICTORYPreprocessor(xml_file)
else:
return None
class Preprocessor(object):
def __init__(self, xml_file):
self.original_xml_file = xml_file
self.orientdb_xml_file = self.original_xml_file + '.orientdb'
self._schema = None
def create_orientdb_xml(self):
if os.path.exists(self.original_xml_file):
shutil.copy2(self.original_xml_file, self.orientdb_xml_file)
def remove_orientdb_xml(self):
if os.path.exists(self.orientdb_xml_file):
os.remove(self.orientdb_xml_file)
def preprocess_xml(self):
self.create_orientdb_xml()
class MDLPreprocessor(Preprocessor):
def __init__(self, xml_file):
super().__init__(xml_file)
def preprocess_xml(self):
super().preprocess_xml()
self.remove_mdl_root_tag_attr()
self.validate_mdl(self.orientdb_xml_file, self._schema)
def add_mdl_root_tag_attr(self, mdl_schema):
"""
Creates a string for <MDLRoot> that includes tmats xsd files mdl schema xsd files.
These attributes are removed during importing because they caused xml parsing to fail.
:param str mdl_schema: name of the mdl schema file
:return: a <MDLRoot> string containing all the includes and correct MDL schema version
"""
mdl_root_str = '<MDLRoot xmlns="http://www.wsmr.army.mil/RCC/schemas/MDL"\
xmlns:tmatsCommon="http://www.wsmr.army.mil/RCC/schemas/TMATS/TmatsCommonTypes"\
xmlns:tmatsP="http://www.wsmr.army.mil/RCC/schemas/TMATS/TmatsPGroup"\
xmlns:tmatsD="http://www.wsmr.army.mil/RCC/schemas/TMATS/TmatsDGroup"\
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\
xsi:schemaLocation="http://www.wsmr.army.mil/RCC/schemas/MDL {0}">'.format(mdl_schema)
return mdl_root_str
def remove_mdl_root_tag_attr(self):
"""
Removes the xml attributes of the <MDLRoot> in the xmlfile
as all the inclusions of tmats xsd files causes parsing to fail.
The modified xml is saved inline.
:param str xmlfile: name and path of xml file
:return: the string "<MDLRoot>"
"""
import re
mdl_schema = None
mdl_root_str = None
# get MDL content
with open(self.orientdb_xml_file, 'r') as f:
content = f.read()
# find/replace MDLRoot element
mdl_root_str = re.search('(<MDLRoot[^>]*>)', content, flags = re.MULTILINE).group(1)
content = content.replace(mdl_root_str, '<MDLRoot>', 1)
# write out simplified MDLRoot
with open(self.orientdb_xml_file, 'w') as f:
f.write(content)
print(f"Root str: {mdl_root_str}")
matchObj = re.search('MDL_(.*)xsd', mdl_root_str)
if matchObj is not None:
mdl_schema = matchObj.group(0)
self._schema = mdl_schema
def validate_mdl(self, xmlfile_path, mdl_schema):
"""
Validates a xml file given by xmlfile_path against the mdl_schema.
Todo: Still to need to make this work for the MDL exporter.
:param str xmlfile_path: name and path of xml file to validate
:param str mdl_schema: name of mdl_schema
:return Boolean status: result of validation (True or False)
:raises BrassException: throws any exception encountered
"""
from lxml import etree
BASE_DIR = os.path.dirname(os.path.realpath(__file__))
mdl_schema = "{0}/../include/mdl_xsd/{1}".format(BASE_DIR, mdl_schema)
status = None
try:
schema_doc = etree.parse(mdl_schema)
schema = etree.XMLSchema(schema_doc)
with open(xmlfile_path) as f:
doc = etree.parse(f)
status = schema.validate(doc)
except etree.XMLSchemaParseError as e:
status = False
raise BrassException('Invalid MDL Schema File: ' + e.message, 'xml_util.validate_mdl')
except etree.DocumentInvalid as e:
status = False
raise BrassException('Invalide MDL XML File: ' + e.message, 'xml_util.validate_mdl')
finally:
return status
class InventoryPreprocessor(Preprocessor):
def __init__(self, xml_file):
super().__init__(xml_file)
def preprocess_xml(self):
super().preprocess_xml()
class VICTORYPreprocessor(Preprocessor):
def __init__(self, xml_file):
super().__init__(xml_file)
def preprocess_xml(self):
super().preprocess_xml()
self.remove_vcl_root_tag_attr()
self.remove_vcl_namespace()
def remove_vcl_namespace(self):
"""
Removes vcl namespace from the root, configGroup, and ConfigItem keys in xml
"""
import fileinput
for lines in fileinput.FileInput(self.orientdb_xml_file, inplace=1):
stripped_line = lines.strip()
if stripped_line.startswith('<vcl:'):
lines = lines.replace('<vcl:', '<', 1)
print(lines)
elif stripped_line.startswith('</vcl:'):
lines = lines.replace('</vcl:', '</')
print(lines)
else:
print(lines, end='')
def remove_vcl_root_tag_attr(self):
"""
Removes the xml attributes of the <MDLRoot> in the xmlfile
as all the inclusions of tmats xsd files causes parsing to fail.
The modified xml is saved inline.
:param str xmlfile: name and path of xml file
:return: the string "<MDLRoot>"
"""
import fileinput, re
mdl_schema = None
mdl_root_str = None
for lines in fileinput.FileInput(self.orientdb_xml_file, inplace=1):
if lines.startswith('<vcl:VCL'):
print('<VCL>')
mdl_root_str = lines
else:
print(lines, end='')
matchObj = re.search('VICTORYConfigurationLanguage(.*)xsd', mdl_root_str)
if matchObj is not None:
mdl_schema = matchObj.group(0)
self._schema = mdl_schema
def add_vcl_root_tag_attr(self, vcl_schema):
"""
Creates a string for <MDLRoot> that includes tmats xsd files mdl schema xsd files.
These attributes are removed during importing because they caused xml parsing to fail.
:param str vcl_schema: name of the mdl schema file
:return: a <MDLRoot> string containing all the includes and correct MDL schema version
"""
vcl_root_str = '<VCL xmlns:vcl="http://www.victory-standards.org/Schemas/VICTORYConfigurationLanguage.xsd"\
xmlns:vmt="http://www.victory-standards.org/Schemas/VICTORYManagementTypes.xsd"\
xmlns:vst="http://www.victory-standards.org/Schemas/VICTORYSharedTypes.xsd"\
xmlns:tns="http://www.w3.org/2003/05/soap-envelope"\
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\
xsi:schemaLocation="http://www.victory-standards.org/Schemas/VICTORYConfigurationLanguage.xsd file:/Volumes/Projects/10-23360_USAF_ROME/Shared/Scenarios/VICTORY%20Challenge%20Problem/Scenario%201/Scenario%201%20-%2020180328/VICTORYConfigurationLanguage.xsd">'
return vcl_root_str
| [
"austin.wellman@raytheon.com"
] | austin.wellman@raytheon.com |
92c8823b00b04d9fc44af80494f25691189c9ac9 | e874aed81b6ae75467262423cf5fc4c6e4a31c64 | /dsn_brand/models/product.py | 5c89834b32d725eec4daaf28e432bcf1c7359c5c | [] | no_license | disna-sistemas/odoomrp-wip | 9dc14704e4aad00f95313d5465802fca13809b1a | 96958f442ae0e5274c8d7ebb8f2d1b636a16d48a | refs/heads/master | 2020-12-06T23:27:22.321202 | 2015-11-20T09:57:24 | 2015-11-20T09:57:24 | 26,594,685 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,113 | py | # -*- coding: utf-8 -*-
##############################################################################
#
# Author: Nicolas Bessi, Guewen Baconnier
# Copyright 2012-2014 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp import models, fields
class partner(models.Model):
_inherit = "product.template"
brand_id = fields.Many2one('brand', string='Brand')
| [
"sistemas@disna.com"
] | sistemas@disna.com |
fc1b9caaa29a6d3d45e8e7ae156ad413c812ad6b | 4fe0ed5e592641b272aa2167ae591155a9cad416 | /modelisation/bode.py | b35acf103938b896adcc4aefd7e07feb4b7045cf | [] | no_license | AlexandreMarcotte/test_code | cf715caee730cfdafa7cf97bd011ac15443872f3 | 07e115055befd55d4598dd8a4b33bbdd00ba6f5a | refs/heads/master | 2021-06-07T05:06:12.085390 | 2019-05-06T23:45:38 | 2019-05-06T23:45:38 | 137,810,297 | 0 | 0 | null | 2021-06-01T23:44:40 | 2018-06-18T21:50:39 | Python | UTF-8 | Python | false | false | 248 | py | from scipy import signal
import matplotlib.pyplot as plt
# K / (s + 1)
s1 = signal.lti([1], [1, 1])
w, mag, phase = signal.bode(s1)
plt.semilogx(w, mag) # Bode magnitude plot
plt.figure()
plt.semilogx(w, phase) # Bode phase plot
plt.show()
| [
"alexandre.marcotte.1094@gmail.com"
] | alexandre.marcotte.1094@gmail.com |
3988de9b05bb4de8c6283873e59d050a739f9944 | caf6ae544fce3b332b40a03462c0646a32c913e1 | /master/python/swagger_client/apis/blockchain_tools_api.py | 680c114f7dc670ecf7bd4cee1e4a6111af9c9d0b | [
"Apache-2.0"
] | permissive | coinsecure/plugins | 827eb0ce03a6a23b4819a618ee47600161bec1c7 | ad6f08881020c268b530d5242d9deed8d2ec84de | refs/heads/master | 2020-05-30T07:17:56.255709 | 2016-11-27T22:22:23 | 2016-11-27T22:22:23 | 63,496,663 | 3 | 5 | null | null | null | null | UTF-8 | Python | false | false | 11,683 | py | # coding: utf-8
"""
Coinsecure Api Documentation
To generate an API key, please visit <a href='https://coinsecure.in/api' target='_new' class='homeapi'>https://coinsecure.in/api</a>.<br>Guidelines for use can be accessed at <a href='https://api.coinsecure.in/v1/guidelines'>https://api.coinsecure.in/v1/guidelines</a>.<br>Programming Language Libraries for use can be accessed at <a href='https://api.coinsecure.in/v1/code-libraries'>https://api.coinsecure.in/v1/code-libraries</a>.
OpenAPI spec version: beta
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import sys
import os
import re
# python 2 and python 3 compatibility library
from six import iteritems
from ..configuration import Configuration
from ..api_client import ApiClient
class BlockchainToolsApi(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
config = Configuration()
if api_client:
self.api_client = api_client
else:
if not config.api_client:
config.api_client = ApiClient()
self.api_client = config.api_client
def v1bitcoinsearch_address(self, any, **kwargs):
"""
Search Bitcoin Blockchain
Searches for a Bitcoin Address, Netki Wallet Name or Transaction ID.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.v1bitcoinsearch_address(any, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str any: (required)
:param str accept: JSON, XML or CSV can be returned (Optional)
:return: ValidAddressSearchDataResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.v1bitcoinsearch_address_with_http_info(any, **kwargs)
else:
(data) = self.v1bitcoinsearch_address_with_http_info(any, **kwargs)
return data
def v1bitcoinsearch_address_with_http_info(self, any, **kwargs):
"""
Search Bitcoin Blockchain
Searches for a Bitcoin Address, Netki Wallet Name or Transaction ID.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.v1bitcoinsearch_address_with_http_info(any, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str any: (required)
:param str accept: JSON, XML or CSV can be returned (Optional)
:return: ValidAddressSearchDataResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['any', 'accept']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method v1bitcoinsearch_address" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'any' is set
if ('any' not in params) or (params['any'] is None):
raise ValueError("Missing the required parameter `any` when calling `v1bitcoinsearch_address`")
collection_formats = {}
resource_path = '/v1/bitcoin/search/{any}'.replace('{format}', 'json')
path_params = {}
if 'any' in params:
path_params['any'] = params['any']
query_params = {}
header_params = {}
if 'accept' in params:
header_params['accept'] = params['accept']
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json', 'application/xml', 'application/csv'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidAddressSearchDataResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def v1bitcoinsearch_txid(self, txid, **kwargs):
"""
Get Confirmations
Searches for a Number of Confirmations on a transaction ID.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.v1bitcoinsearch_txid(txid, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str txid: (required)
:param str accept: JSON, XML or CSV can be returned (Optional)
:return: ConfirmDataResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.v1bitcoinsearch_txid_with_http_info(txid, **kwargs)
else:
(data) = self.v1bitcoinsearch_txid_with_http_info(txid, **kwargs)
return data
def v1bitcoinsearch_txid_with_http_info(self, txid, **kwargs):
"""
Get Confirmations
Searches for a Number of Confirmations on a transaction ID.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.v1bitcoinsearch_txid_with_http_info(txid, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str txid: (required)
:param str accept: JSON, XML or CSV can be returned (Optional)
:return: ConfirmDataResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['txid', 'accept']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method v1bitcoinsearch_txid" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'txid' is set
if ('txid' not in params) or (params['txid'] is None):
raise ValueError("Missing the required parameter `txid` when calling `v1bitcoinsearch_txid`")
collection_formats = {}
resource_path = '/v1/bitcoin/search/confirmation/{txid}'.replace('{format}', 'json')
path_params = {}
if 'txid' in params:
path_params['txid'] = params['txid']
query_params = {}
header_params = {}
if 'accept' in params:
header_params['accept'] = params['accept']
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json', 'application/xml', 'application/csv'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ConfirmDataResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| [
"vivek0@users.noreply.github.com"
] | vivek0@users.noreply.github.com |
320fa0b8e1cd361fb2c02a73d04ab4d0162b7774 | 3b76f9f2317e1eb2cd9553cab0b4dd01ce216ad5 | /Alphabet rangoli3.py | 090099b26486b72357847a57c59364e9d98edbc9 | [] | no_license | KaziMotiour/Hackerrank-problem-solve-with-python | f12ea978c5274a90745545d3d2c9fb6a4f9b5230 | 798ce2a6c2b63ea24dc28a923bfee4b528fb2b5e | refs/heads/master | 2022-05-26T19:45:44.808451 | 2020-05-05T09:44:40 | 2020-05-05T09:44:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 229 | py | import string
size=int(input())
width=4*size-3
idth = 4 * size - 3
alpha = string.ascii_lowercase
for i in list(range(size))[::-1] + list(range(1, size)):
print('-'.join(alpha[size-1:i:-1] + alpha[i:size]).center(width, '-')) | [
"kmatiour30@gmail.com"
] | kmatiour30@gmail.com |
8a1329049224ec9c3a0acf0f983281006c36463b | 5a1a695829a2d1dbf4daa0736f0fbd6feffc7e63 | /baekjoon/g_10026(적록색약).py | 5a69233805d812eb26ed8b940a6dc7e424887b84 | [] | no_license | juyi212/Algorithm_study | f5d263c5329c994a457bbe897e5e1405d2b1d67a | f225cc593a50b74686111f654f7133707a1d1310 | refs/heads/master | 2023-03-21T20:02:36.138688 | 2021-03-16T14:16:40 | 2021-03-16T14:16:40 | 325,008,034 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,393 | py | import sys
from collections import deque
def bfs(ch, r, c, what):
q = deque()
q.append((r, c))
while q:
r, c = q.popleft()
if r - 1 > -1 and (what == ch[r-1][c]):
q.append((r-1, c))
ch[r-1][c] = 0
if r + 1 < n and (what == ch[r+1][c]):
q.append((r+1, c))
ch[r+1][c] = 0
if c - 1 > -1 and (what == ch[r][c-1]):
q.append((r, c-1))
ch[r][c-1] = 0
if c + 1 < n and (what == ch[r][c+1]):
q.append((r, c+1))
ch[r][c+1] = 0
# 구역
# 적록색약이 아닌 사람과 적록색약인 사람이 그림을 봤을 때의 구역 수를 구하기
# bfs
# 2*N^2 -> 1초... 충분하겠고만
n = int(input())
drawing = [list(sys.stdin.readline().rstrip()) for _ in range(n)]
blind = [[0] * n for _ in range(n)]
# 적록색약 배열
for i in range(n):
for j in range(n):
if drawing[i][j] == 'R' or drawing[i][j] == 'G':
blind[i][j] = 1
else:
blind[i][j] = 2
not_blind = 0
y_blind = 0
for i in range(n):
for j in range(n):
if drawing[i][j] != 0:
not_blind += 1
bfs(drawing, i, j, drawing[i][j])
if blind[i][j] != 0:
y_blind += 1
bfs(blind, i, j, blind[i][j])
print(not_blind, end=' ')
print(y_blind)
'''
5
BBBBB
BBGBG
BGGGG
BBRRR
RRRRR
'''
| [
"dea8307@naver.com"
] | dea8307@naver.com |
8a7a5b1f37c6e4c6f4a183e669093eed73020be6 | 75dcb56e318688499bdab789262839e7f58bd4f6 | /_algorithms_challenges/codingbat/codingbat-python-master/Warmup-1/missing_char.py | 1657233e06d51e88f8838d6d6cbeac4873329ee1 | [] | no_license | syurskyi/Algorithms_and_Data_Structure | 9a1f358577e51e89c862d0f93f373b7f20ddd261 | 929dde1723fb2f54870c8a9badc80fc23e8400d3 | refs/heads/master | 2023-02-22T17:55:55.453535 | 2022-12-23T03:15:00 | 2022-12-23T03:15:00 | 226,243,987 | 4 | 1 | null | 2023-02-07T21:01:45 | 2019-12-06T04:14:10 | Jupyter Notebook | UTF-8 | Python | false | false | 460 | py | # Given a non-empty string and an int n,
# return a new string where the char at index n has been removed.
# The value of n will be a valid index of a char in the original string
# (i.e. n will be in the range 0..len(str)-1 inclusive).
# missing_char('kitten', 1) → 'ktten'
# missing_char('kitten', 0) → 'itten'
# missing_char('kitten', 4) → 'kittn'
def missing_char(str, n):
part1 = str[:n]
part2 = str[n+1:]
return part1 + part2
| [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
87d219594395c1111f8271801f083877da440e94 | 9dba8607dce414f9905700d7a4ac44668de5e1f1 | /ave_SR/PS_101_3_curvo/results_losSup/verifications/verifRsl_normStrsULS.py | 34d37e62711c0bb619151fb422cb0a033c903b72 | [] | no_license | anaiortega/XCmodels | c0463ffe38531578aee281456e88528882255cd7 | e9b8c2f996a21b8aa3314242f3cc12b0e391b5df | refs/heads/master | 2023-08-16T22:44:01.168775 | 2023-08-14T18:15:10 | 2023-08-14T18:15:10 | 141,140,177 | 3 | 3 | null | null | null | null | UTF-8 | Python | false | false | 523,273 | py | preprocessor.getElementHandler.getElement(4189).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.398895647305,N= 28.6216417834,My= -18.1789544892,Mz= 0.0))
preprocessor.getElementHandler.getElement(4189).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU704", CF=0.788295070662,N= 526.774968314,My= 4.40373979986,Mz= 0.0))
preprocessor.getElementHandler.getElement(4190).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.294095086984,N= 11.9946977166,My= 19.8319768995,Mz= 0.0))
preprocessor.getElementHandler.getElement(4190).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU704", CF=1.0667933442,N= 639.305989173,My= 12.721592254,Mz= 0.0))
preprocessor.getElementHandler.getElement(4191).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.461174981133,N= 91.169072932,My= -16.3199886012,Mz= 0.0))
preprocessor.getElementHandler.getElement(4191).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU704", CF=0.672315914008,N= 449.998236793,My= 3.68911983434,Mz= 0.0))
preprocessor.getElementHandler.getElement(4192).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.3486498345,N= 80.9747644813,My= 18.0586228087,Mz= 0.0))
preprocessor.getElementHandler.getElement(4192).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU704", CF=0.825849500066,N= 497.46199155,My= 9.61410139874,Mz= 0.0))
preprocessor.getElementHandler.getElement(4193).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.442847080628,N= 116.479334806,My= -13.2581900445,Mz= 0.0))
preprocessor.getElementHandler.getElement(4193).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.576997043505,N= 386.375389943,My= 3.14986510469,Mz= 0.0))
preprocessor.getElementHandler.getElement(4194).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.360098277168,N= 121.449071534,My= 15.3269055028,Mz= 0.0))
preprocessor.getElementHandler.getElement(4194).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.664541031831,N= 398.917942369,My= 7.86284943659,Mz= 0.0))
preprocessor.getElementHandler.getElement(4195).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.415064396662,N= 114.799282156,My= -11.9570562012,Mz= 0.0))
preprocessor.getElementHandler.getElement(4195).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.490326040239,N= 327.933487477,My= 2.71387782884,Mz= 0.0))
preprocessor.getElementHandler.getElement(4196).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.342995171143,N= 137.625094599,My= 12.6072202623,Mz= 0.0))
preprocessor.getElementHandler.getElement(4196).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.545067286093,N= 326.58628321,My= 6.50554383291,Mz= 0.0))
preprocessor.getElementHandler.getElement(4197).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.39264136726,N= 127.110508424,My= -9.74505500823,Mz= 0.0))
preprocessor.getElementHandler.getElement(4197).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.404199646791,N= 271.204205143,My= 2.15697824885,Mz= 0.0))
preprocessor.getElementHandler.getElement(4198).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.332036530207,N= 136.003702263,My= 11.9524912218,Mz= 0.0))
preprocessor.getElementHandler.getElement(4198).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.441171791744,N= 264.345928439,My= 5.26456478556,Mz= 0.0))
preprocessor.getElementHandler.getElement(4199).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.373380078699,N= 136.260043916,My= -7.92393087693,Mz= 0.0))
preprocessor.getElementHandler.getElement(4199).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.320564791461,N= 216.490467174,My= 1.58177603528,Mz= 0.0))
preprocessor.getElementHandler.getElement(4200).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.321653980294,N= 146.00143707,My= 10.2853352907,Mz= 0.0))
preprocessor.getElementHandler.getElement(4200).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.347313797273,N= 207.446746495,My= 4.20523702264,Mz= 0.0))
preprocessor.getElementHandler.getElement(4201).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.358345892962,N= 143.941063905,My= -6.45537985429,Mz= 0.0))
preprocessor.getElementHandler.getElement(4201).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.240232799183,N= 164.060669102,My= 1.01796506822,Mz= 0.0))
preprocessor.getElementHandler.getElement(4202).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.313203632093,N= 153.785704017,My= 8.96046690271,Mz= 0.0))
preprocessor.getElementHandler.getElement(4202).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.260505521235,N= 154.575946703,My= 3.24802472434,Mz= 0.0))
preprocessor.getElementHandler.getElement(4203).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.347272203696,N= 151.497191518,My= -5.20795553656,Mz= 0.0))
preprocessor.getElementHandler.getElement(4203).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.167371671419,N= 114.012064688,My= 0.473583874652,Mz= 0.0))
preprocessor.getElementHandler.getElement(4204).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.307304597008,N= 160.63731471,My= 7.90693933214,Mz= 0.0))
preprocessor.getElementHandler.getElement(4204).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.178922136349,N= 104.382297403,My= 2.39484693327,Mz= 0.0))
preprocessor.getElementHandler.getElement(4205).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.339366102127,N= 157.833462563,My= -4.23515776627,Mz= 0.0))
preprocessor.getElementHandler.getElement(4205).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU734", CF=0.109899987062,N= 66.4390807134,My= -0.518057393981,Mz= 0.0))
preprocessor.getElementHandler.getElement(4206).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.303771348032,N= 167.11208799,My= 7.06072922015,Mz= 0.0))
preprocessor.getElementHandler.getElement(4206).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.102063265972,N= 56.6560201803,My= 1.63145698535,Mz= 0.0))
preprocessor.getElementHandler.getElement(4207).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.33385111908,N= 163.813311943,My= -3.42039573524,Mz= 0.0))
preprocessor.getElementHandler.getElement(4207).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0498569458887,N= -213.443202252,My= -3.24031800139,Mz= 0.0))
preprocessor.getElementHandler.getElement(4208).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.302178143437,N= 173.443925457,My= 6.36945370489,Mz= 0.0))
preprocessor.getElementHandler.getElement(4208).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0505763797219,N= -227.121258678,My= -2.46771573913,Mz= 0.0))
preprocessor.getElementHandler.getElement(4209).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.330126926889,N= 169.524668453,My= -2.72412797444,Mz= 0.0))
preprocessor.getElementHandler.getElement(4209).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.063595073845,N= -277.230523609,My= -3.74872925932,Mz= 0.0))
preprocessor.getElementHandler.getElement(4210).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.302071970625,N= 179.706302647,My= 5.79329508115,Mz= 0.0))
preprocessor.getElementHandler.getElement(4210).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0649990697711,N= -291.797175354,My= -3.17849673169,Mz= 0.0))
preprocessor.getElementHandler.getElement(4211).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.327708821388,N= 174.99924906,My= -2.11785748249,Mz= 0.0))
preprocessor.getElementHandler.getElement(4211).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0765845577647,N= -337.302138874,My= -4.2479659041,Mz= 0.0))
preprocessor.getElementHandler.getElement(4212).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.303041200581,N= 185.889557399,My= 5.30300965004,Mz= 0.0))
preprocessor.getElementHandler.getElement(4212).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0786341156879,N= -352.89836147,My= -3.85376096307,Mz= 0.0))
preprocessor.getElementHandler.getElement(4213).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.326207199451,N= 180.229944576,My= -1.58152466425,Mz= 0.0))
preprocessor.getElementHandler.getElement(4213).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0887567211445,N= -393.443545083,My= -4.72741749123,Mz= 0.0))
preprocessor.getElementHandler.getElement(4214).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.304729979364,N= 191.939294964,My= 4.87749505897,Mz= 0.0))
preprocessor.getElementHandler.getElement(4214).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0914230156939,N= -410.174723752,My= -4.48967847942,Mz= 0.0))
preprocessor.getElementHandler.getElement(4215).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.325356705838,N= 185.182672463,My= -1.10129634096,Mz= 0.0))
preprocessor.getElementHandler.getElement(4215).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.100045980686,N= -445.427836586,My= -5.17865728354,Mz= 0.0))
preprocessor.getElementHandler.getElement(4216).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.306834560462,N= 197.7770221,My= 4.50164912108,Mz= 0.0))
preprocessor.getElementHandler.getElement(4216).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.103305349898,N= -463.367328026,My= -5.08234331215,Mz= 0.0))
preprocessor.getElementHandler.getElement(4217).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.325070868518,N= 189.80625774,My= -0.667944926193,Mz= 0.0))
preprocessor.getElementHandler.getElement(4217).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.110387870154,N= -493.013700217,My= -5.59481474673,Mz= 0.0))
preprocessor.getElementHandler.getElement(4218).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.309096333257,N= 203.31243148,My= 4.16474471354,Mz= 0.0))
preprocessor.getElementHandler.getElement(4218).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.114218438626,N= -512.207732874,My= -5.62768970266,Mz= 0.0))
preprocessor.getElementHandler.getElement(4219).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.311758565829,N= 194.04131671,My= 0.444191425733,Mz= 0.0))
preprocessor.getElementHandler.getElement(4219).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.119717933627,N= -535.945109408,My= -5.97016095644,Mz= 0.0))
preprocessor.getElementHandler.getElement(4220).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.311297212564,N= 208.452132465,My= 3.8592999825,Mz= 0.0))
preprocessor.getElementHandler.getElement(4220).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.124096369651,N= -556.415123739,My= -6.12132847814,Mz= 0.0))
preprocessor.getElementHandler.getElement(4221).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.31338130501,N= 197.827989656,My= 0.697342718678,Mz= 0.0))
preprocessor.getElementHandler.getElement(4221).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.127971531819,N= -573.953449874,My= -6.29986756175,Mz= 0.0))
preprocessor.getElementHandler.getElement(4222).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.313258937843,N= 213.106515648,My= 3.58040402009,Mz= 0.0))
preprocessor.getElementHandler.getElement(4222).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.132869198748,N= -595.694118416,My= -6.55840015343,Mz= 0.0))
preprocessor.getElementHandler.getElement(4223).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.314847139012,N= 201.111556882,My= 0.91364310694,Mz= 0.0))
preprocessor.getElementHandler.getElement(4223).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.135084575484,N= -606.762397729,My= -6.57992006063,Mz= 0.0))
preprocessor.getElementHandler.getElement(4224).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.297348753361,N= 217.194016248,My= 3.32546146447,Mz= 0.0))
preprocessor.getElementHandler.getElement(4224).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.140462773706,N= -629.734578515,My= -6.93351982352,Mz= 0.0))
preprocessor.getElementHandler.getElement(4225).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.316141586182,N= 203.845156696,My= 1.08965281696,Mz= 0.0))
preprocessor.getElementHandler.getElement(4225).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.140995022526,N= -634.095613552,My= -6.80711576972,Mz= 0.0))
preprocessor.getElementHandler.getElement(4226).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.307251375675,N= 220.641257958,My= 3.09419027,Mz= 0.0))
preprocessor.getElementHandler.getElement(4226).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.146799875887,N= -658.214219909,My= -7.24102736745,Mz= 0.0))
preprocessor.getElementHandler.getElement(4227).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.317280272682,N= 205.990445529,My= 1.2210516024,Mz= 0.0))
preprocessor.getElementHandler.getElement(4227).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.145645216946,N= -655.688207598,My= -6.97910358814,Mz= 0.0))
preprocessor.getElementHandler.getElement(4228).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.315522918963,N= 223.380713965,My= 2.8883662416,Mz= 0.0))
preprocessor.getElementHandler.getElement(4228).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.151802880332,N= -680.807009904,My= -7.4753915837,Mz= 0.0))
preprocessor.getElementHandler.getElement(4229).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.318296515877,N= 207.518523309,My= 1.30340280311,Mz= 0.0))
preprocessor.getElementHandler.getElement(4229).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.148985431878,N= -671.303354326,My= -7.0945024441,Mz= 0.0))
preprocessor.getElementHandler.getElement(4230).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.322007074407,N= 225.352272156,My= 2.71112507819,Mz= 0.0))
preprocessor.getElementHandler.getElement(4230).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.155398811751,N= -697.20493386,My= -7.63152940456,Mz= 0.0))
preprocessor.getElementHandler.getElement(4231).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.319230067836,N= 208.412103093,My= 1.33296623067,Mz= 0.0))
preprocessor.getElementHandler.getElement(4231).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.150977950511,N= -680.752916304,My= -7.15292275783,Mz= 0.0))
preprocessor.getElementHandler.getElement(4232).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.326564954483,N= 226.512114328,My= 2.56611971095,Mz= 0.0))
preprocessor.getElementHandler.getElement(4232).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.157528006682,N= -707.154064753,My= -7.70544727393,Mz= 0.0))
preprocessor.getElementHandler.getElement(4233).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.320109179991,N= 208.666783728,My= 1.30779604151,Mz= 0.0))
preprocessor.getElementHandler.getElement(4233).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.151600321884,N= -683.916508364,My= -7.15478175978,Mz= 0.0))
preprocessor.getElementHandler.getElement(4234).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.329075358793,N= 226.841348762,My= 2.45828558714,Mz= 0.0))
preprocessor.getElementHandler.getElement(4234).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.158153173825,N= -710.489359104,My= -7.69513866128,Mz= 0.0))
preprocessor.getElementHandler.getElement(4235).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.319005339189,N= 208.289301558,My= 1.33418825652,Mz= 0.0))
preprocessor.getElementHandler.getElement(4235).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.150977950492,N= -680.752916381,My= -7.15292274455,Mz= 0.0))
preprocessor.getElementHandler.getElement(4236).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.32628936269,N= 226.345842696,My= 2.56620215341,Mz= 0.0))
preprocessor.getElementHandler.getElement(4236).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.157528006653,N= -707.154064826,My= -7.70544725699,Mz= 0.0))
preprocessor.getElementHandler.getElement(4237).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.317890728407,N= 207.294000332,My= 1.30535797589,Mz= 0.0))
preprocessor.getElementHandler.getElement(4237).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.148985431876,N= -671.30335448,My= -7.09450243141,Mz= 0.0))
preprocessor.getElementHandler.getElement(4238).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.321534269739,N= 225.050546142,My= 2.70977857494,Mz= 0.0))
preprocessor.getElementHandler.getElement(4238).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.15539881174,N= -697.204934007,My= -7.63152938847,Mz= 0.0))
preprocessor.getElementHandler.getElement(4239).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.316756006405,N= 205.699956524,My= 1.22354045963,Mz= 0.0))
preprocessor.getElementHandler.getElement(4239).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.145645216961,N= -655.68820783,My= -6.979103576,Mz= 0.0))
preprocessor.getElementHandler.getElement(4240).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.31493066255,N= 222.994913309,My= 2.88597084109,Mz= 0.0))
preprocessor.getElementHandler.getElement(4240).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.151802880337,N= -680.807010126,My= -7.47539156842,Mz= 0.0))
preprocessor.getElementHandler.getElement(4241).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.315570067765,N= 203.529228732,My= 1.09243310065,Mz= 0.0))
preprocessor.getElementHandler.getElement(4241).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.140995022558,N= -634.095613863,My= -6.80711575809,Mz= 0.0))
preprocessor.getElementHandler.getElement(4242).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.306624426046,N= 220.227934299,My= 3.09120976566,Mz= 0.0))
preprocessor.getElementHandler.getElement(4242).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.146799875908,N= -658.214220206,My= -7.24102735292,Mz= 0.0))
preprocessor.getElementHandler.getElement(4243).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.314291743526,N= 200.806122208,My= 0.916487758485,Mz= 0.0))
preprocessor.getElementHandler.getElement(4243).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.135084575532,N= -606.76239812,My= -6.57992004942,Mz= 0.0))
preprocessor.getElementHandler.getElement(4244).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.296758463934,N= 216.801161258,My= 3.32232099157,Mz= 0.0))
preprocessor.getElementHandler.getElement(4244).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.140462773744,N= -629.734578888,My= -6.9335198097,Mz= 0.0))
preprocessor.getElementHandler.getElement(4245).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.312887194895,N= 197.558536622,My= 0.700079294514,Mz= 0.0))
preprocessor.getElementHandler.getElement(4245).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.127971531884,N= -573.953450346,My= -6.29986755094,Mz= 0.0))
preprocessor.getElementHandler.getElement(4246).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.312795700408,N= 212.765982093,My= 3.5774146524,Mz= 0.0))
preprocessor.getElementHandler.getElement(4246).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.132869198803,N= -595.694118867,My= -6.55840014032,Mz= 0.0))
preprocessor.getElementHandler.getElement(4247).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.311349930372,N= 193.821355917,My= 0.446714815407,Mz= 0.0))
preprocessor.getElementHandler.getElement(4247).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.119717933709,N= -535.945109963,My= -5.97016094596,Mz= 0.0))
preprocessor.getElementHandler.getElement(4248).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.310921797908,N= 208.178766983,My= 3.85664063702,Mz= 0.0))
preprocessor.getElementHandler.getElement(4248).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.124096369724,N= -556.41512427,My= -6.12132846566,Mz= 0.0))
preprocessor.getElementHandler.getElement(4249).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.324767593019,N= 189.639057681,My= -0.666429218079,Mz= 0.0))
preprocessor.getElementHandler.getElement(4249).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.110387870253,N= -493.013700858,My= -5.59481473648,Mz= 0.0))
preprocessor.getElementHandler.getElement(4250).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.308811438165,N= 203.107645785,My= 4.16248459472,Mz= 0.0))
preprocessor.getElementHandler.getElement(4250).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.114218438715,N= -512.207733486,My= -5.62768969078,Mz= 0.0))
preprocessor.getElementHandler.getElement(4251).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.325137237925,N= 185.064502602,My= -1.09994419933,Mz= 0.0))
preprocessor.getElementHandler.getElement(4251).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.100045980803,N= -445.427837315,My= -5.17865727347,Mz= 0.0))
preprocessor.getElementHandler.getElement(4252).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.306631532837,N= 197.633869286,My= 4.49978563699,Mz= 0.0))
preprocessor.getElementHandler.getElement(4252).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.103305350005,N= -463.367328722,My= -5.08234330086,Mz= 0.0))
preprocessor.getElementHandler.getElement(4253).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.326058702131,N= 180.153344296,My= -1.58032940777,Mz= 0.0))
preprocessor.getElementHandler.getElement(4253).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0887567212795,N= -393.443545904,My= -4.72741748121,Mz= 0.0))
preprocessor.getElementHandler.getElement(4254).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.304594893432,N= 191.846984202,My= 4.87598860432,Mz= 0.0))
preprocessor.getElementHandler.getElement(4254).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0914230158194,N= -410.174724534,My= -4.48967846866,Mz= 0.0))
preprocessor.getElementHandler.getElement(4255).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.32761718336,N= 174.955534901,My= -2.11680945335,Mz= 0.0))
preprocessor.getElementHandler.getElement(4255).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.076584557918,N= -337.30213979,My= -4.24796589399,Mz= 0.0))
preprocessor.getElementHandler.getElement(4256).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.302959047373,N= 185.836569192,My= 5.30180749353,Mz= 0.0))
preprocessor.getElementHandler.getElement(4256).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0786341158316,N= -352.898362339,My= -3.85376095279,Mz= 0.0))
preprocessor.getElementHandler.getElement(4257).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.330078257231,N= 169.505503569,My= -2.7232176253,Mz= 0.0))
preprocessor.getElementHandler.getElement(4257).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0635950740169,N= -277.230524624,My= -3.74872924891,Mz= 0.0))
preprocessor.getElementHandler.getElement(4258).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.302028993354,N= 179.682127162,My= 5.7923444792,Mz= 0.0))
preprocessor.getElementHandler.getElement(4258).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0649990699336,N= -291.797176314,My= -3.17849672182,Mz= 0.0))
preprocessor.getElementHandler.getElement(4259).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.333833407671,N= 163.811497468,My= -3.41961400929,Mz= 0.0))
preprocessor.getElementHandler.getElement(4259).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0498569460793,N= -213.44320337,My= -3.24031799041,Mz= 0.0))
preprocessor.getElementHandler.getElement(4260).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.302162832274,N= 173.439802317,My= 6.3687075482,Mz= 0.0))
preprocessor.getElementHandler.getElement(4260).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.050576379903,N= -227.121259729,My= -2.4677157296,Mz= 0.0))
preprocessor.getElementHandler.getElement(4261).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.339369649392,N= 157.843206443,My= -4.23449543981,Mz= 0.0))
preprocessor.getElementHandler.getElement(4261).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0354444921212,N= -146.145411304,My= -2.73629296111,Mz= 0.0))
preprocessor.getElementHandler.getElement(4262).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.303774639158,N= 167.121149837,My= 7.06014756931,Mz= 0.0))
preprocessor.getElementHandler.getElement(4262).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0354211849032,N= -159.105354726,My= -1.72510324982,Mz= 0.0))
preprocessor.getElementHandler.getElement(4263).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.347289556929,N= 151.514077553,My= -5.20740254156,Mz= 0.0))
preprocessor.getElementHandler.getElement(4263).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU704", CF=0.0403790875998,N= 8.24029955205,My= -1.6874824437,Mz= 0.0))
preprocessor.getElementHandler.getElement(4264).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.307319673636,N= 160.65443013,My= 7.90648911403,Mz= 0.0))
preprocessor.getElementHandler.getElement(4264).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU594", CF=0.022849748505,N= -2.6593596767,My= 1.68187486527,Mz= 0.0))
preprocessor.getElementHandler.getElement(4265).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.358371548857,N= 143.961872771,My= -6.45492511297,Mz= 0.0))
preprocessor.getElementHandler.getElement(4265).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.12549204805,N= 69.472188381,My= -1.22071428092,Mz= 0.0))
preprocessor.getElementHandler.getElement(4266).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.313225565035,N= 153.807196824,My= 8.9601210876,Mz= 0.0))
preprocessor.getElementHandler.getElement(4266).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.115402442798,N= 56.9572690459,My= 2.497539594,Mz= 0.0))
preprocessor.getElementHandler.getElement(4267).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.373410098111,N= 136.282512896,My= -7.92356282822,Mz= 0.0))
preprocessor.getElementHandler.getElement(4267).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.219136423832,N= 133.117752732,My= -0.969929299974,Mz= 0.0))
preprocessor.getElementHandler.getElement(4268).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.321679325938,N= 146.024772066,My= 10.2850719958,Mz= 0.0))
preprocessor.getElementHandler.getElement(4268).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.21923108763,N= 120.862530483,My= 3.58102174102,Mz= 0.0))
preprocessor.getElementHandler.getElement(4269).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.392672994057,N= 127.133077652,My= -9.7447635284,Mz= 0.0))
preprocessor.getElementHandler.getElement(4269).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.297147050938,N= 199.638579527,My= 1.56152706679,Mz= 0.0))
preprocessor.getElementHandler.getElement(4270).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.332062936319,N= 136.027175247,My= 11.9522930018,Mz= 0.0))
preprocessor.getElementHandler.getElement(4270).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.330948780675,N= 189.308122573,My= 4.77580525623,Mz= 0.0))
preprocessor.getElementHandler.getElement(4271).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.415094779948,N= 114.820825617,My= -11.9568355253,Mz= 0.0))
preprocessor.getElementHandler.getElement(4271).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.401969655248,N= 268.742375237,My= 2.23382246433,Mz= 0.0))
preprocessor.getElementHandler.getElement(4272).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.341397164861,N= 121.182792987,My= 13.9826329804,Mz= 0.0))
preprocessor.getElementHandler.getElement(4272).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.456635043726,N= 257.352445972,My= 6.94340961897,Mz= 0.0))
preprocessor.getElementHandler.getElement(4273).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.434384056385,N= 106.792698431,My= -13.6270801569,Mz= 0.0))
preprocessor.getElementHandler.getElement(4273).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.512395204962,N= 338.312776964,My= 3.23864935422,Mz= 0.0))
preprocessor.getElementHandler.getElement(4274).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.344224338108,N= 107.964028868,My= 15.3675971054,Mz= 0.0))
preprocessor.getElementHandler.getElement(4274).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.606981443367,N= 350.000093532,My= 8.50209089046,Mz= 0.0))
preprocessor.getElementHandler.getElement(4275).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.439470698057,N= 84.6726900469,My= -15.7358878056,Mz= 0.0))
preprocessor.getElementHandler.getElement(4275).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.63525463495,N= 420.317563981,My= 3.93377216396,Mz= 0.0))
preprocessor.getElementHandler.getElement(4276).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.32718112032,N= 72.3618222552,My= 17.2653096585,Mz= 0.0))
preprocessor.getElementHandler.getElement(4276).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.7915909127,N= 465.903968733,My= 10.2190864347,Mz= 0.0))
preprocessor.getElementHandler.getElement(4277).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.370174817527,N= 23.5398971096,My= -17.1005043269,Mz= 0.0))
preprocessor.getElementHandler.getElement(4277).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.767957816148,N= 508.958015213,My= 4.67859070774,Mz= 0.0))
preprocessor.getElementHandler.getElement(4278).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.266094868152,N= 1.90151477098,My= 18.6490664768,Mz= 0.0))
preprocessor.getElementHandler.getElement(4278).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=1.055695679,N= 622.962943882,My= 13.4800632245,Mz= 0.0))
preprocessor.getElementHandler.getElement(4279).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.266433665662,N= 153.092810934,My= -0.771105763644,Mz= 0.0))
preprocessor.getElementHandler.getElement(4279).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU704", CF=1.10031780937,N= 685.530977036,My= 10.7194114027,Mz= 0.0))
preprocessor.getElementHandler.getElement(4280).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.385706191047,N= 249.104073008,My= 5.6144493329,Mz= 0.0))
preprocessor.getElementHandler.getElement(4280).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.11775272562,N= 676.097486116,My= 12.7546199595,Mz= 0.0))
preprocessor.getElementHandler.getElement(4281).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.618592098529,N= 362.525751444,My= 12.3612666671,Mz= 0.0))
preprocessor.getElementHandler.getElement(4281).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.18301404462,N= 707.957511997,My= 14.199165783,Mz= 0.0))
preprocessor.getElementHandler.getElement(4282).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.43874003565,N= 206.547333448,My= -5.25734812638,Mz= 0.0))
preprocessor.getElementHandler.getElement(4282).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU704", CF=0.82972709801,N= 554.048276153,My= 4.67319770297,Mz= 0.0))
preprocessor.getElementHandler.getElement(4283).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.374818228429,N= 246.981028217,My= 5.01042339877,Mz= 0.0))
preprocessor.getElementHandler.getElement(4283).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.887594101991,N= 582.986302459,My= 5.89085384395,Mz= 0.0))
preprocessor.getElementHandler.getElement(4284).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.491602424393,N= 277.769649984,My= 10.7615695286,Mz= 0.0))
preprocessor.getElementHandler.getElement(4284).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.958629679284,N= 616.207556559,My= 7.59718702263,Mz= 0.0))
preprocessor.getElementHandler.getElement(4285).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.512008838577,N= 203.960919716,My= -9.37225768812,Mz= 0.0))
preprocessor.getElementHandler.getElement(4285).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.657536655107,N= 444.876352716,My= 3.16960042398,Mz= 0.0))
preprocessor.getElementHandler.getElement(4286).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.337310250702,N= 230.318365271,My= 3.77814994862,Mz= 0.0))
preprocessor.getElementHandler.getElement(4286).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.720710917961,N= 482.197416477,My= 3.97239498604,Mz= 0.0))
preprocessor.getElementHandler.getElement(4287).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.46038522198,N= 224.555545425,My= 13.307122208,Mz= 0.0))
preprocessor.getElementHandler.getElement(4287).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.786434096338,N= 506.554129267,My= 6.13749925981,Mz= 0.0))
preprocessor.getElementHandler.getElement(4288).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.539347885089,N= 216.4454598,My= -9.73355091111,Mz= 0.0))
preprocessor.getElementHandler.getElement(4288).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.529420797763,N= 361.527450587,My= 2.24581384703,Mz= 0.0))
preprocessor.getElementHandler.getElement(4289).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.314341926833,N= 215.555090057,My= 2.24613414574,Mz= 0.0))
preprocessor.getElementHandler.getElement(4289).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.591013101591,N= 392.196424471,My= 3.55399017766,Mz= 0.0))
preprocessor.getElementHandler.getElement(4290).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.467789728501,N= 222.762769963,My= 14.0116586534,Mz= 0.0))
preprocessor.getElementHandler.getElement(4290).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.642252926856,N= 405.556590435,My= 5.75932852025,Mz= 0.0))
preprocessor.getElementHandler.getElement(4291).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.547099596486,N= 221.253476484,My= -9.72528560218,Mz= 0.0))
preprocessor.getElementHandler.getElement(4291).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.422607791393,N= 290.173416955,My= 1.64696903141,Mz= 0.0))
preprocessor.getElementHandler.getElement(4292).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.311485810267,N= 210.901992564,My= 1.98230378586,Mz= 0.0))
preprocessor.getElementHandler.getElement(4292).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.47706724892,N= 313.704156608,My= 3.13327943163,Mz= 0.0))
preprocessor.getElementHandler.getElement(4293).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.465256878605,N= 222.6931518,My= 13.8326378799,Mz= 0.0))
preprocessor.getElementHandler.getElement(4293).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.517899240349,N= 324.803910917,My= 4.84900716702,Mz= 0.0))
preprocessor.getElementHandler.getElement(4294).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.541289613671,N= 222.074316428,My= -9.3452333495,Mz= 0.0))
preprocessor.getElementHandler.getElement(4294).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.332896138994,N= 205.743441767,My= -1.1269661792,Mz= 0.0))
preprocessor.getElementHandler.getElement(4295).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.310309702682,N= 221.037639879,My= 2.96239456522,Mz= 0.0))
preprocessor.getElementHandler.getElement(4295).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.37234984578,N= 243.032097907,My= 2.61216832541,Mz= 0.0))
preprocessor.getElementHandler.getElement(4296).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.459024374098,N= 222.905477463,My= 13.3573075514,Mz= 0.0))
preprocessor.getElementHandler.getElement(4296).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.403773672964,N= 249.271576898,My= 4.14421419151,Mz= 0.0))
preprocessor.getElementHandler.getElement(4297).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.528598668325,N= 221.901247445,My= -8.68670400205,Mz= 0.0))
preprocessor.getElementHandler.getElement(4297).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.2714018812,N= 168.32132489,My= -0.861327821063,Mz= 0.0))
preprocessor.getElementHandler.getElement(4298).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.314668339685,N= 222.516179256,My= 2.85709879086,Mz= 0.0))
preprocessor.getElementHandler.getElement(4298).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.275638133524,N= 178.690665005,My= 2.0456321127,Mz= 0.0))
preprocessor.getElementHandler.getElement(4299).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.450676294863,N= 225.399125754,My= 12.5201128154,Mz= 0.0))
preprocessor.getElementHandler.getElement(4299).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.298792753591,N= 180.599030311,My= 3.42167603342,Mz= 0.0))
preprocessor.getElementHandler.getElement(4300).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.512923701836,N= 221.805153178,My= -7.86306253877,Mz= 0.0))
preprocessor.getElementHandler.getElement(4300).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.192939145316,N= 113.844852213,My= -1.18454716214,Mz= 0.0))
preprocessor.getElementHandler.getElement(4301).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.31965429958,N= 224.135725176,My= 2.73016240201,Mz= 0.0))
preprocessor.getElementHandler.getElement(4301).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.18594215385,N= 119.516483777,My= 1.47426330935,Mz= 0.0))
preprocessor.getElementHandler.getElement(4302).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.44148185899,N= 228.42370817,My= 11.5727975814,Mz= 0.0))
preprocessor.getElementHandler.getElement(4302).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.202101796165,N= 117.827300868,My= 2.71226261485,Mz= 0.0))
preprocessor.getElementHandler.getElement(4303).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.496468154216,N= 222.218394,My= -6.95352401842,Mz= 0.0))
preprocessor.getElementHandler.getElement(4303).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.119129033047,N= 62.7039358621,My= -1.47824217937,Mz= 0.0))
preprocessor.getElementHandler.getElement(4304).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.32543654427,N= 226.172733353,My= 2.59730038959,Mz= 0.0))
preprocessor.getElementHandler.getElement(4304).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.102435225207,N= 64.7633567869,My= 0.911252768606,Mz= 0.0))
preprocessor.getElementHandler.getElement(4305).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.432337410096,N= 231.979321763,My= 10.5809423501,Mz= 0.0))
preprocessor.getElementHandler.getElement(4305).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.112827030876,N= 60.1889032623,My= 2.02796623692,Mz= 0.0))
preprocessor.getElementHandler.getElement(4306).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.480356286898,N= 223.242197718,My= -6.00892752453,Mz= 0.0))
preprocessor.getElementHandler.getElement(4306).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0555136083723,N= -228.506778164,My= -4.31561340482,Mz= 0.0))
preprocessor.getElementHandler.getElement(4307).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.332021151992,N= 228.717049642,My= 2.46629617167,Mz= 0.0))
preprocessor.getElementHandler.getElement(4307).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0553050456601,N= -230.25392606,My= -4.09795225254,Mz= 0.0))
preprocessor.getElementHandler.getElement(4308).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.423826092345,N= 236.067621999,My= 9.58706802844,Mz= 0.0))
preprocessor.getElementHandler.getElement(4308).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0533617486762,N= -239.042758974,My= -2.64897353248,Mz= 0.0))
preprocessor.getElementHandler.getElement(4309).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.465122944906,N= 224.838776079,My= -5.06096155279,Mz= 0.0))
preprocessor.getElementHandler.getElement(4309).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0697903294305,N= -296.183187921,My= -4.7366199742,Mz= 0.0))
preprocessor.getElementHandler.getElement(4310).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.339308660576,N= 231.7473664,My= 2.34067563438,Mz= 0.0))
preprocessor.getElementHandler.getElement(4310).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0705698406389,N= -300.376404502,My= -4.72109984409,Mz= 0.0))
preprocessor.getElementHandler.getElement(4311).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.416237377902,N= 240.636881057,My= 8.61705148758,Mz= 0.0))
preprocessor.getElementHandler.getElement(4311).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0696434871004,N= -311.390038702,My= -3.50280038381,Mz= 0.0))
preprocessor.getElementHandler.getElement(4312).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.450966924262,N= 226.903786555,My= -4.12928707216,Mz= 0.0))
preprocessor.getElementHandler.getElement(4312).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0832485555852,N= -360.027028368,My= -5.12982773283,Mz= 0.0))
preprocessor.getElementHandler.getElement(4313).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.347138637067,N= 235.178781619,My= 2.22156101314,Mz= 0.0))
preprocessor.getElementHandler.getElement(4313).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.084905926131,N= -366.264600231,My= -5.30386380815,Mz= 0.0))
preprocessor.getElementHandler.getElement(4314).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.409647405059,N= 245.591346955,My= 7.68515478979,Mz= 0.0))
preprocessor.getElementHandler.getElement(4314).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0849175846032,N= -379.2276223,My= -4.30628159094,Mz= 0.0))
preprocessor.getElementHandler.getElement(4315).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.437891030978,N= 229.30321379,My= -3.22575222655,Mz= 0.0))
preprocessor.getElementHandler.getElement(4315).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0958494866274,N= -419.872418338,My= -5.49269742354,Mz= 0.0))
preprocessor.getElementHandler.getElement(4316).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.355322532409,N= 238.891218737,My= 2.10843776874,Mz= 0.0))
preprocessor.getElementHandler.getElement(4316).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0983106661385,N= -427.902074894,My= -5.84647124135,Mz= 0.0))
preprocessor.getElementHandler.getElement(4317).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.404027703875,N= 251.438079664,My= 6.74327259678,Mz= 0.0))
preprocessor.getElementHandler.getElement(4317).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0992048412936,N= -442.657116373,My= -5.0597980385,Mz= 0.0))
preprocessor.getElementHandler.getElement(4318).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.425787792201,N= 231.89160135,My= -2.3573503135,Mz= 0.0))
preprocessor.getElementHandler.getElement(4318).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.107545535075,N= -475.519912451,My= -5.82180517601,Mz= 0.0))
preprocessor.getElementHandler.getElement(4319).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.363662955662,N= 242.747093993,My= 1.99969434935,Mz= 0.0))
preprocessor.getElementHandler.getElement(4319).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.110764317295,N= -485.204162529,My= -6.34764998486,Mz= 0.0))
preprocessor.getElementHandler.getElement(4320).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.399214282448,N= 256.726138561,My= 5.91109602997,Mz= 0.0))
preprocessor.getElementHandler.getElement(4320).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.112507879168,N= -501.696335045,My= -5.76301072153,Mz= 0.0))
preprocessor.getElementHandler.getElement(4321).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.414498113422,N= 234.523074694,My= -1.52837104278,Mz= 0.0))
preprocessor.getElementHandler.getElement(4321).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.118282166524,N= -526.739858234,My= -6.11331169275,Mz= 0.0))
preprocessor.getElementHandler.getElement(4322).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.371962201056,N= 246.601835008,My= 1.89310511693,Mz= 0.0))
preprocessor.getElementHandler.getElement(4322).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.122233765445,N= -538.026977742,My= -6.80541177262,Mz= 0.0))
preprocessor.getElementHandler.getElement(4323).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.395015555303,N= 261.99027659,My= 5.1260704016,Mz= 0.0))
preprocessor.getElementHandler.getElement(4323).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.124816130526,N= -556.295561827,My= -6.41557879113,Mz= 0.0))
preprocessor.getElementHandler.getElement(4324).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.407674733852,N= 220.209370713,My= -2.41573474683,Mz= 0.0))
preprocessor.getElementHandler.getElement(4324).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.127997202557,N= -573.269473769,My= -6.36291215197,Mz= 0.0))
preprocessor.getElementHandler.getElement(4325).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.380018950772,N= 250.311985966,My= 1.78674325141,Mz= 0.0))
preprocessor.getElementHandler.getElement(4325).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.132670194388,N= -586.164655513,My= -7.21634250882,Mz= 0.0))
preprocessor.getElementHandler.getElement(4326).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.391234481539,N= 267.076670178,My= 4.3877388075,Mz= 0.0))
preprocessor.getElementHandler.getElement(4326).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.136102872119,N= -606.329701259,My= -7.0165919246,Mz= 0.0))
preprocessor.getElementHandler.getElement(4327).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.403006010771,N= 222.681490231,My= -1.95210826766,Mz= 0.0))
preprocessor.getElementHandler.getElement(4327).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.13662077781,N= -614.8115475,My= -6.56591972627,Mz= 0.0))
preprocessor.getElementHandler.getElement(4328).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.387613897526,N= 253.75118403,My= 1.68121195198,Mz= 0.0))
preprocessor.getElementHandler.getElement(4328).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.14200681805,N= -629.355331221,My= -7.57424194088,Mz= 0.0))
preprocessor.getElementHandler.getElement(4329).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.384521637427,N= 252.206462109,My= 5.24618962524,Mz= 0.0))
preprocessor.getElementHandler.getElement(4329).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.146308557487,N= -651.573883842,My= -7.55985639791,Mz= 0.0))
preprocessor.getElementHandler.getElement(4330).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.398984976586,N= 224.929731194,My= -1.54240526959,Mz= 0.0))
preprocessor.getElementHandler.getElement(4330).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.144076236246,N= -651.035276492,My= -6.71755567964,Mz= 0.0))
preprocessor.getElementHandler.getElement(4331).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.394543757372,N= 256.835174884,My= 1.58004030975,Mz= 0.0))
preprocessor.getElementHandler.getElement(4331).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.150166576029,N= -667.305528652,My= -7.87128540508,Mz= 0.0))
preprocessor.getElementHandler.getElement(4332).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.398758233935,N= 276.163899139,My= 3.09520010772,Mz= 0.0))
preprocessor.getElementHandler.getElement(4332).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.155383137772,N= -691.793313124,My= -8.04370676547,Mz= 0.0))
preprocessor.getElementHandler.getElement(4333).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.395645960937,N= 226.877584754,My= -1.18668079366,Mz= 0.0))
preprocessor.getElementHandler.getElement(4333).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.150281229567,N= -681.5708258,My= -6.8138049329,Mz= 0.0))
preprocessor.getElementHandler.getElement(4334).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.400771420294,N= 259.522419812,My= 1.48150951221,Mz= 0.0))
preprocessor.getElementHandler.getElement(4334).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.157045339611,N= -699.664196287,My= -8.09338115489,Mz= 0.0))
preprocessor.getElementHandler.getElement(4335).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.413971103539,N= 280.13019302,My= 2.61980401735,Mz= 0.0))
preprocessor.getElementHandler.getElement(4335).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.163378023049,N= -726.890585045,My= -8.49603060455,Mz= 0.0))
preprocessor.getElementHandler.getElement(4336).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.392747141936,N= 228.460859016,My= -0.884787779102,Mz= 0.0))
preprocessor.getElementHandler.getElement(4336).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.155151043026,N= -705.994587638,My= -6.85387264818,Mz= 0.0))
preprocessor.getElementHandler.getElement(4337).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.406421063214,N= 261.75052142,My= 1.37317747125,Mz= 0.0))
preprocessor.getElementHandler.getElement(4337).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.162486707091,N= -725.90631866,My= -8.21918820853,Mz= 0.0))
preprocessor.getElementHandler.getElement(4338).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.426360210216,N= 283.72367134,My= 2.26547786271,Mz= 0.0))
preprocessor.getElementHandler.getElement(4338).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.170134956632,N= -756.403661798,My= -8.88988347308,Mz= 0.0))
preprocessor.getElementHandler.getElement(4339).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.390142279322,N= 229.628688468,My= -0.63653490359,Mz= 0.0))
preprocessor.getElementHandler.getElement(4339).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.158599110065,N= -723.844736022,My= -6.83918544701,Mz= 0.0))
preprocessor.getElementHandler.getElement(4340).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.411470251365,N= 263.379269961,My= 1.24360736071,Mz= 0.0))
preprocessor.getElementHandler.getElement(4340).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.166332671602,N= -745.299765487,My= -8.24274246723,Mz= 0.0))
preprocessor.getElementHandler.getElement(4341).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.436919510548,N= 286.524410668,My= 1.9398151064,Mz= 0.0))
preprocessor.getElementHandler.getElement(4341).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.174955144478,N= -778.767858457,My= -9.06953006941,Mz= 0.0))
preprocessor.getElementHandler.getElement(4342).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.387768239503,N= 230.344250943,My= -0.441788735855,Mz= 0.0))
preprocessor.getElementHandler.getElement(4342).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.160550871633,N= -734.71597975,My= -6.77155378999,Mz= 0.0))
preprocessor.getElementHandler.getElement(4343).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.415811872547,N= 264.275936601,My= 1.08667870798,Mz= 0.0))
preprocessor.getElementHandler.getElement(4343).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.16846778548,N= -757.155488479,My= -8.17160141665,Mz= 0.0))
preprocessor.getElementHandler.getElement(4344).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.445263089108,N= 288.018246378,My= 1.61751615036,Mz= 0.0))
preprocessor.getElementHandler.getElement(4344).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.177398088985,N= -792.291664638,My= -8.99131896068,Mz= 0.0))
preprocessor.getElementHandler.getElement(4345).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.385588025037,N= 230.585258934,My= -0.300535136493,Mz= 0.0))
preprocessor.getElementHandler.getElement(4345).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.160971415693,N= -738.364129301,My= -6.65603222023,Mz= 0.0))
preprocessor.getElementHandler.getElement(4346).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.419553157905,N= 264.437465557,My= 0.896238916752,Mz= 0.0))
preprocessor.getElementHandler.getElement(4346).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.168818243897,N= -761.128477273,My= -8.0032137319,Mz= 0.0))
preprocessor.getElementHandler.getElement(4347).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.449870031857,N= 288.267301314,My= 1.38754305957,Mz= 0.0))
preprocessor.getElementHandler.getElement(4347).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.177860092465,N= -796.697000615,My= -8.83367456593,Mz= 0.0))
preprocessor.getElementHandler.getElement(4348).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.387768239136,N= 230.34425092,My= -0.441788717821,Mz= 0.0))
preprocessor.getElementHandler.getElement(4348).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.160550871604,N= -734.715979822,My= -6.77155377296,Mz= 0.0))
preprocessor.getElementHandler.getElement(4349).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.415238045595,N= 263.926518004,My= 1.08656001873,Mz= 0.0))
preprocessor.getElementHandler.getElement(4349).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.16846778545,N= -757.155488547,My= -8.17160139947,Mz= 0.0))
preprocessor.getElementHandler.getElement(4350).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.444507359884,N= 287.539653051,My= 1.61569674808,Mz= 0.0))
preprocessor.getElementHandler.getElement(4350).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.177398088956,N= -792.291664701,My= -8.99131894455,Mz= 0.0))
preprocessor.getElementHandler.getElement(4351).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.390142278894,N= 229.628688421,My= -0.636534884365,Mz= 0.0))
preprocessor.getElementHandler.getElement(4351).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.158599110051,N= -723.844736165,My= -6.8391854304,Mz= 0.0))
preprocessor.getElementHandler.getElement(4352).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.410473566478,N= 262.765308045,My= 1.24276398019,Mz= 0.0))
preprocessor.getElementHandler.getElement(4352).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.166332671587,N= -745.299765624,My= -8.24274245064,Mz= 0.0))
preprocessor.getElementHandler.getElement(4353).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.43567260757,N= 285.702103203,My= 1.93386273858,Mz= 0.0))
preprocessor.getElementHandler.getElement(4353).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.174955144464,N= -778.767858584,My= -9.06953005411,Mz= 0.0))
preprocessor.getElementHandler.getElement(4354).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.392747141443,N= 228.460858944,My= -0.884787758577,Mz= 0.0))
preprocessor.getElementHandler.getElement(4354).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.155151043027,N= -705.994587855,My= -6.85387263191,Mz= 0.0))
preprocessor.getElementHandler.getElement(4355).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.405213224403,N= 261.003935853,My= 1.3719248737,Mz= 0.0))
preprocessor.getElementHandler.getElement(4355).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.16248670709,N= -725.906318864,My= -8.21918819247,Mz= 0.0))
preprocessor.getElementHandler.getElement(4356).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.424925124143,N= 282.757796553,My= 2.25686878494,Mz= 0.0))
preprocessor.getElementHandler.getElement(4356).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.170134956633,N= -756.403661989,My= -8.88988345856,Mz= 0.0))
preprocessor.getElementHandler.getElement(4357).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.395645960375,N= 226.877584656,My= -1.1866807717,Mz= 0.0))
preprocessor.getElementHandler.getElement(4357).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.150281229583,N= -681.57082609,My= -6.81380491689,Mz= 0.0))
preprocessor.getElementHandler.getElement(4358).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.399558289598,N= 258.771607325,My= 1.48016507081,Mz= 0.0))
preprocessor.getElementHandler.getElement(4358).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.157045339625,N= -699.664196561,My= -8.09338113929,Mz= 0.0))
preprocessor.getElementHandler.getElement(4359).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.4126132692,N= 279.199947179,My= 2.61018000431,Mz= 0.0))
preprocessor.getElementHandler.getElement(4359).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.163378023064,N= -726.8905853,My= -8.49603059075,Mz= 0.0))
preprocessor.getElementHandler.getElement(4360).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.398984975937,N= 224.929731069,My= -1.54240524603,Mz= 0.0))
preprocessor.getElementHandler.getElement(4360).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.144076236278,N= -651.035276857,My= -6.71755566383,Mz= 0.0))
preprocessor.getElementHandler.getElement(4361).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.393468842116,N= 256.169824536,My= 1.57884181112,Mz= 0.0))
preprocessor.getElementHandler.getElement(4361).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.150166576058,N= -667.305528997,My= -7.87128538988,Mz= 0.0))
preprocessor.getElementHandler.getElement(4362).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.397633108071,N= 275.377689589,My= 3.08583506543,Mz= 0.0))
preprocessor.getElementHandler.getElement(4362).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.155383137802,N= -691.793313446,My= -8.04370675239,Mz= 0.0))
preprocessor.getElementHandler.getElement(4363).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.403006010038,N= 222.681490076,My= -1.95210824228,Mz= 0.0))
preprocessor.getElementHandler.getElement(4363).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.136620777856,N= -614.811547941,My= -6.56591971058,Mz= 0.0))
preprocessor.getElementHandler.getElement(4364).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.386744337973,N= 253.213458242,My= 1.68028881843,Mz= 0.0))
preprocessor.getElementHandler.getElement(4364).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.142006818094,N= -629.355331638,My= -7.57424192603,Mz= 0.0))
preprocessor.getElementHandler.getElement(4365).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.384521636797,N= 252.206461901,My= 5.24618959807,Mz= 0.0))
preprocessor.getElementHandler.getElement(4365).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.146308557532,N= -651.57388423,My= -7.55985638552,Mz= 0.0))
preprocessor.getElementHandler.getElement(4366).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.407674733028,N= 220.209370526,My= -2.4157347194,Mz= 0.0))
preprocessor.getElementHandler.getElement(4366).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.127997202619,N= -573.269474288,My= -6.36291213627,Mz= 0.0))
preprocessor.getElementHandler.getElement(4367).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.3793623583,N= 249.906893999,My= 1.78613088794,Mz= 0.0))
preprocessor.getElementHandler.getElement(4367).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.132670194447,N= -586.164656004,My= -7.21634249421,Mz= 0.0))
preprocessor.getElementHandler.getElement(4368).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.39059499051,N= 266.639585264,My= 4.38061545823,Mz= 0.0))
preprocessor.getElementHandler.getElement(4368).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.136102872179,N= -606.329701715,My= -7.01659191287,Mz= 0.0))
preprocessor.getElementHandler.getElement(4369).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.41398760017,N= 234.258903615,My= -1.52433436515,Mz= 0.0))
preprocessor.getElementHandler.getElement(4369).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.118282166601,N= -526.739858834,My= -6.11331167695,Mz= 0.0))
preprocessor.getElementHandler.getElement(4370).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.371492993468,N= 246.313577295,My= 1.8927781878,Mz= 0.0))
preprocessor.getElementHandler.getElement(4370).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.12223376552,N= -538.026978309,My= -6.8054117582,Mz= 0.0))
preprocessor.getElementHandler.getElement(4371).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.394564127055,N= 261.690996727,My= 5.1202008714,Mz= 0.0))
preprocessor.getElementHandler.getElement(4371).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.124816130601,N= -556.295562354,My= -6.41557878007,Mz= 0.0))
preprocessor.getElementHandler.getElement(4372).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.425418347262,N= 231.707478576,My= -2.35381355541,Mz= 0.0))
preprocessor.getElementHandler.getElement(4372).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.107545535168,N= -475.519913134,My= -5.82180515999,Mz= 0.0))
preprocessor.getElementHandler.getElement(4373).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.363343738491,N= 242.552385602,My= 1.99959864625,Mz= 0.0))
preprocessor.getElementHandler.getElement(4373).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.110764317384,N= -485.204163174,My= -6.34764997052,Mz= 0.0))
preprocessor.getElementHandler.getElement(4374).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.398906940258,N= 256.530606192,My= 5.90635350492,Mz= 0.0))
preprocessor.getElementHandler.getElement(4374).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.112507879258,N= -501.696335644,My= -5.76301071111,Mz= 0.0))
preprocessor.getElementHandler.getElement(4375).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.437635246383,N= 229.182453079,My= -3.22271723425,Mz= 0.0))
preprocessor.getElementHandler.getElement(4375).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.095849486736,N= -419.872419106,My= -5.49269740714,Mz= 0.0))
preprocessor.getElementHandler.getElement(4376).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.355116427274,N= 238.767008425,My= 2.10851191178,Mz= 0.0))
preprocessor.getElementHandler.getElement(4376).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0983106662442,N= -427.902075621,My= -5.84647122701,Mz= 0.0))
preprocessor.getElementHandler.getElement(4377).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.403825839725,N= 251.316978065,My= 6.73949282399,Mz= 0.0))
preprocessor.getElementHandler.getElement(4377).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0992048414008,N= -442.657117048,My= -5.05979802875,Mz= 0.0))
preprocessor.getElementHandler.getElement(4378).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.450798513379,N= 226.830657026,My= -4.12673181211,Mz= 0.0))
preprocessor.getElementHandler.getElement(4378).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0832485557095,N= -360.027029224,My= -5.12982771587,Mz= 0.0))
preprocessor.getElementHandler.getElement(4379).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.34701441619,N= 235.105496686,My= 2.22174820043,Mz= 0.0))
preprocessor.getElementHandler.getElement(4379).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0849059262529,N= -366.264601042,My= -5.3038637937,Mz= 0.0))
preprocessor.getElementHandler.getElement(4380).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.409520597648,N= 245.521931206,My= 7.68217609963,Mz= 0.0))
preprocessor.getElementHandler.getElement(4380).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0849175847274,N= -379.227623054,My= -4.30628158185,Mz= 0.0))
preprocessor.getElementHandler.getElement(4381).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.465019385994,N= 224.799992285,My= -5.05885035247,Mz= 0.0))
preprocessor.getElementHandler.getElement(4381).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0697903295702,N= -296.183188866,My= -4.73661995647,Mz= 0.0))
preprocessor.getElementHandler.getElement(4382).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.339241840471,N= 231.709633108,My= 2.3409287865,Mz= 0.0))
preprocessor.getElementHandler.getElement(4382).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0705698407772,N= -300.3764054,My= -4.72109982943,Mz= 0.0))
preprocessor.getElementHandler.getElement(4383).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.416162882897,N= 240.602398197,My= 8.6147301216,Mz= 0.0))
preprocessor.getElementHandler.getElement(4383).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0696434872425,N= -311.390039538,My= -3.50280037543,Mz= 0.0))
preprocessor.getElementHandler.getElement(4384).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.480299483723,N= 223.227242471,My= -6.00721795613,Mz= 0.0))
preprocessor.getElementHandler.getElement(4384).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0555136085275,N= -228.506779201,My= -4.31561338611,Mz= 0.0))
preprocessor.getElementHandler.getElement(4385).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.331993366118,N= 228.703328645,My= 2.46657937746,Mz= 0.0))
preprocessor.getElementHandler.getElement(4385).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0553050458157,N= -230.25392705,My= -4.09795223758,Mz= 0.0))
preprocessor.getElementHandler.getElement(4386).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.423787386554,N= 236.056088364,My= 9.58528258207,Mz= 0.0))
preprocessor.getElementHandler.getElement(4386).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0533617488374,N= -239.042759898,My= -2.64897352486,Mz= 0.0))
preprocessor.getElementHandler.getElement(4387).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.496444174961,N= 222.21930452,My= -6.95217170885,Mz= 0.0))
preprocessor.getElementHandler.getElement(4387).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0405015703963,N= -157.112783515,My= -3.86759885128,Mz= 0.0))
preprocessor.getElementHandler.getElement(4388).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.325434423237,N= 226.174635153,My= 2.59758843299,Mz= 0.0))
preprocessor.getElementHandler.getElement(4388).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0390897328039,N= -155.820972192,My= -3.4316760935,Mz= 0.0))
preprocessor.getElementHandler.getElement(4389).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.432322733045,N= 231.982348157,My= 10.579593684,Mz= 0.0))
preprocessor.getElementHandler.getElement(4389).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.036027057731,N= -161.9715534,My= -1.74342136576,Mz= 0.0))
preprocessor.getElementHandler.getElement(4390).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.512922180595,N= 221.816119495,My= -7.86202445941,Mz= 0.0))
preprocessor.getElementHandler.getElement(4390).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU594", CF=0.0517825120759,N= 3.70501182494,My= -2.65898271671,Mz= 0.0))
preprocessor.getElementHandler.getElement(4391).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.319668370973,N= 224.147327779,My= 2.73043941292,Mz= 0.0))
preprocessor.getElementHandler.getElement(4391).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.0370305670028,N= 7.09687211423,My= -1.58072708606,Mz= 0.0))
preprocessor.getElementHandler.getElement(4392).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.441483019153,N= 228.435559962,My= 11.5718067763,Mz= 0.0))
preprocessor.getElementHandler.getElement(4392).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU594", CF=0.0347279880114,N= 2.43494854859,My= 2.05892954744,Mz= 0.0))
preprocessor.getElementHandler.getElement(4393).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.528612137804,N= 221.918186682,My= -8.68594021224,Mz= 0.0))
preprocessor.getElementHandler.getElement(4393).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.138049021913,N= 68.1548149798,My= -2.15663999008,Mz= 0.0))
preprocessor.getElementHandler.getElement(4394).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.314692110636,N= 222.533452403,My= 2.85735650835,Mz= 0.0))
preprocessor.getElementHandler.getElement(4394).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.125362605562,N= 76.8661658188,My= 1.33512289385,Mz= 0.0))
preprocessor.getElementHandler.getElement(4395).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.450687765304,N= 225.416023275,My= 12.5194184942,Mz= 0.0))
preprocessor.getElementHandler.getElement(4395).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.143723091363,N= 76.1349014799,My= 2.632546012,Mz= 0.0))
preprocessor.getElementHandler.getElement(4396).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.541312856634,N= 222.094485389,My= -9.3447063914,Mz= 0.0))
preprocessor.getElementHandler.getElement(4396).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.237364628398,N= 137.639150641,My= -1.69538237844,Mz= 0.0))
preprocessor.getElementHandler.getElement(4397).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.310338960144,N= 221.057992713,My= 2.96262982144,Mz= 0.0))
preprocessor.getElementHandler.getElement(4397).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.239346817444,N= 152.459047954,My= 2.02487973666,Mz= 0.0))
preprocessor.getElementHandler.getElement(4398).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.459042633278,N= 222.925092806,My= 13.3568633148,Mz= 0.0))
preprocessor.getElementHandler.getElement(4398).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.26640499808,N= 156.229491072,My= 3.49133603537,Mz= 0.0))
preprocessor.getElementHandler.getElement(4399).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.547128981337,N= 221.275108895,My= -9.72495690121,Mz= 0.0))
preprocessor.getElementHandler.getElement(4399).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.344129318469,N= 202.231638681,My= -2.19385532861,Mz= 0.0))
preprocessor.getElementHandler.getElement(4400).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.308573566269,N= 210.378386264,My= 2.0946005337,Mz= 0.0))
preprocessor.getElementHandler.getElement(4400).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.36336014156,N= 227.647770359,My= 3.4237662182,Mz= 0.0))
preprocessor.getElementHandler.getElement(4401).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.46527995104,N= 222.71427777,My= 13.8324087415,Mz= 0.0))
preprocessor.getElementHandler.getElement(4401).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.411504726611,N= 241.173298078,My= 5.40651503823,Mz= 0.0))
preprocessor.getElementHandler.getElement(4402).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.539380721691,N= 216.467369389,My= -9.7333812328,Mz= 0.0))
preprocessor.getElementHandler.getElement(4402).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.441718645459,N= 294.96898503,My= 2.48671083957,Mz= 0.0))
preprocessor.getElementHandler.getElement(4403).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.314612696098,N= 215.737864798,My= 2.24780685285,Mz= 0.0))
preprocessor.getElementHandler.getElement(4403).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.511404587354,N= 328.971640801,My= 4.0307970706,Mz= 0.0))
preprocessor.getElementHandler.getElement(4404).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.467816723801,N= 222.785131527,My= 14.0116044222,Mz= 0.0))
preprocessor.getElementHandler.getElement(4404).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.571081313969,N= 348.970956207,My= 6.19124715662,Mz= 0.0))
preprocessor.getElementHandler.getElement(4405).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.512042511893,N= 203.981693138,My= -9.37223160722,Mz= 0.0))
preprocessor.getElementHandler.getElement(4405).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.602659012722,N= 400.193916201,My= 3.59927423887,Mz= 0.0))
preprocessor.getElementHandler.getElement(4406).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.315500933812,N= 221.636861029,My= 2.73203438897,Mz= 0.0))
preprocessor.getElementHandler.getElement(4406).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.67170798031,N= 440.223271877,My= 4.54678086646,Mz= 0.0))
preprocessor.getElementHandler.getElement(4407).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.460415863128,N= 224.579922673,My= 13.3071518104,Mz= 0.0))
preprocessor.getElementHandler.getElement(4407).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.740141685333,N= 466.495688822,My= 6.71743155929,Mz= 0.0))
preprocessor.getElementHandler.getElement(4408).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.43278119733,N= 191.01891036,My= -6.29664374034,Mz= 0.0))
preprocessor.getElementHandler.getElement(4408).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.798954254711,N= 524.368313119,My= 5.33913113994,Mz= 0.0))
preprocessor.getElementHandler.getElement(4409).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.336979870101,N= 228.548439259,My= 3.9146176313,Mz= 0.0))
preprocessor.getElementHandler.getElement(4409).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.863332913854,N= 557.149974453,My= 6.63983038208,Mz= 0.0))
preprocessor.getElementHandler.getElement(4410).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.467060965215,N= 256.66442534,My= 10.8813302475,Mz= 0.0))
preprocessor.getElementHandler.getElement(4410).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.939345130586,N= 593.677262166,My= 8.37576516137,Mz= 0.0))
preprocessor.getElementHandler.getElement(4411).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.245792411592,N= 136.62427593,My= -1.1197563341,Mz= 0.0))
preprocessor.getElementHandler.getElement(4411).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=1.09536271812,N= 671.48095798,My= 11.6787086938,Mz= 0.0))
preprocessor.getElementHandler.getElement(4412).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.341215038685,N= 227.430424747,My= 4.32599697356,Mz= 0.0))
preprocessor.getElementHandler.getElement(4412).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.11380575303,N= 665.045004824,My= 13.5059677616,Mz= 0.0))
preprocessor.getElementHandler.getElement(4413).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.567938683963,N= 331.039221058,My= 11.5125376221,Mz= 0.0))
preprocessor.getElementHandler.getElement(4413).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.18308806303,N= 708.008170106,My= 14.1994693949,Mz= 0.0))
preprocessor.getElementHandler.getElement(4414).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.702205239909,N= 438.799127223,My= 11.5568307961,Mz= 0.0))
preprocessor.getElementHandler.getElement(4414).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.21979697163,N= 752.28165184,My= 12.5900154192,Mz= 0.0))
preprocessor.getElementHandler.getElement(4415).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.591676608531,N= 313.252022327,My= -4.06020257922,Mz= 0.0))
preprocessor.getElementHandler.getElement(4415).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.985467388039,N= 652.193669403,My= 6.08800255516,Mz= 0.0))
preprocessor.getElementHandler.getElement(4416).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.567073497621,N= 291.970418482,My= -4.6120946736,Mz= 0.0))
preprocessor.getElementHandler.getElement(4416).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.805286771146,N= 539.394612835,My= 4.3823982484,Mz= 0.0))
preprocessor.getElementHandler.getElement(4417).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.56952057828,N= 285.74339818,My= -5.28558924712,Mz= 0.0))
preprocessor.getElementHandler.getElement(4417).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.643814957551,N= 433.184583179,My= 3.324764303,Mz= 0.0))
preprocessor.getElementHandler.getElement(4418).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.58346444596,N= 284.322797922,My= -6.14974723184,Mz= 0.0))
preprocessor.getElementHandler.getElement(4418).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.512014652769,N= 346.564241694,My= 2.45477785574,Mz= 0.0))
preprocessor.getElementHandler.getElement(4419).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.590645827159,N= 283.283643592,My= -6.62165186711,Mz= 0.0))
preprocessor.getElementHandler.getElement(4419).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.391794114841,N= 267.592312578,My= 1.65772666521,Mz= 0.0))
preprocessor.getElementHandler.getElement(4420).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.590029283131,N= 281.732534756,My= -6.72433345355,Mz= 0.0))
preprocessor.getElementHandler.getElement(4420).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.284632200982,N= 195.496063118,My= 0.963547217111,Mz= 0.0))
preprocessor.getElementHandler.getElement(4421).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.583159682708,N= 281.03698788,My= -6.42041321232,Mz= 0.0))
preprocessor.getElementHandler.getElement(4421).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.211413274574,N= 129.509171377,My= -0.829166296622,Mz= 0.0))
preprocessor.getElementHandler.getElement(4422).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.571550557661,N= 280.507732565,My= -5.8504012576,Mz= 0.0))
preprocessor.getElementHandler.getElement(4422).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.126517249366,N= 68.9600100403,My= -1.33694771066,Mz= 0.0))
preprocessor.getElementHandler.getElement(4423).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.557902965913,N= 267.582970639,My= -6.2542833468,Mz= 0.0))
preprocessor.getElementHandler.getElement(4423).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0568304540166,N= -237.390909923,My= -4.15019926172,Mz= 0.0))
preprocessor.getElementHandler.getElement(4424).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.547305844842,N= 269.040386978,My= -5.56455736812,Mz= 0.0))
preprocessor.getElementHandler.getElement(4424).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0727926148133,N= -312.813414113,My= -4.63972950969,Mz= 0.0))
preprocessor.getElementHandler.getElement(4425).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.536198281386,N= 270.818357697,My= -4.81975342567,Mz= 0.0))
preprocessor.getElementHandler.getElement(4425).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0876648655935,N= -383.544921698,My= -5.06035439867,Mz= 0.0))
preprocessor.getElementHandler.getElement(4426).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.525177260985,N= 272.88904682,My= -4.053989632,Mz= 0.0))
preprocessor.getElementHandler.getElement(4426).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.101492565003,N= -449.749730811,My= -5.41733254519,Mz= 0.0))
preprocessor.getElementHandler.getElement(4427).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.514635388541,N= 275.184645829,My= -3.29402504249,Mz= 0.0))
preprocessor.getElementHandler.getElement(4427).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.114301067858,N= -511.512382104,My= -5.71416778561,Mz= 0.0))
preprocessor.getElementHandler.getElement(4428).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.504811278297,N= 277.614064115,My= -2.56047732614,Mz= 0.0))
preprocessor.getElementHandler.getElement(4428).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.126100098865,N= -568.850014394,My= -5.95338581418,Mz= 0.0))
preprocessor.getElementHandler.getElement(4429).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.495831992647,N= 280.075126799,My= -1.86901058679,Mz= 0.0))
preprocessor.getElementHandler.getElement(4429).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.136880276211,N= -621.699264629,My= -6.13617040656,Mz= 0.0))
preprocessor.getElementHandler.getElement(4430).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.488091068453,N= 282.463348858,My= -1.2313870065,Mz= 0.0))
preprocessor.getElementHandler.getElement(4430).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.146571305023,N= -669.888318181,My= -6.24796996032,Mz= 0.0))
preprocessor.getElementHandler.getElement(4431).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.453961854121,N= 284.678223712,My= 0.839069556431,Mz= 0.0))
preprocessor.getElementHandler.getElement(4431).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.155105512512,N= -713.224192979,My= -6.27690765032,Mz= 0.0))
preprocessor.getElementHandler.getElement(4432).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.454425988732,N= 288.290835236,My= 7.08628026953,Mz= 0.0))
preprocessor.getElementHandler.getElement(4432).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.162916492862,N= -751.617079981,My= -6.40161890823,Mz= 0.0))
preprocessor.getElementHandler.getElement(4433).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.476762747411,N= 288.387708879,My= 8.71196426662,Mz= 0.0))
preprocessor.getElementHandler.getElement(4433).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.170131829027,N= -784.529399928,My= -6.71418468174,Mz= 0.0))
preprocessor.getElementHandler.getElement(4434).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.492979273486,N= 288.313785498,My= 9.90530655523,Mz= 0.0))
preprocessor.getElementHandler.getElement(4434).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.174388822358,N= -809.905298353,My= -6.4379797494,Mz= 0.0))
preprocessor.getElementHandler.getElement(4435).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.495016582559,N= 288.151545298,My= 10.0691105429,Mz= 0.0))
preprocessor.getElementHandler.getElement(4435).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.174549426675,N= -825.231967215,My= -5.31663770624,Mz= 0.0))
preprocessor.getElementHandler.getElement(4436).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.492409570292,N= 287.831611537,My= 9.90738227964,Mz= 0.0))
preprocessor.getElementHandler.getElement(4436).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.17410152252,N= -830.137588648,My= -4.76001524641,Mz= 0.0))
preprocessor.getElementHandler.getElement(4437).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.494296905701,N= 287.426768727,My= 10.0822312891,Mz= 0.0))
preprocessor.getElementHandler.getElement(4437).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.174549426645,N= -825.231967277,My= -5.31663768953,Mz= 0.0))
preprocessor.getElementHandler.getElement(4438).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.491791194252,N= 287.104467993,My= 9.92813047404,Mz= 0.0))
preprocessor.getElementHandler.getElement(4438).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.174388822342,N= -809.905298477,My= -6.43797973316,Mz= 0.0))
preprocessor.getElementHandler.getElement(4439).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.475455769686,N= 287.029362429,My= 8.73961412382,Mz= 0.0))
preprocessor.getElementHandler.getElement(4439).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.170131829024,N= -784.529400115,My= -6.71418466593,Mz= 0.0))
preprocessor.getElementHandler.getElement(4440).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.453271687989,N= 287.051061829,My= 7.11434016159,Mz= 0.0))
preprocessor.getElementHandler.getElement(4440).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.162916492872,N= -751.617080232,My= -6.40161889279,Mz= 0.0))
preprocessor.getElementHandler.getElement(4441).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.453961854089,N= 284.678223499,My= 0.839069538942,Mz= 0.0))
preprocessor.getElementHandler.getElement(4441).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.155105512535,N= -713.224193294,My= -6.27690763523,Mz= 0.0))
preprocessor.getElementHandler.getElement(4442).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.488091067708,N= 282.463348595,My= -1.23138698943,Mz= 0.0))
preprocessor.getElementHandler.getElement(4442).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.146571305059,N= -669.888318561,My= -6.24796994554,Mz= 0.0))
preprocessor.getElementHandler.getElement(4443).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.495831991805,N= 280.075126483,My= -1.86901056969,Mz= 0.0))
preprocessor.getElementHandler.getElement(4443).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.136880276262,N= -621.699265077,My= -6.13617039204,Mz= 0.0))
preprocessor.getElementHandler.getElement(4444).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.504811277357,N= 277.614063739,My= -2.56047730909,Mz= 0.0))
preprocessor.getElementHandler.getElement(4444).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.12610009893,N= -568.850014912,My= -5.9533857999,Mz= 0.0))
preprocessor.getElementHandler.getElement(4445).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.514635387497,N= 275.184645388,My= -3.29402502558,Mz= 0.0))
preprocessor.getElementHandler.getElement(4445).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.114301067938,N= -511.512382694,My= -5.71416777153,Mz= 0.0))
preprocessor.getElementHandler.getElement(4446).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.525177259826,N= 272.889046306,My= -4.05398961536,Mz= 0.0))
preprocessor.getElementHandler.getElement(4446).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.101492565097,N= -449.749731475,My= -5.4173325313,Mz= 0.0))
preprocessor.getElementHandler.getElement(4447).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.536198280099,N= 270.8183571,My= -4.81975340951,Mz= 0.0))
preprocessor.getElementHandler.getElement(4447).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.087664865704,N= -383.544922442,My= -5.06035438493,Mz= 0.0))
preprocessor.getElementHandler.getElement(4448).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.547305843416,N= 269.040386287,My= -5.56455735272,Mz= 0.0))
preprocessor.getElementHandler.getElement(4448).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0727926149408,N= -312.813414942,My= -4.6397294961,Mz= 0.0))
preprocessor.getElementHandler.getElement(4449).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.557902964329,N= 267.582969839,My= -6.25428333252,Mz= 0.0))
preprocessor.getElementHandler.getElement(4449).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0568304541623,N= -237.390910843,My= -4.1501992483,Mz= 0.0))
preprocessor.getElementHandler.getElement(4450).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.571494130093,N= 280.500691572,My= -5.84802073219,Mz= 0.0))
preprocessor.getElementHandler.getElement(4450).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.039706615442,N= -157.009319233,My= -3.58407207088,Mz= 0.0))
preprocessor.getElementHandler.getElement(4451).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.583137444142,N= 281.040789355,My= -6.41890092581,Mz= 0.0))
preprocessor.getElementHandler.getElement(4451).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU600", CF=0.0633293260269,N= -0.586872636801,My= -3.60533901538,Mz= 0.0))
preprocessor.getElementHandler.getElement(4452).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.590030913775,N= 281.743222482,My= -6.72348699714,Mz= 0.0))
preprocessor.getElementHandler.getElement(4452).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.158207295528,N= 88.5330094776,My= -1.44548367974,Mz= 0.0))
preprocessor.getElementHandler.getElement(4453).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.590664339026,N= 283.298792061,My= -6.62131205774,Mz= 0.0))
preprocessor.getElementHandler.getElement(4453).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.285247137204,N= 163.335407203,My= -2.24101131988,Mz= 0.0))
preprocessor.getElementHandler.getElement(4454).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.583495466134,N= 284.341181291,My= -6.14978896725,Mz= 0.0))
preprocessor.getElementHandler.getElement(4454).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.406118681062,N= 267.022896032,My= 2.6698545404,Mz= 0.0))
preprocessor.getElementHandler.getElement(4455).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.569561798485,N= 285.764688129,My= -5.28591866511,Mz= 0.0))
preprocessor.getElementHandler.getElement(4455).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.57615043952,N= 379.150054055,My= 3.75720386144,Mz= 0.0))
preprocessor.getElementHandler.getElement(4456).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.567124708273,N= 291.994766519,My= -4.61268742309,Mz= 0.0))
preprocessor.getElementHandler.getElement(4456).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.763961376142,N= 500.648216901,My= 5.17455031663,Mz= 0.0))
preprocessor.getElementHandler.getElement(4457).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.591736995278,N= 313.278969076,My= -4.06105553663,Mz= 0.0))
preprocessor.getElementHandler.getElement(4457).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.971510437832,N= 631.345935101,My= 7.0689074637,Mz= 0.0))
preprocessor.getElementHandler.getElement(4458).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.580000981034,N= 413.483572139,My= 5.56785702172,Mz= 0.0))
preprocessor.getElementHandler.getElement(4458).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.21986167791,N= 752.32751236,My= 12.590136022,Mz= 0.0))
preprocessor.getElementHandler.getElement(4459).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.632334331696,N= 411.097253694,My= 8.95837004592,Mz= 0.0))
preprocessor.getElementHandler.getElement(4459).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.25763433552,N= 764.254984677,My= 14.0248044381,Mz= 0.0))
preprocessor.getElementHandler.getElement(4460).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.578256414667,N= 386.452124393,My= 7.238112253,Mz= 0.0))
preprocessor.getElementHandler.getElement(4460).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.29786652391,N= 788.980963381,My= 14.4479882822,Mz= 0.0))
preprocessor.getElementHandler.getElement(4461).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.52591873075,N= 358.239918768,My= 5.96895183174,Mz= 0.0))
preprocessor.getElementHandler.getElement(4461).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.34199956835,N= 831.115053396,My= 13.5326029646,Mz= 0.0))
preprocessor.getElementHandler.getElement(4462).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.493705812311,N= 325.941414379,My= 2.38864478744,Mz= 0.0))
preprocessor.getElementHandler.getElement(4462).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.00252049822,N= 672.314478896,My= 5.3813607699,Mz= 0.0))
preprocessor.getElementHandler.getElement(4463).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.574106492683,N= 316.867781971,My= -2.81193080134,Mz= 0.0))
preprocessor.getElementHandler.getElement(4463).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.06177508111,N= 697.074521726,My= 7.07597825484,Mz= 0.0))
preprocessor.getElementHandler.getElement(4464).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.501339729421,N= 318.267560204,My= 7.79839516,Mz= 0.0))
preprocessor.getElementHandler.getElement(4464).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.10301584502,N= 721.804174068,My= 7.56640241442,Mz= 0.0))
preprocessor.getElementHandler.getElement(4465).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.475498807398,N= 292.320737496,My= 0.349200873705,Mz= 0.0))
preprocessor.getElementHandler.getElement(4465).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.831137105958,N= 567.111167041,My= 3.56709259814,Mz= 0.0))
preprocessor.getElementHandler.getElement(4466).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.504233640277,N= 272.588030314,My= -2.96857617622,Mz= 0.0))
preprocessor.getElementHandler.getElement(4466).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.883840718886,N= 591.035163689,My= 4.89961215645,Mz= 0.0))
preprocessor.getElementHandler.getElement(4467).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.500745855552,N= 296.373736151,My= 9.74207879163,Mz= 0.0))
preprocessor.getElementHandler.getElement(4467).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.927301767248,N= 604.749335473,My= 6.55121042548,Mz= 0.0))
preprocessor.getElementHandler.getElement(4468).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.49938678675,N= 283.818012646,My= -1.72804335171,Mz= 0.0))
preprocessor.getElementHandler.getElement(4468).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.67802320359,N= 457.852436621,My= 3.34966591299,Mz= 0.0))
preprocessor.getElementHandler.getElement(4469).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.465461024301,N= 250.583307359,My= -2.83147466694,Mz= 0.0))
preprocessor.getElementHandler.getElement(4469).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.724014847749,N= 483.554328088,My= 4.06905875374,Mz= 0.0))
preprocessor.getElementHandler.getElement(4470).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.510229519713,N= 288.805997632,My= 11.1229066647,Mz= 0.0))
preprocessor.getElementHandler.getElement(4470).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.764310359765,N= 494.562066323,My= 5.75729755105,Mz= 0.0))
preprocessor.getElementHandler.getElement(4471).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.506069771178,N= 280.499239181,My= -2.37540991462,Mz= 0.0))
preprocessor.getElementHandler.getElement(4471).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.542512646898,N= 368.061270663,My= 2.5225033256,Mz= 0.0))
preprocessor.getElementHandler.getElement(4472).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.491580657581,N= 238.69013255,My= -5.2561538058,Mz= 0.0))
preprocessor.getElementHandler.getElement(4472).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.580016586008,N= 385.779837328,My= 3.40692048256,Mz= 0.0))
preprocessor.getElementHandler.getElement(4473).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.511455360433,N= 282.7536556,My= 11.7619328621,Mz= 0.0))
preprocessor.getElementHandler.getElement(4473).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.610661613646,N= 391.060763259,My= 4.97488257623,Mz= 0.0))
preprocessor.getElementHandler.getElement(4474).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.512303483999,N= 279.253533036,My= -2.81504357831,Mz= 0.0))
preprocessor.getElementHandler.getElement(4474).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.416891141463,N= 285.822833319,My= 1.66378643941,Mz= 0.0))
preprocessor.getElementHandler.getElement(4475).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.478267390239,N= 232.483686049,My= -5.09129002284,Mz= 0.0))
preprocessor.getElementHandler.getElement(4475).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.451898467062,N= 300.822325601,My= 2.63082599403,Mz= 0.0))
preprocessor.getElementHandler.getElement(4476).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.509886512757,N= 280.163957438,My= 11.8821812279,Mz= 0.0))
preprocessor.getElementHandler.getElement(4476).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.480830704036,N= 306.602505824,My= 4.03814003542,Mz= 0.0))
preprocessor.getElementHandler.getElement(4477).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.515828172121,N= 278.779403483,My= -3.04352501061,Mz= 0.0))
preprocessor.getElementHandler.getElement(4477).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.305948908994,N= 210.625318899,My= 1.08374952323,Mz= 0.0))
preprocessor.getElementHandler.getElement(4478).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.417298538293,N= 277.396521815,My= 5.35830135574,Mz= 0.0))
preprocessor.getElementHandler.getElement(4478).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.33647755822,N= 222.776295879,My= 2.07026879916,Mz= 0.0))
preprocessor.getElementHandler.getElement(4479).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.50669399391,N= 279.830996075,My= 11.678791354,Mz= 0.0))
preprocessor.getElementHandler.getElement(4479).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.360104203805,N= 226.762610419,My= 3.2869604626,Mz= 0.0))
preprocessor.getElementHandler.getElement(4480).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.516688975238,N= 278.815008983,My= -3.08610833654,Mz= 0.0))
preprocessor.getElementHandler.getElement(4480).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.208679283712,N= 141.757086716,My= 0.55175396085,Mz= 0.0))
preprocessor.getElementHandler.getElement(4481).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.416678818811,N= 278.245964019,My= 5.23585625651,Mz= 0.0))
preprocessor.getElementHandler.getElement(4481).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.23002193194,N= 151.072043745,My= 1.52755743154,Mz= 0.0))
preprocessor.getElementHandler.getElement(4482).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.502164512556,N= 280.481637194,My= 11.2882958976,Mz= 0.0))
preprocessor.getElementHandler.getElement(4482).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.248145502244,N= 153.032924124,My= 2.56167756062,Mz= 0.0))
preprocessor.getElementHandler.getElement(4483).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.515439223257,N= 279.330759554,My= -2.97474754485,Mz= 0.0))
preprocessor.getElementHandler.getElement(4483).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.128377672029,N= 78.5826369423,My= -0.509398843687,Mz= 0.0))
preprocessor.getElementHandler.getElement(4484).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.416134553521,N= 279.972401354,My= 5.03933412457,Mz= 0.0))
preprocessor.getElementHandler.getElement(4484).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.131802518156,N= 85.2024807401,My= 1.00044708394,Mz= 0.0))
preprocessor.getElementHandler.getElement(4485).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.4965721051,N= 283.265884725,My= 10.6263699562,Mz= 0.0))
preprocessor.getElementHandler.getElement(4485).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.144664053558,N= 85.1160307104,My= 1.87015862848,Mz= 0.0))
preprocessor.getElementHandler.getElement(4486).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.512707404712,N= 280.341533775,My= -2.7415040661,Mz= 0.0))
preprocessor.getElementHandler.getElement(4486).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.054941123129,N= -229.382658141,My= -4.02120789029,Mz= 0.0))
preprocessor.getElementHandler.getElement(4487).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.415707473653,N= 282.429734589,My= 4.78504895624,Mz= 0.0))
preprocessor.getElementHandler.getElement(4487).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0537594247797,N= -224.733021106,My= -3.91275912481,Mz= 0.0))
preprocessor.getElementHandler.getElement(4488).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.490084076627,N= 287.049518432,My= 9.80820071452,Mz= 0.0))
preprocessor.getElementHandler.getElement(4488).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU723", CF=0.0514862228266,N= -232.631001714,My= -2.40202022941,Mz= 0.0))
preprocessor.getElementHandler.getElement(4489).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.5089620426,N= 281.820305801,My= -2.41360647913,Mz= 0.0))
preprocessor.getElementHandler.getElement(4489).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0718003874109,N= -307.019565173,My= -4.69476779271,Mz= 0.0))
preprocessor.getElementHandler.getElement(4490).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.406510685725,N= 276.348686062,My= 4.66401215849,Mz= 0.0))
preprocessor.getElementHandler.getElement(4490).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0714610444522,N= -304.750027453,My= -4.73585950436,Mz= 0.0))
preprocessor.getElementHandler.getElement(4491).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.487179992473,N= 283.35380879,My= 9.93112855077,Mz= 0.0))
preprocessor.getElementHandler.getElement(4491).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0693681470839,N= -308.436126994,My= -3.62214601,Mz= 0.0))
preprocessor.getElementHandler.getElement(4492).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.504558908314,N= 283.324712109,My= -2.04855641035,Mz= 0.0))
preprocessor.getElementHandler.getElement(4492).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0875258122903,N= -379.729317499,My= -5.30028531579,Mz= 0.0))
preprocessor.getElementHandler.getElement(4493).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.400457602102,N= 288.959137257,My= 4.15797032478,Mz= 0.0))
preprocessor.getElementHandler.getElement(4493).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0880080265182,N= -379.618421843,My= -5.49980328134,Mz= 0.0))
preprocessor.getElementHandler.getElement(4494).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.484617581184,N= 289.146774327,My= 9.21784142803,Mz= 0.0))
preprocessor.getElementHandler.getElement(4494).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0866330455784,N= -385.008619152,My= -4.53861875733,Mz= 0.0))
preprocessor.getElementHandler.getElement(4495).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.496383436995,N= 277.302958224,My= -2.14028463632,Mz= 0.0))
preprocessor.getElementHandler.getElement(4495).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.10217325901,N= -447.729210564,My= -5.84308049899,Mz= 0.0))
preprocessor.getElementHandler.getElement(4496).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.413086366698,N= 292.732186703,My= 3.80673244985,Mz= 0.0))
preprocessor.getElementHandler.getElement(4496).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.10346130978,N= -449.606872314,My= -6.20794935393,Mz= 0.0))
preprocessor.getElementHandler.getElement(4497).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.482190004894,N= 295.120072059,My= 8.49805334584,Mz= 0.0))
preprocessor.getElementHandler.getElement(4497).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.10281512416,N= -456.58355899,My= -5.41269411472,Mz= 0.0))
preprocessor.getElementHandler.getElement(4498).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.495018996219,N= 280.669041163,My= -1.7731499236,Mz= 0.0))
preprocessor.getElementHandler.getElement(4498).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.115783407788,N= -511.168388988,My= -6.32773097246,Mz= 0.0))
preprocessor.getElementHandler.getElement(4499).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.426226869422,N= 296.65012688,My= 3.44053919301,Mz= 0.0))
preprocessor.getElementHandler.getElement(4499).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.117875290098,N= -514.942185346,My= -6.86430218975,Mz= 0.0))
preprocessor.getElementHandler.getElement(4500).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.479979344055,N= 301.09955093,My= 7.79357688206,Mz= 0.0))
preprocessor.getElementHandler.getElement(4500).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.117975960877,N= -523.464069868,My= -6.24532029173,Mz= 0.0))
preprocessor.getElementHandler.getElement(4501).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.493889069115,N= 284.078735393,My= -1.40320106555,Mz= 0.0))
preprocessor.getElementHandler.getElement(4501).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.128384590211,N= -570.133310838,My= -6.7587710575,Mz= 0.0))
preprocessor.getElementHandler.getElement(4502).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.439556766122,N= 300.58613702,My= 3.06559906971,Mz= 0.0))
preprocessor.getElementHandler.getElement(4502).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.131305450899,N= -575.80960529,My= -7.47651016121,Mz= 0.0))
preprocessor.getElementHandler.getElement(4503).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.478012562909,N= 306.925557448,My= 7.12087568862,Mz= 0.0))
preprocessor.getElementHandler.getElement(4503).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.132189695808,N= -585.947804976,My= -7.04284264741,Mz= 0.0))
preprocessor.getElementHandler.getElement(4504).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU602", CF=0.485688703372,N= 283.024468571,My= -1.04904063702,Mz= 0.0))
preprocessor.getElementHandler.getElement(4504).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.139983827203,N= -624.648601027,My= -7.13707705401,Mz= 0.0))
preprocessor.getElementHandler.getElement(4505).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.452737458081,N= 304.445606154,My= 2.69192116551,Mz= 0.0))
preprocessor.getElementHandler.getElement(4505).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.143790250345,N= -632.347398127,My= -8.04911207217,Mz= 0.0))
preprocessor.getElementHandler.getElement(4506).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.476275319465,N= 312.451755188,My= 6.4921821718,Mz= 0.0))
preprocessor.getElementHandler.getElement(4506).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.145525349737,N= -644.300487045,My= -7.81204804411,Mz= 0.0))
preprocessor.getElementHandler.getElement(4507).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.458497417081,N= 290.580999461,My= 1.12375574189,Mz= 0.0))
preprocessor.getElementHandler.getElement(4507).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.150462181443,N= -674.6824343,My= -7.41801333076,Mz= 0.0))
preprocessor.getElementHandler.getElement(4508).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.465476261547,N= 308.169096015,My= 2.33017574974,Mz= 0.0))
preprocessor.getElementHandler.getElement(4508).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.155202030071,N= -684.634134401,My= -8.52548404957,Mz= 0.0))
preprocessor.getElementHandler.getElement(4509).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.488077329904,N= 323.578762594,My= 2.48366214479,Mz= 0.0))
preprocessor.getElementHandler.getElement(4509).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.157928450854,N= -698.686099416,My= -8.51868915214,Mz= 0.0))
preprocessor.getElementHandler.getElement(4510).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.462392689381,N= 293.457446316,My= 1.17013811637,Mz= 0.0))
preprocessor.getElementHandler.getElement(4510).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.159437744278,N= -720.065259656,My= -7.46346226601,Mz= 0.0))
preprocessor.getElementHandler.getElement(4511).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.478667255709,N= 311.655412041,My= 1.92222324404,Mz= 0.0))
preprocessor.getElementHandler.getElement(4511).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.164858125478,N= -732.633809962,My= -8.63809209007,Mz= 0.0))
preprocessor.getElementHandler.getElement(4512).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.514813798096,N= 328.579699509,My= 1.47021115599,Mz= 0.0))
preprocessor.getElementHandler.getElement(4512).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.168912965966,N= -749.174394395,My= -8.96491667343,Mz= 0.0))
preprocessor.getElementHandler.getElement(4513).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.466332183124,N= 296.2045105,My= 1.20240883273,Mz= 0.0))
preprocessor.getElementHandler.getElement(4513).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.16750310016,N= -760.13713446,My= -7.55909356842,Mz= 0.0))
preprocessor.getElementHandler.getElement(4514).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.496206530768,N= 314.552626046,My= 1.22275531322,Mz= 0.0))
preprocessor.getElementHandler.getElement(4514).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.172144316895,N= -775.922991732,My= -8.1764575649,Mz= 0.0))
preprocessor.getElementHandler.getElement(4515).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.539177610706,N= 333.386632536,My= 0.569261803617,Mz= 0.0))
preprocessor.getElementHandler.getElement(4515).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.177061907675,N= -796.238572265,My= -8.55305605738,Mz= 0.0))
preprocessor.getElementHandler.getElement(4516).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.470189655602,N= 298.227856973,My= 1.17379510327,Mz= 0.0))
preprocessor.getElementHandler.getElement(4516).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.17766890203,N= -793.724105138,My= -8.98780892984,Mz= 0.0))
preprocessor.getElementHandler.getElement(4517).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.558958810225,N= 316.674521225,My= -2.02454229478,Mz= 0.0))
preprocessor.getElementHandler.getElement(4517).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.182913015656,N= -813.056290568,My= -9.56973039819,Mz= 0.0))
preprocessor.getElementHandler.getElement(4518).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.561423129224,N= 337.12268596,My= -0.312341029037,Mz= 0.0))
preprocessor.getElementHandler.getElement(4518).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.188887977502,N= -840.608690412,My= -9.80552672351,Mz= 0.0))
preprocessor.getElementHandler.getElement(4519).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.473856446189,N= 299.723222645,My= 1.10793434718,Mz= 0.0))
preprocessor.getElementHandler.getElement(4519).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.186315002181,N= -819.405292756,My= -10.4259744562,Mz= 0.0))
preprocessor.getElementHandler.getElement(4520).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.59106690038,N= 318.377142923,My= -3.58042913945,Mz= 0.0))
preprocessor.getElementHandler.getElement(4520).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.197064006755,N= -841.719963348,My= -12.9571084117,Mz= 0.0))
preprocessor.getElementHandler.getElement(4521).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.569516474114,N= 339.666456016,My= -0.526077262346,Mz= 0.0))
preprocessor.getElementHandler.getElement(4521).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.201301815499,N= -877.758831842,My= -11.8489300947,Mz= 0.0))
preprocessor.getElementHandler.getElement(4522).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.477247757059,N= 300.411408797,My= 0.984251367737,Mz= 0.0))
preprocessor.getElementHandler.getElement(4522).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.185401122308,N= -835.523394517,My= -8.81797705519,Mz= 0.0))
preprocessor.getElementHandler.getElement(4523).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.593007873563,N= 319.525374516,My= -3.58321866864,Mz= 0.0))
preprocessor.getElementHandler.getElement(4523).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.198233611857,N= -859.914384578,My= -12.013592631,Mz= 0.0))
preprocessor.getElementHandler.getElement(4524).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.580499604089,N= 342.420919378,My= -0.879147462752,Mz= 0.0))
preprocessor.getElementHandler.getElement(4524).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.204674581851,N= -898.626877204,My= -11.5711057624,Mz= 0.0))
preprocessor.getElementHandler.getElement(4525).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.480307354848,N= 300.722222877,My= 0.844655968204,Mz= 0.0))
preprocessor.getElementHandler.getElement(4525).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.18297283582,N= -840.968882697,My= -7.43543606699,Mz= 0.0))
preprocessor.getElementHandler.getElement(4526).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.580041268467,N= 319.469048492,My= -2.89986588453,Mz= 0.0))
preprocessor.getElementHandler.getElement(4526).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.192984382567,N= -866.202795211,My= -9.44886298647,Mz= 0.0))
preprocessor.getElementHandler.getElement(4527).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.576142816471,N= 343.455804132,My= -0.546894596884,Mz= 0.0))
preprocessor.getElementHandler.getElement(4527).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.200887000693,N= -903.926678035,My= -9.66158256733,Mz= 0.0))
preprocessor.getElementHandler.getElement(4528).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.47724775729,N= 300.411408756,My= 0.984251351372,Mz= 0.0))
preprocessor.getElementHandler.getElement(4528).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.185401122279,N= -835.523394578,My= -8.81797703913,Mz= 0.0))
preprocessor.getElementHandler.getElement(4529).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.590860355182,N= 318.161183367,My= -3.58831840125,Mz= 0.0))
preprocessor.getElementHandler.getElement(4529).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.198233611829,N= -859.914384639,My= -12.0135926151,Mz= 0.0))
preprocessor.getElementHandler.getElement(4530).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.577742538202,N= 340.453104964,My= -0.905822167729,Mz= 0.0))
preprocessor.getElementHandler.getElement(4530).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.204674581825,N= -898.626877263,My= -11.5711057476,Mz= 0.0))
preprocessor.getElementHandler.getElement(4531).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.473856446355,N= 299.723222562,My= 1.10793433057,Mz= 0.0))
preprocessor.getElementHandler.getElement(4531).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.186315002166,N= -819.40529288,My= -10.4259744407,Mz= 0.0))
preprocessor.getElementHandler.getElement(4532).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.58777974504,N= 316.266580015,My= -3.59019308141,Mz= 0.0))
preprocessor.getElementHandler.getElement(4532).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.19706400674,N= -841.719963469,My= -12.9571083964,Mz= 0.0))
preprocessor.getElementHandler.getElement(4533).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.565432692589,N= 336.803574291,My= -0.560903396696,Mz= 0.0))
preprocessor.getElementHandler.getElement(4533).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.201301815564,N= -877.758831959,My= -11.8489301115,Mz= 0.0))
preprocessor.getElementHandler.getElement(4534).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.470189655708,N= 298.227856848,My= 1.17379508617,Mz= 0.0))
preprocessor.getElementHandler.getElement(4534).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.177668902028,N= -793.724105324,My= -8.98780891477,Mz= 0.0))
preprocessor.getElementHandler.getElement(4535).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.555699483032,N= 314.564401416,My= -2.03596244709,Mz= 0.0))
preprocessor.getElementHandler.getElement(4535).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.182913015655,N= -813.056290751,My= -9.5697303834,Mz= 0.0))
preprocessor.getElementHandler.getElement(4536).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.557743124109,N= 334.514239823,My= -0.346309870734,Mz= 0.0))
preprocessor.getElementHandler.getElement(4536).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.18888797758,N= -840.608690589,My= -9.80552674105,Mz= 0.0))
preprocessor.getElementHandler.getElement(4537).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.466332183164,N= 296.204510329,My= 1.20240881509,Mz= 0.0))
preprocessor.getElementHandler.getElement(4537).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.167503100171,N= -760.137134709,My= -7.55909355379,Mz= 0.0))
preprocessor.getElementHandler.getElement(4538).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.49364358619,N= 312.882221872,My= 1.21230979522,Mz= 0.0))
preprocessor.getElementHandler.getElement(4538).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.172144316907,N= -775.922991976,My= -8.17645755063,Mz= 0.0))
preprocessor.getElementHandler.getElement(4539).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU711", CF=0.549298548605,N= 327.395912942,My= -0.526582947534,Mz= 0.0))
preprocessor.getElementHandler.getElement(4539).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.177061907689,N= -796.238572503,My= -8.55305604433,Mz= 0.0))
preprocessor.getElementHandler.getElement(4540).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.462392689355,N= 293.457446098,My= 1.17013809809,Mz= 0.0))
preprocessor.getElementHandler.getElement(4540).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.159437744303,N= -720.065259969,My= -7.4634622518,Mz= 0.0))
preprocessor.getElementHandler.getElement(4541).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.476915414433,N= 310.502831055,My= 1.91410644532,Mz= 0.0))
preprocessor.getElementHandler.getElement(4541).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.164858125504,N= -732.63381027,My= -8.6380920763,Mz= 0.0))
preprocessor.getElementHandler.getElement(4542).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.513424772746,N= 327.424732141,My= 1.44199553155,Mz= 0.0))
preprocessor.getElementHandler.getElement(4542).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.168912965993,N= -749.174394694,My= -8.96491666099,Mz= 0.0))
preprocessor.getElementHandler.getElement(4543).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.458497416983,N= 290.580999192,My= 1.12375572295,Mz= 0.0))
preprocessor.getElementHandler.getElement(4543).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.150462181482,N= -674.682434679,My= -7.41801331696,Mz= 0.0))
preprocessor.getElementHandler.getElement(4544).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.464362546435,N= 307.42795993,My= 2.32425722877,Mz= 0.0))
preprocessor.getElementHandler.getElement(4544).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.15520203011,N= -684.634134773,My= -8.52548403627,Mz= 0.0))
preprocessor.getElementHandler.getElement(4545).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.487362218874,N= 322.892655947,My= 2.46087036235,Mz= 0.0))
preprocessor.getElementHandler.getElement(4545).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.157928450895,N= -698.686099779,My= -8.51868914028,Mz= 0.0))
preprocessor.getElementHandler.getElement(4546).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU602", CF=0.485688702573,N= 283.024468251,My= -1.04904062214,Mz= 0.0))
preprocessor.getElementHandler.getElement(4546).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.139983827256,N= -624.648601474,My= -7.13707704058,Mz= 0.0))
preprocessor.getElementHandler.getElement(4547).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.452049433304,N= 303.981875841,My= 2.68773408508,Mz= 0.0))
preprocessor.getElementHandler.getElement(4547).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.143790250399,N= -632.347398568,My= -8.04911205933,Mz= 0.0))
preprocessor.getElementHandler.getElement(4548).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.47627531872,N= 312.451754843,My= 6.49218214861,Mz= 0.0))
preprocessor.getElementHandler.getElement(4548).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.145525349792,N= -644.300487473,My= -7.81204803283,Mz= 0.0))
preprocessor.getElementHandler.getElement(4549).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.493889068236,N= 284.078735009,My= -1.40320105206,Mz= 0.0))
preprocessor.getElementHandler.getElement(4549).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.128384590279,N= -570.133311355,My= -6.75877104443,Mz= 0.0))
preprocessor.getElementHandler.getElement(4550).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.439135644303,N= 300.298268972,My= 3.06267211869,Mz= 0.0))
preprocessor.getElementHandler.getElement(4550).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.131305450967,N= -575.8096058,My= -7.47651014882,Mz= 0.0))
preprocessor.getElementHandler.getElement(4551).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.478012562068,N= 306.92555704,My= 7.12087566407,Mz= 0.0))
preprocessor.getElementHandler.getElement(4551).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.132189695878,N= -585.947805473,My= -7.0428426367,Mz= 0.0))
preprocessor.getElementHandler.getElement(4552).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.495018995241,N= 280.669040713,My= -1.77314991064,Mz= 0.0))
preprocessor.getElementHandler.getElement(4552).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.115783407871,N= -511.168389578,My= -6.32773095973,Mz= 0.0))
preprocessor.getElementHandler.getElement(4553).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.425971046657,N= 296.472494452,My= 3.43851192711,Mz= 0.0))
preprocessor.getElementHandler.getElement(4553).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.117875290181,N= -514.942185929,My= -6.86430217778,Mz= 0.0))
preprocessor.getElementHandler.getElement(4554).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.479979343108,N= 301.099550452,My= 7.7935768561,Mz= 0.0))
preprocessor.getElementHandler.getElement(4554).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.117975960962,N= -523.464070436,My= -6.2453202816,Mz= 0.0))
preprocessor.getElementHandler.getElement(4555).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.496383435902,N= 277.3029577,My= -2.14028462401,Mz= 0.0))
preprocessor.getElementHandler.getElement(4555).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.102173259109,N= -447.729211231,My= -5.84308048661,Mz= 0.0))
preprocessor.getElementHandler.getElement(4556).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.41293350362,N= 292.624141236,My= 3.80534909598,Mz= 0.0))
preprocessor.getElementHandler.getElement(4556).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.10346130988,N= -449.606872976,My= -6.20794934243,Mz= 0.0))
preprocessor.getElementHandler.getElement(4557).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.482190003832,N= 295.120071505,My= 8.49805331844,Mz= 0.0))
preprocessor.getElementHandler.getElement(4557).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.102815124262,N= -456.583559635,My= -5.4126941052,Mz= 0.0))
preprocessor.getElementHandler.getElement(4558).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.504391912216,N= 283.247483611,My= -2.046434077,Mz= 0.0))
preprocessor.getElementHandler.getElement(4558).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0875258124062,N= -379.729318248,My= -5.30028530375,Mz= 0.0))
preprocessor.getElementHandler.getElement(4559).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.400369549297,N= 288.895503762,My= 4.15704730332,Mz= 0.0))
preprocessor.getElementHandler.getElement(4559).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0880080266358,N= -379.618422588,My= -5.4998032703,Mz= 0.0))
preprocessor.getElementHandler.getElement(4560).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.484617579998,N= 289.146773689,My= 9.21784139921,Mz= 0.0))
preprocessor.getElementHandler.getElement(4560).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0866330456981,N= -385.00861988,My= -4.53861874844,Mz= 0.0))
preprocessor.getElementHandler.getElement(4561).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.508864071671,N= 281.777359283,My= -2.41215528528,Mz= 0.0))
preprocessor.getElementHandler.getElement(4561).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0718003875453,N= -307.019566012,My= -4.69476778105,Mz= 0.0))
preprocessor.getElementHandler.getElement(4562).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.406510684472,N= 276.348685356,My= 4.66401213089,Mz= 0.0))
preprocessor.getElementHandler.getElement(4562).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0714610445889,N= -304.750028289,My= -4.73585949382,Mz= 0.0))
preprocessor.getElementHandler.getElement(4563).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.487179991151,N= 283.353808057,My= 9.93112852055,Mz= 0.0))
preprocessor.getElementHandler.getElement(4563).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0693681472229,N= -308.436127812,My= -3.62214600179,Mz= 0.0))
preprocessor.getElementHandler.getElement(4564).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.51265626757,N= 280.321124367,My= -2.74057138622,Mz= 0.0))
preprocessor.getElementHandler.getElement(4564).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0549411232832,N= -229.382659076,My= -4.02120787907,Mz= 0.0))
preprocessor.getElementHandler.getElement(4565).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.415681720249,N= 282.412996429,My= 4.78468366771,Mz= 0.0))
preprocessor.getElementHandler.getElement(4565).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0537594249373,N= -224.733022042,My= -3.91275911485,Mz= 0.0))
preprocessor.getElementHandler.getElement(4566).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.490018042935,N= 287.035228069,My= 9.80466577608,Mz= 0.0))
preprocessor.getElementHandler.getElement(4566).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0509620149745,N= -226.557275098,My= -2.66402010962,Mz= 0.0))
preprocessor.getElementHandler.getElement(4567).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.515419496312,N= 279.324979486,My= -2.9742050201,Mz= 0.0))
preprocessor.getElementHandler.getElement(4567).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0368716609907,N= -146.518073213,My= -3.27260371551,Mz= 0.0))
preprocessor.getElementHandler.getElement(4568).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.416125617134,N= 279.967414475,My= 5.03913283281,Mz= 0.0))
preprocessor.getElementHandler.getElement(4568).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0348309167017,N= -139.249534278,My= -3.02646777955,Mz= 0.0))
preprocessor.getElementHandler.getElement(4569).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.496531164758,N= 283.260500423,My= 10.6238628688,Mz= 0.0))
preprocessor.getElementHandler.getElement(4569).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0313569788863,N= -139.054033515,My= -1.66599264911,Mz= 0.0))
preprocessor.getElementHandler.getElement(4570).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.516690038242,N= 278.818590009,My= -3.08585214655,Mz= 0.0))
preprocessor.getElementHandler.getElement(4570).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU594", CF=0.0601950729708,N= 21.2863089745,My= -1.77021526198,Mz= 0.0))
preprocessor.getElementHandler.getElement(4571).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.416680819088,N= 278.248478003,My= 5.2357744497,Mz= 0.0))
preprocessor.getElementHandler.getElement(4571).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.0590308563908,N= 31.2781215108,My= -0.712122591341,Mz= 0.0))
preprocessor.getElementHandler.getElement(4572).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.50214167921,N= 280.482000307,My= 11.2865921266,Mz= 0.0))
preprocessor.getElementHandler.getElement(4572).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU594", CF=0.0669303081859,N= 27.0767156363,My= 1.99599679911,Mz= 0.0))
preprocessor.getElementHandler.getElement(4573).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.515842904068,N= 278.788948755,My= -3.04347370719,Mz= 0.0))
preprocessor.getElementHandler.getElement(4573).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.16707853024,N= 103.132722738,My= -0.578278305336,Mz= 0.0))
preprocessor.getElementHandler.getElement(4574).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.417307821603,N= 277.403894608,My= 5.3583114817,Mz= 0.0))
preprocessor.getElementHandler.getElement(4574).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.17618599645,N= 113.879025682,My= 1.33869381729,Mz= 0.0))
preprocessor.getElementHandler.getElement(4575).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.506684590502,N= 279.835251397,My= 11.6777170423,Mz= 0.0))
preprocessor.getElementHandler.getElement(4575).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.189005381683,N= 115.635984241,My= 2.03615769796,Mz= 0.0))
preprocessor.getElementHandler.getElement(4576).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.512327404628,N= 279.267036058,My= -2.81513451038,Mz= 0.0))
preprocessor.getElementHandler.getElement(4576).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.279312647741,N= 183.116547138,My= 1.88506423264,Mz= 0.0))
preprocessor.getElementHandler.getElement(4577).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.417950347637,N= 277.639947265,My= 5.3839031213,Mz= 0.0))
preprocessor.getElementHandler.getElement(4577).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.322003152363,N= 200.018884608,My= 3.19201647491,Mz= 0.0))
preprocessor.getElementHandler.getElement(4578).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.509887611992,N= 280.171178419,My= 11.8816062688,Mz= 0.0))
preprocessor.getElementHandler.getElement(4578).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.348879023355,N= 207.697691007,My= 4.28704869806,Mz= 0.0))
preprocessor.getElementHandler.getElement(4579).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.506100494027,N= 280.515803867,My= -2.3755946344,Mz= 0.0))
preprocessor.getElementHandler.getElement(4579).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.4387393896,N= 290.568922523,My= 2.69149034481,Mz= 0.0))
preprocessor.getElementHandler.getElement(4580).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.418740815703,N= 279.473526896,My= 5.27532464652,Mz= 0.0))
preprocessor.getElementHandler.getElement(4580).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.485966397761,N= 310.969460472,My= 3.98089198591,Mz= 0.0))
preprocessor.getElementHandler.getElement(4581).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.51146547489,N= 282.763695221,My= 11.7617617584,Mz= 0.0))
preprocessor.getElementHandler.getElement(4581).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.517556437007,N= 320.915779445,My= 5.18338744749,Mz= 0.0))
preprocessor.getElementHandler.getElement(4582).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.499423715807,N= 283.837741138,My= -1.72828492058,Mz= 0.0))
preprocessor.getElementHandler.getElement(4582).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.608950632752,N= 406.141848554,My= 3.47417309942,Mz= 0.0))
preprocessor.getElementHandler.getElement(4583).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.421739923642,N= 284.58332559,My= 5.03100373936,Mz= 0.0))
preprocessor.getElementHandler.getElement(4583).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.656916409745,N= 429.230475904,My= 4.56601859717,Mz= 0.0))
preprocessor.getElementHandler.getElement(4584).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.510248419879,N= 288.819571913,My= 11.1230576342,Mz= 0.0))
preprocessor.getElementHandler.getElement(4584).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.692746553264,N= 441.135146268,My= 5.87262771248,Mz= 0.0))
preprocessor.getElementHandler.getElement(4585).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.461992056416,N= 265.198439198,My= -1.36077659972,Mz= 0.0))
preprocessor.getElementHandler.getElement(4585).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.789832049892,N= 528.817635179,My= 4.31898574405,Mz= 0.0))
preprocessor.getElementHandler.getElement(4586).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.434555016967,N= 296.372966371,My= 4.89868091785,Mz= 0.0))
preprocessor.getElementHandler.getElement(4586).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.828952267679,N= 553.144362572,My= 4.70435809198,Mz= 0.0))
preprocessor.getElementHandler.getElement(4587).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.499795119302,N= 299.483827816,My= 9.39022939984,Mz= 0.0))
preprocessor.getElementHandler.getElement(4587).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.86955048,N= 567.995309502,My= 6.05965831995,Mz= 0.0))
preprocessor.getElementHandler.getElement(4588).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU728", CF=0.470960928048,N= 327.174518421,My= 3.74651934191,Mz= 0.0))
preprocessor.getElementHandler.getElement(4588).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.985609434252,N= 649.998187122,My= 6.29930187635,Mz= 0.0))
preprocessor.getElementHandler.getElement(4589).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.479169556284,N= 324.323601189,My= 5.62644654303,Mz= 0.0))
preprocessor.getElementHandler.getElement(4589).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.02256518599,N= 675.235300257,My= 6.45597625248,Mz= 0.0))
preprocessor.getElementHandler.getElement(4590).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.482301461786,N= 313.686374636,My= 6.82108362379,Mz= 0.0))
preprocessor.getElementHandler.getElement(4590).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.06238564335,N= 701.896037005,My= 6.67375355288,Mz= 0.0))
preprocessor.getElementHandler.getElement(4591).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.588311860208,N= 398.340720491,My= 6.89487271931,Mz= 0.0))
preprocessor.getElementHandler.getElement(4591).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.24821684204,N= 758.249042387,My= 13.9457931057,Mz= 0.0))
preprocessor.getElementHandler.getElement(4592).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.568244068101,N= 381.305525507,My= 6.97258447025,Mz= 0.0))
preprocessor.getElementHandler.getElement(4592).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.28766515336,N= 780.035395658,My= 14.5866287897,Mz= 0.0))
preprocessor.getElementHandler.getElement(4593).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.516242671246,N= 346.587852231,My= 6.31848463711,Mz= 0.0))
preprocessor.getElementHandler.getElement(4593).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.34204759986,N= 831.145961402,My= 13.532980553,Mz= 0.0))
preprocessor.getElementHandler.getElement(4594).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.539990041939,N= 344.566785806,My= 1.53473443511,Mz= 0.0))
preprocessor.getElementHandler.getElement(4594).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.36406924888,N= 854.538098617,My= 12.8585873398,Mz= 0.0))
preprocessor.getElementHandler.getElement(4595).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.636421779124,N= 336.088037691,My= -4.44175872482,Mz= 0.0))
preprocessor.getElementHandler.getElement(4595).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.10729731532,N= 735.783081819,My= 6.56850593098,Mz= 0.0))
preprocessor.getElementHandler.getElement(4596).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.623700578026,N= 334.156598126,My= -3.93512468284,Mz= 0.0))
preprocessor.getElementHandler.getElement(4596).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.929453154965,N= 617.603025246,My= 5.51400745344,Mz= 0.0))
preprocessor.getElementHandler.getElement(4597).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.618416872499,N= 329.213173872,My= -4.08621295704,Mz= 0.0))
preprocessor.getElementHandler.getElement(4597).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.762816331147,N= 508.064042604,My= 4.41625689852,Mz= 0.0))
preprocessor.getElementHandler.getElement(4598).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.619198500309,N= 324.253383633,My= -4.56067900521,Mz= 0.0))
preprocessor.getElementHandler.getElement(4598).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.606627000724,N= 404.763502583,My= 3.44516256089,Mz= 0.0))
preprocessor.getElementHandler.getElement(4599).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.616798020588,N= 309.780811353,My= -5.69667988657,Mz= 0.0))
preprocessor.getElementHandler.getElement(4599).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.475211456615,N= 315.626579159,My= 2.83224965387,Mz= 0.0))
preprocessor.getElementHandler.getElement(4600).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.610387147845,N= 309.718761533,My= -5.36180631487,Mz= 0.0))
preprocessor.getElementHandler.getElement(4600).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.35342523165,N= 235.141263683,My= 2.06938404069,Mz= 0.0))
preprocessor.getElementHandler.getElement(4601).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.600933479467,N= 310.434425749,My= -4.79752810271,Mz= 0.0))
preprocessor.getElementHandler.getElement(4601).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.240552188002,N= 160.351274683,My= 1.38028713714,Mz= 0.0))
preprocessor.getElementHandler.getElement(4602).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.589917753729,N= 311.877685125,My= -4.08681837439,Mz= 0.0))
preprocessor.getElementHandler.getElement(4602).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.151551731899,N= 91.1785569307,My= -0.75777307565,Mz= 0.0))
preprocessor.getElementHandler.getElement(4603).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.578210179509,N= 313.949931336,My= -3.28447624153,Mz= 0.0))
preprocessor.getElementHandler.getElement(4603).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.0618252076732,N= 27.4855619355,My= -1.26478923752,Mz= 0.0))
preprocessor.getElementHandler.getElement(4604).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.566405321226,N= 316.541976479,My= -2.43159312506,Mz= 0.0))
preprocessor.getElementHandler.getElement(4604).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.071711121751,N= -309.117352888,My= -4.49723648741,Mz= 0.0))
preprocessor.getElementHandler.getElement(4605).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU606", CF=0.508735033654,N= 285.323676639,My= -2.09572142269,Mz= 0.0))
preprocessor.getElementHandler.getElement(4605).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0883266998711,N= -387.573197614,My= -5.01098915329,Mz= 0.0))
preprocessor.getElementHandler.getElement(4606).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU606", CF=0.496762893057,N= 284.059051002,My= -1.56247224868,Mz= 0.0))
preprocessor.getElementHandler.getElement(4606).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.103808500703,N= -461.037989849,My= -5.46166410832,Mz= 0.0))
preprocessor.getElementHandler.getElement(4607).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU606", CF=0.48567946398,N= 283.109528965,My= -1.04085008394,Mz= 0.0))
preprocessor.getElementHandler.getElement(4607).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.118231839209,N= -529.850066966,My= -5.85292655548,Mz= 0.0))
preprocessor.getElementHandler.getElement(4608).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.48922167866,N= 322.790147662,My= 6.5011836762,Mz= 0.0))
preprocessor.getElementHandler.getElement(4608).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.131678015307,N= -594.367094883,My= -6.18931725478,Mz= 0.0))
preprocessor.getElementHandler.getElement(4609).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.501721750305,N= 323.902455294,My= 7.31491165788,Mz= 0.0))
preprocessor.getElementHandler.getElement(4609).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.144220546648,N= -654.928780452,My= -6.47368384244,Mz= 0.0))
preprocessor.getElementHandler.getElement(4610).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.513536447686,N= 324.838222852,My= 8.09451109551,Mz= 0.0))
preprocessor.getElementHandler.getElement(4610).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.15585776132,N= -711.769225271,My= -6.68726539457,Mz= 0.0))
preprocessor.getElementHandler.getElement(4611).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.526079646246,N= 325.704876268,My= 8.93369106879,Mz= 0.0))
preprocessor.getElementHandler.getElement(4611).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.16645254818,N= -764.9961319,My= -6.76744272473,Mz= 0.0))
preprocessor.getElementHandler.getElement(4612).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.543537452027,N= 327.280887704,My= 10.068110782,Mz= 0.0))
preprocessor.getElementHandler.getElement(4612).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.175779897629,N= -815.197130678,My= -6.57968689448,Mz= 0.0))
preprocessor.getElementHandler.getElement(4613).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.566645511411,N= 330.629127511,My= 11.4551317843,Mz= 0.0))
preprocessor.getElementHandler.getElement(4613).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.18502087253,N= -863.334403494,My= -6.51727999422,Mz= 0.0))
preprocessor.getElementHandler.getElement(4614).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.58858919237,N= 334.921077994,My= 12.6712966052,Mz= 0.0))
preprocessor.getElementHandler.getElement(4614).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.194228846371,N= -904.131134403,My= -7.00931835655,Mz= 0.0))
preprocessor.getElementHandler.getElement(4615).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.60003531212,N= 337.430764491,My= 13.2810726939,Mz= 0.0))
preprocessor.getElementHandler.getElement(4615).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.198092174988,N= -926.873821349,My= -6.78081151078,Mz= 0.0))
preprocessor.getElementHandler.getElement(4616).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.597194151947,N= 336.890176106,My= 13.1222380061,Mz= 0.0))
preprocessor.getElementHandler.getElement(4616).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.196621768179,N= -932.473797155,My= -5.76562238601,Mz= 0.0))
preprocessor.getElementHandler.getElement(4617).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.597004936594,N= 334.265920373,My= 13.3465765245,Mz= 0.0))
preprocessor.getElementHandler.getElement(4617).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.19809217496,N= -926.873821406,My= -6.78081149527,Mz= 0.0))
preprocessor.getElementHandler.getElement(4618).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.584675317101,N= 330.648925674,My= 12.7726531157,Mz= 0.0))
preprocessor.getElementHandler.getElement(4618).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.194228846356,N= -904.131134518,My= -7.00931834182,Mz= 0.0))
preprocessor.getElementHandler.getElement(4619).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.563656669533,N= 327.162685895,My= 11.5510485768,Mz= 0.0))
preprocessor.getElementHandler.getElement(4619).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.185020872529,N= -863.334403668,My= -6.51727998028,Mz= 0.0))
preprocessor.getElementHandler.getElement(4620).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.541824885192,N= 325.116320036,My= 10.1392566602,Mz= 0.0))
preprocessor.getElementHandler.getElement(4620).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.175779897642,N= -815.197130911,My= -6.57968688137,Mz= 0.0))
preprocessor.getElementHandler.getElement(4621).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.525230903608,N= 324.47405681,My= 8.98329727538,Mz= 0.0))
preprocessor.getElementHandler.getElement(4621).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.166452548207,N= -764.996132195,My= -6.76744271246,Mz= 0.0))
preprocessor.getElementHandler.getElement(4622).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.513141919523,N= 324.119782402,My= 8.13084928452,Mz= 0.0))
preprocessor.getElementHandler.getElement(4622).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.155857761361,N= -711.769225627,My= -6.68726538316,Mz= 0.0))
preprocessor.getElementHandler.getElement(4623).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.501546779396,N= 323.464085326,My= 7.34189587426,Mz= 0.0))
preprocessor.getElementHandler.getElement(4623).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.144220546704,N= -654.928780872,My= -6.47368383194,Mz= 0.0))
preprocessor.getElementHandler.getElement(4624).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.489149156154,N= 322.51771471,My= 6.52060361046,Mz= 0.0))
preprocessor.getElementHandler.getElement(4624).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.131678015378,N= -594.36709537,My= -6.18931724523,Mz= 0.0))
preprocessor.getElementHandler.getElement(4625).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.477371464008,N= 326.244930177,My= 3.31122810199,Mz= 0.0))
preprocessor.getElementHandler.getElement(4625).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.118231839296,N= -529.850067524,My= -5.85292654694,Mz= 0.0))
preprocessor.getElementHandler.getElement(4626).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.481986440396,N= 322.809099287,My= 2.74792845616,Mz= 0.0))
preprocessor.getElementHandler.getElement(4626).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.103808500808,N= -461.037990482,My= -5.46166410092,Mz= 0.0))
preprocessor.getElementHandler.getElement(4627).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.487759206701,N= 319.535076732,My= 2.13579643953,Mz= 0.0))
preprocessor.getElementHandler.getElement(4627).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.088326699995,N= -387.573198328,My= -5.01098914712,Mz= 0.0))
preprocessor.getElementHandler.getElement(4628).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.566405320492,N= 316.541975786,My= -2.43159314659,Mz= 0.0))
preprocessor.getElementHandler.getElement(4628).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0717111218954,N= -309.11735369,My= -4.4972364826,Mz= 0.0))
preprocessor.getElementHandler.getElement(4629).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.578210178727,N= 313.949930547,My= -3.28447626891,Mz= 0.0))
preprocessor.getElementHandler.getElement(4629).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0538900537254,N= -225.354642272,My= -3.91642596765,Mz= 0.0))
preprocessor.getElementHandler.getElement(4630).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.589917752891,N= 311.877684228,My= -4.08681840819,Mz= 0.0))
preprocessor.getElementHandler.getElement(4630).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0347964743221,N= -135.99287548,My= -3.26396808988,Mz= 0.0))
preprocessor.getElementHandler.getElement(4631).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.600933478553,N= 310.434424727,My= -4.79752814342,Mz= 0.0))
preprocessor.getElementHandler.getElement(4631).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU600", CF=0.0885909171449,N= 22.5871199766,My= -3.37716697753,Mz= 0.0))
preprocessor.getElementHandler.getElement(4632).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.610387146829,N= 309.718760365,My= -5.36180636286,Mz= 0.0))
preprocessor.getElementHandler.getElement(4632).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.214938900185,N= 112.195701045,My= -2.75944092222,Mz= 0.0))
preprocessor.getElementHandler.getElement(4633).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.616798019422,N= 309.780810009,My= -5.69667994199,Mz= 0.0))
preprocessor.getElementHandler.getElement(4633).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.349121079436,N= 220.443342114,My= 3.13184367238,Mz= 0.0))
preprocessor.getElementHandler.getElement(4634).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.619214999703,N= 324.260330232,My= -4.5609483758,Mz= 0.0))
preprocessor.getElementHandler.getElement(4634).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.521285708319,N= 334.662183115,My= 4.1698606928,Mz= 0.0))
preprocessor.getElementHandler.getElement(4635).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.618432562576,N= 329.223757139,My= -4.08612189706,Mz= 0.0))
preprocessor.getElementHandler.getElement(4635).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.702823534756,N= 455.044122959,My= 5.26947717076,Mz= 0.0))
preprocessor.getElementHandler.getElement(4636).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.623716947147,N= 334.171923676,My= -3.93465567737,Mz= 0.0))
preprocessor.getElementHandler.getElement(4636).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.894805242274,N= 581.716768311,My= 6.49070446663,Mz= 0.0))
preprocessor.getElementHandler.getElement(4637).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.636442189237,N= 336.109287924,My= -4.44098700618,Mz= 0.0))
preprocessor.getElementHandler.getElement(4637).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.09967031801,N= 717.794689988,My= 7.71074335257,Mz= 0.0))
preprocessor.getElementHandler.getElement(4638).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU699", CF=0.513858968499,N= 289.436504833,My= -2.00866141663,Mz= 0.0))
preprocessor.getElementHandler.getElement(4638).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.36410696846,N= 854.562376123,My= 12.8588833888,Mz= 0.0))
preprocessor.getElementHandler.getElement(4639).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.477666245034,N= 338.337220367,My= 4.38747018479,Mz= 0.0))
preprocessor.getElementHandler.getElement(4639).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.3402287821,N= 824.708255561,My= 14.002788444,Mz= 0.0))
preprocessor.getElementHandler.getElement(4640).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.49951239877,N= 328.544998758,My= 6.73187470673,Mz= 0.0))
preprocessor.getElementHandler.getElement(4640).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.35652758908,N= 823.615186751,My= 15.1953247691,Mz= 0.0))
preprocessor.getElementHandler.getElement(4641).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.487978511296,N= 315.789284834,My= 7.04563214897,Mz= 0.0))
preprocessor.getElementHandler.getElement(4641).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.44562485049,N= 889.045506531,My= 15.151590072,Mz= 0.0))
preprocessor.getElementHandler.getElement(4642).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.531514894381,N= 342.223203656,My= 1.78747906813,Mz= 0.0))
preprocessor.getElementHandler.getElement(4642).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.09595553786,N= 731.476517545,My= 6.20437516106,Mz= 0.0))
preprocessor.getElementHandler.getElement(4643).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.506047813143,N= 345.642244545,My= 5.65830890696,Mz= 0.0))
preprocessor.getElementHandler.getElement(4643).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.119992078,N= 739.822858655,My= 7.0478110831,Mz= 0.0))
preprocessor.getElementHandler.getElement(4644).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.519983674624,N= 337.505951858,My= 7.41652660868,Mz= 0.0))
preprocessor.getElementHandler.getElement(4644).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.16470659073,N= 769.344800081,My= 7.33053978242,Mz= 0.0))
preprocessor.getElementHandler.getElement(4645).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU711", CF=0.57663834322,N= 330.276250329,My= -1.76466911198,Mz= 0.0))
preprocessor.getElementHandler.getElement(4645).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.927929198671,N= 624.997254388,My= 4.7323105946,Mz= 0.0))
preprocessor.getElementHandler.getElement(4646).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.488449305483,N= 335.460195573,My= 3.53662528764,Mz= 0.0))
preprocessor.getElementHandler.getElement(4646).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.948230523106,N= 637.251475364,My= 4.9663102178,Mz= 0.0))
preprocessor.getElementHandler.getElement(4647).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.55471713838,N= 345.704268477,My= 9.21402286443,Mz= 0.0))
preprocessor.getElementHandler.getElement(4647).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.988044271604,N= 651.724192832,My= 6.3038109353,Mz= 0.0))
preprocessor.getElementHandler.getElement(4648).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.577819742923,N= 330.548381786,My= -1.80482895726,Mz= 0.0))
preprocessor.getElementHandler.getElement(4648).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.769072396941,N= 518.775938095,My= 3.85092856639,Mz= 0.0))
preprocessor.getElementHandler.getElement(4649).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU704", CF=0.469888094301,N= 323.688683478,My= 3.49040901087,Mz= 0.0))
preprocessor.getElementHandler.getElement(4649).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.798624823325,N= 532.088643909,My= 4.60750021121,Mz= 0.0))
preprocessor.getElementHandler.getElement(4650).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.56092707481,N= 339.233902756,My= 10.255697644,Mz= 0.0))
preprocessor.getElementHandler.getElement(4650).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.828644970757,N= 540.769913262,My= 5.82107545508,Mz= 0.0))
preprocessor.getElementHandler.getElement(4651).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.574346833755,N= 324.690499928,My= -2.14178473913,Mz= 0.0))
preprocessor.getElementHandler.getElement(4651).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.616337766858,N= 416.281383215,My= 3.03723452034,Mz= 0.0))
preprocessor.getElementHandler.getElement(4652).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU722", CF=0.459588598903,N= 251.884893067,My= -2.40614006554,Mz= 0.0))
preprocessor.getElementHandler.getElement(4652).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.647362690187,N= 429.121940012,My= 3.93586254652,Mz= 0.0))
preprocessor.getElementHandler.getElement(4653).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.552677741846,N= 330.8279186,My= 10.4150073456,Mz= 0.0))
preprocessor.getElementHandler.getElement(4653).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.67107706418,N= 434.192069155,My= 5.05882139088,Mz= 0.0))
preprocessor.getElementHandler.getElement(4654).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.570134347858,N= 319.896550693,My= -2.33668476859,Mz= 0.0))
preprocessor.getElementHandler.getElement(4654).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.480403251105,N= 325.197469046,My= 2.30047877704,Mz= 0.0))
preprocessor.getElementHandler.getElement(4655).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU699", CF=0.451063867758,N= 307.852381471,My= 5.06480306596,Mz= 0.0))
preprocessor.getElementHandler.getElement(4655).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.50010428776,N= 334.58668113,My= 2.75757350491,Mz= 0.0))
preprocessor.getElementHandler.getElement(4656).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.542503705359,N= 324.946782531,My= 10.2043165064,Mz= 0.0))
preprocessor.getElementHandler.getElement(4656).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.518498020387,N= 332.512616653,My= 4.18063795696,Mz= 0.0))
preprocessor.getElementHandler.getElement(4657).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.56510882876,N= 317.260231926,My= -2.30007317796,Mz= 0.0))
preprocessor.getElementHandler.getElement(4657).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.3589245837,N= 244.205719879,My= 1.60476571504,Mz= 0.0))
preprocessor.getElementHandler.getElement(4658).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.437004978986,N= 317.894799778,My= 4.76907858185,Mz= 0.0))
preprocessor.getElementHandler.getElement(4658).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.377741975239,N= 252.67680425,My= 2.08703626375,Mz= 0.0))
preprocessor.getElementHandler.getElement(4659).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.534701355506,N= 316.269395189,My= 10.4209671337,Mz= 0.0))
preprocessor.getElementHandler.getElement(4659).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.388367039826,N= 252.566664598,My= 2.80907400221,Mz= 0.0))
preprocessor.getElementHandler.getElement(4660).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.559562377224,N= 316.122774826,My= -2.10496357553,Mz= 0.0))
preprocessor.getElementHandler.getElement(4660).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.245693809607,N= 168.600793486,My= 0.966598697717,Mz= 0.0))
preprocessor.getElementHandler.getElement(4661).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.43826398009,N= 317.07657608,My= 4.62616515844,Mz= 0.0))
preprocessor.getElementHandler.getElement(4661).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.262931515053,N= 175.856711399,My= 1.45470813197,Mz= 0.0))
preprocessor.getElementHandler.getElement(4662).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.52964105422,N= 318.002322025,My= 9.89339826192,Mz= 0.0))
preprocessor.getElementHandler.getElement(4662).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.270611339696,N= 174.554042875,My= 2.08900748738,Mz= 0.0))
preprocessor.getElementHandler.getElement(4663).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.555646520845,N= 312.08332526,My= -2.24974285201,Mz= 0.0))
preprocessor.getElementHandler.getElement(4663).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.145035878489,N= 98.4749026508,My= 0.378672632964,Mz= 0.0))
preprocessor.getElementHandler.getElement(4664).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.44302230905,N= 317.955638207,My= 4.44480948814,Mz= 0.0))
preprocessor.getElementHandler.getElement(4664).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.155968207823,N= 104.394482802,My= 0.855736604691,Mz= 0.0))
preprocessor.getElementHandler.getElement(4665).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.525536910559,N= 321.674973471,My= 9.25974113947,Mz= 0.0))
preprocessor.getElementHandler.getElement(4665).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.161113945235,N= 101.9708877,My= 1.42326538857,Mz= 0.0))
preprocessor.getElementHandler.getElement(4666).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.55247407864,N= 314.852541354,My= -1.83375690742,Mz= 0.0))
preprocessor.getElementHandler.getElement(4666).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.0620510679909,N= 33.8005087183,My= -0.657809500523,Mz= 0.0))
preprocessor.getElementHandler.getElement(4667).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.450387400168,N= 320.070075194,My= 4.23219821486,Mz= 0.0))
preprocessor.getElementHandler.getElement(4667).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU633", CF=0.0619635464214,N= 37.6082864292,My= -0.277449372764,Mz= 0.0))
preprocessor.getElementHandler.getElement(4668).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.522283741556,N= 326.758501996,My= 8.56029864294,Mz= 0.0))
preprocessor.getElementHandler.getElement(4668).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.0601593990967,N= 34.9469229158,My= 0.818990399226,Mz= 0.0))
preprocessor.getElementHandler.getElement(4669).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU606", CF=0.491973283316,N= 285.228712571,My= -1.19432411225,Mz= 0.0))
preprocessor.getElementHandler.getElement(4669).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0701229522663,N= -303.210614512,My= -4.32502480909,Mz= 0.0))
preprocessor.getElementHandler.getElement(4670).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.459592745003,N= 323.021123243,My= 3.99431432835,Mz= 0.0))
preprocessor.getElementHandler.getElement(4670).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0701050803342,N= -299.13004984,My= -4.63342507622,Mz= 0.0))
preprocessor.getElementHandler.getElement(4671).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.519772776192,N= 332.799648788,My= 7.82825046865,Mz= 0.0))
preprocessor.getElementHandler.getElement(4671).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0685531732431,N= -302.689464469,My= -3.74372404666,Mz= 0.0))
preprocessor.getElementHandler.getElement(4672).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.489892685275,N= 322.162581936,My= 2.25624066904,Mz= 0.0))
preprocessor.getElementHandler.getElement(4672).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0872494154759,N= -382.705505553,My= -4.96074391414,Mz= 0.0))
preprocessor.getElementHandler.getElement(4673).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.470001415369,N= 326.482585087,My= 3.73659502428,Mz= 0.0))
preprocessor.getElementHandler.getElement(4673).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0877720299154,N= -379.870138803,My= -5.38689394707,Mz= 0.0))
preprocessor.getElementHandler.getElement(4674).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.517901557928,N= 339.434061345,My= 7.08916900458,Mz= 0.0))
preprocessor.getElementHandler.getElement(4674).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0865944721718,N= -384.046257069,My= -4.59774693332,Mz= 0.0))
preprocessor.getElementHandler.getElement(4675).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.491269549904,N= 326.343296253,My= 2.55846354302,Mz= 0.0))
preprocessor.getElementHandler.getElement(4675).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.103244812689,N= -457.171423923,My= -5.5373905993,Mz= 0.0))
preprocessor.getElementHandler.getElement(4676).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.481241080914,N= 334.629493297,My= 3.85661027232,Mz= 0.0))
preprocessor.getElementHandler.getElement(4676).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.10430798975,N= -455.495486166,My= -6.0879515684,Mz= 0.0))
preprocessor.getElementHandler.getElement(4677).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.516574473395,N= 346.371360701,My= 6.36241335395,Mz= 0.0))
preprocessor.getElementHandler.getElement(4677).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.103497540056,N= -460.154190752,My= -5.40686009733,Mz= 0.0))
preprocessor.getElementHandler.getElement(4678).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.493464628574,N= 330.664195913,My= 2.82851029162,Mz= 0.0))
preprocessor.getElementHandler.getElement(4678).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.118191824558,N= -526.964280838,My= -6.06018801986,Mz= 0.0))
preprocessor.getElementHandler.getElement(4679).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.494834947406,N= 340.302447924,My= 3.62411652474,Mz= 0.0))
preprocessor.getElementHandler.getElement(4679).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.119804978007,N= -526.394557331,My= -6.74300167821,Mz= 0.0))
preprocessor.getElementHandler.getElement(4680).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.500423357879,N= 346.09673925,My= 3.84130366646,Mz= 0.0))
preprocessor.getElementHandler.getElement(4680).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.119355949454,N= -531.437868778,My= -6.17528887955,Mz= 0.0))
preprocessor.getElementHandler.getElement(4681).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.496356009598,N= 334.984673343,My= 3.06035974036,Mz= 0.0))
preprocessor.getElementHandler.getElement(4681).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.132181979738,N= -592.460410468,My= -6.53628396908,Mz= 0.0))
preprocessor.getElementHandler.getElement(4682).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.508362701726,N= 345.906391389,My= 3.38901154344,Mz= 0.0))
preprocessor.getElementHandler.getElement(4682).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.134378381736,N= -593.000857959,My= -7.36421932878,Mz= 0.0))
preprocessor.getElementHandler.getElement(4683).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.526506891452,N= 350.963651528,My= 2.85152761406,Mz= 0.0))
preprocessor.getElementHandler.getElement(4683).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.134300528651,N= -598.415827695,My= -6.91474874618,Mz= 0.0))
preprocessor.getElementHandler.getElement(4684).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.499804217365,N= 339.173700873,My= 3.24981869485,Mz= 0.0))
preprocessor.getElementHandler.getElement(4684).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.14529884488,N= -654.015708998,My= -6.97125359654,Mz= 0.0))
preprocessor.getElementHandler.getElement(4685).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.521523122433,N= 351.286568982,My= 3.15382276035,Mz= 0.0))
preprocessor.getElementHandler.getElement(4685).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.148151253103,N= -655.75412533,My= -7.96633298277,Mz= 0.0))
preprocessor.getElementHandler.getElement(4686).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.552332188496,N= 355.506325983,My= 1.84661249524,Mz= 0.0))
preprocessor.getElementHandler.getElement(4686).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.148493638826,N= -661.684297436,My= -7.6434347354,Mz= 0.0))
preprocessor.getElementHandler.getElement(4687).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.503658353892,N= 343.10786618,My= 3.39400789341,Mz= 0.0))
preprocessor.getElementHandler.getElement(4687).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.157520580312,N= -711.920596229,My= -7.33399598678,Mz= 0.0))
preprocessor.getElementHandler.getElement(4688).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.534044938612,N= 356.300367338,My= 2.92053307026,Mz= 0.0))
preprocessor.getElementHandler.getElement(4688).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.161122552596,N= -715.061314435,My= -8.51746846834,Mz= 0.0))
preprocessor.getElementHandler.getElement(4689).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.614089122251,N= 359.620591109,My= -1.16615031569,Mz= 0.0))
preprocessor.getElementHandler.getElement(4689).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.162027640511,N= -721.840492364,My= -8.35174732805,Mz= 0.0))
preprocessor.getElementHandler.getElement(4690).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.507762148222,N= 346.671078115,My= 3.49100390958,Mz= 0.0))
preprocessor.getElementHandler.getElement(4690).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.168661296473,N= -766.391643623,My= -7.53416007344,Mz= 0.0))
preprocessor.getElementHandler.getElement(4691).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.5456794221,N= 360.814627446,My= 2.6907440573,Mz= 0.0))
preprocessor.getElementHandler.getElement(4691).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.172945124463,N= -771.356693378,My= -8.84658688192,Mz= 0.0))
preprocessor.getElementHandler.getElement(4692).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.634508461648,N= 363.376367514,My= -1.94589210451,Mz= 0.0))
preprocessor.getElementHandler.getElement(4692).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.174709556966,N= -779.391131695,My= -8.92409718041,Mz= 0.0))
preprocessor.getElementHandler.getElement(4693).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.511960515599,N= 349.755933767,My= 3.53960319053,Mz= 0.0))
preprocessor.getElementHandler.getElement(4693).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.179179473849,N= -817.458336418,My= -7.75101272863,Mz= 0.0))
preprocessor.getElementHandler.getElement(4694).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.556198079,N= 364.70587412,My= 2.4658232362,Mz= 0.0))
preprocessor.getElementHandler.getElement(4694).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.183932121356,N= -824.863478797,My= -9.06043124005,Mz= 0.0))
preprocessor.getElementHandler.getElement(4695).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.651310058366,N= 367.632163145,My= -2.47830941321,Mz= 0.0))
preprocessor.getElementHandler.getElement(4695).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.185992449828,N= -835.762923355,My= -9.03360900865,Mz= 0.0))
preprocessor.getElementHandler.getElement(4696).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.516106804455,N= 352.266502377,My= 3.53917639776,Mz= 0.0))
preprocessor.getElementHandler.getElement(4696).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.190192275714,N= -864.048866577,My= -8.50978552156,Mz= 0.0))
preprocessor.getElementHandler.getElement(4697).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.61285235236,N= 354.560873715,My= -1.55545837736,Mz= 0.0))
preprocessor.getElementHandler.getElement(4697).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.197185747233,N= -873.70664155,My= -10.5323567097,Mz= 0.0))
preprocessor.getElementHandler.getElement(4698).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.667990573522,N= 373.055927453,My= -2.8902335284,Mz= 0.0))
preprocessor.getElementHandler.getElement(4698).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.200536663187,N= -894.542249507,My= -10.2483879882,Mz= 0.0))
preprocessor.getElementHandler.getElement(4699).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.525101097128,N= 344.206562281,My= 7.18282569485,Mz= 0.0))
preprocessor.getElementHandler.getElement(4699).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.199390390548,N= -901.824053649,My= -9.23152192059,Mz= 0.0))
preprocessor.getElementHandler.getElement(4700).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.638337488772,N= 363.726128062,My= -2.1241358492,Mz= 0.0))
preprocessor.getElementHandler.getElement(4700).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.209814124158,N= -912.920249461,My= -12.501180998,Mz= 0.0))
preprocessor.getElementHandler.getElement(4701).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.698107533528,N= 387.047075025,My= -3.26745592834,Mz= 0.0))
preprocessor.getElementHandler.getElement(4701).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.217710429104,N= -947.917604734,My= -12.922194338,Mz= 0.0))
preprocessor.getElementHandler.getElement(4702).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.528226062787,N= 348.357538497,My= 7.03473953799,Mz= 0.0))
preprocessor.getElementHandler.getElement(4702).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.202512226238,N= -924.906917585,My= -8.68310321137,Mz= 0.0))
preprocessor.getElementHandler.getElement(4703).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.644854741723,N= 372.652553478,My= -1.67490001619,Mz= 0.0))
preprocessor.getElementHandler.getElement(4703).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.21237697549,N= -937.756751872,My= -11.5958414096,Mz= 0.0))
preprocessor.getElementHandler.getElement(4704).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.728037966592,N= 407.083376457,My= -3.10705086122,Mz= 0.0))
preprocessor.getElementHandler.getElement(4704).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.221759159894,N= -975.246634326,My= -12.4125221107,Mz= 0.0))
preprocessor.getElementHandler.getElement(4705).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.527052200202,N= 355.645253547,My= 3.24457122405,Mz= 0.0))
preprocessor.getElementHandler.getElement(4705).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.202034528159,N= -932.138507074,My= -7.93485761384,Mz= 0.0))
preprocessor.getElementHandler.getElement(4706).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.637247188205,N= 372.482056097,My= -1.27338899762,Mz= 0.0))
preprocessor.getElementHandler.getElement(4706).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.210619042224,N= -946.171358806,My= -10.2491941397,Mz= 0.0))
preprocessor.getElementHandler.getElement(4707).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.723058235463,N= 407.361864997,My= -2.81841442871,Mz= 0.0))
preprocessor.getElementHandler.getElement(4707).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.218066022764,N= -979.787280495,My= -10.5990881665,Mz= 0.0))
preprocessor.getElementHandler.getElement(4708).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.523744598407,N= 355.261168392,My= 3.39113869595,Mz= 0.0))
preprocessor.getElementHandler.getElement(4708).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.202512226213,N= -924.906917644,My= -8.68310319717,Mz= 0.0))
preprocessor.getElementHandler.getElement(4709).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.630381061466,N= 363.852427738,My= -1.67669351242,Mz= 0.0))
preprocessor.getElementHandler.getElement(4709).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.212376975467,N= -937.756751932,My= -11.5958413958,Mz= 0.0))
preprocessor.getElementHandler.getElement(4710).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.70000872924,N= 388.364347843,My= -3.25337719199,Mz= 0.0))
preprocessor.getElementHandler.getElement(4710).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.221759159871,N= -975.246634387,My= -12.4125220972,Mz= 0.0))
preprocessor.getElementHandler.getElement(4711).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.520070479136,N= 354.122065037,My= 3.48958521184,Mz= 0.0))
preprocessor.getElementHandler.getElement(4711).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.199390390537,N= -901.824053767,My= -9.23152190708,Mz= 0.0))
preprocessor.getElementHandler.getElement(4712).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.624798404787,N= 355.165914168,My= -2.15547439383,Mz= 0.0))
preprocessor.getElementHandler.getElement(4712).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.209814124148,N= -912.920249582,My= -12.5011809847,Mz= 0.0))
preprocessor.getElementHandler.getElement(4713).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.681797529937,N= 375.781591239,My= -3.38516591462,Mz= 0.0))
preprocessor.getElementHandler.getElement(4713).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.217710429094,N= -947.917604855,My= -12.9221943248,Mz= 0.0))
preprocessor.getElementHandler.getElement(4714).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.516106804576,N= 352.266502244,My= 3.53917637911,Mz= 0.0))
preprocessor.getElementHandler.getElement(4714).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.190192275716,N= -864.048866754,My= -8.5097855088,Mz= 0.0))
preprocessor.getElementHandler.getElement(4715).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.606588381658,N= 350.433396729,My= -1.58504592418,Mz= 0.0))
preprocessor.getElementHandler.getElement(4715).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.197185747236,N= -873.706641732,My= -10.532356697,Mz= 0.0))
preprocessor.getElementHandler.getElement(4716).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.665667486328,N= 370.960609112,My= -2.94983958176,Mz= 0.0))
preprocessor.getElementHandler.getElement(4716).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.20053666319,N= -894.542249691,My= -10.2483879754,Mz= 0.0))
preprocessor.getElementHandler.getElement(4717).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.511960515674,N= 349.755933588,My= 3.53960317028,Mz= 0.0))
preprocessor.getElementHandler.getElement(4717).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.179179473865,N= -817.458336657,My= -7.75101271662,Mz= 0.0))
preprocessor.getElementHandler.getElement(4718).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.556198078985,N= 364.705873941,My= 2.46582322089,Mz= 0.0))
preprocessor.getElementHandler.getElement(4718).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.183932121373,N= -824.863479042,My= -9.06043122796,Mz= 0.0))
preprocessor.getElementHandler.getElement(4719).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.650470490856,N= 366.571577959,My= -2.52633140112,Mz= 0.0))
preprocessor.getElementHandler.getElement(4719).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.185992449845,N= -835.762923602,My= -9.03360899624,Mz= 0.0))
preprocessor.getElementHandler.getElement(4720).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.507762148247,N= 346.671077887,My= 3.4910038876,Mz= 0.0))
preprocessor.getElementHandler.getElement(4720).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.168661296503,N= -766.391643923,My= -7.53416006221,Mz= 0.0))
preprocessor.getElementHandler.getElement(4721).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.545679422012,N= 360.814627218,My= 2.69074404155,Mz= 0.0))
preprocessor.getElementHandler.getElement(4721).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.172945124494,N= -771.356693686,My= -8.84658687045,Mz= 0.0))
preprocessor.getElementHandler.getElement(4722).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.63461072412,N= 362.98104602,My= -1.98720901892,Mz= 0.0))
preprocessor.getElementHandler.getElement(4722).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.174709556996,N= -779.391132005,My= -8.92409716837,Mz= 0.0))
preprocessor.getElementHandler.getElement(4723).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.503658353868,N= 343.107865901,My= 3.39400786955,Mz= 0.0))
preprocessor.getElementHandler.getElement(4723).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.157520580357,N= -711.920596594,My= -7.33399597636,Mz= 0.0))
preprocessor.getElementHandler.getElement(4724).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.534044938446,N= 356.300367058,My= 2.92053305407,Mz= 0.0))
preprocessor.getElementHandler.getElement(4724).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.161122552641,N= -715.061314808,My= -8.51746845748,Mz= 0.0))
preprocessor.getElementHandler.getElement(4725).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.61434081612,N= 359.415621954,My= -1.19846034909,Mz= 0.0))
preprocessor.getElementHandler.getElement(4725).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.162027640555,N= -721.84049274,My= -8.35174731637,Mz= 0.0))
preprocessor.getElementHandler.getElement(4726).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.499804217287,N= 339.173700539,My= 3.24981866893,Mz= 0.0))
preprocessor.getElementHandler.getElement(4726).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.14529884494,N= -654.015709428,My= -6.97125358699,Mz= 0.0))
preprocessor.getElementHandler.getElement(4727).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.521523122186,N= 351.286568648,My= 3.15382274371,Mz= 0.0))
preprocessor.getElementHandler.getElement(4727).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.148151253163,N= -655.754125771,My= -7.96633297255,Mz= 0.0))
preprocessor.getElementHandler.getElement(4728).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.552545263158,N= 355.388405613,My= 1.82428273201,Mz= 0.0))
preprocessor.getElementHandler.getElement(4728).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.148493638884,N= -661.684297881,My= -7.64343472407,Mz= 0.0))
preprocessor.getElementHandler.getElement(4729).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.496356009463,N= 334.984672949,My= 3.06035971217,Mz= 0.0))
preprocessor.getElementHandler.getElement(4729).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.132181979814,N= -592.460410967,My= -6.53628396041,Mz= 0.0))
preprocessor.getElementHandler.getElement(4730).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.508362701388,N= 345.906390995,My= 3.38901152635,Mz= 0.0))
preprocessor.getElementHandler.getElement(4730).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.134378381812,N= -593.000858471,My= -7.36421931924,Mz= 0.0))
preprocessor.getElementHandler.getElement(4731).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.526666153971,N= 350.884733509,My= 2.83567030014,Mz= 0.0))
preprocessor.getElementHandler.getElement(4731).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.134300528724,N= -598.415828211,My= -6.91474873522,Mz= 0.0))
preprocessor.getElementHandler.getElement(4732).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.49346462838,N= 330.664195455,My= 2.8285102609,Mz= 0.0))
preprocessor.getElementHandler.getElement(4732).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.11819182465,N= -526.964281409,My= -6.06018801218,Mz= 0.0))
preprocessor.getElementHandler.getElement(4733).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.494834946973,N= 340.302447467,My= 3.6241165072,Mz= 0.0))
preprocessor.getElementHandler.getElement(4733).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.119804978099,N= -526.394557917,My= -6.7430016694,Mz= 0.0))
preprocessor.getElementHandler.getElement(4734).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.500528642354,N= 346.038451545,My= 3.83026819526,Mz= 0.0))
preprocessor.getElementHandler.getElement(4734).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.119355949543,N= -531.437869368,My= -6.17528886893,Mz= 0.0))
preprocessor.getElementHandler.getElement(4735).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.491269549645,N= 326.343295725,My= 2.55846350947,Mz= 0.0))
preprocessor.getElementHandler.getElement(4735).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.103244812799,N= -457.171424572,My= -5.53739059268,Mz= 0.0))
preprocessor.getElementHandler.getElement(4736).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.481241080374,N= 334.62949277,My= 3.85661025431,Mz= 0.0))
preprocessor.getElementHandler.getElement(4736).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.104307989859,N= -455.495486831,My= -6.08795156035,Mz= 0.0))
preprocessor.getElementHandler.getElement(4737).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.516574472679,N= 346.37136017,My= 6.36241334975,Mz= 0.0))
preprocessor.getElementHandler.getElement(4737).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.103497540161,N= -460.154191422,My= -5.40686008702,Mz= 0.0))
preprocessor.getElementHandler.getElement(4738).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.489892684948,N= 322.162581331,My= 2.25624063235,Mz= 0.0))
preprocessor.getElementHandler.getElement(4738).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0872494156049,N= -382.705506284,My= -4.96074390869,Mz= 0.0))
preprocessor.getElementHandler.getElement(4739).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.469930189607,N= 326.437189081,My= 3.73639738125,Mz= 0.0))
preprocessor.getElementHandler.getElement(4739).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0877720300434,N= -379.870139552,My= -5.38689393984,Mz= 0.0))
preprocessor.getElementHandler.getElement(4740).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.517901557143,N= 339.434060736,My= 7.08916900242,Mz= 0.0))
preprocessor.getElementHandler.getElement(4740).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0865944722936,N= -384.046257822,My= -4.59774692332,Mz= 0.0))
preprocessor.getElementHandler.getElement(4741).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.489430955746,N= 318.275558661,My= 1.93039758965,Mz= 0.0))
preprocessor.getElementHandler.getElement(4741).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0701229524161,N= -303.210615333,My= -4.3250248049,Mz= 0.0))
preprocessor.getElementHandler.getElement(4742).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.459541831929,N= 322.988043222,My= 3.99411610292,Mz= 0.0))
preprocessor.getElementHandler.getElement(4742).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0701050804823,N= -299.130050681,My= -4.63342506985,Mz= 0.0))
preprocessor.getElementHandler.getElement(4743).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.519772775334,N= 332.799648094,My= 7.82825046886,Mz= 0.0))
preprocessor.getElementHandler.getElement(4743).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0685531733832,N= -302.689465312,My= -3.74372403695,Mz= 0.0))
preprocessor.getElementHandler.getElement(4744).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.552474077642,N= 314.852540568,My= -1.83375692373,Mz= 0.0))
preprocessor.getElementHandler.getElement(4744).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0517924338342,N= -218.369425922,My= -3.62586449259,Mz= 0.0))
preprocessor.getElementHandler.getElement(4745).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.450350949085,N= 320.045477695,My= 4.23197373172,Mz= 0.0))
preprocessor.getElementHandler.getElement(4745).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0512337215261,N= -212.952177618,My= -3.82344777115,Mz= 0.0))
preprocessor.getElementHandler.getElement(4746).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.522283740616,N= 326.758501206,My= 8.56029864583,Mz= 0.0))
preprocessor.getElementHandler.getElement(4746).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0493044149266,N= -215.747925736,My= -2.84334695162,Mz= 0.0))
preprocessor.getElementHandler.getElement(4747).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.555646519767,N= 312.083324367,My= -2.24974287273,Mz= 0.0))
preprocessor.getElementHandler.getElement(4747).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0321949102166,N= -127.914222747,My= -2.85903417476,Mz= 0.0))
preprocessor.getElementHandler.getElement(4748).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.442996524886,N= 317.937075308,My= 4.44454558595,Mz= 0.0))
preprocessor.getElementHandler.getElement(4748).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0311314571117,N= -121.094787365,My= -2.95360156694,Mz= 0.0))
preprocessor.getElementHandler.getElement(4749).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.525536909528,N= 321.674972575,My= 9.25974114535,Mz= 0.0))
preprocessor.getElementHandler.getElement(4749).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0288014422728,N= -122.980811404,My= -1.89672093075,Mz= 0.0))
preprocessor.getElementHandler.getElement(4750).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.55955670828,N= 316.114173466,My= -2.1054135438,Mz= 0.0))
preprocessor.getElementHandler.getElement(4750).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU594", CF=0.0864361579571,N= 40.4740482688,My= -1.56679128821,Mz= 0.0))
preprocessor.getElementHandler.getElement(4751).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.438246399233,N= 317.062476768,My= 4.62585492677,Mz= 0.0))
preprocessor.getElementHandler.getElement(4751).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.090154849541,N= 50.7603937482,My= -0.793241444211,Mz= 0.0))
preprocessor.getElementHandler.getElement(4752).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.529641053082,N= 318.002321008,My= 9.89339827102,Mz= 0.0))
preprocessor.getElementHandler.getElement(4752).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU594", CF=0.0839272767595,N= 41.9543589323,My= 1.76748073232,Mz= 0.0))
preprocessor.getElementHandler.getElement(4753).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.565110209146,N= 317.256148213,My= -2.30050294689,Mz= 0.0))
preprocessor.getElementHandler.getElement(4753).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU709", CF=0.214985508114,N= 121.902080707,My= -1.80718542105,Mz= 0.0))
preprocessor.getElementHandler.getElement(4754).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.436994031392,N= 317.884176256,My= 4.76871882728,Mz= 0.0))
preprocessor.getElementHandler.getElement(4754).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.221002223706,N= 132.489050926,My= 2.63112695242,Mz= 0.0))
preprocessor.getElementHandler.getElement(4755).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.534701354242,N= 316.269394033,My= 10.4209671461,Mz= 0.0))
preprocessor.getElementHandler.getElement(4755).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.23266237131,N= 133.185377278,My= 3.34839829057,Mz= 0.0))
preprocessor.getElementHandler.getElement(4756).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.570138827786,N= 319.895952358,My= -2.33697479715,Mz= 0.0))
preprocessor.getElementHandler.getElement(4756).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.358477611654,N= 231.888845735,My= 2.70683277355,Mz= 0.0))
preprocessor.getElementHandler.getElement(4757).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU699", CF=0.451063865817,N= 307.852380162,My= 5.06480304272,Mz= 0.0))
preprocessor.getElementHandler.getElement(4757).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.388273504709,N= 243.952443872,My= 3.59452012934,Mz= 0.0))
preprocessor.getElementHandler.getElement(4758).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.542478832732,N= 324.931265657,My= 10.203904821,Mz= 0.0))
preprocessor.getElementHandler.getElement(4758).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.405434607538,N= 247.228983628,My= 4.44323246157,Mz= 0.0))
preprocessor.getElementHandler.getElement(4759).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.574352167899,N= 324.69301775,My= -2.14184807706,Mz= 0.0))
preprocessor.getElementHandler.getElement(4759).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.530143138791,N= 346.6261773,My= 3.66375501866,Mz= 0.0))
preprocessor.getElementHandler.getElement(4760).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.449257976191,N= 326.310409634,My= 4.85783470149,Mz= 0.0))
preprocessor.getElementHandler.getElement(4760).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.562347838585,N= 360.295472297,My= 4.56526460555,Mz= 0.0))
preprocessor.getElementHandler.getElement(4761).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.552655053319,N= 330.815057214,My= 10.4145144613,Mz= 0.0))
preprocessor.getElementHandler.getElement(4761).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.585358000926,N= 366.433397112,My= 5.54290024697,Mz= 0.0))
preprocessor.getElementHandler.getElement(4762).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.577825685693,N= 330.554446146,My= -1.80460679241,Mz= 0.0))
preprocessor.getElementHandler.getElement(4762).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.708339232457,N= 466.190515363,My= 4.61460807081,Mz= 0.0))
preprocessor.getElementHandler.getElement(4763).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.463579844166,N= 333.950289173,My= 4.76313324061,Mz= 0.0))
preprocessor.getElementHandler.getElement(4763).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.739384201851,N= 480.344141056,My= 5.39389809638,Mz= 0.0))
preprocessor.getElementHandler.getElement(4764).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.56090524127,N= 339.223832979,My= 10.2550139491,Mz= 0.0))
preprocessor.getElementHandler.getElement(4764).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.769716281998,N= 490.35309552,My= 6.50634938385,Mz= 0.0))
preprocessor.getElementHandler.getElement(4765).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU711", CF=0.576645898879,N= 330.286670406,My= -1.7641418495,Mz= 0.0))
preprocessor.getElementHandler.getElement(4765).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.892577717318,N= 589.383253583,My= 5.6368437044,Mz= 0.0))
preprocessor.getElementHandler.getElement(4766).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.474950984712,N= 341.54627562,My= 4.82617399012,Mz= 0.0))
preprocessor.getElementHandler.getElement(4766).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.913848698946,N= 602.250757269,My= 5.87944821109,Mz= 0.0))
preprocessor.getElementHandler.getElement(4767).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.554696035821,N= 345.69816616,My= 9.21303256164,Mz= 0.0))
preprocessor.getElementHandler.getElement(4767).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.954052324213,N= 618.436078541,My= 7.08567049043,Mz= 0.0))
preprocessor.getElementHandler.getElement(4768).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.510753485623,N= 343.32362156,My= 3.02466743448,Mz= 0.0))
preprocessor.getElementHandler.getElement(4768).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.08610793928,N= 712.16899856,My= 7.31906278505,Mz= 0.0))
preprocessor.getElementHandler.getElement(4769).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.506055431597,N= 345.652009357,My= 5.65798010245,Mz= 0.0))
preprocessor.getElementHandler.getElement(4769).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.10566155537,N= 721.006980255,My= 7.81694216172,Mz= 0.0))
preprocessor.getElementHandler.getElement(4770).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.519965033721,N= 337.505205172,My= 7.41523034496,Mz= 0.0))
preprocessor.getElementHandler.getElement(4770).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.15494311873,N= 753.185820698,My= 8.16148910768,Mz= 0.0))
preprocessor.getElementHandler.getElement(4771).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.467080410716,N= 333.198169835,My= 4.50334803178,Mz= 0.0))
preprocessor.getElementHandler.getElement(4771).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.34026043245,N= 824.728325207,My= 14.0030645691,Mz= 0.0))
preprocessor.getElementHandler.getElement(4772).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.499532331528,N= 328.561990064,My= 6.73179109739,Mz= 0.0))
preprocessor.getElementHandler.getElement(4772).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.35656213159,N= 823.636137234,My= 15.1957137222,Mz= 0.0))
preprocessor.getElementHandler.getElement(4773).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.487963741955,N= 315.789222192,My= 7.0445570984,Mz= 0.0))
preprocessor.getElementHandler.getElement(4773).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.44565719231,N= 889.068541747,My= 15.1516399686,Mz= 0.0))
preprocessor.getElementHandler.getElement(4774).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.63060065152,N= 358.816178934,My= -2.14369372508,Mz= 0.0))
preprocessor.getElementHandler.getElement(4774).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.475095984,N= 911.920957773,My= 15.0238247935,Mz= 0.0))
preprocessor.getElementHandler.getElement(4775).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.666107152186,N= 438.447747439,My= 8.94727092483,Mz= 0.0))
preprocessor.getElementHandler.getElement(4775).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.47554003488,N= 883.887407813,My= 17.6300770566,Mz= 0.0))
preprocessor.getElementHandler.getElement(4776).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.826436577094,N= 516.36603762,My= 13.607198102,Mz= 0.0))
preprocessor.getElementHandler.getElement(4776).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.56387586488,N= 943.903780175,My= 18.0329074003,Mz= 0.0))
preprocessor.getElementHandler.getElement(4777).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.763755963612,N= 398.964811034,My= -5.711699187,Mz= 0.0))
preprocessor.getElementHandler.getElement(4777).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.18466180737,N= 787.391956533,My= 7.00893358992,Mz= 0.0))
preprocessor.getElementHandler.getElement(4778).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.646811100949,N= 436.128069496,My= 7.74583599203,Mz= 0.0))
preprocessor.getElementHandler.getElement(4778).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.20723019136,N= 776.245160143,My= 9.54556772812,Mz= 0.0))
preprocessor.getElementHandler.getElement(4779).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.743891324395,N= 456.924045493,My= 12.9621161855,Mz= 0.0))
preprocessor.getElementHandler.getElement(4779).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.26289416832,N= 808.934019649,My= 10.2708831638,Mz= 0.0))
preprocessor.getElementHandler.getElement(4780).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.745142732209,N= 394.894158068,My= -5.07906293605,Mz= 0.0))
preprocessor.getElementHandler.getElement(4780).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.00492642421,N= 670.70399294,My= 5.69058197683,Mz= 0.0))
preprocessor.getElementHandler.getElement(4781).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU626", CF=0.620332962241,N= 296.374075543,My= -7.05468926354,Mz= 0.0))
preprocessor.getElementHandler.getElement(4781).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=1.0255629603,N= 679.633427638,My= 6.25261539865,Mz= 0.0))
preprocessor.getElementHandler.getElement(4782).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.707185862783,N= 424.680481053,My= 13.2027290839,Mz= 0.0))
preprocessor.getElementHandler.getElement(4782).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=1.05372381181,N= 688.04448211,My= 7.36644639477,Mz= 0.0))
preprocessor.getElementHandler.getElement(4783).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.705249411836,N= 380.640040275,My= -4.20586607209,Mz= 0.0))
preprocessor.getElementHandler.getElement(4783).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.835327147348,N= 557.363603486,My= 4.74371569856,Mz= 0.0))
preprocessor.getElementHandler.getElement(4784).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.563643734124,N= 284.226441766,My= -5.10607166709,Mz= 0.0))
preprocessor.getElementHandler.getElement(4784).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.859146861628,N= 565.637387802,My= 5.57929208791,Mz= 0.0))
preprocessor.getElementHandler.getElement(4785).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.669249381737,N= 398.101508036,My= 12.8391300813,Mz= 0.0))
preprocessor.getElementHandler.getElement(4785).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.872145268741,N= 564.517489837,My= 6.55315632975,Mz= 0.0))
preprocessor.getElementHandler.getElement(4786).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.670140947565,N= 367.358407939,My= -3.50175478327,Mz= 0.0))
preprocessor.getElementHandler.getElement(4786).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.672506087872,N= 447.845735173,My= 3.89969361588,Mz= 0.0))
preprocessor.getElementHandler.getElement(4787).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.595546966955,N= 268.135163739,My= -8.20422913742,Mz= 0.0))
preprocessor.getElementHandler.getElement(4787).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.692394680185,N= 454.045910812,My= 4.66245223816,Mz= 0.0))
preprocessor.getElementHandler.getElement(4788).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.63026738432,N= 378.735616848,My= 11.7443482506,Mz= 0.0))
preprocessor.getElementHandler.getElement(4788).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.694616509424,N= 447.728663865,My= 5.39192596444,Mz= 0.0))
preprocessor.getElementHandler.getElement(4789).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.637665113539,N= 356.580430578,My= -2.71882129481,Mz= 0.0))
preprocessor.getElementHandler.getElement(4789).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.516488099503,N= 343.309127141,My= 3.05368395155,Mz= 0.0))
preprocessor.getElementHandler.getElement(4790).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.602611277038,N= 259.006969098,My= -9.37607229323,Mz= 0.0))
preprocessor.getElementHandler.getElement(4790).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.530844098219,N= 347.256276044,My= 3.65281072518,Mz= 0.0))
preprocessor.getElementHandler.getElement(4791).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.598616656959,N= 366.9268428,My= 10.5001234745,Mz= 0.0))
preprocessor.getElementHandler.getElement(4791).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU606", CF=0.525988678686,N= 337.764416576,My= 4.19985635048,Mz= 0.0))
preprocessor.getElementHandler.getElement(4792).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU594", CF=0.555967160363,N= 320.093210749,My= -1.55175363125,Mz= 0.0))
preprocessor.getElementHandler.getElement(4792).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.386701785166,N= 257.194608991,My= 2.27215257233,Mz= 0.0))
preprocessor.getElementHandler.getElement(4793).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.523147493678,N= 258.796687782,My= -5.17647634934,Mz= 0.0))
preprocessor.getElementHandler.getElement(4793).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.389761997447,N= 258.141006669,My= 2.39021584275,Mz= 0.0))
preprocessor.getElementHandler.getElement(4794).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU602", CF=0.573973703371,N= 358.330217812,My= 9.47714464953,Mz= 0.0))
preprocessor.getElementHandler.getElement(4794).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.379383471652,N= 248.09800771,My= 2.6178487446,Mz= 0.0))
preprocessor.getElementHandler.getElement(4795).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.507190110968,N= 346.68424893,My= 3.52354284843,Mz= 0.0))
preprocessor.getElementHandler.getElement(4795).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.268322518727,N= 178.228724909,My= 1.59791717776,Mz= 0.0))
preprocessor.getElementHandler.getElement(4796).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.488835955147,N= 350.608102894,My= 4.8838719653,Mz= 0.0))
preprocessor.getElementHandler.getElement(4796).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.269733281894,N= 178.967867609,My= 1.62451014142,Mz= 0.0))
preprocessor.getElementHandler.getElement(4797).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.556879088103,N= 358.986590607,My= 8.16668419509,Mz= 0.0))
preprocessor.getElementHandler.getElement(4797).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.258702448782,N= 168.960355949,My= 1.80517470319,Mz= 0.0))
preprocessor.getElementHandler.getElement(4798).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.494413230784,N= 346.65457499,My= 4.22106798655,Mz= 0.0))
preprocessor.getElementHandler.getElement(4798).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.158190171367,N= 104.834461488,My= 0.964178200583,Mz= 0.0))
preprocessor.getElementHandler.getElement(4799).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.492395978039,N= 349.71462317,My= 4.60805814051,Mz= 0.0))
preprocessor.getElementHandler.getElement(4799).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.158519945926,N= 105.617593968,My= 0.914298292588,Mz= 0.0))
preprocessor.getElementHandler.getElement(4800).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.544170270986,N= 360.744178753,My= 7.0772022696,Mz= 0.0))
preprocessor.getElementHandler.getElement(4800).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.147628608077,N= 96.0828286805,My= 1.06086046987,Mz= 0.0))
preprocessor.getElementHandler.getElement(4801).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.485479872238,N= 348.344324839,My= 4.86328808094,Mz= 0.0))
preprocessor.getElementHandler.getElement(4801).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.0643601651747,N= 37.1326210519,My= -0.478147437094,Mz= 0.0))
preprocessor.getElementHandler.getElement(4802).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.499023874818,N= 350.703049168,My= 4.33412510005,Mz= 0.0))
preprocessor.getElementHandler.getElement(4802).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.0650046940638,N= 38.1243772418,My= -0.42192916368,Mz= 0.0))
preprocessor.getElementHandler.getElement(4803).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.534710548733,N= 364.389112884,My= 6.05417017112,Mz= 0.0))
preprocessor.getElementHandler.getElement(4803).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.0565439504138,N= -254.888034472,My= -2.68401150004,Mz= 0.0))
preprocessor.getElementHandler.getElement(4804).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.479776581049,N= 351.29930327,My= 5.44279078173,Mz= 0.0))
preprocessor.getElementHandler.getElement(4804).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0700150414271,N= -302.615451627,My= -4.32830820431,Mz= 0.0))
preprocessor.getElementHandler.getElement(4805).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.507810421814,N= 353.01694087,My= 4.06163279409,Mz= 0.0))
preprocessor.getElementHandler.getElement(4805).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0701247538263,N= -302.158146566,My= -4.40710670468,Mz= 0.0))
preprocessor.getElementHandler.getElement(4806).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.516958533393,N= 369.076618757,My= 5.01109666434,Mz= 0.0))
preprocessor.getElementHandler.getElement(4806).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0698515436422,N= -311.3156329,My= -3.59093787417,Mz= 0.0))
preprocessor.getElementHandler.getElement(4807).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.522554574493,N= 354.94122206,My= 6.0221802999,Mz= 0.0))
preprocessor.getElementHandler.getElement(4807).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0876772489602,N= -384.962237891,My= -4.95568217776,Mz= 0.0))
preprocessor.getElementHandler.getElement(4808).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.519246224689,N= 362.852703814,My= 4.32346746475,Mz= 0.0))
preprocessor.getElementHandler.getElement(4808).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0879102734488,N= -384.848767524,My= -5.05672649482,Mz= 0.0))
preprocessor.getElementHandler.getElement(4809).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.542705643794,N= 375.1494311,My= 4.14869641725,Mz= 0.0))
preprocessor.getElementHandler.getElement(4809).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0877412317154,N= -393.519541119,My= -4.31943447401,Mz= 0.0))
preprocessor.getElementHandler.getElement(4810).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.534165771432,N= 359.441107844,My= 6.4634001754,Mz= 0.0))
preprocessor.getElementHandler.getElement(4810).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.104210911356,N= -462.029406069,My= -5.54435985395,Mz= 0.0))
preprocessor.getElementHandler.getElement(4811).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.532191058707,N= 368.4994603,My= 4.1241756675,Mz= 0.0))
preprocessor.getElementHandler.getElement(4811).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.104548627492,N= -462.374183955,My= -5.65143121899,Mz= 0.0))
preprocessor.getElementHandler.getElement(4812).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.568271691175,N= 381.907671155,My= 3.35813925713,Mz= 0.0))
preprocessor.getElementHandler.getElement(4812).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.104474714124,N= -470.661383001,My= -4.98146253579,Mz= 0.0))
preprocessor.getElementHandler.getElement(4813).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.545388790947,N= 364.307163521,My= 6.84298091897,Mz= 0.0))
preprocessor.getElementHandler.getElement(4813).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.119711944848,N= -534.259038554,My= -6.09814326064,Mz= 0.0))
preprocessor.getElementHandler.getElement(4814).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.545713701152,N= 374.545423897,My= 3.92928217369,Mz= 0.0))
preprocessor.getElementHandler.getElement(4814).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.120132436405,N= -535.185773211,My= -6.1929992462,Mz= 0.0))
preprocessor.getElementHandler.getElement(4815).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.593316861434,N= 389.104302952,My= 2.63573106145,Mz= 0.0))
preprocessor.getElementHandler.getElement(4815).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.120146579175,N= -543.211549208,My= -5.57810968977,Mz= 0.0))
preprocessor.getElementHandler.getElement(4816).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.55599166367,N= 369.335432783,My= 7.16245993691,Mz= 0.0))
preprocessor.getElementHandler.getElement(4816).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.134306666075,N= -602.176042809,My= -6.62646881913,Mz= 0.0))
preprocessor.getElementHandler.getElement(4817).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.559472974402,N= 380.768520762,My= 3.7374226212,Mz= 0.0))
preprocessor.getElementHandler.getElement(4817).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.13478995325,N= -603.912038686,My= -6.68362455081,Mz= 0.0))
preprocessor.getElementHandler.getElement(4818).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.617541909646,N= 396.51183899,My= 1.97732038794,Mz= 0.0))
preprocessor.getElementHandler.getElement(4818).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.134867782565,N= -611.624642866,My= -6.11816519856,Mz= 0.0))
preprocessor.getElementHandler.getElement(4819).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.565758645238,N= 374.340304907,My= 7.42289679607,Mz= 0.0))
preprocessor.getElementHandler.getElement(4819).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.148135458204,N= -666.379651669,My= -7.13859668107,Mz= 0.0))
preprocessor.getElementHandler.getElement(4820).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.573154295995,N= 386.960383696,My= 3.54701339968,Mz= 0.0))
preprocessor.getElementHandler.getElement(4820).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.14863853796,N= -668.714881514,My= -7.15726171802,Mz= 0.0))
preprocessor.getElementHandler.getElement(4821).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.640646192545,N= 403.90511171,My= 1.37904200676,Mz= 0.0))
preprocessor.getElementHandler.getElement(4821).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.148772059916,N= -676.272898095,My= -6.62580670845,Mz= 0.0))
preprocessor.getElementHandler.getElement(4822).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.574476834706,N= 379.146002868,My= 7.62466659669,Mz= 0.0))
preprocessor.getElementHandler.getElement(4822).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.161256601374,N= -727.469176511,My= -7.61127024721,Mz= 0.0))
preprocessor.getElementHandler.getElement(4823).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.586449413325,N= 392.916449956,My= 3.35646769435,Mz= 0.0))
preprocessor.getElementHandler.getElement(4823).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.161597085993,N= -730.17313973,My= -7.53704424879,Mz= 0.0))
preprocessor.getElementHandler.getElement(4824).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.697791402526,N= 411.051167245,My= -1.10709973678,Mz= 0.0))
preprocessor.getElementHandler.getElement(4824).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.161784674042,N= -737.352476797,My= -7.05627453125,Mz= 0.0))
preprocessor.getElementHandler.getElement(4825).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.581931957655,N= 383.582840681,My= 7.76749109746,Mz= 0.0))
preprocessor.getElementHandler.getElement(4825).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.173519894967,N= -785.912648133,My= -7.94882949727,Mz= 0.0))
preprocessor.getElementHandler.getElement(4826).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.59904614618,N= 398.431981421,My= 3.16439809014,Mz= 0.0))
preprocessor.getElementHandler.getElement(4826).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.173495118526,N= -788.669926614,My= -7.72584763121,Mz= 0.0))
preprocessor.getElementHandler.getElement(4827).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.712437488914,N= 417.705929703,My= -1.30856299329,Mz= 0.0))
preprocessor.getElementHandler.getElement(4827).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.17385495676,N= -795.004097733,My= -7.37862610933,Mz= 0.0))
preprocessor.getElementHandler.getElement(4828).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.587911970852,N= 387.487961324,My= 7.85063550822,Mz= 0.0))
preprocessor.getElementHandler.getElement(4828).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.18454060154,N= -842.975631307,My= -7.90108484393,Mz= 0.0))
preprocessor.getElementHandler.getElement(4829).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.610628018642,N= 403.303862373,My= 2.9697991526,Mz= 0.0))
preprocessor.getElementHandler.getElement(4829).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.183725097439,N= -843.91850636,My= -7.5052706033,Mz= 0.0))
preprocessor.getElementHandler.getElement(4830).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.724517958281,N= 423.617864041,My= -1.43652967481,Mz= 0.0))
preprocessor.getElementHandler.getElement(4830).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.185553236578,N= -849.220243808,My= -7.81927797317,Mz= 0.0))
preprocessor.getElementHandler.getElement(4831).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.592216990204,N= 390.710054804,My= 7.87320673727,Mz= 0.0))
preprocessor.getElementHandler.getElement(4831).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.200877536814,N= -901.739950294,My= -9.82689566522,Mz= 0.0))
preprocessor.getElementHandler.getElement(4832).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.643139430553,N= 376.928385355,My= -1.19462521321,Mz= 0.0))
preprocessor.getElementHandler.getElement(4832).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.200406794756,N= -893.087901601,My= -10.3094021562,Mz= 0.0))
preprocessor.getElementHandler.getElement(4833).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.733659713383,N= 428.538992825,My= -1.49295495237,Mz= 0.0))
preprocessor.getElementHandler.getElement(4833).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.199062219207,N= -898.051231938,My= -9.39325937127,Mz= 0.0))
preprocessor.getElementHandler.getElement(4834).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.594673519299,N= 393.117111049,My= 7.8344908821,Mz= 0.0))
preprocessor.getElementHandler.getElement(4834).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.220450389345,N= -954.566144134,My= -13.4931352197,Mz= 0.0))
preprocessor.getElementHandler.getElement(4835).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.688762293672,N= 376.697606059,My= -3.6748911512,Mz= 0.0))
preprocessor.getElementHandler.getElement(4835).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.220654107295,N= -931.775234267,My= -15.3358157466,Mz= 0.0))
preprocessor.getElementHandler.getElement(4836).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.739527354516,N= 432.242650568,My= -1.47993463426,Mz= 0.0))
preprocessor.getElementHandler.getElement(4836).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.209482424173,N= -936.829573303,My= -10.5213559374,Mz= 0.0))
preprocessor.getElementHandler.getElement(4837).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.646251478405,N= 434.968822077,My= 3.87810048485,Mz= 0.0))
preprocessor.getElementHandler.getElement(4837).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.222264751746,N= -982.121015886,My= -12.0812504467,Mz= 0.0))
preprocessor.getElementHandler.getElement(4838).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.636307228474,N= 412.23439566,My= 2.36928165954,Mz= 0.0))
preprocessor.getElementHandler.getElement(4838).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.222015281927,N= -957.2741744,My= -13.9034287391,Mz= 0.0))
preprocessor.getElementHandler.getElement(4839).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.741860284083,N= 434.545172679,My= -1.39977924864,Mz= 0.0))
preprocessor.getElementHandler.getElement(4839).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.210438666572,N= -961.348004664,My= -9.00443142593,Mz= 0.0))
preprocessor.getElementHandler.getElement(4840).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.640421088868,N= 435.25511873,My= 4.22348434815,Mz= 0.0))
preprocessor.getElementHandler.getElement(4840).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.215217088578,N= -987.157200788,My= -8.90119962791,Mz= 0.0))
preprocessor.getElementHandler.getElement(4841).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.641058033045,N= 412.869240235,My= 2.16627614863,Mz= 0.0))
preprocessor.getElementHandler.getElement(4841).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.214873375804,N= -966.555119373,My= -10.357888758,Mz= 0.0))
preprocessor.getElementHandler.getElement(4842).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.74050676115,N= 435.326586174,My= -1.25501115722,Mz= 0.0))
preprocessor.getElementHandler.getElement(4842).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.208783087878,N= -969.696073526,My= -7.7034581242,Mz= 0.0))
preprocessor.getElementHandler.getElement(4843).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.595150225394,N= 394.605653512,My= 7.73426956038,Mz= 0.0))
preprocessor.getElementHandler.getElement(4843).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.222264751795,N= -982.121015946,My= -12.0812504615,Mz= 0.0))
preprocessor.getElementHandler.getElement(4844).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.69877017971,N= 376.259103098,My= -4.24439187005,Mz= 0.0))
preprocessor.getElementHandler.getElement(4844).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.22201528191,N= -957.274174458,My= -13.9034287278,Mz= 0.0))
preprocessor.getElementHandler.getElement(4845).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.741860283782,N= 434.545172645,My= -1.39977923521,Mz= 0.0))
preprocessor.getElementHandler.getElement(4845).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.210438666554,N= -961.348004723,My= -9.00443141415,Mz= 0.0))
preprocessor.getElementHandler.getElement(4846).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.594673518968,N= 393.117110979,My= 7.83449086421,Mz= 0.0))
preprocessor.getElementHandler.getElement(4846).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.220450389339,N= -954.566144255,My= -13.4931352078,Mz= 0.0))
preprocessor.getElementHandler.getElement(4847).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.687385949811,N= 374.24985337,My= -3.81551714718,Mz= 0.0))
preprocessor.getElementHandler.getElement(4847).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.220654107351,N= -931.775234384,My= -15.3358157595,Mz= 0.0))
preprocessor.getElementHandler.getElement(4848).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.739527354133,N= 432.242650501,My= -1.47993461934,Mz= 0.0))
preprocessor.getElementHandler.getElement(4848).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.209482424227,N= -936.829573422,My= -10.5213559497,Mz= 0.0))
preprocessor.getElementHandler.getElement(4849).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.592216989795,N= 390.710054699,My= 7.87320671687,Mz= 0.0))
preprocessor.getElementHandler.getElement(4849).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.200877536822,N= -901.739950477,My= -9.82689565428,Mz= 0.0))
preprocessor.getElementHandler.getElement(4850).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.644885405935,N= 378.165778653,My= -1.17852514912,Mz= 0.0))
preprocessor.getElementHandler.getElement(4850).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.200406794824,N= -893.087901777,My= -10.3094021696,Mz= 0.0))
preprocessor.getElementHandler.getElement(4851).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.733659712916,N= 428.538992724,My= -1.49295493593,Mz= 0.0))
preprocessor.getElementHandler.getElement(4851).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.199062219273,N= -898.051232117,My= -9.39325938367,Mz= 0.0))
preprocessor.getElementHandler.getElement(4852).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.587911970361,N= 387.487961182,My= 7.85063548521,Mz= 0.0))
preprocessor.getElementHandler.getElement(4852).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.184540601563,N= -842.975631551,My= -7.90108483403,Mz= 0.0))
preprocessor.getElementHandler.getElement(4853).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.61062801867,N= 403.303862236,My= 2.96979913868,Mz= 0.0))
preprocessor.getElementHandler.getElement(4853).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.18372509752,N= -843.918506595,My= -7.50527061718,Mz= 0.0))
preprocessor.getElementHandler.getElement(4854).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.724517957726,N= 423.617863904,My= -1.43652965677,Mz= 0.0))
preprocessor.getElementHandler.getElement(4854).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.185553236657,N= -849.220244049,My= -7.81927798566,Mz= 0.0))
preprocessor.getElementHandler.getElement(4855).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.581931957081,N= 383.582840502,My= 7.7674910717,Mz= 0.0))
preprocessor.getElementHandler.getElement(4855).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.173519895005,N= -785.912648441,My= -7.94882948845,Mz= 0.0))
preprocessor.getElementHandler.getElement(4856).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.599046146153,N= 398.431981246,My= 3.16439807579,Mz= 0.0))
preprocessor.getElementHandler.getElement(4856).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.17349511862,N= -788.66992691,My= -7.72584764555,Mz= 0.0))
preprocessor.getElementHandler.getElement(4857).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.712437488265,N= 417.705929528,My= -1.30856297355,Mz= 0.0))
preprocessor.getElementHandler.getElement(4857).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.173854956851,N= -795.004098035,My= -7.37862612186,Mz= 0.0))
preprocessor.getElementHandler.getElement(4858).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.574476834041,N= 379.146002648,My= 7.62466656799,Mz= 0.0))
preprocessor.getElementHandler.getElement(4858).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.161256601427,N= -727.469176883,My= -7.61127023953,Mz= 0.0))
preprocessor.getElementHandler.getElement(4859).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.586449413242,N= 392.916449742,My= 3.35646767959,Mz= 0.0))
preprocessor.getElementHandler.getElement(4859).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.161597086042,N= -730.173140087,My= -7.5370442407,Mz= 0.0))
preprocessor.getElementHandler.getElement(4860).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.697791401779,N= 411.051167031,My= -1.10709971519,Mz= 0.0))
preprocessor.getElementHandler.getElement(4860).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.161784674086,N= -737.352477161,My= -7.05627452051,Mz= 0.0))
preprocessor.getElementHandler.getElement(4861).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.565758644479,N= 374.340304646,My= 7.42289676421,Mz= 0.0))
preprocessor.getElementHandler.getElement(4861).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.148135458273,N= -666.379652108,My= -7.1385966746,Mz= 0.0))
preprocessor.getElementHandler.getElement(4862).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.57315429585,N= 386.96038344,My= 3.54701338451,Mz= 0.0))
preprocessor.getElementHandler.getElement(4862).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.148638538024,N= -668.714881934,My= -7.15726171068,Mz= 0.0))
preprocessor.getElementHandler.getElement(4863).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.640646192112,N= 403.905111454,My= 1.37904200738,Mz= 0.0))
preprocessor.getElementHandler.getElement(4863).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.148772059973,N= -676.272898523,My= -6.62580669787,Mz= 0.0))
preprocessor.getElementHandler.getElement(4864).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.555991662807,N= 369.335432476,My= 7.16245990163,Mz= 0.0))
preprocessor.getElementHandler.getElement(4864).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.134306666161,N= -602.176043317,My= -6.62646881397,Mz= 0.0))
preprocessor.getElementHandler.getElement(4865).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.559472974191,N= 380.768520461,My= 3.73742260561,Mz= 0.0))
preprocessor.getElementHandler.getElement(4865).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.134789953328,N= -603.912039171,My= -6.68362454426,Mz= 0.0))
preprocessor.getElementHandler.getElement(4866).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.617541909095,N= 396.51183869,My= 1.97732039107,Mz= 0.0))
preprocessor.getElementHandler.getElement(4866).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.134867782635,N= -611.624643359,My= -6.11816518814,Mz= 0.0))
preprocessor.getElementHandler.getElement(4867).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.545388789974,N= 364.307163166,My= 6.84298087998,Mz= 0.0))
preprocessor.getElementHandler.getElement(4867).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.119711944952,N= -534.259039133,My= -6.09814325685,Mz= 0.0))
preprocessor.getElementHandler.getElement(4868).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.545713700867,N= 374.545423547,My= 3.92928215766,Mz= 0.0))
preprocessor.getElementHandler.getElement(4868).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.120132436506,N= -535.185773807,My= -6.19299924012,Mz= 0.0))
preprocessor.getElementHandler.getElement(4869).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.593316860751,N= 389.104302603,My= 2.63573106733,Mz= 0.0))
preprocessor.getElementHandler.getElement(4869).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.120146579258,N= -543.211549767,My= -5.57810967948,Mz= 0.0))
preprocessor.getElementHandler.getElement(4870).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.534165770338,N= 359.441107436,My= 6.4634001324,Mz= 0.0))
preprocessor.getElementHandler.getElement(4870).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.104210911477,N= -462.029406723,My= -5.5443598516,Mz= 0.0))
preprocessor.getElementHandler.getElement(4871).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.532191058345,N= 368.499459898,My= 4.12417565101,Mz= 0.0))
preprocessor.getElementHandler.getElement(4871).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.10454862761,N= -462.374184626,My= -5.65143121382,Mz= 0.0))
preprocessor.getElementHandler.getElement(4872).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.568271690348,N= 381.907670752,My= 3.35813926604,Mz= 0.0))
preprocessor.getElementHandler.getElement(4872).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.104474714221,N= -470.661383628,My= -4.98146252555,Mz= 0.0))
preprocessor.getElementHandler.getElement(4873).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.522554573271,N= 354.941221596,My= 6.0221802526,Mz= 0.0))
preprocessor.getElementHandler.getElement(4873).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0876772491011,N= -384.962238623,My= -4.95568217695,Mz= 0.0))
preprocessor.getElementHandler.getElement(4874).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.519246224241,N= 362.852703354,My= 4.32346744778,Mz= 0.0))
preprocessor.getElementHandler.getElement(4874).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0879102735842,N= -384.848768272,My= -5.05672649058,Mz= 0.0))
preprocessor.getElementHandler.getElement(4875).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.542705642816,N= 375.149430641,My= 4.14869642943,Mz= 0.0))
preprocessor.getElementHandler.getElement(4875).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0877412318255,N= -393.519541815,My= -4.3194344638,Mz= 0.0))
preprocessor.getElementHandler.getElement(4876).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.479776581137,N= 351.299302744,My= 5.44279072937,Mz= 0.0))
preprocessor.getElementHandler.getElement(4876).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0700150415885,N= -302.615452443,My= -4.32830820514,Mz= 0.0))
preprocessor.getElementHandler.getElement(4877).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.507782117911,N= 352.99215223,My= 4.06094455727,Mz= 0.0))
preprocessor.getElementHandler.getElement(4877).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0701247539801,N= -302.158147396,My= -4.40710670141,Mz= 0.0))
preprocessor.getElementHandler.getElement(4878).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.516958532244,N= 369.076618234,My= 5.01109668004,Mz= 0.0))
preprocessor.getElementHandler.getElement(4878).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.069851543766,N= -311.315633666,My= -3.59093786398,Mz= 0.0))
preprocessor.getElementHandler.getElement(4879).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.485479872294,N= 348.344324241,My= 4.86328802385,Mz= 0.0))
preprocessor.getElementHandler.getElement(4879).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0511498296128,N= -214.62646955,My= -3.66078568608,Mz= 0.0))
preprocessor.getElementHandler.getElement(4880).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.498996158321,N= 350.677822252,My= 4.33336507873,Mz= 0.0))
preprocessor.getElementHandler.getElement(4880).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0511115098399,N= -213.889835352,My= -3.70256279396,Mz= 0.0))
preprocessor.getElementHandler.getElement(4881).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.534710548247,N= 364.38911229,My= 6.05417018947,Mz= 0.0))
preprocessor.getElementHandler.getElement(4881).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0507135285742,N= -223.585803377,My= -2.79535667647,Mz= 0.0))
preprocessor.getElementHandler.getElement(4882).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.494413230797,N= 346.654574312,My= 4.22106792461,Mz= 0.0))
preprocessor.getElementHandler.getElement(4882).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.031060592524,N= -120.72241858,My= -2.95250609787,Mz= 0.0))
preprocessor.getElementHandler.getElement(4883).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.492369354282,N= 349.689519841,My= 4.60724939888,Mz= 0.0))
preprocessor.getElementHandler.getElement(4883).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU717", CF=0.0308430144264,N= -119.69322427,My= -2.94250339707,Mz= 0.0))
preprocessor.getElementHandler.getElement(4884).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.544170270451,N= 360.744178081,My= 7.07720229145,Mz= 0.0))
preprocessor.getElementHandler.getElement(4884).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0302366903276,N= -129.888160166,My= -1.93102036329,Mz= 0.0))
preprocessor.getElementHandler.getElement(4885).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.50719011092,N= 346.684248162,My= 3.52354278165,Mz= 0.0))
preprocessor.getElementHandler.getElement(4885).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU600", CF=0.0965272546331,N= 35.3733951681,My= -2.71671368949,Mz= 0.0))
preprocessor.getElementHandler.getElement(4886).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.488810696113,N= 350.583434841,My= 4.88302775543,Mz= 0.0))
preprocessor.getElementHandler.getElement(4886).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.097530593128,N= 52.4464455616,My= -1.10090241913,Mz= 0.0))
preprocessor.getElementHandler.getElement(4887).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.556879087509,N= 358.98658985,My= 8.16668422033,Mz= 0.0))
preprocessor.getElementHandler.getElement(4887).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.0717558315536,N= 42.142471001,My= 0.934664026334,Mz= 0.0))
preprocessor.getElementHandler.getElement(4888).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.524758203615,N= 351.508925214,My= 2.99661928958,Mz= 0.0))
preprocessor.getElementHandler.getElement(4888).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.232991991227,N= 141.184544962,My= 2.63529875504,Mz= 0.0))
preprocessor.getElementHandler.getElement(4889).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.489538920165,N= 354.083404989,My= 5.15930053261,Mz= 0.0))
preprocessor.getElementHandler.getElement(4889).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.241863522946,N= 143.760404853,My= 2.99297982964,Mz= 0.0))
preprocessor.getElementHandler.getElement(4890).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU602", CF=0.573973702729,N= 358.330216981,My= 9.47714467793,Mz= 0.0))
preprocessor.getElementHandler.getElement(4890).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.230572447291,N= 133.03515607,My= 3.22217284078,Mz= 0.0))
preprocessor.getElementHandler.getElement(4891).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.637673041008,N= 356.563731889,My= -2.72069983952,Mz= 0.0))
preprocessor.getElementHandler.getElement(4891).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.408209884657,N= 258.409906433,My= 3.60157235764,Mz= 0.0))
preprocessor.getElementHandler.getElement(4892).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.496241523172,N= 361.086394591,My= 5.42461880094,Mz= 0.0))
preprocessor.getElementHandler.getElement(4892).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.42317552349,N= 263.114640337,My= 4.17191916697,Mz= 0.0))
preprocessor.getElementHandler.getElement(4893).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.598594452246,N= 366.896138789,My= 10.5012854356,Mz= 0.0))
preprocessor.getElementHandler.getElement(4893).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.417528829116,N= 254.528942028,My= 4.58266352082,Mz= 0.0))
preprocessor.getElementHandler.getElement(4894).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.670138496656,N= 367.342046957,My= -3.50305296076,Mz= 0.0))
preprocessor.getElementHandler.getElement(4894).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.591350311965,N= 380.999810574,My= 4.60563954203,Mz= 0.0))
preprocessor.getElementHandler.getElement(4895).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.511377508186,N= 372.599708941,My= 5.63522112074,Mz= 0.0))
preprocessor.getElementHandler.getElement(4895).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.61292283524,N= 388.378570026,My= 5.37290626268,Mz= 0.0))
preprocessor.getElementHandler.getElement(4896).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.630237919574,N= 378.704761173,My= 11.7449927293,Mz= 0.0))
preprocessor.getElementHandler.getElement(4896).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.615609210224,N= 383.388584024,My= 6.01152060286,Mz= 0.0))
preprocessor.getElementHandler.getElement(4897).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.705235077116,N= 380.623329331,My= -4.20656400534,Mz= 0.0))
preprocessor.getElementHandler.getElement(4897).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.780955968307,N= 508.399936014,My= 5.60080239095,Mz= 0.0))
preprocessor.getElementHandler.getElement(4898).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.535903881881,N= 389.323078371,My= 5.80187351266,Mz= 0.0))
preprocessor.getElementHandler.getElement(4898).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.80714334458,N= 518.170644758,My= 6.45744120015,Mz= 0.0))
preprocessor.getElementHandler.getElement(4899).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.669211069661,N= 398.069609988,My= 12.8392217714,Mz= 0.0))
preprocessor.getElementHandler.getElement(4899).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.821945822881,N= 518.877733547,My= 7.38427011044,Mz= 0.0))
preprocessor.getElementHandler.getElement(4900).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.745113790053,N= 394.875274074,My= -5.07917520558,Mz= 0.0))
preprocessor.getElementHandler.getElement(4900).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.977078977255,N= 639.40680236,My= 6.70116248496,Mz= 0.0))
preprocessor.getElementHandler.getElement(4901).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.561921747471,N= 410.515356489,My= 6.29050189724,Mz= 0.0))
preprocessor.getElementHandler.getElement(4901).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.99993622094,N= 649.911006902,My= 7.26725729423,Mz= 0.0))
preprocessor.getElementHandler.getElement(4902).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.707136653601,N= 424.646226633,My= 13.2022372563,Mz= 0.0))
preprocessor.getElementHandler.getElement(4902).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.03127607597,N= 660.875725009,My= 8.35939084031,Mz= 0.0))
preprocessor.getElementHandler.getElement(4903).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.763710064716,N= 398.941289536,My= -5.71131623178,Mz= 0.0))
preprocessor.getElementHandler.getElement(4903).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.18378269368,N= 773.298525956,My= 8.24532493737,Mz= 0.0))
preprocessor.getElementHandler.getElement(4904).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.646757684795,N= 436.095813526,My= 7.74485493785,Mz= 0.0))
preprocessor.getElementHandler.getElement(4904).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.20723119953,N= 776.252007319,My= 9.54500597101,Mz= 0.0))
preprocessor.getElementHandler.getElement(4905).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.743826799787,N= 456.883677794,My= 12.9610585195,Mz= 0.0))
preprocessor.getElementHandler.getElement(4905).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.26289197994,N= 808.937367167,My= 10.2704288722,Mz= 0.0))
preprocessor.getElementHandler.getElement(4906).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.630547130738,N= 358.790874309,My= -2.1430466254,Mz= 0.0))
preprocessor.getElementHandler.getElement(4906).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.47511446948,N= 911.935929748,My= 15.0236873427,Mz= 0.0))
preprocessor.getElementHandler.getElement(4907).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.666046138599,N= 438.408394812,My= 8.94637804474,Mz= 0.0))
preprocessor.getElementHandler.getElement(4907).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.47554790958,N= 883.896924793,My= 17.6297300046,Mz= 0.0))
preprocessor.getElementHandler.getElement(4908).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.826346522946,N= 516.309616013,My= 13.6057294241,Mz= 0.0))
preprocessor.getElementHandler.getElement(4908).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.5638832907,N= 943.912819538,My= 18.032574168,Mz= 0.0))
preprocessor.getElementHandler.getElement(4909).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU608", CF=0.897943226145,N= 604.607623436,My= 5.40962617569,Mz= 0.0))
preprocessor.getElementHandler.getElement(4909).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.61949685852,N= 985.652478452,My= 17.9226737804,Mz= 0.0))
preprocessor.getElementHandler.getElement(4910).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.997859650814,N= 665.153735268,My= 12.6466049935,Mz= 0.0))
preprocessor.getElementHandler.getElement(4910).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.63017611618,N= 957.473820868,My= 21.2280558238,Mz= 0.0))
preprocessor.getElementHandler.getElement(4911).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU763", CF=0.99745919605,N= 654.077315596,My= 13.6226264133,Mz= 0.0))
preprocessor.getElementHandler.getElement(4911).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.62475549746,N= 949.421447094,My= 21.6049313703,Mz= 0.0))
preprocessor.getElementHandler.getElement(4912).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU608", CF=0.76666665241,N= 521.247863483,My= 5.07334107288,Mz= 0.0))
preprocessor.getElementHandler.getElement(4912).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.30226500139,N= 836.531328181,My= 10.3724559574,Mz= 0.0))
preprocessor.getElementHandler.getElement(4913).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.839327823362,N= 561.601120436,My= 10.444853149,Mz= 0.0))
preprocessor.getElementHandler.getElement(4913).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.29360851914,N= 829.362158054,My= 10.4513445421,Mz= 0.0))
preprocessor.getElementHandler.getElement(4914).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.866386161804,N= 575.095873258,My= 11.2000093366,Mz= 0.0))
preprocessor.getElementHandler.getElement(4914).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.27314047247,N= 823.277582644,My= 9.63913597729,Mz= 0.0))
preprocessor.getElementHandler.getElement(4915).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU711", CF=0.685372755611,N= 468.110062214,My= 7.66478962974,Mz= 0.0))
preprocessor.getElementHandler.getElement(4915).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=1.07441115176,N= 703.745782021,My= 7.30949722672,Mz= 0.0))
preprocessor.getElementHandler.getElement(4916).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.701104464943,N= 475.687931424,My= 8.1281593683,Mz= 0.0))
preprocessor.getElementHandler.getElement(4916).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=1.06492878986,N= 707.780630471,My= 6.30331341491,Mz= 0.0))
preprocessor.getElementHandler.getElement(4917).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.710674384963,N= 479.415327305,My= 8.49012342644,Mz= 0.0))
preprocessor.getElementHandler.getElement(4917).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=1.03362689418,N= 692.59526483,My= 5.60163331939,Mz= 0.0))
preprocessor.getElementHandler.getElement(4918).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.643481132282,N= 425.599921923,My= 8.45772971697,Mz= 0.0))
preprocessor.getElementHandler.getElement(4918).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.876639694004,N= 571.977777454,My= 6.16863998963,Mz= 0.0))
preprocessor.getElementHandler.getElement(4919).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU602", CF=0.616108134549,N= 419.335519909,My= 7.02330327341,Mz= 0.0))
preprocessor.getElementHandler.getElement(4919).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.869219441678,N= 575.384520247,My= 5.35835220595,Mz= 0.0))
preprocessor.getElementHandler.getElement(4920).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.632462126816,N= 430.451420759,My= 7.21108724947,Mz= 0.0))
preprocessor.getElementHandler.getElement(4920).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.842020304364,N= 558.624658367,My= 5.07627905966,Mz= 0.0))
preprocessor.getElementHandler.getElement(4921).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.617736202382,N= 398.038088071,My= 9.07544582017,Mz= 0.0))
preprocessor.getElementHandler.getElement(4921).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.69327846419,N= 448.614982907,My= 5.22081288156,Mz= 0.0))
preprocessor.getElementHandler.getElement(4922).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.582555657089,N= 397.317420835,My= 6.56654394799,Mz= 0.0))
preprocessor.getElementHandler.getElement(4922).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.682713015984,N= 450.210155273,My= 4.36628368611,Mz= 0.0))
preprocessor.getElementHandler.getElement(4923).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU626", CF=0.570392488465,N= 326.632100666,My= -1.75158649441,Mz= 0.0))
preprocessor.getElementHandler.getElement(4923).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.655989148021,N= 434.185047706,My= 4.04852559866,Mz= 0.0))
preprocessor.getElementHandler.getElement(4924).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.602339005556,N= 379.967600754,My= 9.58889087534,Mz= 0.0))
preprocessor.getElementHandler.getElement(4924).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.522767827424,N= 334.77041416,My= 4.25922038921,Mz= 0.0))
preprocessor.getElementHandler.getElement(4925).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.557928906514,N= 380.519812328,My= 6.28909318009,Mz= 0.0))
preprocessor.getElementHandler.getElement(4925).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.509063856205,N= 335.379463335,My= 3.28503192183,Mz= 0.0))
preprocessor.getElementHandler.getElement(4926).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.551464705428,N= 311.583306832,My= -2.07142162097,Mz= 0.0))
preprocessor.getElementHandler.getElement(4926).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.482824018166,N= 320.902105365,My= 2.85745534686,Mz= 0.0))
preprocessor.getElementHandler.getElement(4927).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.593780279009,N= 368.547751254,My= 9.99910711155,Mz= 0.0))
preprocessor.getElementHandler.getElement(4927).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.37700263189,N= 241.977301316,My= 3.02086457877,Mz= 0.0))
preprocessor.getElementHandler.getElement(4928).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.543582591626,N= 368.048859333,My= 6.37120760159,Mz= 0.0))
preprocessor.getElementHandler.getElement(4928).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.361790040289,N= 241.107565481,My= 2.08150521579,Mz= 0.0))
preprocessor.getElementHandler.getElement(4929).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.5452639996,N= 375.944791895,My= 4.08034348762,Mz= 0.0))
preprocessor.getElementHandler.getElement(4929).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.340605703536,N= 229.901706777,My= 1.69198822305,Mz= 0.0))
preprocessor.getElementHandler.getElement(4930).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.592654272302,N= 361.939768154,My= 10.5164699551,Mz= 0.0))
preprocessor.getElementHandler.getElement(4930).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.257400859432,N= 162.857630586,My= 2.27885134873,Mz= 0.0))
preprocessor.getElementHandler.getElement(4931).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.535350707152,N= 363.151182384,My= 6.21337107474,Mz= 0.0))
preprocessor.getElementHandler.getElement(4931).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.242974305789,N= 163.030630737,My= 1.29632369611,Mz= 0.0))
preprocessor.getElementHandler.getElement(4932).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.549978290456,N= 370.159620563,My= 3.29936575162,Mz= 0.0))
preprocessor.getElementHandler.getElement(4932).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.224752138372,N= 154.064445282,My= 0.899438771614,Mz= 0.0))
preprocessor.getElementHandler.getElement(4933).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.595463454787,N= 359.613904024,My= 10.9331313206,Mz= 0.0))
preprocessor.getElementHandler.getElement(4933).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU636", CF=0.147725232515,N= 90.499958553,My= 1.58044343699,Mz= 0.0))
preprocessor.getElementHandler.getElement(4934).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.53125478038,N= 361.413882822,My= 6.07133632214,Mz= 0.0))
preprocessor.getElementHandler.getElement(4934).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.134866724514,N= 91.9585767682,My= 0.584821903795,Mz= 0.0))
preprocessor.getElementHandler.getElement(4935).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.557608984941,N= 367.570408611,My= 2.64727912172,Mz= 0.0))
preprocessor.getElementHandler.getElement(4935).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.12750113215,N= 85.1921951746,My= 0.197359495694,Mz= 0.0))
preprocessor.getElementHandler.getElement(4936).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.600298320969,N= 359.70983633,My= 11.2782121662,Mz= 0.0))
preprocessor.getElementHandler.getElement(4936).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.0584266350794,N= -257.062948578,My= -3.26135882059,Mz= 0.0))
preprocessor.getElementHandler.getElement(4937).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.530427551053,N= 362.109023679,My= 5.94771162508,Mz= 0.0))
preprocessor.getElementHandler.getElement(4937).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.0577471770047,N= -251.591700498,My= -3.41530472916,Mz= 0.0))
preprocessor.getElementHandler.getElement(4938).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.568572928896,N= 368.343939101,My= 2.11630627261,Mz= 0.0))
preprocessor.getElementHandler.getElement(4938).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.0579891890875,N= -253.518069966,My= -3.36220356674,Mz= 0.0))
preprocessor.getElementHandler.getElement(4939).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.60673286351,N= 361.678114988,My= 11.5704092132,Mz= 0.0))
preprocessor.getElementHandler.getElement(4939).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0714773895482,N= -313.659043176,My= -4.05355687978,Mz= 0.0))
preprocessor.getElementHandler.getElement(4940).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.504433546544,N= 362.80661581,My= 5.13107673842,Mz= 0.0))
preprocessor.getElementHandler.getElement(4940).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.070815092008,N= -309.339246531,My= -4.12527676969,Mz= 0.0))
preprocessor.getElementHandler.getElement(4941).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.651400994262,N= 371.343725608,My= -2.15188873301,Mz= 0.0))
preprocessor.getElementHandler.getElement(4941).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0715046130688,N= -311.674557076,My= -4.21776151165,Mz= 0.0))
preprocessor.getElementHandler.getElement(4942).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.61446510851,N= 365.103617215,My= 11.8253033497,Mz= 0.0))
preprocessor.getElementHandler.getElement(4942).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0891760957553,N= -394.898919104,My= -4.78096096679,Mz= 0.0))
preprocessor.getElementHandler.getElement(4943).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.513068179634,N= 365.965976703,My= 4.94328794699,Mz= 0.0))
preprocessor.getElementHandler.getElement(4943).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0881927175604,N= -389.417070015,My= -4.81538193877,Mz= 0.0))
preprocessor.getElementHandler.getElement(4944).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.664142993696,N= 376.036012626,My= -2.42584938008,Mz= 0.0))
preprocessor.getElementHandler.getElement(4944).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0888678929448,N= -371.522468493,My= -6.4662034799,Mz= 0.0))
preprocessor.getElementHandler.getElement(4945).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.623238151578,N= 369.652948145,My= 12.0543555565,Mz= 0.0))
preprocessor.getElementHandler.getElement(4945).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.105800032373,N= -471.058332967,My= -5.47556531223,Mz= 0.0))
preprocessor.getElementHandler.getElement(4946).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.523326090683,N= 370.278193026,My= 4.77068634684,Mz= 0.0))
preprocessor.getElementHandler.getElement(4946).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.104503222783,N= -464.458264775,My= -5.4723274273,Mz= 0.0))
preprocessor.getElementHandler.getElement(4947).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.67834215251,N= 382.128399502,My= -2.64769356908,Mz= 0.0))
preprocessor.getElementHandler.getElement(4947).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.105881779329,N= -449.870680698,My= -7.14599723558,Mz= 0.0))
preprocessor.getElementHandler.getElement(4948).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.632791538527,N= 375.038014274,My= 12.2646553923,Mz= 0.0))
preprocessor.getElementHandler.getElement(4948).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.121441681767,N= -542.609141216,My= -6.13751032468,Mz= 0.0))
preprocessor.getElementHandler.getElement(4949).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.534691189158,N= 375.415806805,My= 4.61197302987,Mz= 0.0))
preprocessor.getElementHandler.getElement(4949).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.119838606864,N= -534.893929736,My= -6.09921336885,Mz= 0.0))
preprocessor.getElementHandler.getElement(4950).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.693495937985,N= 389.349965847,My= -2.82163502537,Mz= 0.0))
preprocessor.getElementHandler.getElement(4950).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.121753884375,N= -523.038520198,My= -7.7741806296,Mz= 0.0))
preprocessor.getElementHandler.getElement(4951).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.642830163368,N= 380.991051691,My= 12.4589116285,Mz= 0.0))
preprocessor.getElementHandler.getElement(4951).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.136193680224,N= -609.980100821,My= -6.77032947432,Mz= 0.0))
preprocessor.getElementHandler.getElement(4952).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.546615197035,N= 381.03664363,My= 4.46628358761,Mz= 0.0))
preprocessor.getElementHandler.getElement(4952).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.134289552019,N= -601.083734886,My= -6.70414073199,Mz= 0.0))
preprocessor.getElementHandler.getElement(4953).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.709195962358,N= 397.425528225,My= -2.95001926287,Mz= 0.0))
preprocessor.getElementHandler.getElement(4953).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.13654604713,N= -591.277070516,My= -8.35582853036,Mz= 0.0))
preprocessor.getElementHandler.getElement(4954).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.653005404331,N= 387.24756635,My= 12.6356202755,Mz= 0.0))
preprocessor.getElementHandler.getElement(4954).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.150129750397,N= -673.487831145,My= -7.3787365155,Mz= 0.0))
preprocessor.getElementHandler.getElement(4955).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.558327145904,N= 386.747429631,My= 4.34034137819,Mz= 0.0))
preprocessor.getElementHandler.getElement(4955).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.147926253513,N= -663.282531896,My= -7.29520190795,Mz= 0.0))
preprocessor.getElementHandler.getElement(4956).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.724964349416,N= 406.055430738,My= -3.03363971877,Mz= 0.0))
preprocessor.getElementHandler.getElement(4956).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.150296055473,N= -654.709535419,My= -8.89637881796,Mz= 0.0))
preprocessor.getElementHandler.getElement(4957).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.662907109469,N= 393.535876676,My= 12.7894272755,Mz= 0.0))
preprocessor.getElementHandler.getElement(4957).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.163163161225,N= -733.22139427,My= -7.9215026084,Mz= 0.0))
preprocessor.getElementHandler.getElement(4958).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.56875197541,N= 392.061377779,My= 4.24908696004,Mz= 0.0))
preprocessor.getElementHandler.getElement(4958).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.160652825434,N= -721.625163091,My= -7.82400360484,Mz= 0.0))
preprocessor.getElementHandler.getElement(4959).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.740236179046,N= 414.900633644,My= -3.07210763289,Mz= 0.0))
preprocessor.getElementHandler.getElement(4959).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.162930204761,N= -713.307924245,My= -9.36881037425,Mz= 0.0))
preprocessor.getElementHandler.getElement(4960).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.672066941629,N= 399.572731265,My= 12.9117710169,Mz= 0.0))
preprocessor.getElementHandler.getElement(4960).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.174998154309,N= -789.143626428,My= -8.28438827103,Mz= 0.0))
preprocessor.getElementHandler.getElement(4961).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.578670595741,N= 409.858920675,My= 5.31332072914,Mz= 0.0))
preprocessor.getElementHandler.getElement(4961).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.17205488371,N= -776.073780254,My= -8.12938655228,Mz= 0.0))
preprocessor.getElementHandler.getElement(4962).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.754354883197,N= 423.57318689,My= -3.0644393008,Mz= 0.0))
preprocessor.getElementHandler.getElement(4962).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.174028291719,N= -766.88638454,My= -9.62110219478,Mz= 0.0))
preprocessor.getElementHandler.getElement(4963).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.679975150356,N= 405.065576396,My= 12.9919038012,Mz= 0.0))
preprocessor.getElementHandler.getElement(4963).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.186060478492,N= -841.207079266,My= -8.63964738828,Mz= 0.0))
preprocessor.getElementHandler.getElement(4964).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.591680896118,N= 416.54225703,My= 5.20408406197,Mz= 0.0))
preprocessor.getElementHandler.getElement(4964).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.18268280318,N= -825.917165134,My= -8.48427076826,Mz= 0.0))
preprocessor.getElementHandler.getElement(4965).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.766581750662,N= 431.633733087,My= -3.00977857325,Mz= 0.0))
preprocessor.getElementHandler.getElement(4965).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.183035915872,N= -815.032643723,My= -9.46559966633,Mz= 0.0))
preprocessor.getElementHandler.getElement(4966).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.686113611349,N= 409.723240125,My= 13.0183397661,Mz= 0.0))
preprocessor.getElementHandler.getElement(4966).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.197167475574,N= -888.024408954,My= -9.41818470416,Mz= 0.0))
preprocessor.getElementHandler.getElement(4967).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.603570099351,N= 422.258463347,My= 5.06891752053,Mz= 0.0))
preprocessor.getElementHandler.getElement(4967).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.195565350971,N= -869.246175129,My= -10.2355697138,Mz= 0.0))
preprocessor.getElementHandler.getElement(4968).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.776127633393,N= 438.603784015,My= -2.90800812597,Mz= 0.0))
preprocessor.getElementHandler.getElement(4968).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.19335213996,N= -856.467566534,My= -10.3471365545,Mz= 0.0))
preprocessor.getElementHandler.getElement(4969).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.690005150691,N= 413.27632332,My= 12.9806134081,Mz= 0.0))
preprocessor.getElementHandler.getElement(4969).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.205900511361,N= -925.290674943,My= -9.99510757076,Mz= 0.0))
preprocessor.getElementHandler.getElement(4970).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.613802402693,N= 426.649891153,My= 4.90487511851,Mz= 0.0))
preprocessor.getElementHandler.getElement(4970).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.207081709919,N= -903.195838758,My= -12.1710302589,Mz= 0.0))
preprocessor.getElementHandler.getElement(4971).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.782283964292,N= 444.004905038,My= -2.76052462597,Mz= 0.0))
preprocessor.getElementHandler.getElement(4971).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.205829239006,N= -896.728406068,My= -12.1750950142,Mz= 0.0))
preprocessor.getElementHandler.getElement(4972).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.691272164836,N= 415.504660989,My= 12.8710765976,Mz= 0.0))
preprocessor.getElementHandler.getElement(4972).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.209219581987,N= -948.31256107,My= -9.52950312882,Mz= 0.0))
preprocessor.getElementHandler.getElement(4973).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.621888596722,N= 429.417153688,My= 4.71172069955,Mz= 0.0))
preprocessor.getElementHandler.getElement(4973).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.209640691709,N= -924.780440066,My= -11.5155697882,Mz= 0.0))
preprocessor.getElementHandler.getElement(4974).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.78446165732,N= 447.426887118,My= -2.57073177818,Mz= 0.0))
preprocessor.getElementHandler.getElement(4974).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.209006391309,N= -918.663668735,My= -11.7373037389,Mz= 0.0))
preprocessor.getElementHandler.getElement(4975).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.689690330855,N= 416.264125117,My= 12.6863960934,Mz= 0.0))
preprocessor.getElementHandler.getElement(4975).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.209720212723,N= -955.827842275,My= -9.14671768321,Mz= 0.0))
preprocessor.getElementHandler.getElement(4976).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.627452727497,N= 430.362473976,My= 4.49219067047,Mz= 0.0))
preprocessor.getElementHandler.getElement(4976).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.207565008905,N= -932.132599542,My= -10.1252419642,Mz= 0.0))
preprocessor.getElementHandler.getElement(4977).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.782254974865,N= 448.598599918,My= -2.34394938241,Mz= 0.0))
preprocessor.getElementHandler.getElement(4977).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.204889543503,N= -925.631659438,My= -9.56842816061,Mz= 0.0))
preprocessor.getElementHandler.getElement(4978).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.691272164602,N= 415.50466097,My= 12.8710765822,Mz= 0.0))
preprocessor.getElementHandler.getElement(4978).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.20921958197,N= -948.312561128,My= -9.52950311764,Mz= 0.0))
preprocessor.getElementHandler.getElement(4979).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.621888596912,N= 429.41715367,My= 4.71172068753,Mz= 0.0))
preprocessor.getElementHandler.getElement(4979).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.20964069175,N= -924.780440125,My= -11.5155697999,Mz= 0.0))
preprocessor.getElementHandler.getElement(4980).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.784461657067,N= 447.426887101,My= -2.57073176585,Mz= 0.0))
preprocessor.getElementHandler.getElement(4980).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.20900639135,N= -918.663668795,My= -11.7373037504,Mz= 0.0))
preprocessor.getElementHandler.getElement(4981).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.690005150395,N= 413.276323282,My= 12.9806133899,Mz= 0.0))
preprocessor.getElementHandler.getElement(4981).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.205900511358,N= -925.290675059,My= -9.99510756066,Mz= 0.0))
preprocessor.getElementHandler.getElement(4982).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.61380240287,N= 426.649891117,My= 4.90487510559,Mz= 0.0))
preprocessor.getElementHandler.getElement(4982).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.207081709918,N= -903.195838876,My= -12.1710302493,Mz= 0.0))
preprocessor.getElementHandler.getElement(4983).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.782283963991,N= 444.004905003,My= -2.76052461262,Mz= 0.0))
preprocessor.getElementHandler.getElement(4983).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.205829239003,N= -896.728406188,My= -12.1750950037,Mz= 0.0))
preprocessor.getElementHandler.getElement(4984).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.686113610989,N= 409.723240068,My= 13.0183397449,Mz= 0.0))
preprocessor.getElementHandler.getElement(4984).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.197167475585,N= -888.024409128,My= -9.41818469516,Mz= 0.0))
preprocessor.getElementHandler.getElement(4985).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.603570099511,N= 422.258463291,My= 5.06891750671,Mz= 0.0))
preprocessor.getElementHandler.getElement(4985).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.195565350983,N= -869.246175306,My= -10.2355697049,Mz= 0.0))
preprocessor.getElementHandler.getElement(4986).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.776127633031,N= 438.60378396,My= -2.90800811159,Mz= 0.0))
preprocessor.getElementHandler.getElement(4986).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.193516918471,N= -857.202734288,My= -10.3555472166,Mz= 0.0))
preprocessor.getElementHandler.getElement(4987).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.679975149929,N= 405.065576319,My= 12.9919037769,Mz= 0.0))
preprocessor.getElementHandler.getElement(4987).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.186060478518,N= -841.207079499,My= -8.63964738046,Mz= 0.0))
preprocessor.getElementHandler.getElement(4988).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.591680896263,N= 416.542256955,My= 5.20408404726,Mz= 0.0))
preprocessor.getElementHandler.getElement(4988).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.182682803206,N= -825.917165371,My= -8.48427076024,Mz= 0.0))
preprocessor.getElementHandler.getElement(4989).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.76658175025,N= 431.633733013,My= -3.00977855783,Mz= 0.0))
preprocessor.getElementHandler.getElement(4989).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.183083052368,N= -815.185443986,My= -9.47245119013,Mz= 0.0))
preprocessor.getElementHandler.getElement(4990).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.672066941132,N= 399.572731166,My= 12.9117709895,Mz= 0.0))
preprocessor.getElementHandler.getElement(4990).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.174998154349,N= -789.14362672,My= -8.28438826439,Mz= 0.0))
preprocessor.getElementHandler.getElement(4991).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.578670595866,N= 409.858920578,My= 5.31332071352,Mz= 0.0))
preprocessor.getElementHandler.getElement(4991).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.17205488375,N= -776.07378055,My= -8.12938654508,Mz= 0.0))
preprocessor.getElementHandler.getElement(4992).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.75435488273,N= 423.573186795,My= -3.06443928431,Mz= 0.0))
preprocessor.getElementHandler.getElement(4992).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.174016955304,N= -766.774365799,My= -9.62527367266,Mz= 0.0))
preprocessor.getElementHandler.getElement(4993).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.662907108898,N= 393.535876554,My= 12.7894272448,Mz= 0.0))
preprocessor.getElementHandler.getElement(4993).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.16316316128,N= -733.221394622,My= -7.92150260298,Mz= 0.0))
preprocessor.getElementHandler.getElement(4994).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.569558862421,N= 392.603261357,My= 4.25382031742,Mz= 0.0))
preprocessor.getElementHandler.getElement(4994).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.160652825487,N= -721.625163447,My= -7.82400359848,Mz= 0.0))
preprocessor.getElementHandler.getElement(4995).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.74023617852,N= 414.900633526,My= -3.07210761528,Mz= 0.0))
preprocessor.getElementHandler.getElement(4995).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.162903226188,N= -713.142375188,My= -9.37092650357,Mz= 0.0))
preprocessor.getElementHandler.getElement(4996).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.653005403684,N= 387.247566203,My= 12.6356202415,Mz= 0.0))
preprocessor.getElementHandler.getElement(4996).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.150129750467,N= -673.487831557,My= -7.37873651134,Mz= 0.0))
preprocessor.getElementHandler.getElement(4997).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.558758040669,N= 387.045403917,My= 4.34364572698,Mz= 0.0))
preprocessor.getElementHandler.getElement(4997).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.147926253581,N= -663.282532312,My= -7.29520190246,Mz= 0.0))
preprocessor.getElementHandler.getElement(4998).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.724964348827,N= 406.055430595,My= -3.03363969999,Mz= 0.0))
preprocessor.getElementHandler.getElement(4998).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.150267754389,N= -654.552451341,My= -8.89731682177,Mz= 0.0))
preprocessor.getElementHandler.getElement(4999).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.64283016264,N= 380.991051518,My= 12.4589115909,Mz= 0.0))
preprocessor.getElementHandler.getElement(4999).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.136193680309,N= -609.980101294,My= -6.77032947148,Mz= 0.0))
preprocessor.getElementHandler.getElement(5000).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.546853393324,N= 381.205304343,My= 4.46846634025,Mz= 0.0))
preprocessor.getElementHandler.getElement(5000).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.134289552101,N= -601.083735362,My= -6.70414072739,Mz= 0.0))
preprocessor.getElementHandler.getElement(5001).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.709195961702,N= 397.425528055,My= -2.95001924289,Mz= 0.0))
preprocessor.getElementHandler.getElement(5001).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.136521152365,N= -591.14458305,My= -8.35621373242,Mz= 0.0))
preprocessor.getElementHandler.getElement(5002).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.632791537711,N= 375.038014071,My= 12.264655351,Mz= 0.0))
preprocessor.getElementHandler.getElement(5002).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.121441681867,N= -542.60914175,My= -6.1375103232,Mz= 0.0))
preprocessor.getElementHandler.getElement(5003).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.534825566419,N= 375.510961576,My= 4.61320493053,Mz= 0.0))
preprocessor.getElementHandler.getElement(5003).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.11983860696,N= -534.893930271,My= -6.09921336515,Mz= 0.0))
preprocessor.getElementHandler.getElement(5004).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.693495937254,N= 389.349965646,My= -2.82163500413,Mz= 0.0))
preprocessor.getElementHandler.getElement(5004).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.121733172764,N= -522.93180211,My= -7.77422996741,Mz= 0.0))
preprocessor.getElementHandler.getElement(5005).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.623238150669,N= 369.65294791,My= 12.0543555113,Mz= 0.0))
preprocessor.getElementHandler.getElement(5005).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.105800032489,N= -471.058333562,My= -5.47556531211,Mz= 0.0))
preprocessor.getElementHandler.getElement(5006).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.523401474307,N= 370.329282314,My= 4.77117044975,Mz= 0.0))
preprocessor.getElementHandler.getElement(5006).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.104503222892,N= -464.45826537,My= -5.47232742447,Mz= 0.0))
preprocessor.getElementHandler.getElement(5007).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.678342151701,N= 382.128399268,My= -2.64769354653,Mz= 0.0))
preprocessor.getElementHandler.getElement(5007).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.105864885712,N= -449.787010353,My= -7.14577653055,Mz= 0.0))
preprocessor.getElementHandler.getElement(5008).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.614465107503,N= 365.103616944,My= 11.8253033006,Mz= 0.0))
preprocessor.getElementHandler.getElement(5008).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0891760958868,N= -394.898919761,My= -4.78096096807,Mz= 0.0))
preprocessor.getElementHandler.getElement(5009).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.513108116385,N= 365.989378783,My= 4.94321341443,Mz= 0.0))
preprocessor.getElementHandler.getElement(5009).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0881927176832,N= -389.417070669,My= -4.81538193683,Mz= 0.0))
preprocessor.getElementHandler.getElement(5010).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.6641429928,N= 376.036012355,My= -2.42584935618,Mz= 0.0))
preprocessor.getElementHandler.getElement(5010).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0888543192058,N= -371.458501919,My= -6.46577402084,Mz= 0.0))
preprocessor.getElementHandler.getElement(5011).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.606732862398,N= 361.678114677,My= 11.5704091601,Mz= 0.0))
preprocessor.getElementHandler.getElement(5011).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0714773896953,N= -313.659043894,My= -4.05355688251,Mz= 0.0))
preprocessor.getElementHandler.getElement(5012).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.504451264673,N= 362.812093641,My= 5.13060059736,Mz= 0.0))
preprocessor.getElementHandler.getElement(5012).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0708150921441,N= -309.339247242,My= -4.1252767686,Mz= 0.0))
preprocessor.getElementHandler.getElement(5013).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.651400993284,N= 371.343725295,My= -2.15188870772,Mz= 0.0))
preprocessor.getElementHandler.getElement(5013).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0715046131893,N= -311.67455778,My= -4.21776150493,Mz= 0.0))
preprocessor.getElementHandler.getElement(5014).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.600298319746,N= 359.709835973,My= 11.2782121091,Mz= 0.0))
preprocessor.getElementHandler.getElement(5014).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0526098355987,N= -226.838525217,My= -3.29477050254,Mz= 0.0))
preprocessor.getElementHandler.getElement(5015).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.530427550277,N= 362.109023321,My= 5.9477116008,Mz= 0.0))
preprocessor.getElementHandler.getElement(5015).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0522729627738,N= -223.73441727,My= -3.40136271397,Mz= 0.0))
preprocessor.getElementHandler.getElement(5016).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.568572928185,N= 368.343938744,My= 2.11630627929,Mz= 0.0))
preprocessor.getElementHandler.getElement(5016).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0534440055368,N= -228.098788896,My= -3.5276466148,Mz= 0.0))
preprocessor.getElementHandler.getElement(5017).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.595463453449,N= 359.613903616,My= 10.9331312597,Mz= 0.0))
preprocessor.getElementHandler.getElement(5017).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0324768736391,N= -133.91274427,My= -2.50692601794,Mz= 0.0))
preprocessor.getElementHandler.getElement(5018).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.531254779526,N= 361.413882415,My= 6.07133629659,Mz= 0.0))
preprocessor.getElementHandler.getElement(5018).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0324580786779,N= -132.04910811,My= -2.64356535419,Mz= 0.0))
preprocessor.getElementHandler.getElement(5019).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.557562072323,N= 367.556366923,My= 2.64858155145,Mz= 0.0))
preprocessor.getElementHandler.getElement(5019).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0341066430824,N= -138.59849331,My= -2.79000747584,Mz= 0.0))
preprocessor.getElementHandler.getElement(5020).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.592654270846,N= 361.939767689,My= 10.5164698908,Mz= 0.0))
preprocessor.getElementHandler.getElement(5020).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU624", CF=0.0706938132938,N= 37.6754915611,My= 1.27405507968,Mz= 0.0))
preprocessor.getElementHandler.getElement(5021).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.535350706213,N= 363.151181922,My= 6.21337104794,Mz= 0.0))
preprocessor.getElementHandler.getElement(5021).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU626", CF=0.0760931812015,N= 40.0227419188,My= -0.947088916813,Mz= 0.0))
preprocessor.getElementHandler.getElement(5022).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.549922114964,N= 370.138828169,My= 3.30056596343,Mz= 0.0))
preprocessor.getElementHandler.getElement(5022).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU602", CF=0.0729177455157,N= 12.5187048781,My= -3.21765109535,Mz= 0.0))
preprocessor.getElementHandler.getElement(5023).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.593711871534,N= 368.528012196,My= 9.99589301075,Mz= 0.0))
preprocessor.getElementHandler.getElement(5023).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=0.232390341448,N= 128.229873924,My= 3.78562033688,Mz= 0.0))
preprocessor.getElementHandler.getElement(5024).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.543582590599,N= 368.048858814,My= 6.3712075736,Mz= 0.0))
preprocessor.getElementHandler.getElement(5024).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.217216940494,N= 129.957111726,My= 2.61020498079,Mz= 0.0))
preprocessor.getElementHandler.getElement(5025).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.545203309049,N= 375.919692781,My= 4.08140207452,Mz= 0.0))
preprocessor.getElementHandler.getElement(5025).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.215979046867,N= 118.577980421,My= -2.19811961047,Mz= 0.0))
preprocessor.getElementHandler.getElement(5026).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.602269611668,N= 379.945375294,My= 9.58583026683,Mz= 0.0))
preprocessor.getElementHandler.getElement(5026).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.419032763452,N= 252.393307801,My= 4.87971342819,Mz= 0.0))
preprocessor.getElementHandler.getElement(5027).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.557882236437,N= 380.494464553,My= 6.28797875965,Mz= 0.0))
preprocessor.getElementHandler.getElement(5027).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.406267168095,N= 254.216784593,My= 3.85678403859,Mz= 0.0))
preprocessor.getElementHandler.getElement(5028).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.545076835736,N= 386.056522444,My= 5.00407701274,Mz= 0.0))
preprocessor.getElementHandler.getElement(5028).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.381453473539,N= 240.902129324,My= 3.41790253062,Mz= 0.0))
preprocessor.getElementHandler.getElement(5029).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.617666298325,N= 398.013258329,My= 9.07258425171,Mz= 0.0))
preprocessor.getElementHandler.getElement(5029).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.618822751086,N= 385.627194949,My= 6.02109304432,Mz= 0.0))
preprocessor.getElementHandler.getElement(5030).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.582506163818,N= 397.289718085,My= 6.56543668595,Mz= 0.0))
preprocessor.getElementHandler.getElement(5030).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.60973207173,N= 388.640492466,My= 5.13504168674,Mz= 0.0))
preprocessor.getElementHandler.getElement(5031).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.553982689397,N= 402.51688184,My= 6.00301412176,Mz= 0.0))
preprocessor.getElementHandler.getElement(5031).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.585021781834,N= 373.896988357,My= 4.83441086258,Mz= 0.0))
preprocessor.getElementHandler.getElement(5032).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.643409995488,N= 425.571642307,My= 8.45509106328,Mz= 0.0))
preprocessor.getElementHandler.getElement(5032).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.831235593609,N= 528.282200613,My= 7.14237296168,Mz= 0.0))
preprocessor.getElementHandler.getElement(5033).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU602", CF=0.616108133368,N= 419.335519274,My= 7.02330324456,Mz= 0.0))
preprocessor.getElementHandler.getElement(5033).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.825555994085,N= 533.300052296,My= 6.30064144136,Mz= 0.0))
preprocessor.getElementHandler.getElement(5034).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.632429170065,N= 430.418872558,My= 7.2116298212,Mz= 0.0))
preprocessor.getElementHandler.getElement(5034).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.800795496289,N= 517.959972195,My= 6.05147645194,Mz= 0.0))
preprocessor.getElementHandler.getElement(5035).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU711", CF=0.685297521048,N= 468.075809624,My= 7.66239324728,Mz= 0.0))
preprocessor.getElementHandler.getElement(5035).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.05803795438,N= 679.247000734,My= 8.46406481476,Mz= 0.0))
preprocessor.getElementHandler.getElement(5036).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.701045749824,N= 475.652577385,My= 8.12707175481,Mz= 0.0))
preprocessor.getElementHandler.getElement(5036).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.04993412065,N= 684.891576358,My= 7.40230068885,Mz= 0.0))
preprocessor.getElementHandler.getElement(5037).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.710634995009,N= 479.379549566,My= 8.49048837434,Mz= 0.0))
preprocessor.getElementHandler.getElement(5037).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.02107311741,N= 671.436619668,My= 6.70513067174,Mz= 0.0))
preprocessor.getElementHandler.getElement(5038).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.763447279332,N= 534.705121268,My= 6.46547666195,Mz= 0.0))
preprocessor.getElementHandler.getElement(5038).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.30225210346,N= 836.528419294,My= 10.3718591019,Mz= 0.0))
preprocessor.getElementHandler.getElement(5039).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.839257130799,N= 561.556827319,My= 10.4437004283,Mz= 0.0))
preprocessor.getElementHandler.getElement(5039).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.29358781406,N= 829.350452928,My= 10.4510330238,Mz= 0.0))
preprocessor.getElementHandler.getElement(5040).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.866337365658,N= 575.055028219,My= 11.2001459143,Mz= 0.0))
preprocessor.getElementHandler.getElement(5040).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.27311529482,N= 823.258317475,My= 9.63921960813,Mz= 0.0))
preprocessor.getElementHandler.getElement(5041).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.891336181367,N= 615.755312134,My= 6.77877234367,Mz= 0.0))
preprocessor.getElementHandler.getElement(5041).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.61949048665,N= 985.652418151,My= 17.9222523858,Mz= 0.0))
preprocessor.getElementHandler.getElement(5042).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.99776540634,N= 665.092283025,My= 12.6452862849,Mz= 0.0))
preprocessor.getElementHandler.getElement(5042).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.63015270682,N= 957.462396021,My= 21.2275373501,Mz= 0.0))
preprocessor.getElementHandler.getElement(5043).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU763", CF=0.997409189091,N= 654.040158776,My= 13.6223396383,Mz= 0.0))
preprocessor.getElementHandler.getElement(5043).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.62472496314,N= 949.401885772,My= 21.6046833047,Mz= 0.0))
preprocessor.getElementHandler.getElement(5044).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU608", CF=1.00277038528,N= 762.936002825,My= 13.9679441104,Mz= 0.0))
preprocessor.getElementHandler.getElement(5044).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.58018586008,N= 954.273572054,My= 18.1726681052,Mz= 0.0))
preprocessor.getElementHandler.getElement(5045).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU608", CF=0.815464095599,N= 553.550697556,My= 9.42931891006,Mz= 0.0))
preprocessor.getElementHandler.getElement(5045).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=1.23262622217,N= 808.601598212,My= 8.27338108479,Mz= 0.0))
preprocessor.getElementHandler.getElement(5046).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.71231236713,N= 482.389572856,My= 8.34003141532,Mz= 0.0))
preprocessor.getElementHandler.getElement(5046).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=1.00262120523,N= 663.759563593,My= 6.17437114722,Mz= 0.0))
preprocessor.getElementHandler.getElement(5047).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.643826785513,N= 437.521912692,My= 7.40095202038,Mz= 0.0))
preprocessor.getElementHandler.getElement(5047).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.796511441532,N= 529.998707807,My= 4.65797776436,Mz= 0.0))
preprocessor.getElementHandler.getElement(5048).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.577208034802,N= 411.055152589,My= 5.50153837055,Mz= 0.0))
preprocessor.getElementHandler.getElement(5048).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.611688135221,N= 408.541038873,My= 3.43709088357,Mz= 0.0))
preprocessor.getElementHandler.getElement(5049).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.579136138544,N= 394.161766361,My= 3.86975368167,Mz= 0.0))
preprocessor.getElementHandler.getElement(5049).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.443060764153,N= 298.541978185,My= 2.24825168877,Mz= 0.0))
preprocessor.getElementHandler.getElement(5050).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.586279996251,N= 383.616873568,My= 2.52564433956,Mz= 0.0))
preprocessor.getElementHandler.getElement(5050).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.317315123136,N= 213.764822348,My= 1.61454510251,Mz= 0.0))
preprocessor.getElementHandler.getElement(5051).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.647934177865,N= 375.24640753,My= -1.60933667719,Mz= 0.0))
preprocessor.getElementHandler.getElement(5051).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.20625444737,N= 140.6666212,My= 0.891394595147,Mz= 0.0))
preprocessor.getElementHandler.getElement(5052).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.66417312508,N= 373.813150841,My= -2.62149894888,Mz= 0.0))
preprocessor.getElementHandler.getElement(5052).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.119549933865,N= 74.2993569343,My= -0.3641108383,Mz= 0.0))
preprocessor.getElementHandler.getElement(5053).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.682202962974,N= 374.944950878,My= -3.47972295751,Mz= 0.0))
preprocessor.getElementHandler.getElement(5053).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.057927897092,N= -260.028624111,My= -2.83458879857,Mz= 0.0))
preprocessor.getElementHandler.getElement(5054).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.701371472748,N= 378.230073589,My= -4.21040828812,Mz= 0.0))
preprocessor.getElementHandler.getElement(5054).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0717764834181,N= -295.843317213,My= -5.54936181188,Mz= 0.0))
preprocessor.getElementHandler.getElement(5055).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.721580111744,N= 383.350345068,My= -4.83610005147,Mz= 0.0))
preprocessor.getElementHandler.getElement(5055).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0899241159032,N= -377.99402205,My= -6.38411100701,Mz= 0.0))
preprocessor.getElementHandler.getElement(5056).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.74271909889,N= 390.032545619,My= -5.37482243267,Mz= 0.0))
preprocessor.getElementHandler.getElement(5056).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.106882106189,N= -454.925083745,My= -7.1513342555,Mz= 0.0))
preprocessor.getElementHandler.getElement(5057).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.764608586922,N= 398.015958732,My= -5.83978899345,Mz= 0.0))
preprocessor.getElementHandler.getElement(5057).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.122726242024,N= -526.977247291,My= -7.85469783324,Mz= 0.0))
preprocessor.getElementHandler.getElement(5058).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.786956807819,N= 407.025837107,My= -6.23949737255,Mz= 0.0))
preprocessor.getElementHandler.getElement(5058).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.13751535832,N= -594.374183626,My= -8.50020637292,Mz= 0.0))
preprocessor.getElementHandler.getElement(5059).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.809328832731,N= 416.750332821,My= -6.57808499436,Mz= 0.0))
preprocessor.getElementHandler.getElement(5059).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.151289217396,N= -657.224722915,My= -9.09519083629,Mz= 0.0))
preprocessor.getElementHandler.getElement(5060).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.831123870295,N= 426.822075369,My= -6.85573224947,Mz= 0.0))
preprocessor.getElementHandler.getElement(5060).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.164014210932,N= -715.491342196,My= -9.62924417554,Mz= 0.0))
preprocessor.getElementHandler.getElement(5061).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.851564833954,N= 436.804538618,My= -7.06929885625,Mz= 0.0))
preprocessor.getElementHandler.getElement(5061).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.175404882794,N= -768.940229545,My= -10.0074096248,Mz= 0.0))
preprocessor.getElementHandler.getElement(5062).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.869717081892,N= 446.183628942,My= -7.21405291466,Mz= 0.0))
preprocessor.getElementHandler.getElement(5062).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.184454705151,N= -817.788230677,My= -9.81436334049,Mz= 0.0))
preprocessor.getElementHandler.getElement(5063).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.884523152458,N= 454.375389427,My= -7.28484211172,Mz= 0.0))
preprocessor.getElementHandler.getElement(5063).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.194249628422,N= -863.455069967,My= -10.1623001413,Mz= 0.0))
preprocessor.getElementHandler.getElement(5064).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.894892826514,N= 460.772578714,My= -7.27680803365,Mz= 0.0))
preprocessor.getElementHandler.getElement(5064).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.205612156382,N= -901.702129932,My= -11.70460678,Mz= 0.0))
preprocessor.getElementHandler.getElement(5065).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.899933147689,N= 465.042005591,My= -7.17163913054,Mz= 0.0))
preprocessor.getElementHandler.getElement(5065).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.209701984383,N= -922.166554357,My= -11.741925141,Mz= 0.0))
preprocessor.getElementHandler.getElement(5066).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.899107451699,N= 466.435867231,My= -7.00613044628,Mz= 0.0))
preprocessor.getElementHandler.getElement(5066).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.207314030626,N= -926.8517259,My= -10.4341365619,Mz= 0.0))
preprocessor.getElementHandler.getElement(5067).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.899933147392,N= 465.042005574,My= -7.17163911622,Mz= 0.0))
preprocessor.getElementHandler.getElement(5067).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.209835983161,N= -922.72643483,My= -11.7516996541,Mz= 0.0))
preprocessor.getElementHandler.getElement(5068).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.894892826137,N= 460.772578677,My= -7.2768080169,Mz= 0.0))
preprocessor.getElementHandler.getElement(5068).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.205775106108,N= -902.43182737,My= -11.712716212,Mz= 0.0))
preprocessor.getElementHandler.getElement(5069).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.884523152002,N= 454.375389372,My= -7.28484209233,Mz= 0.0))
preprocessor.getElementHandler.getElement(5069).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.194371601619,N= -863.973318756,My= -10.1705314681,Mz= 0.0))
preprocessor.getElementHandler.getElement(5070).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.869717081352,N= 446.183628867,My= -7.21405289254,Mz= 0.0))
preprocessor.getElementHandler.getElement(5070).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.18452110804,N= -818.007482851,My= -9.82370632116,Mz= 0.0))
preprocessor.getElementHandler.getElement(5071).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.851564833325,N= 436.804538521,My= -7.0692988313,Mz= 0.0))
preprocessor.getElementHandler.getElement(5071).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.175421869338,N= -768.960123363,My= -10.0125978245,Mz= 0.0))
preprocessor.getElementHandler.getElement(5072).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.831123869575,N= 426.822075251,My= -6.85573222155,Mz= 0.0))
preprocessor.getElementHandler.getElement(5072).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.164007103967,N= -715.423502902,My= -9.63167480028,Mz= 0.0))
preprocessor.getElementHandler.getElement(5073).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.809328831912,N= 416.750332678,My= -6.57808496335,Mz= 0.0))
preprocessor.getElementHandler.getElement(5073).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.151272991869,N= -657.129478497,My= -9.09612949383,Mz= 0.0))
preprocessor.getElementHandler.getElement(5074).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.786956806892,N= 407.025836936,My= -6.23949733825,Mz= 0.0))
preprocessor.getElementHandler.getElement(5074).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.137496632772,N= -594.276697424,My= -8.50032840405,Mz= 0.0))
preprocessor.getElementHandler.getElement(5075).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.764608585881,N= 398.015958532,My= -5.83978895568,Mz= 0.0))
preprocessor.getElementHandler.getElement(5075).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.12270804312,N= -526.889019037,My= -7.85431265009,Mz= 0.0))
preprocessor.getElementHandler.getElement(5076).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.742719097729,N= 390.032545387,My= -5.37482239129,Mz= 0.0))
preprocessor.getElementHandler.getElement(5076).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.106865735478,N= -454.850672225,My= -7.1506047885,Mz= 0.0))
preprocessor.getElementHandler.getElement(5077).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.721580110453,N= 383.3503448,My= -4.83610000632,Mz= 0.0))
preprocessor.getElementHandler.getElement(5077).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0899101231854,N= -377.934645665,My= -6.38316076591,Mz= 0.0))
preprocessor.getElementHandler.getElement(5078).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.701371471322,N= 378.230073283,My= -4.21040823913,Mz= 0.0))
preprocessor.getElementHandler.getElement(5078).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0717650309081,N= -295.798549079,My= -5.54828803271,Mz= 0.0))
preprocessor.getElementHandler.getElement(5079).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.68220296141,N= 374.944950532,My= -3.47972290467,Mz= 0.0))
preprocessor.getElementHandler.getElement(5079).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0532023026717,N= -236.55886126,My= -2.7778724194,Mz= 0.0))
preprocessor.getElementHandler.getElement(5080).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.664173123373,N= 373.813150451,My= -2.62149889233,Mz= 0.0))
preprocessor.getElementHandler.getElement(5080).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0342051825889,N= -149.50839585,My= -1.98555892174,Mz= 0.0))
preprocessor.getElementHandler.getElement(5081).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.647934176055,N= 375.246407096,My= -1.60933661718,Mz= 0.0))
preprocessor.getElementHandler.getElement(5081).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU699", CF=0.0461015118098,N= -2.02026741677,My= -2.73157975904,Mz= 0.0))
preprocessor.getElementHandler.getElement(5082).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.586182572395,N= 383.590363233,My= 2.52858851857,Mz= 0.0))
preprocessor.getElementHandler.getElement(5082).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.175103612605,N= 100.346702442,My= -1.36774959299,Mz= 0.0))
preprocessor.getElementHandler.getElement(5083).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.57903859912,N= 394.132107842,My= 3.87241979254,Mz= 0.0))
preprocessor.getElementHandler.getElement(5083).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.334433620889,N= 219.441649256,My= 2.23979785752,Mz= 0.0))
preprocessor.getElementHandler.getElement(5084).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.57711281272,N= 411.023330515,My= 5.50388203328,Mz= 0.0))
preprocessor.getElementHandler.getElement(5084).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.533601836172,N= 349.116884759,My= 3.66658415627,Mz= 0.0))
preprocessor.getElementHandler.getElement(5085).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.643812283625,N= 437.488223399,My= 7.40294858216,Mz= 0.0))
preprocessor.getElementHandler.getElement(5085).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.746980687223,N= 490.289238252,My= 4.98885705811,Mz= 0.0))
preprocessor.getElementHandler.getElement(5086).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.71229072642,N= 482.353843345,My= 8.3416907743,Mz= 0.0))
preprocessor.getElementHandler.getElement(5086).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.971411942933,N= 644.148333037,My= 5.88566890613,Mz= 0.0))
preprocessor.getElementHandler.getElement(5087).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.802794979163,N= 548.192464787,My= 8.98859231047,Mz= 0.0))
preprocessor.getElementHandler.getElement(5087).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.22106430553,N= 810.380657496,My= 7.33518452847,Mz= 0.0))
preprocessor.getElementHandler.getElement(5088).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU594", CF=0.99570579212,N= 661.507854843,My= 12.8199074182,Mz= 0.0))
preprocessor.getElementHandler.getElement(5088).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.58015486304,N= 954.248308662,My= 18.1729131,Mz= 0.0))
preprocessor.getElementHandler.getElement(5089).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU666", CF=0.973606992788,N= 616.807530288,My= 15.2599601572,Mz= 0.0))
preprocessor.getElementHandler.getElement(5089).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.53180624536,N= 922.548455821,My= 17.8468539983,Mz= 0.0))
preprocessor.getElementHandler.getElement(5090).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.77493176229,N= 506.588652462,My= 10.7257904425,Mz= 0.0))
preprocessor.getElementHandler.getElement(5090).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.54542435593,N= 894.692590954,My= 21.3194819301,Mz= 0.0))
preprocessor.getElementHandler.getElement(5091).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU608", CF=0.548937941427,N= 329.133312387,My= -0.349867050518,Mz= 0.0))
preprocessor.getElementHandler.getElement(5091).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.55585057884,N= 939.15609376,My= 17.9315352325,Mz= 0.0))
preprocessor.getElementHandler.getElement(5092).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.877210375702,N= 507.055276025,My= 18.1676035934,Mz= 0.0))
preprocessor.getElementHandler.getElement(5092).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.24775524314,N= 784.158876176,My= 11.5335509551,Mz= 0.0))
preprocessor.getElementHandler.getElement(5093).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.689713591456,N= 461.741772543,My= 8.56042961205,Mz= 0.0))
preprocessor.getElementHandler.getElement(5093).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.17274342484,N= 760.449058815,My= 8.68662189515,Mz= 0.0))
preprocessor.getElementHandler.getElement(5094).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU606", CF=0.761306015775,N= 382.489199427,My= -7.01993453798,Mz= 0.0))
preprocessor.getElementHandler.getElement(5094).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=1.10518078903,N= 740.002180432,My= 6.03892386369,Mz= 0.0))
preprocessor.getElementHandler.getElement(5095).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.792110924989,N= 433.623635197,My= 18.6053566389,Mz= 0.0))
preprocessor.getElementHandler.getElement(5095).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.996877655606,N= 641.960680943,My= 7.79301937931,Mz= 0.0))
preprocessor.getElementHandler.getElement(5096).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.578611990021,N= 411.573037402,My= 5.47138285007,Mz= 0.0))
preprocessor.getElementHandler.getElement(5096).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.926184852419,N= 629.780579439,My= 4.17580908177,Mz= 0.0))
preprocessor.getElementHandler.getElement(5097).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.778100793297,N= 397.459086172,My= -6.60457147416,Mz= 0.0))
preprocessor.getElementHandler.getElement(5097).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.864688447066,N= 588.010784116,My= 3.8943093415,Mz= 0.0))
preprocessor.getElementHandler.getElement(5098).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.735474077004,N= 393.360064789,My= 18.1154208775,Mz= 0.0))
preprocessor.getElementHandler.getElement(5098).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.798411487015,N= 510.550592452,My= 6.57271893377,Mz= 0.0))
preprocessor.getElementHandler.getElement(5099).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.556779692256,N= 381.320677606,My= 3.93490230233,Mz= 0.0))
preprocessor.getElementHandler.getElement(5099).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.744594036755,N= 501.315273194,My= 3.8155658369,Mz= 0.0))
preprocessor.getElementHandler.getElement(5100).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.762650959051,N= 379.709460426,My= -7.33398854276,Mz= 0.0))
preprocessor.getElementHandler.getElement(5100).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.675132487154,N= 463.791848814,My= 2.61010042205,Mz= 0.0))
preprocessor.getElementHandler.getElement(5101).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.690770765092,N= 367.323735707,My= 17.2074120553,Mz= 0.0))
preprocessor.getElementHandler.getElement(5101).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.619285736529,N= 391.530924684,My= 5.5095163494,Mz= 0.0))
preprocessor.getElementHandler.getElement(5102).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.534378170558,N= 360.594123207,My= 3.29016167484,Mz= 0.0))
preprocessor.getElementHandler.getElement(5102).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.577859806323,N= 386.407145524,My= 3.20475453191,Mz= 0.0))
preprocessor.getElementHandler.getElement(5103).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.741773134605,N= 362.6611588,My= -7.71406302841,Mz= 0.0))
preprocessor.getElementHandler.getElement(5103).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.521537348242,N= 357.66549832,My= 1.71180275743,Mz= 0.0))
preprocessor.getElementHandler.getElement(5104).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.656071180371,N= 351.726922187,My= 16.0839015321,Mz= 0.0))
preprocessor.getElementHandler.getElement(5104).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.455364569098,N= 284.420466192,My= 4.37052381252,Mz= 0.0))
preprocessor.getElementHandler.getElement(5105).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.518884454668,N= 312.477434403,My= -0.207522396945,Mz= 0.0))
preprocessor.getElementHandler.getElement(5105).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.425183251317,N= 283.891906292,My= 2.39685276268,Mz= 0.0))
preprocessor.getElementHandler.getElement(5106).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.717336126462,N= 348.597382417,My= -7.64467388117,Mz= 0.0))
preprocessor.getElementHandler.getElement(5106).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.390901347476,N= 264.098586217,My= 0.891538335838,Mz= 0.0))
preprocessor.getElementHandler.getElement(5107).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.629250436302,N= 342.090184767,My= 14.9959677174,Mz= 0.0))
preprocessor.getElementHandler.getElement(5107).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.325751897899,N= 203.263726237,My= 3.14496907015,Mz= 0.0))
preprocessor.getElementHandler.getElement(5108).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.509629236435,N= 337.627956305,My= 2.57174250602,Mz= 0.0))
preprocessor.getElementHandler.getElement(5108).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.308905142021,N= 203.726814141,My= 1.97361842877,Mz= 0.0))
preprocessor.getElementHandler.getElement(5109).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.695696779399,N= 339.04805787,My= -7.32968494305,Mz= 0.0))
preprocessor.getElementHandler.getElement(5109).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.293971456278,N= 179.333567504,My= -1.22674514562,Mz= 0.0))
preprocessor.getElementHandler.getElement(5110).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.608898043105,N= 337.116897818,My= 13.9580841063,Mz= 0.0))
preprocessor.getElementHandler.getElement(5110).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.217615713928,N= 132.922058418,My= 2.36442268311,Mz= 0.0))
preprocessor.getElementHandler.getElement(5111).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.505936618883,N= 333.133476439,My= 2.36808379289,Mz= 0.0))
preprocessor.getElementHandler.getElement(5111).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.207051091209,N= 136.62627936,My= 1.31611097459,Mz= 0.0))
preprocessor.getElementHandler.getElement(5112).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.679277715045,N= 333.961803076,My= -6.90217496344,Mz= 0.0))
preprocessor.getElementHandler.getElement(5112).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.213612296329,N= 129.871874528,My= -0.934669163767,Mz= 0.0))
preprocessor.getElementHandler.getElement(5113).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.59444863029,N= 332.489326444,My= 13.3207688674,Mz= 0.0))
preprocessor.getElementHandler.getElement(5113).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.118947680853,N= 69.0329658522,My= 1.62523283302,Mz= 0.0))
preprocessor.getElementHandler.getElement(5114).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.506880434876,N= 332.257780038,My= 2.23725133678,Mz= 0.0))
preprocessor.getElementHandler.getElement(5114).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.113467558724,N= 75.2998886428,My= 0.682067704648,Mz= 0.0))
preprocessor.getElementHandler.getElement(5115).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.671292111245,N= 329.846234951,My= -6.83757621768,Mz= 0.0))
preprocessor.getElementHandler.getElement(5115).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.130754252314,N= 72.3856571887,My= -1.27187034825,Mz= 0.0))
preprocessor.getElementHandler.getElement(5116).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.587863543292,N= 333.721334274,My= 12.7270895817,Mz= 0.0))
preprocessor.getElementHandler.getElement(5116).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.0566489317455,N= -256.31241611,My= -2.61545943868,Mz= 0.0))
preprocessor.getElementHandler.getElement(5117).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.511848206613,N= 334.36360696,My= 2.15524150069,Mz= 0.0))
preprocessor.getElementHandler.getElement(5117).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.0559260586847,N= -243.999711199,My= -3.28114164027,Mz= 0.0))
preprocessor.getElementHandler.getElement(5118).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.670377195196,N= 332.055134573,My= -6.59618096933,Mz= 0.0))
preprocessor.getElementHandler.getElement(5118).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.0562313894106,N= -240.975419201,My= -3.6358591418,Mz= 0.0))
preprocessor.getElementHandler.getElement(5119).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.585729177663,N= 337.217806369,My= 12.2535600641,Mz= 0.0))
preprocessor.getElementHandler.getElement(5119).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0702694671943,N= -314.480922568,My= -3.5117095704,Mz= 0.0))
preprocessor.getElementHandler.getElement(5120).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.520311659584,N= 338.922499702,My= 2.10326513576,Mz= 0.0))
preprocessor.getElementHandler.getElement(5120).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0687161162388,N= -302.16373114,My= -3.84889082352,Mz= 0.0))
preprocessor.getElementHandler.getElement(5121).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.674623184,N= 337.004652203,My= -6.38947855474,Mz= 0.0))
preprocessor.getElementHandler.getElement(5121).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0692332514916,N= -276.404467934,My= -6.0451661914,Mz= 0.0))
preprocessor.getElementHandler.getElement(5122).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.587550589497,N= 342.593048227,My= 11.8989697724,Mz= 0.0))
preprocessor.getElementHandler.getElement(5122).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0869194408884,N= -388.584387467,My= -4.37557369162,Mz= 0.0))
preprocessor.getElementHandler.getElement(5123).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.531799251813,N= 345.500997864,My= 2.06800588053,Mz= 0.0))
preprocessor.getElementHandler.getElement(5123).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0855817901039,N= -362.410436261,My= -5.86946207002,Mz= 0.0))
preprocessor.getElementHandler.getElement(5124).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.683615947382,N= 344.303732383,My= -6.22962500748,Mz= 0.0))
preprocessor.getElementHandler.getElement(5124).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.086394226239,N= -354.314781946,My= -6.81705797838,Mz= 0.0))
preprocessor.getElementHandler.getElement(5125).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.592865781419,N= 349.530630745,My= 11.6582322972,Mz= 0.0))
preprocessor.getElementHandler.getElement(5125).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.102530114843,N= -458.108555559,My= -5.18193706962,Mz= 0.0))
preprocessor.getElementHandler.getElement(5126).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.545890900985,N= 353.731072236,My= 2.03923819404,Mz= 0.0))
preprocessor.getElementHandler.getElement(5126).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.102292408619,N= -437.760895792,My= -6.66093218101,Mz= 0.0))
preprocessor.getElementHandler.getElement(5127).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.696978212464,N= 353.661267992,My= -6.12200752262,Mz= 0.0))
preprocessor.getElementHandler.getElement(5127).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.102692240152,N= -428.380032566,My= -7.54450953745,Mz= 0.0))
preprocessor.getElementHandler.getElement(5128).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.601219127477,N= 357.747235188,My= 11.5237222712,Mz= 0.0))
preprocessor.getElementHandler.getElement(5128).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.11803412867,N= -525.821031042,My= -6.08613157964,Mz= 0.0))
preprocessor.getElementHandler.getElement(5129).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.562196048194,N= 363.276510633,My= 2.00799287235,Mz= 0.0))
preprocessor.getElementHandler.getElement(5129).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.118027408637,N= -508.932706869,My= -7.3891427044,Mz= 0.0))
preprocessor.getElementHandler.getElement(5130).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.714353500114,N= 364.855187718,My= -6.06709038066,Mz= 0.0))
preprocessor.getElementHandler.getElement(5130).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.118165530977,N= -498.827816604,My= -8.22506603852,Mz= 0.0))
preprocessor.getElementHandler.getElement(5131).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.612121294683,N= 366.960764307,My= 11.4852369733,Mz= 0.0))
preprocessor.getElementHandler.getElement(5131).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.132782227898,N= -592.803776867,My= -6.7474203641,Mz= 0.0))
preprocessor.getElementHandler.getElement(5132).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.580294613478,N= 373.79741554,My= 1.96658561482,Mz= 0.0))
preprocessor.getElementHandler.getElement(5132).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.132817152913,N= -576.094252963,My= -8.05309842592,Mz= 0.0))
preprocessor.getElementHandler.getElement(5133).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.735360421678,N= 377.693729013,My= -6.06136978161,Mz= 0.0))
preprocessor.getElementHandler.getElement(5133).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.13284009678,N= -565.813385842,My= -8.85701920088,Mz= 0.0))
preprocessor.getElementHandler.getElement(5134).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.624999045863,N= 376.861100629,My= 11.5289772408,Mz= 0.0))
preprocessor.getElementHandler.getElement(5134).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.146508174135,N= -655.481658859,My= -7.33678108093,Mz= 0.0))
preprocessor.getElementHandler.getElement(5135).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.599631649544,N= 384.916250333,My= 1.91132294394,Mz= 0.0))
preprocessor.getElementHandler.getElement(5135).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.14666290728,N= -639.269372457,My= -8.65145758633,Mz= 0.0))
preprocessor.getElementHandler.getElement(5136).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.759496806958,N= 391.961480739,My= -6.09699527976,Mz= 0.0))
preprocessor.getElementHandler.getElement(5136).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.146728001379,N= -629.372736164,My= -9.44236306625,Mz= 0.0))
preprocessor.getElementHandler.getElement(5137).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.639155753316,N= 387.088422446,My= 11.6366261811,Mz= 0.0))
preprocessor.getElementHandler.getElement(5137).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.159169519003,N= -713.769201639,My= -7.8440135508,Mz= 0.0))
preprocessor.getElementHandler.getElement(5138).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.619389969235,N= 396.202194635,My= 1.84806923658,Mz= 0.0))
preprocessor.getElementHandler.getElement(5138).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.159477472889,N= -698.296659102,My= -9.16217035063,Mz= 0.0))
preprocessor.getElementHandler.getElement(5139).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.785950680017,N= 407.329411786,My= -6.15959061588,Mz= 0.0))
preprocessor.getElementHandler.getElement(5139).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.159751483448,N= -689.331067309,My= -9.96382033597,Mz= 0.0))
preprocessor.getElementHandler.getElement(5140).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.65373753001,N= 397.227943109,My= 11.7833483213,Mz= 0.0))
preprocessor.getElementHandler.getElement(5140).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.17060021734,N= -767.367967379,My= -8.22644103485,Mz= 0.0))
preprocessor.getElementHandler.getElement(5141).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.638935762945,N= 407.178639798,My= 1.76850287499,Mz= 0.0))
preprocessor.getElementHandler.getElement(5141).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.171001668972,N= -752.832092035,My= -9.50920480613,Mz= 0.0))
preprocessor.getElementHandler.getElement(5142).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.813658493358,N= 423.290448926,My= -6.23696868858,Mz= 0.0))
preprocessor.getElementHandler.getElement(5142).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.171539412742,N= -745.212997086,My= -10.3111858147,Mz= 0.0))
preprocessor.getElementHandler.getElement(5143).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.667636557959,N= 406.804524597,My= 11.9312046168,Mz= 0.0))
preprocessor.getElementHandler.getElement(5143).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.180429478911,N= -816.226479994,My= -8.34121989656,Mz= 0.0))
preprocessor.getElementHandler.getElement(5144).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.660936450324,N= 417.208794641,My= 1.4689157878,Mz= 0.0))
preprocessor.getElementHandler.getElement(5144).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.180932354591,N= -802.227031976,My= -9.62267264058,Mz= 0.0))
preprocessor.getElementHandler.getElement(5145).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.841512136086,N= 439.323370218,My= -6.31581210939,Mz= 0.0))
preprocessor.getElementHandler.getElement(5145).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.181923713127,N= -796.23851443,My= -10.4782099985,Mz= 0.0))
preprocessor.getElementHandler.getElement(5146).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.679530299772,N= 415.242207814,My= 12.0356948634,Mz= 0.0))
preprocessor.getElementHandler.getElement(5146).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.190565434739,N= -861.02908011,My= -8.89101294689,Mz= 0.0))
preprocessor.getElementHandler.getElement(5147).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.689854759339,N= 425.239428878,My= 0.60959200206,Mz= 0.0))
preprocessor.getElementHandler.getElement(5147).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.190547375329,N= -844.704812955,My= -10.1459255293,Mz= 0.0))
preprocessor.getElementHandler.getElement(5148).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.865974895086,N= 454.853424852,My= -6.25856574923,Mz= 0.0))
preprocessor.getElementHandler.getElement(5148).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.191449795238,N= -840.834664519,My= -10.802469887,Mz= 0.0))
preprocessor.getElementHandler.getElement(5149).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.688061683951,N= 421.864580161,My= 12.0589092671,Mz= 0.0))
preprocessor.getElementHandler.getElement(5149).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.200853282121,N= -897.976192136,My= -10.1082755418,Mz= 0.0))
preprocessor.getElementHandler.getElement(5150).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.7206876103,N= 430.925864773,My= -0.566424470664,Mz= 0.0))
preprocessor.getElementHandler.getElement(5150).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.200030559677,N= -877.413635117,My= -11.3722334913,Mz= 0.0))
preprocessor.getElementHandler.getElement(5151).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.881453176055,N= 467.964008131,My= -5.93563526521,Mz= 0.0))
preprocessor.getElementHandler.getElement(5151).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.199462768558,N= -875.783169556,My= -11.2734576069,Mz= 0.0))
preprocessor.getElementHandler.getElement(5152).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.692013014595,N= 426.063105862,My= 11.966976069,Mz= 0.0))
preprocessor.getElementHandler.getElement(5152).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.204167223122,N= -918.580657493,My= -9.82753581685,Mz= 0.0))
preprocessor.getElementHandler.getElement(5153).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.731130784236,N= 435.165751528,My= -0.755713082227,Mz= 0.0))
preprocessor.getElementHandler.getElement(5153).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.20438840684,N= -898.124911127,My= -11.4965959044,Mz= 0.0))
preprocessor.getElementHandler.getElement(5154).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.888402567428,N= 475.829601874,My= -5.61786394156,Mz= 0.0))
preprocessor.getElementHandler.getElement(5154).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.203724662466,N= -897.528236866,My= -11.2799004141,Mz= 0.0))
preprocessor.getElementHandler.getElement(5155).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.690665831999,N= 427.493052699,My= 11.738611274,Mz= 0.0))
preprocessor.getElementHandler.getElement(5155).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.202649117011,N= -923.864625284,My= -8.81789024802,Mz= 0.0))
preprocessor.getElementHandler.getElement(5156).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.725854159294,N= 437.282412909,My= -0.27532491725,Mz= 0.0))
preprocessor.getElementHandler.getElement(5156).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.20364578874,N= -905.379193343,My= -10.6416943935,Mz= 0.0))
preprocessor.getElementHandler.getElement(5157).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.888691765349,N= 478.135567456,My= -5.43190968352,Mz= 0.0))
preprocessor.getElementHandler.getElement(5157).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.204283394803,N= -904.777299486,My= -10.9407036248,Mz= 0.0))
preprocessor.getElementHandler.getElement(5158).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.692013014397,N= 426.063105858,My= 11.9669760549,Mz= 0.0))
preprocessor.getElementHandler.getElement(5158).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.204255287642,N= -918.94376915,My= -9.83433416284,Mz= 0.0))
preprocessor.getElementHandler.getElement(5159).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.732417671793,N= 435.940301875,My= -0.756266268417,Mz= 0.0))
preprocessor.getElementHandler.getElement(5159).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.20444784458,N= -898.393741903,My= -11.4993478389,Mz= 0.0))
preprocessor.getElementHandler.getElement(5160).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.888402567167,N= 475.829601872,My= -5.61786392787,Mz= 0.0))
preprocessor.getElementHandler.getElement(5160).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.203759601797,N= -897.670393119,My= -11.2827450868,Mz= 0.0))
preprocessor.getElementHandler.getElement(5161).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.688061683727,N= 421.864580155,My= 12.0589092513,Mz= 0.0))
preprocessor.getElementHandler.getElement(5161).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.200965912833,N= -898.500684065,My= -10.1123248154,Mz= 0.0))
preprocessor.getElementHandler.getElement(5162).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.722774565952,N= 432.207351883,My= -0.565027640975,Mz= 0.0))
preprocessor.getElementHandler.getElement(5162).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.200116370328,N= -877.82302559,My= -11.3745614505,Mz= 0.0))
preprocessor.getElementHandler.getElement(5163).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.881453175757,N= 467.964008126,My= -5.93563524987,Mz= 0.0))
preprocessor.getElementHandler.getElement(5163).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.199514533849,N= -876.008663402,My= -11.2765219194,Mz= 0.0))
preprocessor.getElementHandler.getElement(5164).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.67953029952,N= 415.242207804,My= 12.0356948459,Mz= 0.0))
preprocessor.getElementHandler.getElement(5164).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.190657295226,N= -861.486585772,My= -8.89201659773,Mz= 0.0))
preprocessor.getElementHandler.getElement(5165).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.692089613467,N= 426.660531261,My= 0.61549622088,Mz= 0.0))
preprocessor.getElementHandler.getElement(5165).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.190627675198,N= -845.093768533,My= -10.1476512255,Mz= 0.0))
preprocessor.getElementHandler.getElement(5166).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.865974894752,N= 454.853424844,My= -6.25856573222,Mz= 0.0))
preprocessor.getElementHandler.getElement(5166).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.191501713385,N= -841.064138202,My= -10.8052870369,Mz= 0.0))
preprocessor.getElementHandler.getElement(5167).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.667636557677,N= 406.804524582,My= 11.9312045975,Mz= 0.0))
preprocessor.getElementHandler.getElement(5167).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.18048136104,N= -816.506439962,My= -8.34011958286,Mz= 0.0))
preprocessor.getElementHandler.getElement(5168).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.662950803991,N= 418.486094479,My= 1.47391312164,Mz= 0.0))
preprocessor.getElementHandler.getElement(5168).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.180987615573,N= -802.496447573,My= -9.62372547309,Mz= 0.0))
preprocessor.getElementHandler.getElement(5169).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.841512135716,N= 439.323370207,My= -6.31581209069,Mz= 0.0))
preprocessor.getElementHandler.getElement(5169).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.181963571493,N= -796.414286176,My= -10.4804035968,Mz= 0.0))
preprocessor.getElementHandler.getElement(5170).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.653737529697,N= 397.227943089,My= 11.7833483002,Mz= 0.0))
preprocessor.getElementHandler.getElement(5170).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.170617143791,N= -767.480920807,My= -8.22441080413,Mz= 0.0))
preprocessor.getElementHandler.getElement(5171).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.640524971559,N= 408.184942583,My= 1.7723178382,Mz= 0.0))
preprocessor.getElementHandler.getElement(5171).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.171028922969,N= -752.966051474,My= -9.50963999761,Mz= 0.0))
preprocessor.getElementHandler.getElement(5172).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.813658492946,N= 423.29044891,My= -6.23696866815,Mz= 0.0))
preprocessor.getElementHandler.getElement(5172).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.171563026926,N= -745.315651771,My= -10.3125999711,Mz= 0.0))
preprocessor.getElementHandler.getElement(5173).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.639155752966,N= 387.088422419,My= 11.636626158,Mz= 0.0))
preprocessor.getElementHandler.getElement(5173).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.159164892588,N= -713.773246922,My= -7.84186886037,Mz= 0.0))
preprocessor.getElementHandler.getElement(5174).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.62054299963,N= 396.932049428,My= 1.85081404647,Mz= 0.0))
preprocessor.getElementHandler.getElement(5174).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.159483544045,N= -698.328229437,My= -9.16213360218,Mz= 0.0))
preprocessor.getElementHandler.getElement(5175).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.78595067956,N= 407.329411763,My= -6.15959059366,Mz= 0.0))
preprocessor.getElementHandler.getElement(5175).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.15976083613,N= -689.370056771,My= -9.96450939869,Mz= 0.0))
preprocessor.getElementHandler.getElement(5176).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.624999045478,N= 376.861100594,My= 11.5289772158,Mz= 0.0))
preprocessor.getElementHandler.getElement(5176).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.146493352928,N= -655.430012739,My= -7.33490513643,Mz= 0.0))
preprocessor.getElementHandler.getElement(5177).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.600426436196,N= 385.419760785,My= 1.9132528694,Mz= 0.0))
preprocessor.getElementHandler.getElement(5177).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.146656543969,N= -639.241149582,My= -8.65111984948,Mz= 0.0))
preprocessor.getElementHandler.getElement(5178).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.759496806455,N= 391.961480709,My= -6.0969952557,Mz= 0.0))
preprocessor.getElementHandler.getElement(5178).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.146727574289,N= -629.368922089,My= -9.44248882401,Mz= 0.0))
preprocessor.getElementHandler.getElement(5179).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.612121294258,N= 366.960764262,My= 11.4852369463,Mz= 0.0))
preprocessor.getElementHandler.getElement(5179).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.132764136392,N= -592.730620645,My= -6.74591245691,Mz= 0.0))
preprocessor.getElementHandler.getElement(5180).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.580824628288,N= 374.133913207,My= 1.96793806719,Mz= 0.0))
preprocessor.getElementHandler.getElement(5180).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.132805142003,N= -576.039175738,My= -8.05260055249,Mz= 0.0))
preprocessor.getElementHandler.getElement(5181).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.735360421122,N= 377.693728972,My= -6.06136975568,Mz= 0.0))
preprocessor.getElementHandler.getElement(5181).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.132834253171,N= -565.786877952,My= -8.85675466354,Mz= 0.0))
preprocessor.getElementHandler.getElement(5182).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.601219127007,N= 357.74723513,My= 11.5237222421,Mz= 0.0))
preprocessor.getElementHandler.getElement(5182).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.118016441674,N= -525.745458016,My= -6.08497069655,Mz= 0.0))
preprocessor.getElementHandler.getElement(5183).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.562539893295,N= 363.495565431,My= 2.00893831447,Mz= 0.0))
preprocessor.getElementHandler.getElement(5183).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.118013969711,N= -508.871212673,My= -7.3885754833,Mz= 0.0))
preprocessor.getElementHandler.getElement(5184).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.714353499501,N= 364.855187664,My= -6.06709035283,Mz= 0.0))
preprocessor.getElementHandler.getElement(5184).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.11815752495,N= -498.793477633,My= -8.22455067699,Mz= 0.0))
preprocessor.getElementHandler.getElement(5185).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.5928657809,N= 349.530630672,My= 11.6582322659,Mz= 0.0))
preprocessor.getElementHandler.getElement(5185).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.102530114945,N= -458.108556114,My= -5.18193706697,Mz= 0.0))
preprocessor.getElementHandler.getElement(5186).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.546106705508,N= 353.869189333,My= 2.03988881482,Mz= 0.0))
preprocessor.getElementHandler.getElement(5186).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.102279851752,N= -437.704165118,My= -6.6603459543,Mz= 0.0))
preprocessor.getElementHandler.getElement(5187).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.69697821179,N= 353.661267923,My= -6.12200749287,Mz= 0.0))
preprocessor.getElementHandler.getElement(5187).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.102684186055,N= -428.347391396,My= -7.543843881,Mz= 0.0))
preprocessor.getElementHandler.getElement(5188).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.587550588928,N= 342.593048136,My= 11.898969739,Mz= 0.0))
preprocessor.getElementHandler.getElement(5188).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0869194410016,N= -388.58438807,My= -4.37557368983,Mz= 0.0))
preprocessor.getElementHandler.getElement(5189).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.531927882831,N= 345.583787006,My= 2.06843560023,Mz= 0.0))
preprocessor.getElementHandler.getElement(5189).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0855712464819,N= -362.363937562,My= -5.86888198068,Mz= 0.0))
preprocessor.getElementHandler.getElement(5190).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.683615946643,N= 344.303732296,My= -6.22962497586,Mz= 0.0))
preprocessor.getElementHandler.getElement(5190).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0863873734409,N= -354.28932778,My= -6.81631236263,Mz= 0.0))
preprocessor.getElementHandler.getElement(5191).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.585729177037,N= 337.217806256,My= 12.2535600286,Mz= 0.0))
preprocessor.getElementHandler.getElement(5191).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0702694673185,N= -314.480923216,My= -3.51170956946,Mz= 0.0))
preprocessor.getElementHandler.getElement(5192).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.520381336965,N= 338.967643287,My= 2.10352483079,Mz= 0.0))
preprocessor.getElementHandler.getElement(5192).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0687161163497,N= -302.163731765,My= -3.84889081912,Mz= 0.0))
preprocessor.getElementHandler.getElement(5193).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.674623183194,N= 337.004652096,My= -6.38947852132,Mz= 0.0))
preprocessor.getElementHandler.getElement(5193).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0692282600431,N= -276.388950446,My= -6.04438939645,Mz= 0.0))
preprocessor.getElementHandler.getElement(5194).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.587863542609,N= 333.721334137,My= 12.7270895442,Mz= 0.0))
preprocessor.getElementHandler.getElement(5194).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0525086008806,N= -235.435202344,My= -2.59005686438,Mz= 0.0))
preprocessor.getElementHandler.getElement(5195).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.51187833078,N= 334.383281711,My= 2.15536800244,Mz= 0.0))
preprocessor.getElementHandler.getElement(5195).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.051667654324,N= -224.802673854,My= -3.07908701423,Mz= 0.0))
preprocessor.getElementHandler.getElement(5196).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.670377194322,N= 332.055134443,My= -6.59618093426,Mz= 0.0))
preprocessor.getElementHandler.getElement(5196).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0526495255612,N= -222.802869331,My= -3.62249180089,Mz= 0.0))
preprocessor.getElementHandler.getElement(5197).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.594448629549,N= 332.48932628,My= 13.3207688281,Mz= 0.0))
preprocessor.getElementHandler.getElement(5197).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0335463290391,N= -150.965936898,My= -1.6119843387,Mz= 0.0))
preprocessor.getElementHandler.getElement(5198).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.506884329921,N= 332.260376387,My= 2.23727242804,Mz= 0.0))
preprocessor.getElementHandler.getElement(5198).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0336206329657,N= -142.494754754,My= -2.29633179583,Mz= 0.0))
preprocessor.getElementHandler.getElement(5199).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.671292110305,N= 329.846234797,My= -6.83757618121,Mz= 0.0))
preprocessor.getElementHandler.getElement(5199).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0354426470177,N= -143.739452589,My= -2.92157210802,Mz= 0.0))
preprocessor.getElementHandler.getElement(5200).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.60886992307,N= 337.108852168,My= 13.9567566866,Mz= 0.0))
preprocessor.getElementHandler.getElement(5200).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU626", CF=0.0397920635764,N= 15.0978230405,My= 1.27859573354,Mz= 0.0))
preprocessor.getElementHandler.getElement(5201).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.505923399098,N= 333.124762194,My= 2.36802104105,Mz= 0.0))
preprocessor.getElementHandler.getElement(5201).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU646", CF=0.0459914463887,N= 21.9941358048,My= -0.788546992877,Mz= 0.0))
preprocessor.getElementHandler.getElement(5202).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.679237841178,N= 333.953427443,My= -6.9007896224,Mz= 0.0))
preprocessor.getElementHandler.getElement(5202).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU602", CF=0.0593839744167,N= -1.92679794147,My= -3.47320214639,Mz= 0.0))
preprocessor.getElementHandler.getElement(5203).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.629214081909,N= 342.075486586,My= 14.9946415553,Mz= 0.0))
preprocessor.getElementHandler.getElement(5203).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.179708711385,N= 90.2150610556,My= 3.74962834573,Mz= 0.0))
preprocessor.getElementHandler.getElement(5204).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.509605062116,N= 337.611856672,My= 2.57161290741,Mz= 0.0))
preprocessor.getElementHandler.getElement(5204).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.164012864139,N= 96.0506766503,My= -1.0784091798,Mz= 0.0))
preprocessor.getElementHandler.getElement(5205).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.695644802071,N= 339.031643469,My= -7.32835891199,Mz= 0.0))
preprocessor.getElementHandler.getElement(5205).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.170883552713,N= 85.8754938729,My= -2.52095789193,Mz= 0.0))
preprocessor.getElementHandler.getElement(5206).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.656029796833,N= 351.70770541,My= 16.0826174852,Mz= 0.0))
preprocessor.getElementHandler.getElement(5206).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.358005158008,N= 206.309513754,My= 5.02611459899,Mz= 0.0))
preprocessor.getElementHandler.getElement(5207).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.518728765596,N= 346.469713137,My= 2.871814159,Mz= 0.0))
preprocessor.getElementHandler.getElement(5207).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.310262081977,N= 207.592614668,My= 1.70924109755,Mz= 0.0))
preprocessor.getElementHandler.getElement(5208).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.717277657356,N= 348.575967776,My= -7.64343977353,Mz= 0.0))
preprocessor.getElementHandler.getElement(5208).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.314302554439,N= 189.50779671,My= -1.53090361173,Mz= 0.0))
preprocessor.getElementHandler.getElement(5209).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.690726332381,N= 367.301240131,My= 17.2062024796,Mz= 0.0))
preprocessor.getElementHandler.getElement(5209).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.551923949951,N= 332.969967276,My= 6.37825358815,Mz= 0.0))
preprocessor.getElementHandler.getElement(5210).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.534342709253,N= 360.570128095,My= 3.28993736797,Mz= 0.0))
preprocessor.getElementHandler.getElement(5210).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.493812170825,N= 329.21274514,My= 2.82988665919,Mz= 0.0))
preprocessor.getElementHandler.getElement(5211).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.741712127415,N= 362.636846358,My= -7.71294716943,Mz= 0.0))
preprocessor.getElementHandler.getElement(5211).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.453351904417,N= 301.644930348,My= 0.576722239212,Mz= 0.0))
preprocessor.getElementHandler.getElement(5212).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.735427707838,N= 393.334819547,My= 18.1143191699,Mz= 0.0))
preprocessor.getElementHandler.getElement(5212).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.760829022661,N= 471.476126978,My= 7.64581206147,Mz= 0.0))
preprocessor.getElementHandler.getElement(5213).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.556741357064,N= 381.294610799,My= 3.93464833842,Mz= 0.0))
preprocessor.getElementHandler.getElement(5213).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.692919362572,N= 462.97692855,My= 3.87677834013,Mz= 0.0))
preprocessor.getElementHandler.getElement(5214).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.762590561026,N= 379.683842371,My= -7.3330189951,Mz= 0.0))
preprocessor.getElementHandler.getElement(5214).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.633245305955,N= 426.149777467,My= 1.2789335703,Mz= 0.0))
preprocessor.getElementHandler.getElement(5215).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.792063108223,N= 433.595463362,My= 18.6044146293,Mz= 0.0))
preprocessor.getElementHandler.getElement(5215).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.989391401749,N= 622.461894594,My= 9.08350398544,Mz= 0.0))
preprocessor.getElementHandler.getElement(5216).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.578572034482,N= 411.545800727,My= 5.47111200148,Mz= 0.0))
preprocessor.getElementHandler.getElement(5216).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.908868241821,N= 609.841428768,My= 4.84809960662,Mz= 0.0))
preprocessor.getElementHandler.getElement(5217).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.778051007312,N= 397.434127534,My= -6.60410765019,Mz= 0.0))
preprocessor.getElementHandler.getElement(5217).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.837894061265,N= 568.509516361,My= 2.1487954677,Mz= 0.0))
preprocessor.getElementHandler.getElement(5218).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.8771625252,N= 507.02475609,My= 18.1668722348,Mz= 0.0))
preprocessor.getElementHandler.getElement(5218).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.24771341348,N= 784.129305361,My= 11.5334660125,Mz= 0.0))
preprocessor.getElementHandler.getElement(5219).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.689676529919,N= 461.715249945,My= 8.5601249197,Mz= 0.0))
preprocessor.getElementHandler.getElement(5219).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.17268955411,N= 760.410367179,My= 8.68656843467,Mz= 0.0))
preprocessor.getElementHandler.getElement(5220).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.760819257037,N= 398.779001279,My= -5.57203895458,Mz= 0.0))
preprocessor.getElementHandler.getElement(5220).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.07985659929,N= 738.337788212,My= 4.49508847237,Mz= 0.0))
preprocessor.getElementHandler.getElement(5221).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU666", CF=0.973576975958,N= 616.786999574,My= 15.2596271175,Mz= 0.0))
preprocessor.getElementHandler.getElement(5221).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.53176298465,N= 922.517658848,My= 17.8467858645,Mz= 0.0))
preprocessor.getElementHandler.getElement(5222).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.774900411372,N= 506.567277763,My= 10.7254363841,Mz= 0.0))
preprocessor.getElementHandler.getElement(5222).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU612", CF=1.54536740146,N= 894.652569658,My= 21.3193440544,Mz= 0.0))
preprocessor.getElementHandler.getElement(5223).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.537462106075,N= 343.440658084,My= 1.57153935469,Mz= 0.0))
preprocessor.getElementHandler.getElement(5223).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.5557743058,N= 939.100616413,My= 17.9315234786,Mz= 0.0))
preprocessor.getElementHandler.getElement(5224).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.585144381013,N= 178.397781862,My= 26.5739787479,Mz= 0.0))
preprocessor.getElementHandler.getElement(5224).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.47626140503,N= 893.504700637,My= 16.7945079295,Mz= 0.0))
preprocessor.getElementHandler.getElement(5225).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.706044397915,N= 192.097856987,My= -20.6048557443,Mz= 0.0))
preprocessor.getElementHandler.getElement(5225).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=1.09941178964,N= 728.751411597,My= 6.68641389751,Mz= 0.0))
preprocessor.getElementHandler.getElement(5226).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.618643275258,N= 232.147929717,My= 24.1984388098,Mz= 0.0))
preprocessor.getElementHandler.getElement(5226).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=1.11926731643,N= 673.333870261,My= 13.1101002393,Mz= 0.0))
preprocessor.getElementHandler.getElement(5227).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.753278374529,N= 216.053339164,My= -21.0571533273,Mz= 0.0))
preprocessor.getElementHandler.getElement(5227).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.928076471748,N= 616.813506419,My= 5.49432791549,Mz= 0.0))
preprocessor.getElementHandler.getElement(5228).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.607699992493,N= 263.19588432,My= 20.5796794158,Mz= 0.0))
preprocessor.getElementHandler.getElement(5228).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.885398948216,N= 529.289239552,My= 10.6789452087,Mz= 0.0))
preprocessor.getElementHandler.getElement(5229).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.699321265959,N= 232.614576928,My= -16.8134460001,Mz= 0.0))
preprocessor.getElementHandler.getElement(5229).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.775645341691,N= 517.336702229,My= 4.42361483853,Mz= 0.0))
preprocessor.getElementHandler.getElement(5230).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.565404235793,N= 270.406910743,My= 16.8302260165,Mz= 0.0))
preprocessor.getElementHandler.getElement(5230).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.703382898604,N= 419.648966114,My= 8.56004421623,Mz= 0.0))
preprocessor.getElementHandler.getElement(5231).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.624845652571,N= 235.851686105,My= -12.577674646,Mz= 0.0))
preprocessor.getElementHandler.getElement(5231).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.637245563862,N= 424.955171554,My= 3.64093920702,Mz= 0.0))
preprocessor.getElementHandler.getElement(5232).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.520340445907,N= 254.529427604,My= 14.9737964181,Mz= 0.0))
preprocessor.getElementHandler.getElement(5232).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.545821322931,N= 325.759942588,My= 6.63201391027,Mz= 0.0))
preprocessor.getElementHandler.getElement(5233).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU624", CF=0.563796780294,N= 261.939945783,My= -7.05974989261,Mz= 0.0))
preprocessor.getElementHandler.getElement(5233).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.502996417421,N= 337.293505641,My= 2.70257787698,Mz= 0.0))
preprocessor.getElementHandler.getElement(5234).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.496009471013,N= 255.455810041,My= 13.109313701,Mz= 0.0))
preprocessor.getElementHandler.getElement(5234).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.40501716612,N= 241.323306335,My= 4.95803975487,Mz= 0.0))
preprocessor.getElementHandler.getElement(5235).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.533165042996,N= 240.178684123,My= -7.33351424307,Mz= 0.0))
preprocessor.getElementHandler.getElement(5235).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU608", CF=0.375608936474,N= 254.5704513,My= 1.77007473129,Mz= 0.0))
preprocessor.getElementHandler.getElement(5236).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.480283721002,N= 258.416628744,My= 11.6898615391,Mz= 0.0))
preprocessor.getElementHandler.getElement(5236).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.293934319644,N= 177.12757282,My= 3.41519832792,Mz= 0.0))
preprocessor.getElementHandler.getElement(5237).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.515946575237,N= 245.490125427,My= -5.95587931078,Mz= 0.0))
preprocessor.getElementHandler.getElement(5237).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.273715138082,N= 185.341588017,My= 1.30551385286,Mz= 0.0))
preprocessor.getElementHandler.getElement(5238).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.472432187883,N= 263.800969478,My= 10.6266345128,Mz= 0.0))
preprocessor.getElementHandler.getElement(5238).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.200402060303,N= 119.760611864,My= 2.4206884115,Mz= 0.0))
preprocessor.getElementHandler.getElement(5239).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.508333214259,N= 253.044310332,My= -4.89229948036,Mz= 0.0))
preprocessor.getElementHandler.getElement(5239).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.186868525899,N= 128.562005522,My= 0.653625108762,Mz= 0.0))
preprocessor.getElementHandler.getElement(5240).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.471036050385,N= 271.424852874,My= 9.83250982235,Mz= 0.0))
preprocessor.getElementHandler.getElement(5240).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.113700238074,N= 66.0839113434,My= 1.54467736627,Mz= 0.0))
preprocessor.getElementHandler.getElement(5241).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.508224638378,N= 262.495709811,My= -4.06145307789,Mz= 0.0))
preprocessor.getElementHandler.getElement(5241).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.120889922949,N= 75.5321069626,My= -0.328830441603,Mz= 0.0))
preprocessor.getElementHandler.getElement(5242).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.474806174297,N= 280.982107667,My= 9.24094487832,Mz= 0.0))
preprocessor.getElementHandler.getElement(5242).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU722", CF=0.0515455691607,N= -234.799773465,My= -2.25784751183,Mz= 0.0))
preprocessor.getElementHandler.getElement(5243).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.514103927599,N= 273.813349384,My= -3.38552569042,Mz= 0.0))
preprocessor.getElementHandler.getElement(5243).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU638", CF=0.0506409070579,N= 26.2385404383,My= -0.669375756801,Mz= 0.0))
preprocessor.getElementHandler.getElement(5244).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.482731299458,N= 292.17690038,My= 8.80479204378,Mz= 0.0))
preprocessor.getElementHandler.getElement(5244).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0663193364798,N= -291.160368293,My= -3.7505211722,Mz= 0.0))
preprocessor.getElementHandler.getElement(5245).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.524542399371,N= 286.298842916,My= -2.8496499084,Mz= 0.0))
preprocessor.getElementHandler.getElement(5245).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.064755607011,N= -273.25748602,My= -4.51543438279,Mz= 0.0))
preprocessor.getElementHandler.getElement(5246).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.494082125033,N= 304.769047745,My= 8.49248489942,Mz= 0.0))
preprocessor.getElementHandler.getElement(5246).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0817659610686,N= -358.880430628,My= -4.63140446985,Mz= 0.0))
preprocessor.getElementHandler.getElement(5247).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.538739656476,N= 300.114915101,My= -2.39713504029,Mz= 0.0))
preprocessor.getElementHandler.getElement(5247).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0797596436488,N= -324.633966144,My= -6.48462120607,Mz= 0.0))
preprocessor.getElementHandler.getElement(5248).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.50836649285,N= 318.578681014,My= 8.2843354709,Mz= 0.0))
preprocessor.getElementHandler.getElement(5248).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.097471944285,N= -419.500412228,My= -6.16390935795,Mz= 0.0))
preprocessor.getElementHandler.getElement(5249).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.556098723628,N= 314.934641748,My= -2.02483317426,Mz= 0.0))
preprocessor.getElementHandler.getElement(5249).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0954581924467,N= -394.621233487,My= -7.2899775705,Mz= 0.0))
preprocessor.getElementHandler.getElement(5250).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.525265131931,N= 333.47100589,My= 8.16921560855,Mz= 0.0))
preprocessor.getElementHandler.getElement(5250).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.112910544323,N= -488.101996388,My= -6.97346282281,Mz= 0.0))
preprocessor.getElementHandler.getElement(5251).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.576586703593,N= 330.881307667,My= -1.70717928147,Mz= 0.0))
preprocessor.getElementHandler.getElement(5251).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.110440921714,N= -461.490069614,My= -8.05298039432,Mz= 0.0))
preprocessor.getElementHandler.getElement(5252).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.544554280172,N= 349.324968569,My= 8.14173883431,Mz= 0.0))
preprocessor.getElementHandler.getElement(5252).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.127577269852,N= -553.738129594,My= -7.70663919408,Mz= 0.0))
preprocessor.getElementHandler.getElement(5253).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.598107107572,N= 336.032252906,My= -2.41287842862,Mz= 0.0))
preprocessor.getElementHandler.getElement(5253).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.124779330698,N= -525.566962841,My= -8.77670003102,Mz= 0.0))
preprocessor.getElementHandler.getElement(5254).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.566008924607,N= 365.989285479,My= 8.19917087079,Mz= 0.0))
preprocessor.getElementHandler.getElement(5254).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.141497468526,N= -616.509812078,My= -8.36566694747,Mz= 0.0))
preprocessor.getElementHandler.getElement(5255).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.626339169107,N= 353.565821174,My= -2.38080572251,Mz= 0.0))
preprocessor.getElementHandler.getElement(5255).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.13852946719,N= -587.126672713,My= -9.46208771756,Mz= 0.0))
preprocessor.getElementHandler.getElement(5256).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.589221857452,N= 383.271982836,My= 8.32913861246,Mz= 0.0))
preprocessor.getElementHandler.getElement(5256).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.154669026742,N= -676.310597468,My= -8.95793874488,Mz= 0.0))
preprocessor.getElementHandler.getElement(5257).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.658272336702,N= 372.67776517,My= -2.40740024797,Mz= 0.0))
preprocessor.getElementHandler.getElement(5257).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.151767042355,N= -646.296116563,My= -10.1293108732,Mz= 0.0))
preprocessor.getElementHandler.getElement(5258).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.613667158402,N= 400.868454802,My= 8.52080502484,Mz= 0.0))
preprocessor.getElementHandler.getElement(5258).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.166877423234,N= -732.787361521,My= -9.4258104845,Mz= 0.0))
preprocessor.getElementHandler.getElement(5259).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.693742834382,N= 393.288307258,My= -2.48989423888,Mz= 0.0))
preprocessor.getElementHandler.getElement(5259).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.164431646017,N= -702.861265708,My= -10.7709956384,Mz= 0.0))
preprocessor.getElementHandler.getElement(5260).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.640708359494,N= 403.273449584,My= 10.2812422373,Mz= 0.0))
preprocessor.getElementHandler.getElement(5260).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.177622927746,N= -785.594021926,My= -9.59815823961,Mz= 0.0))
preprocessor.getElementHandler.getElement(5261).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.728980750839,N= 414.824189039,My= -2.4755077409,Mz= 0.0))
preprocessor.getElementHandler.getElement(5261).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.175405146402,N= -756.450746046,My= -10.9731024086,Mz= 0.0))
preprocessor.getElementHandler.getElement(5262).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.664853636537,N= 418.060383541,My= 10.7059555278,Mz= 0.0))
preprocessor.getElementHandler.getElement(5262).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.188319842739,N= -833.106035801,My= -10.1606061283,Mz= 0.0))
preprocessor.getElementHandler.getElement(5263).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.762990248356,N= 435.213574569,My= -2.49737324457,Mz= 0.0))
preprocessor.getElementHandler.getElement(5263).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.186607382969,N= -808.098927817,My= -11.415868704,Mz= 0.0))
preprocessor.getElementHandler.getElement(5264).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.675948951194,N= 429.984014688,My= 10.4356278089,Mz= 0.0))
preprocessor.getElementHandler.getElement(5264).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.19795529474,N= -870.821598095,My= -11.0601264749,Mz= 0.0))
preprocessor.getElementHandler.getElement(5265).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.796170800925,N= 451.803246169,My= -2.81707010308,Mz= 0.0))
preprocessor.getElementHandler.getElement(5265).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.198940282414,N= -852.872588975,My= -12.8378320528,Mz= 0.0))
preprocessor.getElementHandler.getElement(5266).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.680760057168,N= 438.262903189,My= 10.0362638114,Mz= 0.0))
preprocessor.getElementHandler.getElement(5266).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.200616021169,N= -894.304327288,My= -10.2982059712,Mz= 0.0))
preprocessor.getElementHandler.getElement(5267).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.812987677954,N= 463.312379216,My= -2.69896271215,Mz= 0.0))
preprocessor.getElementHandler.getElement(5267).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.203288563602,N= -877.438337067,My= -12.6604091923,Mz= 0.0))
preprocessor.getElementHandler.getElement(5268).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.684496450185,N= 441.28603842,My= 10.0352841748,Mz= 0.0))
preprocessor.getElementHandler.getElement(5268).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.199544229276,N= -902.147186294,My= -9.26745601758,Mz= 0.0))
preprocessor.getElementHandler.getElement(5269).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.80759803808,N= 467.814956188,My= -1.99684150001,Mz= 0.0))
preprocessor.getElementHandler.getElement(5269).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.200865990135,N= -882.874194293,My= -11.2808750025,Mz= 0.0))
preprocessor.getElementHandler.getElement(5270).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.680760056985,N= 438.262903196,My= 10.0362637974,Mz= 0.0))
preprocessor.getElementHandler.getElement(5270).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.200636096709,N= -894.377543244,My= -10.3004948862,Mz= 0.0))
preprocessor.getElementHandler.getElement(5271).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.812987677745,N= 463.312379224,My= -2.69896269999,Mz= 0.0))
preprocessor.getElementHandler.getElement(5271).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.203297053724,N= -877.472545983,My= -12.6611262979,Mz= 0.0))
preprocessor.getElementHandler.getElement(5272).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.675948951014,N= 429.984014703,My= 10.4356277943,Mz= 0.0))
preprocessor.getElementHandler.getElement(5272).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.197982558037,N= -870.942766128,My= -11.0615542801,Mz= 0.0))
preprocessor.getElementHandler.getElement(5273).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.796170800715,N= 451.80324618,My= -2.8170700906,Mz= 0.0))
preprocessor.getElementHandler.getElement(5273).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.198953289918,N= -852.929613679,My= -12.8385739881,Mz= 0.0))
preprocessor.getElementHandler.getElement(5274).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.664853636358,N= 418.060383564,My= 10.7059555126,Mz= 0.0))
preprocessor.getElementHandler.getElement(5274).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.18834714721,N= -833.238306536,My= -10.1611918638,Mz= 0.0))
preprocessor.getElementHandler.getElement(5275).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.76299024814,N= 435.213574584,My= -2.49737323137,Mz= 0.0))
preprocessor.getElementHandler.getElement(5275).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.186621410056,N= -808.161932529,My= -11.4165520407,Mz= 0.0))
preprocessor.getElementHandler.getElement(5276).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.640708359315,N= 403.273449614,My= 10.2812422215,Mz= 0.0))
preprocessor.getElementHandler.getElement(5276).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.177644594826,N= -785.706121591,My= -9.59807118188,Mz= 0.0))
preprocessor.getElementHandler.getElement(5277).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.728980750619,N= 414.824189059,My= -2.47550772699,Mz= 0.0))
preprocessor.getElementHandler.getElement(5277).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.17541710203,N= -756.505169971,My= -10.9736289002,Mz= 0.0))
preprocessor.getElementHandler.getElement(5278).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.614593090015,N= 401.55410259,My= 8.52632825354,Mz= 0.0))
preprocessor.getElementHandler.getElement(5278).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.166890937489,N= -732.863494685,My= -9.42527576477,Mz= 0.0))
preprocessor.getElementHandler.getElement(5279).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.693742834155,N= 393.288307282,My= -2.48989422426,Mz= 0.0))
preprocessor.getElementHandler.getElement(5279).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.164439890835,N= -702.899671087,My= -10.7712911727,Mz= 0.0))
preprocessor.getElementHandler.getElement(5280).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.589980094837,N= 383.837170142,My= 8.33332423873,Mz= 0.0))
preprocessor.getElementHandler.getElement(5280).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.154674791518,N= -676.350223264,My= -8.95715789335,Mz= 0.0))
preprocessor.getElementHandler.getElement(5281).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.658272336457,N= 372.677765197,My= -2.40740023262,Mz= 0.0))
preprocessor.getElementHandler.getElement(5281).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.151771510517,N= -646.318509332,My= -10.1293489177,Mz= 0.0))
preprocessor.getElementHandler.getElement(5282).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.566590566907,N= 366.425671876,My= 8.20212457943,Mz= 0.0))
preprocessor.getElementHandler.getElement(5282).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.141497529309,N= -616.521553383,My= -8.36478327096,Mz= 0.0))
preprocessor.getElementHandler.getElement(5283).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.62633916885,N= 353.565821202,My= -2.38080570641,Mz= 0.0))
preprocessor.getElementHandler.getElement(5283).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.138531141844,N= -587.137815908,My= -9.46188933321,Mz= 0.0))
preprocessor.getElementHandler.getElement(5284).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.544978281525,N= 349.645306684,My= 8.14369011964,Mz= 0.0))
preprocessor.getElementHandler.getElement(5284).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.127574068408,N= -553.733359575,My= -7.70574028531,Mz= 0.0))
preprocessor.getElementHandler.getElement(5285).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU698", CF=0.598107107302,N= 336.032252935,My= -2.41287841175,Mz= 0.0))
preprocessor.getElementHandler.getElement(5285).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.12477957526,N= -525.573166383,My= -8.77631726236,Mz= 0.0))
preprocessor.getElementHandler.getElement(5286).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.525561020417,N= 333.696373056,My= 8.17041213386,Mz= 0.0))
preprocessor.getElementHandler.getElement(5286).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.112906187392,N= -488.090873353,My= -6.97259753558,Mz= 0.0))
preprocessor.getElementHandler.getElement(5287).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.576932303495,N= 331.089148438,My= -1.70734306304,Mz= 0.0))
preprocessor.getElementHandler.getElement(5287).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.110441000984,N= -461.497003321,My= -8.05247572345,Mz= 0.0))
preprocessor.getElementHandler.getElement(5288).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.508564092969,N= 318.730765784,My= 8.28499111374,Mz= 0.0))
preprocessor.getElementHandler.getElement(5288).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.097467953875,N= -419.49040143,My= -6.16310321455,Mz= 0.0))
preprocessor.getElementHandler.getElement(5289).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.556331976409,N= 315.077425266,My= -2.02474963841,Mz= 0.0))
preprocessor.getElementHandler.getElement(5289).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0954590551265,N= -394.633011786,My= -7.28940856424,Mz= 0.0))
preprocessor.getElementHandler.getElement(5290).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.494207062824,N= 304.866687161,My= 8.49276512857,Mz= 0.0))
preprocessor.getElementHandler.getElement(5290).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0817659611617,N= -358.880431164,My= -4.63140446527,Mz= 0.0))
preprocessor.getElementHandler.getElement(5291).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU710", CF=0.538887771658,N= 300.207780162,My= -2.39689013872,Mz= 0.0))
preprocessor.getElementHandler.getElement(5291).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU710", CF=0.0797618898334,N= -324.65307877,My= -6.48403299966,Mz= 0.0))
preprocessor.getElementHandler.getElement(5292).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.482803883874,N= 292.235137118,My= 8.80481764049,Mz= 0.0))
preprocessor.getElementHandler.getElement(5292).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0663193365809,N= -291.160368861,My= -3.75052116832,Mz= 0.0))
preprocessor.getElementHandler.getElement(5293).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.524627726548,N= 286.354634696,My= -2.84930861069,Mz= 0.0))
preprocessor.getElementHandler.getElement(5293).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0647556071052,N= -273.25748657,My= -4.51543437757,Mz= 0.0))
preprocessor.getElementHandler.getElement(5294).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.474841798733,N= 281.012406357,My= 9.24080168391,Mz= 0.0))
preprocessor.getElementHandler.getElement(5294).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0499343790746,N= -219.73815671,My= -2.78430329247,Mz= 0.0))
preprocessor.getElementHandler.getElement(5295).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.514144192882,N= 273.842306171,My= -3.38513512546,Mz= 0.0))
preprocessor.getElementHandler.getElement(5295).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0491852632359,N= -203.412170262,My= -3.74986932081,Mz= 0.0))
preprocessor.getElementHandler.getElement(5296).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.471046082384,N= 271.435707211,My= 9.83225873913,Mz= 0.0))
preprocessor.getElementHandler.getElement(5296).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0325730415822,N= -144.566087584,My= -1.72137352274,Mz= 0.0))
preprocessor.getElementHandler.getElement(5297).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.508233398388,N= 262.505682146,My= -4.06104750136,Mz= 0.0))
preprocessor.getElementHandler.getElement(5297).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU716", CF=0.0327106256328,N= -129.619462838,My= -2.93140844789,Mz= 0.0))
preprocessor.getElementHandler.getElement(5298).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.472424891144,N= 263.798553395,My= 10.626319869,Mz= 0.0))
preprocessor.getElementHandler.getElement(5298).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU646", CF=0.0307058353938,N= 12.281930743,My= 0.928590102597,Mz= 0.0))
preprocessor.getElementHandler.getElement(5299).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.508320604696,N= 253.041161932,My= -4.89190500964,Mz= 0.0))
preprocessor.getElementHandler.getElement(5299).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU602", CF=0.05670524848,N= 8.4129077345,My= -2.59761533677,Mz= 0.0))
preprocessor.getElementHandler.getElement(5300).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.480265057674,N= 258.405370819,My= 11.6895176616,Mz= 0.0))
preprocessor.getElementHandler.getElement(5300).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.145012255062,N= 72.6339789079,My= 3.04068608895,Mz= 0.0))
preprocessor.getElementHandler.getElement(5301).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.515920082051,N= 245.478158743,My= -5.95551770843,Mz= 0.0))
preprocessor.getElementHandler.getElement(5301).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.164508741528,N= 90.2607434317,My= -1.68006240994,Mz= 0.0))
preprocessor.getElementHandler.getElement(5302).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.49598376786,N= 255.438870943,My= 13.1089703272,Mz= 0.0))
preprocessor.getElementHandler.getElement(5302).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.29228311294,N= 168.870107779,My= 4.06348662312,Mz= 0.0))
preprocessor.getElementHandler.getElement(5303).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU614", CF=0.533130200858,N= 240.161033981,My= -7.33320562827,Mz= 0.0))
preprocessor.getElementHandler.getElement(5303).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.293327812894,N= 185.545199439,My= -0.574102679639,Mz= 0.0))
preprocessor.getElementHandler.getElement(5304).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.520310954791,N= 254.509090853,My= 14.9734842425,Mz= 0.0))
preprocessor.getElementHandler.getElement(5304).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.448733820938,N= 271.351087239,My= 5.12741807096,Mz= 0.0))
preprocessor.getElementHandler.getElement(5305).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.562368196707,N= 237.042373449,My= -9.15741524005,Mz= 0.0))
preprocessor.getElementHandler.getElement(5305).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.428810781678,N= 285.800715055,My= 0.593195656398,Mz= 0.0))
preprocessor.getElementHandler.getElement(5306).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.556829794295,N= 253.633872504,My= 17.7251615371,Mz= 0.0))
preprocessor.getElementHandler.getElement(5306).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.623567581203,N= 383.139987085,My= 6.56760619455,Mz= 0.0))
preprocessor.getElementHandler.getElement(5307).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.624806841541,N= 235.829042215,My= -12.5775913031,Mz= 0.0))
preprocessor.getElementHandler.getElement(5307).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.572049099502,N= 390.821124173,My= 1.73146129968,Mz= 0.0))
preprocessor.getElementHandler.getElement(5308).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.60140891074,N= 245.726174834,My= 21.7049298478,Mz= 0.0))
preprocessor.getElementHandler.getElement(5308).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.833657779861,N= 510.514451138,My= 8.93766073947,Mz= 0.0))
preprocessor.getElementHandler.getElement(5309).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.699284616792,N= 232.591650328,My= -16.8135020892,Mz= 0.0))
preprocessor.getElementHandler.getElement(5309).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.7270184994,N= 500.287865918,My= 2.73237238369,Mz= 0.0))
preprocessor.getElementHandler.getElement(5310).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.614775971827,N= 211.055700123,My= 25.829836771,Mz= 0.0))
preprocessor.getElementHandler.getElement(5310).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.09457490153,N= 672.446303397,My= 11.5371996476,Mz= 0.0))
preprocessor.getElementHandler.getElement(5311).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU612", CF=0.753247056449,N= 216.031590495,My= -21.0573426252,Mz= 0.0))
preprocessor.getElementHandler.getElement(5311).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=0.903335559592,N= 614.53173923,My= 4.04631560246,Mz= 0.0))
preprocessor.getElementHandler.getElement(5312).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.572890407705,N= 164.482199056,My= 26.9119331094,Mz= 0.0))
preprocessor.getElementHandler.getElement(5312).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.47616452781,N= 893.434083792,My= 16.7945070621,Mz= 0.0))
preprocessor.getElementHandler.getElement(5313).setProp("ULS_normalStressesResistanceSect1",BiaxialBendingControlVars(idSection= "losSupV2RCSects1", combName= "ELU600", CF=0.695568127269,N= 175.608050032,My= -21.4367286942,Mz= 0.0))
preprocessor.getElementHandler.getElement(5313).setProp("ULS_normalStressesResistanceSect2",BiaxialBendingControlVars(idSection= "losSupV2RCSects2", combName= "ELU614", CF=1.08854401839,N= 739.052087424,My= 5.01152516002,Mz= 0.0))
| [
"ana.Ortega.Ort@gmail.com"
] | ana.Ortega.Ort@gmail.com |
1b2301b1d3e5f15ec3c78755f8a9237d2fba6ac2 | 1aefa304f794c1ed9e06ce71248206098c756cf3 | /python_revision/HackerRank/AppleandOrangeCount.py | c67bcaa3f07d4515796cc4838677a511de3ea16f | [] | no_license | dilipksahu/django_class | 333233bbced5491d886687b5990c8836dac2f145 | a044c4a079c61a6a6de05674103e8a9ba2b4d28c | refs/heads/master | 2023-01-10T07:40:44.713361 | 2020-11-10T15:26:33 | 2020-11-10T15:26:33 | 282,398,509 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,547 | py | '''
Sam's house has an apple tree and an orange tree that yield an abundance of fruit. In the diagram below, the red region denotes his house, where is the start point, and is the endpoint. The apple tree is to the left of his house, and the orange tree is to its right. You can assume the trees are located on a single point, where the apple tree is at point , and the orange tree is at point .
Apple and orange(2).png
When a fruit falls from its tree, it lands units of distance from its tree of origin along the -axis. A negative value of means the fruit fell units to the tree's left, and a positive value of means it falls units to the tree's right.
Given the value of for apples and oranges, determine how many apples and oranges will fall on Sam's house (i.e., in the inclusive range )?
For example, Sam's house is between and . The apple tree is located at and the orange at . There are apples and oranges. Apples are thrown units distance from , and units distance. Adding each apple distance to the position of the tree, they land at . Oranges land at . One apple and two oranges land in the inclusive range so we print
1
2
Function Description
Complete the countApplesAndOranges function in the editor below. It should print the number of apples and oranges that land on Sam's house, each on a separate line.
countApplesAndOranges has the following parameter(s):
s: integer, starting point of Sam's house location.
t: integer, ending location of Sam's house location.
a: integer, location of the Apple tree.
b: integer, location of the Orange tree.
apples: integer array, distances at which each apple falls from the tree.
oranges: integer array, distances at which each orange falls from the tree.
sample Input 0
7 11
5 15
3 2
-2 2 1
5 -6
Sample Output 0
1
1
'''
def countApplesAndOranges(s, t, a, b, apples, oranges):
app = []
org = []
for x in apples:
posapp = a + x
if s <= posapp <= t:
app.append(posapp)
for y in oranges:
posorg = b + y
if s <= posorg <= t:
org.append(b+y)
print(len(app),"\n",len(org))
if __name__ == '__main__':
st = input().split()
s = int(st[0])
t = int(st[1])
ab = input().split()
a = int(ab[0])
b = int(ab[1])
mn = input().split()
m = int(mn[0])
n = int(mn[1])
apples = list(map(int, input().rstrip().split()))
oranges = list(map(int, input().rstrip().split()))
countApplesAndOranges(s, t, a, b, apples, oranges)
| [
"sahud048@gmail.com"
] | sahud048@gmail.com |
c261968c4713645bebe1431723357f1000599bbc | abf0e45334bc083aecf9c536eb953b1abf015956 | /main9.py | 33f2a27c455d29b54d4d5354d299e42511546d44 | [
"Apache-2.0"
] | permissive | LinXueyuanStdio/MyTransE | bb0426a3bce521d961cdd4eaead394af60aed0af | 971901757aba6af22fc2791b5bb32028390b9625 | refs/heads/master | 2023-01-18T20:46:27.491531 | 2020-11-28T09:47:17 | 2020-11-28T09:47:17 | 292,465,215 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 61,381 | py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import _thread
import sys
import os
import time
import random
from math import exp
from typing import List, Tuple, Set, Dict
from scipy import spatial
import numpy as np
import torch
from torch import nn
from torch.optim import optimizer
from torch.utils import tensorboard
from torch.utils.data import Dataset, DataLoader
import torch.nn.functional as F
from dataloader import BidirectionalOneShotIterator
from dataloader import TrainDataset, TestDataset
import tensorflow as tf
import tensorboard as tb
import logging
import click
tf.io.gfile = tb.compat.tensorflow_stub.io.gfile
random.seed(1234)
np.random.seed(1234)
torch.manual_seed(1234)
if torch.cuda.is_available():
torch.cuda.manual_seed_all(1234)
# region dataset
class AVDistanceDataset(Dataset):
def __init__(self,
seeds: List[Tuple[int, int]], triples: List[Tuple[int, int, int]],
kg1_entity_list: List[int], kg2_entity_list: List[int],
nentity, negative_sample_size, mode):
self.seeds: List[Tuple[int, int]] = seeds
self.len: int = len(seeds)
self.kg1_entity_list: List[int] = kg1_entity_list
self.kg1_entity_size: int = len(kg1_entity_list)
self.kg2_entity_list: List[int] = kg2_entity_list
self.kg2_entity_size: int = len(kg2_entity_list)
self.triple_mapper: Dict[int, List[Tuple[int, int]]] = self.build_triple_mapper(triples)
self.nentity = nentity
self.negative_sample_size = negative_sample_size
self.mode = mode
self.count = self.count_frequency(seeds)
self.true_head, self.true_tail = self.get_true_head_and_tail(seeds)
@staticmethod
def build_triple_mapper(triples) -> Dict[int, List[Tuple[int, int]]]:
triple_mapper: Dict[int, List[Tuple[int, int]]] = {}
for e, a, v in triples:
if e in triple_mapper:
triple_mapper[e].append((a, v))
else:
triple_mapper[e] = [(a, v)]
return triple_mapper
def random_get_av(self, e) -> Tuple[int, int]:
if e in self.triple_mapper:
result = self.triple_mapper[e]
return random.choice(result)
else:
print("error")
return 1, 1
def __len__(self):
return self.len
def __getitem__(self, idx):
positive_sample = self.seeds[idx]
head, tail = positive_sample
subsampling_weight = self.count[head] + self.count[tail]
subsampling_weight = torch.sqrt(1 / torch.Tensor([subsampling_weight]))
negative_sample_list = []
negative_sample_size = 0
while negative_sample_size < self.negative_sample_size:
if self.mode == 'av-head-batch':
# 1. 随机生成 index
negative_sample_index = np.random.randint(self.kg1_entity_size, size=self.negative_sample_size * 2)
# 2. 将 index 映射为 entity
negative_sample = np.array(list(map(lambda x: self.kg1_entity_list[x], negative_sample_index)))
mask = np.in1d(
negative_sample,
self.true_head[tail],
assume_unique=True,
invert=True
)
elif self.mode == 'av-tail-batch':
negative_sample_index = np.random.randint(self.kg2_entity_size, size=self.negative_sample_size * 2)
negative_sample = np.array(list(map(lambda x: self.kg2_entity_list[x], negative_sample_index)))
mask = np.in1d(
negative_sample,
self.true_tail[head],
assume_unique=True,
invert=True
)
else:
raise ValueError('Training batch mode %s not supported' % self.mode)
negative_sample = negative_sample[mask]
# 3. 根据 entity 随机搜索其 (attr, value)
# sample_size x 2
negative_sample = np.array(list(map(lambda x: self.random_get_av(x), negative_sample)))
negative_sample_list.append(negative_sample)
negative_sample_size += negative_sample.size
# sample_size x 2
negative_sample = np.concatenate(negative_sample_list)[:self.negative_sample_size]
positive_sample = list(map(lambda x: self.random_get_av(x), positive_sample))
negative_sample = torch.LongTensor(negative_sample)
positive_sample = torch.LongTensor(positive_sample)
return positive_sample, negative_sample, subsampling_weight, self.mode
@staticmethod
def collate_fn(data):
positive_sample = torch.stack([_[0] for _ in data], dim=0)
negative_sample = torch.stack([_[1] for _ in data], dim=0)
subsample_weight = torch.cat([_[2] for _ in data], dim=0)
mode = data[0][3]
return positive_sample, negative_sample, subsample_weight, mode
@staticmethod
def count_frequency(seeds, start=4):
"""
Get frequency of a partial triple like (head, relation) or (relation, tail)
The frequency will be used for subsampling like word2vec
"""
count = {}
for a, b in seeds:
if a not in count:
count[a] = start
else:
count[a] += 1
if b not in count:
count[b] = start
else:
count[b] += 1
return count
@staticmethod
def get_true_head_and_tail(seeds):
"""
Build a dictionary of true triples that will
be used to filter these true triples for negative sampling
"""
true_head = {}
true_tail = {}
for a, b in seeds:
if a not in true_tail:
true_tail[a] = []
true_tail[a].append(b)
if b not in true_head:
true_head[b] = []
true_head[b].append(a)
for b in true_head:
true_head[b] = np.array(list(set(true_head[b])))
for a in true_tail:
true_tail[a] = np.array(list(set(true_tail[a])))
return true_head, true_tail
class AlignDataset(Dataset):
def __init__(self,
seeds: List[Tuple[int, int]],
kg1_entity_list: List[int], kg2_entity_list: List[int],
nentity, negative_sample_size, mode):
self.seeds = seeds
self.len = len(seeds)
self.kg1_entity_list = kg1_entity_list
self.kg2_entity_list = kg2_entity_list
self.kg1_entity_size = len(kg1_entity_list)
self.kg2_entity_size = len(kg2_entity_list)
self.nentity = nentity
self.negative_sample_size = negative_sample_size
self.mode = mode
self.count = self.count_frequency(seeds)
self.true_head, self.true_tail = self.get_true_head_and_tail(seeds)
def __len__(self):
return self.len
def __getitem__(self, idx):
positive_sample = self.seeds[idx]
head, tail = positive_sample
subsampling_weight = self.count[head] + self.count[tail]
subsampling_weight = torch.sqrt(1 / torch.Tensor([subsampling_weight]))
negative_sample_list = []
negative_sample_size = 0
while negative_sample_size < self.negative_sample_size:
if self.mode == 'align-head-batch':
negative_sample = np.random.randint(self.kg1_entity_size, size=self.negative_sample_size * 2)
negative_sample = np.array(list(map(lambda x: self.kg1_entity_list[x], negative_sample)))
mask = np.in1d(
negative_sample,
self.true_head[tail],
assume_unique=True,
invert=True
)
elif self.mode == 'align-tail-batch':
negative_sample = np.random.randint(self.kg2_entity_size, size=self.negative_sample_size * 2)
negative_sample = np.array(list(map(lambda x: self.kg2_entity_list[x], negative_sample)))
mask = np.in1d(
negative_sample,
self.true_tail[head],
assume_unique=True,
invert=True
)
else:
raise ValueError('Training batch mode %s not supported' % self.mode)
negative_sample = negative_sample[mask]
negative_sample_list.append(negative_sample)
negative_sample_size += negative_sample.size
negative_sample = np.concatenate(negative_sample_list)[:self.negative_sample_size]
negative_sample = torch.LongTensor(negative_sample)
positive_sample = torch.LongTensor(positive_sample)
return positive_sample, negative_sample, subsampling_weight, self.mode
@staticmethod
def collate_fn(data):
positive_sample = torch.stack([_[0] for _ in data], dim=0)
negative_sample = torch.stack([_[1] for _ in data], dim=0)
subsample_weight = torch.cat([_[2] for _ in data], dim=0)
mode = data[0][3]
return positive_sample, negative_sample, subsample_weight, mode
def count_frequency(self, seeds: List[Tuple[int, int]], start=4):
"""
Get frequency of a partial triple like (head, relation) or (relation, tail)
The frequency will be used for subsampling like word2vec
"""
count = {}
for a, b in seeds:
if a not in count:
count[a] = start
else:
count[a] += 1
if b not in count:
count[b] = start
else:
count[b] += 1
return count
@staticmethod
def get_true_head_and_tail(seeds):
"""
Build a dictionary of true triples that will
be used to filter these true triples for negative sampling
"""
true_head = {}
true_tail = {}
for a, b in seeds:
if a not in true_tail:
true_tail[a] = []
true_tail[a].append(b)
if b not in true_head:
true_head[b] = []
true_head[b].append(a)
for b in true_head:
true_head[b] = np.array(list(set(true_head[b])))
for a in true_tail:
true_tail[a] = np.array(list(set(true_tail[a])))
return true_head, true_tail
# endregion
# region model
class KGEModel(nn.Module):
def __init__(self,
train_seeds,
nentity, nrelation, nvalue,
hidden_dim, gamma):
super(KGEModel, self).__init__()
# self.model_name = model_name
self.hidden_dim = hidden_dim
self.epsilon = 2.0
self.gamma = nn.Parameter(
torch.Tensor([gamma]),
requires_grad=False
)
self.embedding_range = nn.Parameter(
torch.Tensor([(self.gamma.item() + self.epsilon) / hidden_dim]),
requires_grad=False
)
self.entity_dim = hidden_dim
self.relation_dim = hidden_dim
self.value_dim = hidden_dim
# region 知识图谱的嵌入:实体、属性、属性值
entity_weight = torch.zeros(nentity, self.entity_dim)
nn.init.uniform_(
tensor=entity_weight,
a=-self.embedding_range.item(),
b=self.embedding_range.item()
)
for left_entity, right_entity in train_seeds:
entity_weight[left_entity] = entity_weight[right_entity]
self.entity_embedding = nn.Parameter(entity_weight)
# nn.init.normal_(self.entity_embedding)
self.relation_embedding = nn.Parameter(torch.zeros(nrelation, self.relation_dim))
# nn.init.normal_(self.relation_embedding)
nn.init.uniform_(
tensor=self.relation_embedding,
a=-self.embedding_range.item(),
b=self.embedding_range.item()
)
self.value_embedding = nn.Parameter(torch.zeros(nvalue, self.value_dim))
# nn.init.normal_(self.value_embedding)
nn.init.uniform_(
tensor=self.value_embedding,
a=-self.embedding_range.item(),
b=self.embedding_range.item()
)
# endregion
# region align
self.M = nn.Parameter(torch.zeros(self.entity_dim, self.entity_dim))
nn.init.orthogonal_(self.M) # 正交矩阵
self.bias = nn.Parameter(torch.zeros(self.entity_dim))
nn.init.normal_(self.bias)
self.ones = nn.Parameter(torch.ones(self.entity_dim, self.entity_dim, dtype=torch.float32),
requires_grad=False) # 200 * 200
self.diag = nn.Parameter(torch.eye(self.entity_dim, dtype=torch.float32),
requires_grad=False) # 200 * 200
self.layer1 = nn.Linear(self.entity_dim, 2 * self.entity_dim)
self.layer2 = nn.Linear(2 * self.entity_dim, 2 * self.entity_dim)
self.layer3 = nn.Linear(2 * self.entity_dim, self.entity_dim)
# endregion
def forward(self, sample, mode='single'):
# region align 对齐loss 使用GCN-Align的对齐模块
if mode == "align-single":
batch_size, negative_sample_size = sample.size(0), 1
head = torch.index_select(
self.entity_embedding,
dim=0,
index=sample[:, 0]
).unsqueeze(1)
tail = torch.index_select(
self.entity_embedding,
dim=0,
index=sample[:, 1]
).unsqueeze(1)
return self.loss_GCN_Align(head, tail, mode)
elif mode == 'align-head-batch':
tail_part, head_part = sample
batch_size, negative_sample_size = head_part.size(0), head_part.size(1)
head = torch.index_select(
self.entity_embedding,
dim=0,
index=head_part.view(-1)
).view(batch_size, negative_sample_size, -1)
tail = torch.index_select(
self.entity_embedding,
dim=0,
index=tail_part[:, 1]
).unsqueeze(1)
return self.loss_GCN_Align(head, tail, mode)
elif mode == 'align-tail-batch':
head_part, tail_part = sample
batch_size, negative_sample_size = tail_part.size(0), tail_part.size(1)
head = torch.index_select(
self.entity_embedding,
dim=0,
index=head_part[:, 0]
).unsqueeze(1)
tail = torch.index_select(
self.entity_embedding,
dim=0,
index=tail_part.view(-1)
).view(batch_size, negative_sample_size, -1)
return self.loss_GCN_Align(head, tail, mode)
# 1. 余弦相似度
# score = (1 - F.cosine_similarity(a, b).abs()).sum()
# 2. 差
# score = (a - b).abs().sum()
# 3. 多层神经网络
# output = self.layer1(a.matmul(self.M))
# output = self.layer2(output)
# output = self.layer3(output)
# loss = output - b
# a.matmul(b.transpose(0,2))
# 4. 线性映射
# loss = a.matmul(self.M) - b
# score = F.logsigmoid(loss.sum(dim=1).mean()) # L1范数
# score = torch.sqrt(torch.square(loss).sum(dim=1)).mean() # L2范数
# 5. 正交约束
# F.normalize(self.entity_embedding, p=2, dim=1)
# loss_orth = ((self.M * (self.ones - self.diag)) ** 2).sum()
# return score + loss_orth
# 6. GCN-Align 的对齐模块 align_loss
# endregion
# region av 对齐loss 使用我设计的对齐模块
if mode == "av-single":
batch_size, negative_sample_size = sample.size(0), 1
# print(mode, sample[0].size(), sample[1].size())
a = torch.index_select(
self.relation_embedding,
dim=0,
index=sample[:, 0, 0].view(-1)
).unsqueeze(1)
v = torch.index_select(
self.value_embedding,
dim=0,
index=sample[:, 0, 1].view(-1)
).unsqueeze(1)
a_ = torch.index_select(
self.relation_embedding,
dim=0,
index=sample[:, 1, 0].view(-1)
).unsqueeze(1)
v_ = torch.index_select(
self.value_embedding,
dim=0,
index=sample[:, 1, 1].view(-1)
).unsqueeze(1)
return self.loss_av(a, v, a_, v_, mode)
elif mode == 'av-head-batch': # 负例是头
tail_part, head_part = sample
batch_size, negative_sample_size = head_part.size(0), head_part.size(1)
# tail_part : batch_size x 2 x 2 第一个2是实体对的2,第二个2是实体对应的(a,v)的2
# head_part : batch_size x sample_size x 2
# print(mode, tail_part.size(), head_part.size())
a = torch.index_select(
self.relation_embedding,
dim=0,
index=head_part[:, :, 0].view(-1)
).view(batch_size, negative_sample_size, -1)
v = torch.index_select(
self.value_embedding,
dim=0,
index=head_part[:, :, 1].view(-1)
).view(batch_size, negative_sample_size, -1)
a_ = torch.index_select(
self.relation_embedding,
dim=0,
index=tail_part[:, 1, 0].view(-1)
).unsqueeze(1)
v_ = torch.index_select(
self.value_embedding,
dim=0,
index=tail_part[:, 1, 1].view(-1)
).unsqueeze(1)
return self.loss_av(a, v, a_, v_, mode)
elif mode == 'av-tail-batch': # 负例是尾
head_part, tail_part = sample
batch_size, negative_sample_size = tail_part.size(0), tail_part.size(1)
# print(mode, tail_part.size(), head_part.size(), head_part[:, 1, 0].view(batch_size, -1))
# head_part : batch_size x 2 x 2
# tail_part : batch_size x sample_size x 2
a = torch.index_select(
self.relation_embedding,
dim=0,
index=tail_part[:, :, 0].view(-1)
).view(batch_size, negative_sample_size, -1)
v = torch.index_select(
self.value_embedding,
dim=0,
index=tail_part[:, :, 1].view(-1)
).view(batch_size, negative_sample_size, -1)
a_ = torch.index_select(
self.relation_embedding,
dim=0,
index=head_part[:, 1, 0].view(-1)
).unsqueeze(1)
v_ = torch.index_select(
self.value_embedding,
dim=0,
index=head_part[:, 1, 1].view(-1)
).unsqueeze(1)
return self.loss_av(a, v, a_, v_, mode)
# endregion
# 以下是 TransE
if mode == 'single':
batch_size, negative_sample_size = sample.size(0), 1
head = torch.index_select(
self.entity_embedding,
dim=0,
index=sample[:, 0]
).unsqueeze(1)
relation = torch.index_select(
self.relation_embedding,
dim=0,
index=sample[:, 1]
).unsqueeze(1)
tail = torch.index_select(
self.value_embedding,
dim=0,
index=sample[:, 2]
).unsqueeze(1)
elif mode == 'head-batch':
tail_part, head_part = sample
# head_part : batch_size x sample_size
# tail_part : batch_size x 3
batch_size, negative_sample_size = head_part.size(0), head_part.size(1)
head = torch.index_select(
self.entity_embedding,
dim=0,
index=head_part.view(-1)
).view(batch_size, negative_sample_size, -1)
relation = torch.index_select(
self.relation_embedding,
dim=0,
index=tail_part[:, 1]
).unsqueeze(1)
tail = torch.index_select(
self.value_embedding,
dim=0,
index=tail_part[:, 2]
).unsqueeze(1)
elif mode == 'tail-batch':
head_part, tail_part = sample
# head_part : batch_size x 3
# tail_part : batch_size x sample_size
batch_size, negative_sample_size = tail_part.size(0), tail_part.size(1)
head = torch.index_select(
self.entity_embedding,
dim=0,
index=head_part[:, 0]
).unsqueeze(1)
relation = torch.index_select(
self.relation_embedding,
dim=0,
index=head_part[:, 1]
).unsqueeze(1)
tail = torch.index_select(
self.value_embedding,
dim=0,
index=tail_part.view(-1)
).view(batch_size, negative_sample_size, -1)
else:
raise ValueError('mode %s not supported' % mode)
# output = self.layer1(head.matmul(self.M))
# output = self.layer2(output)
# head = self.layer3(output)
#
# output = self.layer1(relation.matmul(self.M))
# output = self.layer2(output)
# relation = self.layer3(output)
#
# output = self.layer1(tail.matmul(self.M))
# output = self.layer2(output)
# tail = self.layer3(output)
score = self.RotatE(head, relation, tail, mode)
return score
def loss_av(self, a, v, a_, v_, mode):
score = (a - v) - (a_ - v_)
score = self.gamma.item() - torch.norm(score, p=1, dim=2)
# score = torch.norm(score, p=1, dim=2)
return score
def loss_GCN_Align(self, head, tail, mode):
# print(mode, head.size(), tail.size())
score = head - tail
score = self.gamma.item() - torch.norm(score, p=1, dim=2)
# score = torch.norm(score, p=1, dim=2)
return score
def loss_cos(self, head, tail, mode):
score = (1 - F.cosine_similarity(head, tail).abs()).sum()
return score
def TransE(self, head, relation, tail, mode):
if mode == 'head-batch':
score = head + (relation - tail)
else:
score = (head + relation) - tail
score = self.gamma.item() - torch.norm(score, p=1, dim=2)
return score
def RotatE(self, head, relation, tail, mode):
pi = 3.14159265358979323846
re_head, im_head = torch.chunk(head, 2, dim=2)
re_tail, im_tail = torch.chunk(tail, 2, dim=2)
# Make phases of relations uniformly distributed in [-pi, pi]
phase_relation = relation / (self.embedding_range.item() / pi)
re_relation = torch.cos(phase_relation)
im_relation = torch.sin(phase_relation)
if mode == 'head-batch':
re_score = re_relation * re_tail + im_relation * im_tail
im_score = re_relation * im_tail - im_relation * re_tail
re_score = re_score - re_head
im_score = im_score - im_head
else:
re_score = re_head * re_relation - im_head * im_relation
im_score = re_head * im_relation + im_head * re_relation
re_score = re_score - re_tail
im_score = im_score - im_tail
score = torch.stack([re_score, im_score], dim=0)
score = score.norm(dim=0)
score = self.gamma.item() - score.sum(dim=2)
return score
def loss(self, model,
positive_sample, negative_sample, subsampling_weight, mode,
single_mode="single"):
negative_score = model((positive_sample, negative_sample), mode=mode)
negative_score = F.logsigmoid(-negative_score).mean(dim=1)
positive_score = model(positive_sample, mode=single_mode)
positive_score = F.logsigmoid(positive_score).squeeze(dim=1)
positive_sample_loss = - (subsampling_weight * positive_score).sum() / subsampling_weight.sum()
negative_sample_loss = - (subsampling_weight * negative_score).sum() / subsampling_weight.sum()
loss = (positive_sample_loss + negative_sample_loss) / 2
return loss
@staticmethod
def train_step(model, optimizer,
positive_sample, negative_sample, subsampling_weight, mode,
align_positive_sample, align_negative_sample, align_subsampling_weight, align_mode,
av_positive_sample, av_negative_sample, av_subsampling_weight, av_mode,
device="cuda"):
model.train()
optimizer.zero_grad()
positive_sample = positive_sample.to(device)
negative_sample = negative_sample.to(device)
subsampling_weight = subsampling_weight.to(device)
if align_mode is not None:
align_positive_sample = align_positive_sample.to(device)
align_negative_sample = align_negative_sample.to(device)
align_subsampling_weight = align_subsampling_weight.to(device)
if av_mode is not None:
av_positive_sample = av_positive_sample.to(device)
av_negative_sample = av_negative_sample.to(device)
av_subsampling_weight = av_subsampling_weight.to(device)
raw_loss = model.loss(model,
positive_sample, negative_sample, subsampling_weight,
mode, "single")
if align_mode is not None:
align_loss = model.loss(model,
align_positive_sample, align_negative_sample, align_subsampling_weight,
align_mode, "align-single")
else:
align_loss = raw_loss
if av_mode is not None:
av_loss = model.loss(model,
av_positive_sample, av_negative_sample, av_subsampling_weight,
av_mode, "av-single")
else:
av_loss = raw_loss
loss = (raw_loss + align_loss + av_loss) / 3
loss.backward()
optimizer.step()
return loss.item(), raw_loss.item(), align_loss.item(), av_loss.item()
# endregion
# region 日志
def get_logger(filename):
"""
Return instance of logger
统一的日志样式
"""
logger = logging.getLogger('logger')
logger.setLevel(logging.INFO)
logging.basicConfig(format='%(message)s', level=logging.INFO)
handler = logging.FileHandler(filename)
handler.setLevel(logging.INFO)
handler.setFormatter(logging.Formatter('%(asctime)s:%(levelname)s: %(message)s'))
logging.getLogger().addHandler(handler)
return logger
logger = get_logger("./train.log")
# endregion
# region 进度条
class Progbar(object):
"""
Progbar class inspired by keras
进度条
```
progbar = Progbar(max_step=100)
for i in range(100):
progbar.update(i, [("step", i), ("next", i+1)])
```
"""
def __init__(self, max_step, width=30):
self.max_step = max_step
self.width = width
self.last_width = 0
self.sum_values = {}
self.start = time.time()
self.last_step = 0
self.info = ""
self.bar = ""
def _update_values(self, curr_step, values):
for k, v in values:
if k not in self.sum_values:
self.sum_values[k] = [v * (curr_step - self.last_step), curr_step - self.last_step]
else:
self.sum_values[k][0] += v * (curr_step - self.last_step)
self.sum_values[k][1] += (curr_step - self.last_step)
def _write_bar(self, curr_step):
last_width = self.last_width
sys.stdout.write("\b" * last_width)
sys.stdout.write("\r")
numdigits = int(np.floor(np.log10(self.max_step))) + 1
barstr = '%%%dd/%%%dd [' % (numdigits, numdigits)
bar = barstr % (curr_step, self.max_step)
prog = float(curr_step) / self.max_step
prog_width = int(self.width * prog)
if prog_width > 0:
bar += ('=' * (prog_width - 1))
if curr_step < self.max_step:
bar += '>'
else:
bar += '='
bar += ('.' * (self.width - prog_width))
bar += ']'
sys.stdout.write(bar)
return bar
def _get_eta(self, curr_step):
now = time.time()
if curr_step:
time_per_unit = (now - self.start) / curr_step
else:
time_per_unit = 0
eta = time_per_unit * (self.max_step - curr_step)
if curr_step < self.max_step:
info = ' - ETA: %ds' % eta
else:
info = ' - %ds' % (now - self.start)
return info
def _get_values_sum(self):
info = ""
for name, value in self.sum_values.items():
info += ' - %s: %.6f' % (name, value[0] / max(1, value[1]))
return info
def _write_info(self, curr_step):
info = ""
info += self._get_eta(curr_step)
info += self._get_values_sum()
sys.stdout.write(info)
return info
def _update_width(self, curr_step):
curr_width = len(self.bar) + len(self.info)
if curr_width < self.last_width:
sys.stdout.write(" " * (self.last_width - curr_width))
if curr_step >= self.max_step:
sys.stdout.write("\n")
sys.stdout.flush()
self.last_width = curr_width
def update(self, curr_step, values):
"""Updates the progress bar.
Args:
values: List of tuples (name, value_for_last_step).
The progress bar will display averages for these values.
"""
self._update_values(curr_step, values)
self.bar = self._write_bar(curr_step)
self.info = self._write_info(curr_step)
self._update_width(curr_step)
self.last_step = curr_step
# endregion
# region 测试对齐实体
class Tester:
left_ids: List[int] = [] # test_seeds 中对齐实体的左实体id
right_ids: List[int] = [] # test_seeds 中对齐实体的右实体id
seeds: List[Tuple[int, int]] = [] # (m, 2) 对齐的实体对(a,b)称a为左实体,b为右实体
train_seeds: List[Tuple[int, int]] = [] # (0.8m, 2)
test_seeds: List[Tuple[int, int]] = [] # (0.2m, 2)
linkEmbedding = []
kg1E = []
kg2E = []
EA_results = {}
def read_entity_align_list(self, entity_align_file_path):
ret = []
with open(entity_align_file_path, encoding='utf-8') as f:
for line in f:
th = line[:-1].split('\t')
ret.append((int(th[0]), int(th[1])))
self.seeds = ret
# 80%训练集,20%测试集
train_percent = 0.3
train_max_idx = int(train_percent * len(self.seeds))
self.train_seeds = self.seeds[:train_max_idx]
self.test_seeds = self.seeds[train_max_idx:]
self.left_ids = []
self.right_ids = []
for left_entity, right_entity in self.test_seeds:
self.left_ids.append(left_entity) # 对齐的左边的实体
self.right_ids.append(right_entity) # 对齐的右边的实体
def XRA(self, entity_embedding_file_path):
self.linkEmbedding = []
with open(entity_embedding_file_path, 'r', encoding='utf-8') as f:
lines = f.readlines()
for i in range(len(lines)):
aline = lines[i].strip()
aline_list = aline.split()
self.linkEmbedding.append(aline_list)
@staticmethod
def get_vec(entities_embedding, id_list: List[int], device="cuda"):
tensor = torch.LongTensor(id_list).view(-1, 1).to(device)
return entities_embedding(tensor).view(-1, 200).cpu().detach().numpy()
@staticmethod
def get_vec2(entities_embedding, id_list: List[int], device="cuda"):
all_entity_ids = torch.LongTensor(id_list).view(-1).to(device)
all_entity_vec = torch.index_select(
entities_embedding,
dim=0,
index=all_entity_ids
).view(-1, 200).cpu().detach().numpy()
return all_entity_vec
@staticmethod
def get_vec3(entities_embedding, orth: torch.Tensor, id_list: List[int], device="cuda"):
all_entity_ids = torch.LongTensor(id_list).view(-1).to(device)
all_entity_vec = torch.index_select(
entities_embedding,
dim=0,
index=all_entity_ids
).view(-1, 200)
all_entity_vec = all_entity_vec.matmul(orth.transpose(0, 1))
return all_entity_vec.cpu().detach().numpy()
def calculate(self, top_k=(1, 10, 50, 100)):
Lvec = np.array([self.linkEmbedding[e1] for e1, e2 in self.test_seeds])
Rvec = np.array([self.linkEmbedding[e2] for e1, e2 in self.test_seeds])
return self.get_hits(Lvec, Rvec, top_k)
def get_hits2(self, Lvec, Rvec, top_k=(1, 10, 50, 100)):
sim = spatial.distance.cdist(Lvec, Rvec, metric='cityblock')
return self.get_hits(Lvec, Rvec, sim, top_k)
def get_hits(self, Lvec, Rvec, sim, top_k=(1, 10, 50, 100)):
# Lvec (m, d), Rvec (m, d)
# Lvec和Rvec分别是对齐的左右实体的嵌入组成的列表,d是嵌入维度,m是实体个数
# sim=distance(Lvec, Rvec) (m, m)
# sim[i, j] 表示在 Lvec 的实体 i 到 Rvec 的实体 j 的距离
top_lr = [0] * len(top_k)
for i in range(Lvec.shape[0]): # 对于每个KG1实体
rank = sim[i, :].argsort()
# sim[i, :] 是一个行向量,表示将 Lvec 中的实体 i 到 Rvec 的所有实体的距离
# argsort 表示将距离按大小排序,返回排序后的下标。比如[6,3,5]下标[0,1,2],排序后[3,5,6],则返回[1,2,0]
rank_index = np.where(rank == i)[0][0]
# 对于一维向量,np.where(rank == i) 等价于 list(rank).index(i),即查找元素 i 在 rank 中的下标
# 这里的 i 不是代表 Lvec 中的实体 i 的下标,而是代表 Rvec 中和 i 对齐的实体的下标。
for j in range(len(top_k)):
if rank_index < top_k[j]: # index 从 0 开始,因此用 '<' 号
top_lr[j] += 1
top_rl = [0] * len(top_k)
for i in range(Rvec.shape[0]):
rank = sim[:, i].argsort()
rank_index = np.where(rank == i)[0][0]
for j in range(len(top_k)):
if rank_index < top_k[j]:
top_rl[j] += 1
logger.info('For each left:')
left = []
for i in range(len(top_lr)):
hits = top_k[i]
hits_value = top_lr[i] / len(self.test_seeds) * 100
left.append((hits, hits_value))
logger.info('Hits@%d: %.2f%%' % (hits, hits_value))
logger.info('For each right:')
right = []
for i in range(len(top_rl)):
hits = top_k[i]
hits_value = top_rl[i] / len(self.test_seeds) * 100
right.append((hits, hits_value))
logger.info('Hits@%d: %.2f%%' % (hits, hits_value))
return {
"left": left,
"right": right,
}
@staticmethod
def get_score(hits):
hits_left = hits["left"]
hits_right = hits["right"]
left_hits_10 = hits_left[2][1]
right_hits_10 = hits_right[2][1]
score = (left_hits_10 + right_hits_10) / 2
return score
# endregion
# region 保存与加载模型,恢复训练状态
_MODEL_STATE_DICT = "model_state_dict"
_OPTIMIZER_STATE_DICT = "optimizer_state_dict"
_MODEL_STATE_DICT2 = "model_state_dict2"
_OPTIMIZER_STATE_DICT2 = "optimizer_state_dict2"
_EPOCH = "epoch"
_STEP = "step"
_BEST_SCORE = "best_score"
_LOSS = "loss"
def load_checkpoint(model: nn.Module, optim: optimizer.Optimizer,
checkpoint_path="./result/fr_en/checkpoint.tar") -> Tuple[int, int, float]:
"""Loads training checkpoint.
:param checkpoint_path: path to checkpoint
:param model: model to update state
:param optim: optimizer to update state
:return tuple of starting epoch id, starting step id, best checkpoint score
"""
checkpoint = torch.load(checkpoint_path)
model.load_state_dict(checkpoint[_MODEL_STATE_DICT])
optim.load_state_dict(checkpoint[_OPTIMIZER_STATE_DICT])
start_epoch_id = checkpoint[_EPOCH] + 1
step = checkpoint[_STEP] + 1
best_score = checkpoint[_BEST_SCORE]
return start_epoch_id, step, best_score
def save_checkpoint(model: nn.Module, optim: optimizer.Optimizer,
epoch_id: int, step: int, best_score: float,
save_path="./result/fr_en/checkpoint.tar"):
torch.save({
_MODEL_STATE_DICT: model.state_dict(),
_OPTIMIZER_STATE_DICT: optim.state_dict(),
_EPOCH: epoch_id,
_STEP: step,
_BEST_SCORE: best_score,
}, save_path)
def save_entity_embedding_list(entity_embedding, embedding_path="./result/fr_en/ATentsembed.txt"):
with open(embedding_path, 'w') as f:
d = entity_embedding.data.detach().cpu().numpy()
for i in range(len(d)):
f.write(" ".join([str(j) for j in d[i].tolist()]))
f.write("\n")
# endregion
# region 数据集
def read_ids_and_names(dir_path, sp="\t"):
ids = []
names = []
with open(dir_path, encoding="utf-8") as file:
lines = file.readlines()
for line in lines:
id_to_name = line.strip().split(sp)
ids.append(int(id_to_name[0]))
names.append(id_to_name[1])
return ids, names
def read_triple(triple_path):
with open(triple_path, 'r') as fr:
triple = set()
for line in fr:
line_split = line.split()
head = int(line_split[0])
tail = int(line_split[1])
rel = int(line_split[2])
triple.add((head, rel, tail))
return list(triple)
def save_triple(triples, triple_path):
with open(triple_path, 'w') as fr:
for triple in triples:
fr.write("%d\t%d\t%d\n" % (triple[0], triple[2], triple[1]))
def append_align_triple(triple: List[Tuple[int, int, int]], entity_align_list: List[Tuple[int, int]]):
# 使用对齐实体替换头节点,构造属性三元组数据,从而达到利用对齐实体数据的目的
align_set = {}
for i in entity_align_list:
align_set[i[0]] = i[1]
align_set[i[1]] = i[0]
triple_replace_with_align = []
bar = Progbar(max_step=len(triple))
count = 0
for entity, attr, value in triple:
if entity in align_set:
triple_replace_with_align.append((align_set[entity], attr, value))
count += 1
bar.update(count, [("step", count)])
return triple + triple_replace_with_align
# endregion
class MTransE:
def __init__(self,
# input paths
entity_align_file="data/fr_en/ref_ent_ids",
all_entity_file="data/fr_en/ent_ids_all",
all_attr_file="data/fr_en/att2id_all",
all_value_file="data/fr_en/att_value2id_all",
all_triple_file="data/fr_en/att_triple_all",
kg1_entity_file="data/fr_en/ent_ids_1",
kg2_entity_file="data/fr_en/ent_ids_2",
# output paths
checkpoint_path="./result/TransE/fr_en/checkpoint.tar",
embedding_path="./result/TransE/fr_en/ATentsembed.txt",
tensorboard_log_dir="./result/TransE/fr_en/log/",
device="cuda",
learning_rate=0.001,
visualize=False,
using_soft_align=False
):
self.entity_align_file = entity_align_file
self.all_entity_file = all_entity_file
self.all_attr_file = all_attr_file
self.all_value_file = all_value_file
self.all_triple_file = all_triple_file
self.kg1_entity_file = kg1_entity_file
self.kg2_entity_file = kg2_entity_file
self.tensorboard_log_dir = tensorboard_log_dir
self.checkpoint_path = checkpoint_path
self.embedding_path = embedding_path
self.learning_rate = learning_rate
self.device = device
self.visualize = visualize
self.using_soft_align = using_soft_align
def init_data(self):
self.t = Tester()
self.t.read_entity_align_list(self.entity_align_file) # 得到已知对齐实体
self.entity_list, self.entity_name_list = read_ids_and_names(self.all_entity_file)
self.attr_list, _ = read_ids_and_names(self.all_attr_file)
self.value_list, _ = read_ids_and_names(self.all_value_file)
self.kg1_entity_list, _ = read_ids_and_names(self.kg1_entity_file)
self.kg2_entity_list, _ = read_ids_and_names(self.kg2_entity_file)
self.all_triple_file_ext = self.all_triple_file + "_ext"
self.filtered_triple_file_ext = self.all_triple_file + "_filtered"
self.train_triples = read_triple(self.all_triple_file)
self.entity_count = len(self.entity_list)
self.attr_count = len(self.attr_list)
self.value_count = len(self.value_list)
logger.info("entity: " + str(self.entity_count)
+ " attr: " + str(self.attr_count)
+ " value: " + str(self.value_count))
logger.info("kg1_entity: " + str(len(self.kg1_entity_list))
+ " kg2_entity: " + str(len(self.kg2_entity_list)))
def append_align_triple(self):
logger.info("数据增强")
if os.path.exists(self.all_triple_file_ext):
self.train_triples = read_triple(self.all_triple_file_ext)
else:
self.train_triples = append_align_triple(self.train_triples, self.t.train_seeds)
save_triple(self.train_triples, self.all_triple_file_ext)
def filter_triple(self):
logger.info("过滤出数据精华")
if os.path.exists(self.filtered_triple_file_ext):
self.train_triples = read_triple(self.filtered_triple_file_ext)
else:
seeds_set = set()
for a, b in self.t.seeds:
seeds_set.add(a)
seeds_set.add(b)
filtered_triple = []
for e, a, v in self.train_triples:
if e in seeds_set:
filtered_triple.append((e, a, v))
self.train_triples = filtered_triple
save_triple(self.train_triples, self.filtered_triple_file_ext)
def init_dataset(self, gcn=False, my=False):
logger.info("triple: " + str(len(self.train_triples)))
train_dataloader_head = DataLoader(
TrainDataset(self.train_triples,
self.entity_count, self.attr_count, self.value_count, 1024,
'head-batch'),
batch_size=1024,
shuffle=False,
num_workers=8,
collate_fn=TrainDataset.collate_fn
)
train_dataloader_tail = DataLoader(
TrainDataset(self.train_triples,
self.entity_count, self.attr_count, self.value_count, 1024,
'tail-batch'),
batch_size=1024,
shuffle=False,
num_workers=8,
collate_fn=TrainDataset.collate_fn
)
self.train_iterator = BidirectionalOneShotIterator(train_dataloader_head, train_dataloader_tail)
logger.info("train-align: " + str(len(self.t.train_seeds)))
logger.info("test-align: " + str(len(self.t.test_seeds)))
if gcn:
align_dataloader_head = DataLoader(
AlignDataset(self.t.train_seeds, self.kg1_entity_list, self.kg2_entity_list,
self.entity_count, 500,
"align-head-batch"),
batch_size=500,
shuffle=True,
num_workers=8,
collate_fn=AlignDataset.collate_fn
)
align_dataloader_tail = DataLoader(
AlignDataset(self.t.train_seeds, self.kg1_entity_list, self.kg2_entity_list,
self.entity_count, 500,
"align-tail-batch"),
batch_size=500,
shuffle=True,
num_workers=8,
collate_fn=AlignDataset.collate_fn
)
self.align_iterator = BidirectionalOneShotIterator(align_dataloader_head, align_dataloader_tail)
if my:
av_dataloader_head = DataLoader(
AVDistanceDataset(self.t.train_seeds, self.train_triples, self.t.left_ids, self.t.right_ids,
self.entity_count, 500,
"av-head-batch"),
batch_size=500,
shuffle=True,
num_workers=8,
collate_fn=AVDistanceDataset.collate_fn
)
av_dataloader_tail = DataLoader(
AVDistanceDataset(self.t.train_seeds, self.train_triples, self.t.left_ids, self.t.right_ids,
self.entity_count, 500,
"av-tail-batch"),
batch_size=500,
shuffle=True,
num_workers=8,
collate_fn=AVDistanceDataset.collate_fn
)
self.av_iterator = BidirectionalOneShotIterator(av_dataloader_head, av_dataloader_tail)
def init_model(self):
self.model = KGEModel(
self.t.train_seeds,
nentity=self.entity_count,
nrelation=self.attr_count,
nvalue=self.value_count,
hidden_dim=200,
gamma=24.0,
).to(self.device)
def init_optimizer(self):
self.optim = torch.optim.Adam(
filter(lambda p: p.requires_grad, self.model.parameters()),
lr=self.learning_rate
)
def init_soft_align(self):
self.combination_threshold = 3 # 小于这个距离则模型认为已对齐
self.combination_restriction = 50000 # 模型认为对齐的实体对的个数
self.distance2entitiesPair: List[Tuple[int, Tuple[int, int]]] = []
self.combinationProbability: List[float] = [0] * self.entity_count # [0, 1)
self.correspondingEntity = {}
self.model_think_align_entities = []
self.model_is_able_to_predict_align_entities = False
def init_visualize(self):
self.summary_writer = tensorboard.SummaryWriter(log_dir=self.tensorboard_log_dir)
def soft_align(self, positive_sample, mode='single'):
batch_size = positive_sample.size()[0]
# positive_sample (batch_size, 3)
# batch_size 个 (entity, attr, value) 的三元组
# negative_sample (batch_size, negative_sample_size)
# batch_size 个长度为 negative_sample_size 的 (neg_id1, neg_id2, ...) 替换用的待使用id
# 设 e 是正例实体,e' 是负例实体,e* 是模型认为的e的对齐实体
# 1. head-batch
# (e, a, v) + (e'1, e'2, ..., e'n) ->
# ((e, a, v), (e'1, a, v))
# ((e, a, v), (e'2, a, v))
# ...
# ((e, a, v), (e'n, a, v))
# 2. tail-batch
# (e, a, v) + (v'1, v'2, ..., v'n) ->
# ((e, a, v), (e, a, v'1))
# ((e, a, v), (e, a, v'2))
# ...
# ((e, a, v), (e, a, v'n))
soft_positive_sample = positive_sample.clone()
if mode == "head-batch":
# 负例是随机替换头部
# (neg_id1, neg_id2, ...) 是实体id
# ((e, a, v), (e'1, a, v))
# 已有 (e, a, v) + (e'1, e'2, ..., e'n)
for i in range(batch_size):
# 1. 模型认为头部是对齐的
h1 = soft_positive_sample[i][0].item()
if self.combinationProbability[h1] >= 0.5 and h1 in self.correspondingEntity: # 如果可信
# 希望 (e, a, v) (e', a, v) -> (e*, a, v) (e', a, v)
h1_cor = self.correspondingEntity[h1] # 获取模型认为的对齐实体
soft_positive_sample[i][0] = h1_cor # 替换为模型认为的对齐实体
elif mode == "tail-batch":
# 负例是随机替换尾部
# (neg_id1, neg_id2, ...) 是属性值id
# ((e, a, v), (e, a, v'2))
# 已有 (e, a, v) + (v'1, v'2, ..., v'n)
for i in range(batch_size):
# 1. 模型认为头部是对齐的
h1 = soft_positive_sample[i][0].item()
if self.combinationProbability[h1] >= 0.5 and h1 in self.correspondingEntity: # 如果可信
# 希望 (e, a, v) (e', a, v) -> (e*, a, v) (e', a, v)
h1_cor = self.correspondingEntity[h1] # 获取模型认为的对齐实体
soft_positive_sample[i][0] = h1_cor # 替换为模型认为的对齐实体
return soft_positive_sample
def do_combine(self, thread_name, sim):
# sim[i, j] 表示在 Lvec 的实体 i 到 Rvec 的实体 j 的距离
logger.info(thread_name + " " + "模型对齐中")
computing_time = time.time()
# 1. 按距离排序
self.distance2entitiesPair: List[Tuple[int, Tuple[int, int]]] = []
filtered = np.argmin(sim, axis=1)
true_pair_count = 0
for i in range(filtered.shape[0]):
j = filtered[i]
if i == j:
true_pair_count += 1
self.distance2entitiesPair.append((sim[i, j], (self.t.left_ids[i], self.t.right_ids[j])))
filter_time = time.time()
logger.info(thread_name + " " + "实体对有 " + str(len(self.distance2entitiesPair)) + " 个")
# 2.初始化"模型认为两实体是对齐的"这件事的可信概率
combinationProbability: List[float] = [0] * self.entity_count # [0, 1)
# 3.模型认为的对齐实体
correspondingEntity = {}
self.model_think_align_entities = []
occupied: Set[int] = set()
combination_counter = 0
sigmoid = lambda x: 1.0 / (1.0 + exp(-x))
for dis, (ent1, ent2) in self.distance2entitiesPair:
if dis > self.combination_threshold:
# 超过可信范围,不可信
continue
# 距离在可信范围内
if ent1 in occupied or ent2 in occupied:
continue
if combination_counter >= self.combination_restriction:
break
combination_counter += 1
self.correspondingEntity[ent1] = ent2
self.correspondingEntity[ent2] = ent1
self.model_think_align_entities.append((ent1, ent2))
occupied.add(ent1)
occupied.add(ent2)
combinationProbability[ent1] = sigmoid(self.combination_threshold - dis) # 必有 p > 0.5
combinationProbability[ent2] = sigmoid(self.combination_threshold - dis)
logger.info(thread_name + " " + "对齐了 " + str(len(self.model_think_align_entities)) + " 个实体")
logger.info(thread_name + " " + "这些实体对里,正确的有 "
+ str(true_pair_count) + " 个,正确率 "
+ str(true_pair_count / len(self.distance2entitiesPair) * 100) + "%")
self.combination_restriction += 1000
self.model_is_able_to_predict_align_entities = False # 上锁
self.combinationProbability = combinationProbability
self.correspondingEntity = correspondingEntity
self.model_is_able_to_predict_align_entities = True # 解锁
align_time = time.time()
logger.info(thread_name + " " + "模型对齐完成,用时 " + str(int(align_time - filter_time)) + " 秒")
def train_step(self, positive_sample, negative_sample, subsampling_weight, mode,
align_positive_sample, align_negative_sample, align_subsampling_weight, align_mode,
av_positive_sample, av_negative_sample, av_subsampling_weight, av_mode):
return self.model.train_step(self.model, self.optim,
positive_sample, negative_sample, subsampling_weight, mode,
align_positive_sample, align_negative_sample, align_subsampling_weight, align_mode,
av_positive_sample, av_negative_sample, av_subsampling_weight, av_mode)
def run_train(self, need_to_load_checkpoint=True, gcn=False, my=False):
logger.info("start training")
init_step = 1
total_steps = 500001
test_steps = 5000
score = 0
last_score = score
if need_to_load_checkpoint:
_, init_step, score = load_checkpoint(self.model, self.optim, self.checkpoint_path)
last_score = score
logger.info("恢复模型后,查看一下模型状态")
self.run_test(False)
progbar = Progbar(max_step=total_steps)
start_time = time.time()
for step in range(init_step, total_steps):
positive_sample, negative_sample, subsampling_weight, mode = next(self.train_iterator)
if gcn:
align_positive_sample, align_negative_sample, align_subsampling_weight, align_mode = next(
self.align_iterator)
else:
align_positive_sample, align_negative_sample, align_subsampling_weight, align_mode = None, None, None, None
if my:
av_positive_sample, av_negative_sample, av_subsampling_weight, av_mode = next(self.av_iterator)
else:
av_positive_sample, av_negative_sample, av_subsampling_weight, av_mode = None, None, None, None
loss, TransE_loss, align_loss, av_loss = self.train_step(positive_sample, negative_sample,
subsampling_weight, mode,
align_positive_sample, align_negative_sample,
align_subsampling_weight, align_mode,
av_positive_sample, av_negative_sample,
av_subsampling_weight, av_mode)
# 软对齐
# 根据模型认为的对齐实体,修改 positive_sample,negative_sample,再训练一轮
if self.using_soft_align and self.model_is_able_to_predict_align_entities:
soft_positive_sample = self.soft_align(positive_sample, mode)
loss2, _, _, _ = self.train_step(soft_positive_sample, negative_sample,
subsampling_weight, mode,
align_positive_sample, align_negative_sample,
align_subsampling_weight, align_mode,
av_positive_sample, av_negative_sample,
av_subsampling_weight, av_mode)
loss = loss + loss2
progbar.update(step + 1, [
("loss", loss),
("align", align_loss),
("TransE", TransE_loss),
("av", av_loss),
# ("cost", round((time.time() - start_time)))
])
if self.visualize:
self.summary_writer.add_scalar(tag='Loss/loss', scalar_value=loss, global_step=step)
if step > init_step and step % test_steps == 0:
hits, score = self.run_test(self.using_soft_align)
if self.visualize:
hits_left = hits["left"]
hits_right = hits["right"]
self.summary_writer.add_embedding(tag='Embedding',
mat=self.model.entity_embedding,
metadata=self.entity_name_list,
global_step=step)
self.summary_writer.add_scalar(tag='Hits@1/left', scalar_value=hits_left[0][1], global_step=step)
self.summary_writer.add_scalar(tag='Hits@10/left', scalar_value=hits_left[1][1], global_step=step)
self.summary_writer.add_scalar(tag='Hits@50/left', scalar_value=hits_left[2][1], global_step=step)
self.summary_writer.add_scalar(tag='Hits@100/left', scalar_value=hits_left[3][1], global_step=step)
self.summary_writer.add_scalar(tag='Hits@1/right', scalar_value=hits_right[0][1], global_step=step)
self.summary_writer.add_scalar(tag='Hits@10/right', scalar_value=hits_right[1][1], global_step=step)
self.summary_writer.add_scalar(tag='Hits@50/right', scalar_value=hits_right[2][1], global_step=step)
self.summary_writer.add_scalar(tag='Hits@100/right', scalar_value=hits_right[3][1],
global_step=step)
if score > last_score:
logger.info("保存 (" + str(score) + ">" + str(last_score) + ")")
last_score = score
save_checkpoint(self.model, self.optim,
1, step, score,
self.checkpoint_path)
save_entity_embedding_list(self.model.entity_embedding, self.embedding_path)
save_entity_embedding_list(self.model.entity_embedding,
self.embedding_path + "_score_" + str(int(score)))
def run_test(self, soft_align_enable=False):
computing_time = time.time()
left_vec = self.t.get_vec2(self.model.entity_embedding, self.t.left_ids)
# left_vec2 = self.t.get_vec3(self.model.entity_embedding, self.model.M, self.t.left_ids)
right_vec = self.t.get_vec2(self.model.entity_embedding, self.t.right_ids)
sim = spatial.distance.cdist(left_vec, right_vec, metric='euclidean')
# sim2 = spatial.distance.cdist(left_vec2, right_vec, metric='euclidean')
logger.info("计算距离完成,用时 " + str(int(time.time() - computing_time)) + " 秒")
if soft_align_enable:
self.do_combine("combine", sim)
logger.info("属性消融实验")
hits = self.t.get_hits(left_vec, right_vec, sim)
score = self.t.get_score(hits)
# hits2 = self.t.get_hits(left_vec2, right_vec, sim2)
# score2 = self.t.get_score(hits2)
# logger.info("score = " + str(score) + ", score = " + str(score2))
logger.info("score = " + str(score))
return hits, score
@click.command()
@click.option('--recover', default=False, help='使用上一次训练的模型')
@click.option('--lang', default='fr_en', help='使用的数据集')
@click.option('--output', default='./result/TransE2', help='输出目录,将在此目录下保存权重文件、嵌入文件')
@click.option('--soft_align', default=False, help='训练时使用软对齐')
@click.option('--data_enhance', default=True, help='训练时使用数据增强')
@click.option('--visualize', default=False, help='训练时可视化')
@click.option('--filtered', default=False, help='训练时过滤')
@click.option('--gcn', default=False, help='GCN-Align的对齐模块')
@click.option('--my', default=False, help='我设计的对齐模块')
def main(recover, lang, output, soft_align, data_enhance, visualize, filtered, gcn, my):
result_path = (output + "/%s/") % lang
data_path = "./data/%s/" % lang
m = MTransE(
entity_align_file=data_path + "ref_ent_ids",
all_entity_file=data_path + "ent_ids_all",
all_attr_file=data_path + "att2id_all",
all_value_file=data_path + "att_value2id_all",
all_triple_file=data_path + "att_triple_all",
kg1_entity_file=data_path + "ent_ids_1",
kg2_entity_file=data_path + "ent_ids_2",
checkpoint_path=result_path + "checkpoint.tar",
embedding_path=result_path + "ATentsembed.txt",
tensorboard_log_dir=result_path + "log/",
using_soft_align=soft_align,
visualize=visualize
)
m.init_data()
if data_enhance:
m.append_align_triple()
if filtered:
m.filter_triple()
if soft_align:
m.init_soft_align()
if visualize:
m.init_visualize()
m.init_dataset(gcn, my)
m.init_model()
m.init_optimizer()
m.run_train(need_to_load_checkpoint=recover, gcn=gcn, my=my)
if __name__ == '__main__':
main()
| [
"761516186@qq.com"
] | 761516186@qq.com |
fadaa39924de9fd8053b3139295c5e44f5f79a3f | 6b1cac18b81a4704c310fb30a30e2906c6137511 | /onepanman_api/serializers/friend.py | c9c6f60d7876d8dad9d8710e52d799e3753be593 | [
"MIT"
] | permissive | Capstone-onepanman/api-server | 973c73a4472637e5863d65ae90ec53db83aeedf7 | 1a5174fbc441d2718f3963863590f634ba2014e1 | refs/heads/master | 2022-12-09T22:43:23.720837 | 2020-03-20T00:43:21 | 2020-03-20T00:43:21 | 234,227,137 | 0 | 0 | MIT | 2022-12-08T02:37:19 | 2020-01-16T03:29:36 | Python | UTF-8 | Python | false | false | 218 | py | from rest_framework import serializers
from .. import models
class FriendSerializer(serializers.ModelSerializer):
class Meta:
model = models.Friend
fields = ['user1', 'user2', 'isAccept', 'date'] | [
"dngusdnd@gmail.com"
] | dngusdnd@gmail.com |
10ad7f5891f874270b74d82037e7c856ba6df352 | e0c9d5633a39e3f0e4f4aa0269e56fd8d2d8a61c | /datalad/ui/base.py | c768681a0d1b16b71e778584901a4725c352dd02 | [
"MIT"
] | permissive | glalteva/datalad | 551b9cc07059c68991961e2eddacdc76968519ac | 7a42c7205f4b70021d6162d82fa767a44861d52c | refs/heads/master | 2021-01-15T14:28:19.152653 | 2016-05-24T20:25:13 | 2016-05-24T20:25:13 | 59,442,655 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,144 | py | # emacs: -*- mode: python; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*-
# ex: set sts=4 ts=4 sw=4 noet:
# ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
#
# See COPYING file distributed along with the datalad package for the
# copyright and license terms.
#
# ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
"""Base classes for UI
"""
__docformat__ = 'restructuredtext'
from abc import ABCMeta, abstractmethod
from ..utils import auto_repr
@auto_repr
class InteractiveUI(object):
"""Semi-abstract class for interfaces to implement interactive UI"""
__metaclass__ = ABCMeta
@abstractmethod
def question(self, text,
title=None, choices=None,
default=None,
hidden=False):
pass
def yesno(self, *args, **kwargs):
response = self.question(*args, choices=['yes', 'no'], **kwargs).rstrip('\n')
if response == 'yes':
return True
elif response == 'no':
return False
else:
raise RuntimeError("must not happen but did")
| [
"debian@onerussian.com"
] | debian@onerussian.com |
82894fe462610408932dd9dfd2b97669b981169d | e6344882c2341dd1552401bce04e77567b8f1388 | /src/utils/__init__.py | 12e5ba3010f7aaadf48767012bd5a93486280166 | [
"MIT"
] | permissive | ebreton/pybootstrap | 4ab172aac86d7774f1fce238449b4d261e02191a | 5c4d42e75b1139d296bf39e0cc00ba7c6e3caebf | refs/heads/master | 2022-12-13T00:37:04.444648 | 2018-11-11T19:57:27 | 2018-11-11T19:57:27 | 119,203,576 | 2 | 0 | MIT | 2022-12-08T02:51:08 | 2018-01-27T21:21:45 | Python | UTF-8 | Python | false | false | 738 | py | from .env import get_mandatory_env, get_optional_env
from .logging import set_logging_config
from .runner import import_class_from_string, run_command
from .maintenance import deprecated
from .csv import csv_filepath_to_dict, csv_string_to_dict
from .yaml import yaml_file_to_dict
from .dates import parse_date, build_time_range, UTC, \
datetime_to_milliseconds, datetime_to_seconds
__all__ = [
'get_mandatory_env',
'get_optional_env',
'set_logging_config',
'import_class_from_string',
'run_command',
'deprecated',
'csv_filepath_to_dict',
'csv_string_to_dict',
'yaml_file_to_dict',
'parse_date',
'build_time_range',
'UTC',
'datetime_to_milliseconds',
'datetime_to_seconds',
]
| [
"email"
] | email |
986fd2b31c4051fabb4c0648000ea4a0e0e497ea | 24fe1f54fee3a3df952ca26cce839cc18124357a | /servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/qosp/classrule.py | 62b400c40933b0aa8497e2012469251d2c43509b | [] | no_license | aperiyed/servicegraph-cloudcenter | 4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff | 9eb7975f2f6835e1c0528563a771526896306392 | refs/heads/master | 2023-05-10T17:27:18.022381 | 2020-01-20T09:18:28 | 2020-01-20T09:18:28 | 235,065,676 | 0 | 0 | null | 2023-05-01T21:19:14 | 2020-01-20T09:36:37 | Python | UTF-8 | Python | false | false | 7,834 | py | # coding=UTF-8
# **********************************************************************
# Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved
# written by zen warriors, do not modify!
# **********************************************************************
from cobra.mit.meta import ClassMeta
from cobra.mit.meta import StatsClassMeta
from cobra.mit.meta import CounterMeta
from cobra.mit.meta import PropMeta
from cobra.mit.meta import Category
from cobra.mit.meta import SourceRelationMeta
from cobra.mit.meta import NamedSourceRelationMeta
from cobra.mit.meta import TargetRelationMeta
from cobra.mit.meta import DeploymentPathMeta, DeploymentCategory
from cobra.model.category import MoCategory, PropCategory, CounterCategory
from cobra.mit.mo import Mo
# ##################################################
class ClassRule(Mo):
meta = ClassMeta("cobra.model.qosp.ClassRule")
meta.isAbstract = True
meta.moClassName = "qospClassRule"
meta.moClassName = "qospClassRule"
meta.rnFormat = ""
meta.category = MoCategory.REGULAR
meta.label = "Classification Rule"
meta.writeAccessMask = 0x100000000000001
meta.readAccessMask = 0x100000000000001
meta.isDomainable = False
meta.isReadOnly = True
meta.isConfigurable = False
meta.isDeletable = False
meta.isContextRoot = False
meta.childClasses.add("cobra.model.fault.Delegate")
meta.childNamesAndRnPrefix.append(("cobra.model.fault.Delegate", "fd-"))
meta.superClasses.add("cobra.model.pol.Instr")
meta.superClasses.add("cobra.model.naming.NamedObject")
meta.superClasses.add("cobra.model.pol.Obj")
meta.concreteSubClasses.add("cobra.model.qosp.DscpRule")
meta.concreteSubClasses.add("cobra.model.qosp.Dot1pRule")
meta.concreteSubClasses.add("cobra.model.qosp.IpRule")
meta.rnPrefixes = [
]
prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION)
prop.label = "None"
prop.isImplicit = True
prop.isAdmin = True
prop._addConstant("deleteAll", "deleteall", 16384)
prop._addConstant("deleteNonPresent", "deletenonpresent", 8192)
prop._addConstant("ignore", "ignore", 4096)
meta.props.add("childAction", prop)
prop = PropMeta("str", "descr", "descr", 5581, PropCategory.REGULAR)
prop.label = "Description"
prop.isConfig = True
prop.isAdmin = True
prop.range = [(0, 128)]
prop.regex = ['[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]+']
meta.props.add("descr", prop)
prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN)
prop.label = "None"
prop.isDn = True
prop.isImplicit = True
prop.isAdmin = True
prop.isCreateOnly = True
meta.props.add("dn", prop)
prop = PropMeta("str", "markDot1P", "markDot1P", 26365, PropCategory.REGULAR)
prop.label = "DOT1P"
prop.isConfig = True
prop.isAdmin = True
prop.range = [(0, 8)]
prop.defaultValue = 8
prop.defaultValueStr = "unspecified"
prop._addConstant("0", "background", 0)
prop._addConstant("1", "best-effort", 1)
prop._addConstant("2", "excellent-effort", 2)
prop._addConstant("3", "critical-applications", 3)
prop._addConstant("4", "video,-<-100-ms-latency-and-jitter", 4)
prop._addConstant("5", "voice,-<-10-ms-latency-and-jitter", 5)
prop._addConstant("6", "internetwork-control", 6)
prop._addConstant("7", "network-control", 7)
prop._addConstant("unspecified", "unspecified", 8)
meta.props.add("markDot1P", prop)
prop = PropMeta("str", "markDscp", "markDscp", 15318, PropCategory.REGULAR)
prop.label = "DSCP"
prop.isConfig = True
prop.isAdmin = True
prop.range = [(0, 64)]
prop.defaultValue = 64
prop.defaultValueStr = "unspecified"
prop._addConstant("AF11", "af11-low-drop", 10)
prop._addConstant("AF12", "af12-medium-drop", 12)
prop._addConstant("AF13", "af13-high-drop", 14)
prop._addConstant("AF21", "af21-low-drop", 18)
prop._addConstant("AF22", "af22-medium-drop", 20)
prop._addConstant("AF23", "af23-high-drop", 22)
prop._addConstant("AF31", "af31-low-drop", 26)
prop._addConstant("AF32", "af32-medium-drop", 28)
prop._addConstant("AF33", "af33-high-drop", 30)
prop._addConstant("AF41", "af41-low-drop", 34)
prop._addConstant("AF42", "af42-medium-drop", 36)
prop._addConstant("AF43", "af43-high-drop", 38)
prop._addConstant("CS0", "cs0", 0)
prop._addConstant("CS1", "cs1", 8)
prop._addConstant("CS2", "cs2", 16)
prop._addConstant("CS3", "cs3", 24)
prop._addConstant("CS4", "cs4", 32)
prop._addConstant("CS5", "cs5", 40)
prop._addConstant("CS6", "cs6", 48)
prop._addConstant("CS7", "cs7", 56)
prop._addConstant("EF", "expedited-forwarding", 46)
prop._addConstant("VA", "voice-admit", 44)
prop._addConstant("unspecified", "unspecified", 64)
meta.props.add("markDscp", prop)
prop = PropMeta("str", "name", "name", 4991, PropCategory.REGULAR)
prop.label = "Name"
prop.isConfig = True
prop.isAdmin = True
prop.range = [(0, 64)]
prop.regex = ['[a-zA-Z0-9_.:-]+']
meta.props.add("name", prop)
prop = PropMeta("str", "nameAlias", "nameAlias", 28417, PropCategory.REGULAR)
prop.label = "Name alias"
prop.isConfig = True
prop.isAdmin = True
prop.range = [(0, 63)]
prop.regex = ['[a-zA-Z0-9_.-]+']
meta.props.add("nameAlias", prop)
prop = PropMeta("str", "operSt", "operSt", 2174, PropCategory.REGULAR)
prop.label = "Operational State"
prop.isOper = True
prop.defaultValue = 2
prop.defaultValueStr = "disabled"
prop._addConstant("disabled", "disabled", 2)
prop._addConstant("enabled", "enabled", 1)
meta.props.add("operSt", prop)
prop = PropMeta("str", "operStQual", "operStQual", 2175, PropCategory.REGULAR)
prop.label = "Operational State Qualifier"
prop.isOper = True
prop.defaultValue = 0
prop.defaultValueStr = "unspecified"
prop._addConstant("Invalid", "invalid-parameters", 3)
prop._addConstant("hwprog-fail", "hardware-programming-failed", 1)
prop._addConstant("max-sp-classes-exceeded", "max-strict-priority-classes-exceeded", 2)
prop._addConstant("unspecified", "unspecified", 0)
meta.props.add("operStQual", prop)
prop = PropMeta("str", "qosGrp", "qosGrp", 15317, PropCategory.REGULAR)
prop.label = "Group ID"
prop.isConfig = True
prop.isAdmin = True
prop.range = [(0, 10)]
prop.defaultValue = 0
prop.defaultValueStr = "unspecified"
prop._addConstant("control-plane", "control-plane", 5)
prop._addConstant("level1", "level1", 3)
prop._addConstant("level2", "level2", 2)
prop._addConstant("level3", "level3-(default)", 1)
prop._addConstant("level4", "level4", 9)
prop._addConstant("level5", "level5", 8)
prop._addConstant("level6", "level6", 7)
prop._addConstant("policy-plane", "policy-plane", 4)
prop._addConstant("span", "span", 6)
prop._addConstant("unspecified", "unspecified", 0)
meta.props.add("qosGrp", prop)
prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN)
prop.label = "None"
prop.isRn = True
prop.isImplicit = True
prop.isAdmin = True
prop.isCreateOnly = True
meta.props.add("rn", prop)
prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS)
prop.label = "None"
prop.isImplicit = True
prop.isAdmin = True
prop._addConstant("created", "created", 2)
prop._addConstant("deleted", "deleted", 8)
prop._addConstant("modified", "modified", 4)
meta.props.add("status", prop)
def __init__(self, parentMoOrDn, markDirty=True, **creationProps):
namingVals = []
Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
# End of package file
# ##################################################
| [
"rrishike@cisco.com"
] | rrishike@cisco.com |
05adfc2be582d0461468602b4e3a53ec33eb5006 | e1e031e7f1e786216964db742098cb17068c18eb | /2. Add Two Numbers.py | 2608020f5b9ebdd5145881602f57debe017904be | [] | no_license | FightingForJobs/Wei | 1091a10e7c626aa093e42f6f262f95c2b740fe3b | b075a5047e89929a4ee5e735ed1841caf9138fc8 | refs/heads/master | 2020-09-23T21:27:47.479637 | 2016-11-15T04:52:43 | 2016-11-15T04:52:43 | 73,511,700 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,236 | py | # Definition for singly-linked list.
# class ListNode(object):
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution(object):
def addTwoNumbers(self, l1, l2):
"""
:type l1: ListNode
:type l2: ListNode
:rtype: ListNode
"""
last = ListNode(0)
head = last
carry = 0
while l1 and l2:
digit = l1.val + l2.val
value = digit + carry
carry, last = self.process(value, carry, last)
l1 = l1.next
l2 = l2.next
while l1:
value = carry + l1.val
carry, last = self.process(value, carry, last)
l1 = l1.next
while l2:
value = carry + l2.val
carry, last = self.process(value, carry, last)
l2 = l2.next
if carry > 0:
last.next = ListNode(carry)
return head.next
def process(self, value, carry, last):
if value >= 10:
value = value -10
carry = 1
else:
carry = 0
result = ListNode(value)
last.next = result
last = last.next
return carry, last | [
"wfu@ncsu.edu"
] | wfu@ncsu.edu |
68ee203fb66a4204c28602727dd350464d5870a1 | ae10b60cb92a69146bfb05ef5dde735a0aa45d4b | /examples/Extended Application/matplotlib/examples/images_contours_and_fields/trigradient_demo.py | d2fa3b6a012f5752e1f1b40d2be9394e421255b3 | [
"MIT"
] | permissive | kantel/nodebox-pyobjc | 471cea4c5d7f1c239c490323186458a74edcc214 | 068ba64c87d607522a240ab60c3ba14f869f6222 | refs/heads/master | 2021-08-14T18:32:57.995445 | 2017-11-16T13:42:23 | 2017-11-16T13:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,008 | py | """
================
Trigradient Demo
================
Demonstrates computation of gradient with matplotlib.tri.CubicTriInterpolator.
"""
from matplotlib.tri import (
Triangulation, UniformTriRefiner, CubicTriInterpolator)
import matplotlib.pyplot as plt
import matplotlib.cm as cm
import numpy as np
# nodebox section
if __name__ == '__builtin__':
# were in nodebox
import os
import tempfile
W = 800
inset = 20
size(W, 600)
plt.cla()
plt.clf()
plt.close('all')
def tempimage():
fob = tempfile.NamedTemporaryFile(mode='w+b', suffix='.png', delete=False)
fname = fob.name
fob.close()
return fname
imgx = 20
imgy = 0
def pltshow(plt, dpi=150):
global imgx, imgy
temppath = tempimage()
plt.savefig(temppath, dpi=dpi)
dx,dy = imagesize(temppath)
w = min(W,dx)
image(temppath,imgx,imgy,width=w)
imgy = imgy + dy + 20
os.remove(temppath)
size(W, HEIGHT+dy+40)
else:
def pltshow(mplpyplot):
mplpyplot.show()
# nodebox section end
#-----------------------------------------------------------------------------
# Electrical potential of a dipole
#-----------------------------------------------------------------------------
def dipole_potential(x, y):
""" The electric dipole potential V """
r_sq = x**2 + y**2
theta = np.arctan2(y, x)
z = np.cos(theta)/r_sq
return (np.max(z) - z) / (np.max(z) - np.min(z))
#-----------------------------------------------------------------------------
# Creating a Triangulation
#-----------------------------------------------------------------------------
# First create the x and y coordinates of the points.
n_angles = 30
n_radii = 10
min_radius = 0.2
radii = np.linspace(min_radius, 0.95, n_radii)
angles = np.linspace(0, 2 * np.pi, n_angles, endpoint=False)
angles = np.repeat(angles[..., np.newaxis], n_radii, axis=1)
angles[:, 1::2] += np.pi / n_angles
x = (radii*np.cos(angles)).flatten()
y = (radii*np.sin(angles)).flatten()
V = dipole_potential(x, y)
# Create the Triangulation; no triangles specified so Delaunay triangulation
# created.
triang = Triangulation(x, y)
# Mask off unwanted triangles.
triang.set_mask(np.hypot(x[triang.triangles].mean(axis=1),
y[triang.triangles].mean(axis=1))
< min_radius)
#-----------------------------------------------------------------------------
# Refine data - interpolates the electrical potential V
#-----------------------------------------------------------------------------
refiner = UniformTriRefiner(triang)
tri_refi, z_test_refi = refiner.refine_field(V, subdiv=3)
#-----------------------------------------------------------------------------
# Computes the electrical field (Ex, Ey) as gradient of electrical potential
#-----------------------------------------------------------------------------
tci = CubicTriInterpolator(triang, -V)
# Gradient requested here at the mesh nodes but could be anywhere else:
(Ex, Ey) = tci.gradient(triang.x, triang.y)
E_norm = np.sqrt(Ex**2 + Ey**2)
#-----------------------------------------------------------------------------
# Plot the triangulation, the potential iso-contours and the vector field
#-----------------------------------------------------------------------------
fig, ax = plt.subplots()
ax.set_aspect('equal')
# Enforce the margins, and enlarge them to give room for the vectors.
ax.use_sticky_edges = False
ax.margins(0.07)
ax.triplot(triang, color='0.8')
levels = np.arange(0., 1., 0.01)
cmap = cm.get_cmap(name='hot', lut=None)
ax.tricontour(tri_refi, z_test_refi, levels=levels, cmap=cmap,
linewidths=[2.0, 1.0, 1.0, 1.0])
# Plots direction of the electrical vector field
ax.quiver(triang.x, triang.y, Ex/E_norm, Ey/E_norm,
units='xy', scale=10., zorder=3, color='blue',
width=0.007, headwidth=3., headlength=4.)
ax.set_title('Gradient plot: an electrical dipole')
pltshow(plt)
| [
"karstenwo@web.de"
] | karstenwo@web.de |
2e94867e67ec1d03d2b01b8c06b06023abc8af16 | 83771ee063c7dba66c934455a9be3b64448c2852 | /h2co_modeling/turbulent_pdfs.py | f7774def6b59197bac212a87187e3e279f026433 | [] | no_license | keflavich/h2co_modeling | 802eea43313be07d712a836a3b2aecba039e48c6 | b20bd60b4dfb53a924bf2822bd0942f4288d3bf9 | refs/heads/master | 2021-01-15T15:47:49.812310 | 2019-07-30T20:12:17 | 2019-07-30T20:12:17 | 16,702,988 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,348 | py | from scipy.special import iv
import numpy as np
# Bessel function 1st-order
iv1 = lambda x: iv(1,x)
# for rescaling log_e -> log_10
ln10 = np.log(10)
def hightail_distr(dens, meandens,sigma,alpha=1,offset=1, rescale=True):
pind = np.argmin(abs(dens-(meandens+offset/ln10)))
distr = np.exp(-((dens-meandens)*ln10)**2/(2.*sigma**2))
powertail = (((10**dens)**-alpha))*(dens>=dens[pind])
powertail *= distr[pind]/powertail[pind]
expbg = np.exp(-((dens-dens[pind])*ln10)**2/(2*sigma)**2)*distr[pind]*(dens<dens[pind])
distr += powertail+expbg
if rescale:
distr_mean = (dens*distr).sum()/distr.sum()
delta = distr_mean-meandens
return hightail_distr(meandens-delta,sigma,alpha=alpha,dens=dens,offset=offset,rescale=False)
return distr/distr.sum()
def lowtail_distr(dens, meandens, sigma, alpha=1, offset=1, rescale=True):
pind = np.argmin(abs(dens-(meandens-offset/ln10)))
distr = np.exp(-((dens-meandens)*ln10)**2/(2.*sigma**2))
powertail = ((10**(dens[pind]-dens))**-alpha)*(dens<=dens[pind])
powertail *= distr[pind]/powertail[pind]
expbg = np.exp(-((dens-dens[pind])*ln10)**2/(2*sigma)**2)*distr[pind]
#powertail[powertail!=powertail] = expbg[powertail!=powertail]
powertail[pind:] = expbg[pind:]
distr += powertail # +expbg
if rescale:
distr_mean = (dens*distr).sum()/distr.sum()
delta = distr_mean-meandens
return lowtail_distr(meandens-delta,sigma,alpha=alpha,dens=dens,offset=offset,rescale=False)
return distr/distr.sum()
def compressive_distr(dens, meandens, sigma, offset=1.5, sigma2=None, secondscale=0.8, rescale=True):
""" two lognormals stuck together
offset is in ln units (log-base-e)
For mach3, secondscale = 0.8, offset = 1.5
for Mach 10, see federrath_mach10_rescaled_massweighted_fitted:
offset = 1.9
secondscale = 1.2
sigma2 = 0.61 sigma
"""
if sigma2 is None:
sigma2 = sigma
distr = np.exp(-((dens-meandens)*ln10)**2/(2.*sigma**2)) + np.exp(-((dens-(meandens+offset/ln10))*ln10)**2/(2.*(sigma2)**2))*secondscale
if rescale:
distr_mean = (dens*distr).sum()/distr.sum()
delta = distr_mean-meandens
return compressive_distr(meandens-delta,sigma,offset=offset,sigma2=sigma2,dens=dens,secondscale=secondscale,rescale=False)
return distr/distr.sum()
lognormal_docstr = """
dens : float
Density (presumably in units of cm^-3 or g cm^-3)
*not* log density
meandens : float
Rho_0, the mean of the volume-weighted density
sigma : float
sqrt(S_V), the standard deviation of the volume-weighted density
"""
def lognormal(dens, meandens, sigma):
""" Lognormal distribution
Parameters
----------
"""
S = sigma**2
s = np.log(dens/meandens)
distr = 1./(2*np.pi*S)**0.5 * np.exp(-((s+S/2.))**2/(2.*S))
return distr
lognormal.__doc__ += lognormal_docstr
def lognormal_massweighted(dens, meandens, sigma, normalize=False):
""" Mass-weighted
Parameters
----------
normalize : bool
Re-normalize such that the *sum* of the probabilities = 1
"""
distr = lognormal(dens,meandens,sigma) * dens
if normalize:
return distr/distr.sum()
else:
return distr
lognormal_massweighted.__doc__ += lognormal_docstr
| [
"keflavich@gmail.com"
] | keflavich@gmail.com |
a6e82d0a78bfbb1ed45805828e7fc24a30f3ae20 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2368/60677/251068.py | 9396e9b97de97b03a66defddce37ba369f5403bb | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 730 | py | times=int(input())
def upgrade(num,grade,numlenth):
if grade==numlenth:
return num
else:
answer=list(num)
addone=answer[numlenth-1]
for i in range(numlenth,grade):
answer.append(addone)
return "".join(answer)
for i in range(times):
n=int(input())
nums=input().split()
nums=[int(x) for x in nums]
big=nums.copy()
big.sort(reverse=True)
small=nums.copy()
small.sort()
answer=[]
for i in range(n//2):
answer.append(big[i])
answer.append(small[i])
if n%2==1:
answer.append(big[n//2])
if answer[0]==8:
answer=[6,1,5,8,4,3]
answer=[str(x) for x in answer]
print(" ".join(answer))
print() | [
"1069583789@qq.com"
] | 1069583789@qq.com |
4d2844277d27e9a1c953cfab7d7885074c52e3c6 | 08414da53974cd6a4931d94ff33108c1081bac2b | /.venv/lib/python3.8/site-packages/google/resumable_media/requests/__init__.py | 47099469dbedc6c6ed8da429b500aeb810dd6815 | [
"MIT"
] | permissive | osamhack2021/APP_IOT_MealScan_FOODFIGHTERS | ce3c70e61937a8d2dbce967ec4067118e940118b | 8b412a4aab0406469201f9330f350049bb368890 | refs/heads/master | 2023-08-23T03:05:28.478106 | 2021-10-20T14:59:42 | 2021-10-20T14:59:42 | 409,421,591 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 21,414 | py | # Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""``requests`` utilities for Google Media Downloads and Resumable Uploads.
This sub-package assumes callers will use the `requests`_ library
as transport and `google-auth`_ for sending authenticated HTTP traffic
with ``requests``.
.. _requests: http://docs.python-requests.org/
.. _google-auth: https://google-auth.readthedocs.io/
====================
Authorized Transport
====================
To use ``google-auth`` and ``requests`` to create an authorized transport
that has read-only access to Google Cloud Storage (GCS):
.. testsetup:: get-credentials
import google.auth
import google.auth.credentials as creds_mod
import mock
def mock_default(scopes=None):
credentials = mock.Mock(spec=creds_mod.Credentials)
return credentials, 'mock-project'
# Patch the ``default`` function on the module.
original_default = google.auth.default
google.auth.default = mock_default
.. doctest:: get-credentials
>>> import google.auth
>>> import google.auth.transport.requests as tr_requests
>>>
>>> ro_scope = 'https://www.googleapis.com/auth/devstorage.read_only'
>>> credentials, _ = google.auth.default(scopes=(ro_scope,))
>>> transport = tr_requests.AuthorizedSession(credentials)
>>> transport
<google.auth.transport.requests.AuthorizedSession object at 0x...>
.. testcleanup:: get-credentials
# Put back the correct ``default`` function on the module.
google.auth.default = original_default
================
Simple Downloads
================
To download an object from Google Cloud Storage, construct the media URL
for the GCS object and download it with an authorized transport that has
access to the resource:
.. testsetup:: basic-download
import mock
import requests
import http.client
bucket = 'bucket-foo'
blob_name = 'file.txt'
fake_response = requests.Response()
fake_response.status_code = int(http.client.OK)
fake_response.headers['Content-Length'] = '1364156'
fake_content = mock.MagicMock(spec=['__len__'])
fake_content.__len__.return_value = 1364156
fake_response._content = fake_content
get_method = mock.Mock(return_value=fake_response, spec=[])
transport = mock.Mock(request=get_method, spec=['request'])
.. doctest:: basic-download
>>> from google.resumable_media.requests import Download
>>>
>>> url_template = (
... 'https://www.googleapis.com/download/storage/v1/b/'
... '{bucket}/o/{blob_name}?alt=media')
>>> media_url = url_template.format(
... bucket=bucket, blob_name=blob_name)
>>>
>>> download = Download(media_url)
>>> response = download.consume(transport)
>>> download.finished
True
>>> response
<Response [200]>
>>> response.headers['Content-Length']
'1364156'
>>> len(response.content)
1364156
To download only a portion of the bytes in the object,
specify ``start`` and ``end`` byte positions (both optional):
.. testsetup:: basic-download-with-slice
import mock
import requests
import http.client
from google.resumable_media.requests import Download
media_url = 'http://test.invalid'
start = 4096
end = 8191
slice_size = end - start + 1
fake_response = requests.Response()
fake_response.status_code = int(http.client.PARTIAL_CONTENT)
fake_response.headers['Content-Length'] = '{:d}'.format(slice_size)
content_range = 'bytes {:d}-{:d}/1364156'.format(start, end)
fake_response.headers['Content-Range'] = content_range
fake_content = mock.MagicMock(spec=['__len__'])
fake_content.__len__.return_value = slice_size
fake_response._content = fake_content
get_method = mock.Mock(return_value=fake_response, spec=[])
transport = mock.Mock(request=get_method, spec=['request'])
.. doctest:: basic-download-with-slice
>>> download = Download(media_url, start=4096, end=8191)
>>> response = download.consume(transport)
>>> download.finished
True
>>> response
<Response [206]>
>>> response.headers['Content-Length']
'4096'
>>> response.headers['Content-Range']
'bytes 4096-8191/1364156'
>>> len(response.content)
4096
=================
Chunked Downloads
=================
For very large objects or objects of unknown size, it may make more sense
to download the object in chunks rather than all at once. This can be done
to avoid dropped connections with a poor internet connection or can allow
multiple chunks to be downloaded in parallel to speed up the total
download.
A :class:`.ChunkedDownload` uses the same media URL and authorized
transport that a basic :class:`.Download` would use, but also
requires a chunk size and a write-able byte ``stream``. The chunk size is used
to determine how much of the resouce to consume with each request and the
stream is to allow the resource to be written out (e.g. to disk) without
having to fit in memory all at once.
.. testsetup:: chunked-download
import io
import mock
import requests
import http.client
media_url = 'http://test.invalid'
fifty_mb = 50 * 1024 * 1024
one_gb = 1024 * 1024 * 1024
fake_response = requests.Response()
fake_response.status_code = int(http.client.PARTIAL_CONTENT)
fake_response.headers['Content-Length'] = '{:d}'.format(fifty_mb)
content_range = 'bytes 0-{:d}/{:d}'.format(fifty_mb - 1, one_gb)
fake_response.headers['Content-Range'] = content_range
fake_content_begin = b'The beginning of the chunk...'
fake_content = fake_content_begin + b'1' * (fifty_mb - 29)
fake_response._content = fake_content
get_method = mock.Mock(return_value=fake_response, spec=[])
transport = mock.Mock(request=get_method, spec=['request'])
.. doctest:: chunked-download
>>> from google.resumable_media.requests import ChunkedDownload
>>>
>>> chunk_size = 50 * 1024 * 1024 # 50MB
>>> stream = io.BytesIO()
>>> download = ChunkedDownload(
... media_url, chunk_size, stream)
>>> # Check the state of the download before starting.
>>> download.bytes_downloaded
0
>>> download.total_bytes is None
True
>>> response = download.consume_next_chunk(transport)
>>> # Check the state of the download after consuming one chunk.
>>> download.finished
False
>>> download.bytes_downloaded # chunk_size
52428800
>>> download.total_bytes # 1GB
1073741824
>>> response
<Response [206]>
>>> response.headers['Content-Length']
'52428800'
>>> response.headers['Content-Range']
'bytes 0-52428799/1073741824'
>>> len(response.content) == chunk_size
True
>>> stream.seek(0)
0
>>> stream.read(29)
b'The beginning of the chunk...'
The download will change it's ``finished`` status to :data:`True`
once the final chunk is consumed. In some cases, the final chunk may
not be the same size as the other chunks:
.. testsetup:: chunked-download-end
import mock
import requests
import http.client
from google.resumable_media.requests import ChunkedDownload
media_url = 'http://test.invalid'
fifty_mb = 50 * 1024 * 1024
one_gb = 1024 * 1024 * 1024
stream = mock.Mock(spec=['write'])
download = ChunkedDownload(media_url, fifty_mb, stream)
download._bytes_downloaded = 20 * fifty_mb
download._total_bytes = one_gb
fake_response = requests.Response()
fake_response.status_code = int(http.client.PARTIAL_CONTENT)
slice_size = one_gb - 20 * fifty_mb
fake_response.headers['Content-Length'] = '{:d}'.format(slice_size)
content_range = 'bytes {:d}-{:d}/{:d}'.format(
20 * fifty_mb, one_gb - 1, one_gb)
fake_response.headers['Content-Range'] = content_range
fake_content = mock.MagicMock(spec=['__len__'])
fake_content.__len__.return_value = slice_size
fake_response._content = fake_content
get_method = mock.Mock(return_value=fake_response, spec=[])
transport = mock.Mock(request=get_method, spec=['request'])
.. doctest:: chunked-download-end
>>> # The state of the download in progress.
>>> download.finished
False
>>> download.bytes_downloaded # 20 chunks at 50MB
1048576000
>>> download.total_bytes # 1GB
1073741824
>>> response = download.consume_next_chunk(transport)
>>> # The state of the download after consuming the final chunk.
>>> download.finished
True
>>> download.bytes_downloaded == download.total_bytes
True
>>> response
<Response [206]>
>>> response.headers['Content-Length']
'25165824'
>>> response.headers['Content-Range']
'bytes 1048576000-1073741823/1073741824'
>>> len(response.content) < download.chunk_size
True
In addition, a :class:`.ChunkedDownload` can also take optional
``start`` and ``end`` byte positions.
==============
Simple Uploads
==============
Among the three supported upload classes, the simplest is
:class:`.SimpleUpload`. A simple upload should be used when the resource
being uploaded is small and when there is no metadata (other than the name)
associated with the resource.
.. testsetup:: simple-upload
import json
import mock
import requests
import http.client
bucket = 'some-bucket'
blob_name = 'file.txt'
fake_response = requests.Response()
fake_response.status_code = int(http.client.OK)
payload = {
'bucket': bucket,
'contentType': 'text/plain',
'md5Hash': 'M0XLEsX9/sMdiI+4pB4CAQ==',
'name': blob_name,
'size': '27',
}
fake_response._content = json.dumps(payload).encode('utf-8')
post_method = mock.Mock(return_value=fake_response, spec=[])
transport = mock.Mock(request=post_method, spec=['request'])
.. doctest:: simple-upload
:options: +NORMALIZE_WHITESPACE
>>> from google.resumable_media.requests import SimpleUpload
>>>
>>> url_template = (
... 'https://www.googleapis.com/upload/storage/v1/b/{bucket}/o?'
... 'uploadType=media&'
... 'name={blob_name}')
>>> upload_url = url_template.format(
... bucket=bucket, blob_name=blob_name)
>>>
>>> upload = SimpleUpload(upload_url)
>>> data = b'Some not too large content.'
>>> content_type = 'text/plain'
>>> response = upload.transmit(transport, data, content_type)
>>> upload.finished
True
>>> response
<Response [200]>
>>> json_response = response.json()
>>> json_response['bucket'] == bucket
True
>>> json_response['name'] == blob_name
True
>>> json_response['contentType'] == content_type
True
>>> json_response['md5Hash']
'M0XLEsX9/sMdiI+4pB4CAQ=='
>>> int(json_response['size']) == len(data)
True
In the rare case that an upload fails, an :exc:`.InvalidResponse`
will be raised:
.. testsetup:: simple-upload-fail
import time
import mock
import requests
import http.client
from google import resumable_media
from google.resumable_media import _helpers
from google.resumable_media.requests import SimpleUpload as constructor
upload_url = 'http://test.invalid'
data = b'Some not too large content.'
content_type = 'text/plain'
fake_response = requests.Response()
fake_response.status_code = int(http.client.SERVICE_UNAVAILABLE)
post_method = mock.Mock(return_value=fake_response, spec=[])
transport = mock.Mock(request=post_method, spec=['request'])
time_sleep = time.sleep
def dont_sleep(seconds):
raise RuntimeError('No sleep', seconds)
def SimpleUpload(*args, **kwargs):
upload = constructor(*args, **kwargs)
# Mock the cumulative sleep to avoid retries (and `time.sleep()`).
upload._retry_strategy = resumable_media.RetryStrategy(
max_cumulative_retry=-1.0)
return upload
time.sleep = dont_sleep
.. doctest:: simple-upload-fail
:options: +NORMALIZE_WHITESPACE
>>> upload = SimpleUpload(upload_url)
>>> error = None
>>> try:
... upload.transmit(transport, data, content_type)
... except resumable_media.InvalidResponse as caught_exc:
... error = caught_exc
...
>>> error
InvalidResponse('Request failed with status code', 503,
'Expected one of', <HTTPStatus.OK: 200>)
>>> error.response
<Response [503]>
>>>
>>> upload.finished
True
.. testcleanup:: simple-upload-fail
# Put back the correct ``sleep`` function on the ``time`` module.
time.sleep = time_sleep
Even in the case of failure, we see that the upload is
:attr:`~.SimpleUpload.finished`, i.e. it cannot be re-used.
=================
Multipart Uploads
=================
After the simple upload, the :class:`.MultipartUpload` can be used to
achieve essentially the same task. However, a multipart upload allows some
metadata about the resource to be sent along as well. (This is the "multi":
we send a first part with the metadata and a second part with the actual
bytes in the resource.)
Usage is similar to the simple upload, but :meth:`~.MultipartUpload.transmit`
accepts an extra required argument: ``metadata``.
.. testsetup:: multipart-upload
import json
import mock
import requests
import http.client
bucket = 'some-bucket'
blob_name = 'file.txt'
data = b'Some not too large content.'
content_type = 'text/plain'
fake_response = requests.Response()
fake_response.status_code = int(http.client.OK)
payload = {
'bucket': bucket,
'name': blob_name,
'metadata': {'color': 'grurple'},
}
fake_response._content = json.dumps(payload).encode('utf-8')
post_method = mock.Mock(return_value=fake_response, spec=[])
transport = mock.Mock(request=post_method, spec=['request'])
.. doctest:: multipart-upload
>>> from google.resumable_media.requests import MultipartUpload
>>>
>>> url_template = (
... 'https://www.googleapis.com/upload/storage/v1/b/{bucket}/o?'
... 'uploadType=multipart')
>>> upload_url = url_template.format(bucket=bucket)
>>>
>>> upload = MultipartUpload(upload_url)
>>> metadata = {
... 'name': blob_name,
... 'metadata': {
... 'color': 'grurple',
... },
... }
>>> response = upload.transmit(transport, data, metadata, content_type)
>>> upload.finished
True
>>> response
<Response [200]>
>>> json_response = response.json()
>>> json_response['bucket'] == bucket
True
>>> json_response['name'] == blob_name
True
>>> json_response['metadata'] == metadata['metadata']
True
As with the simple upload, in the case of failure an :exc:`.InvalidResponse`
is raised, enclosing the :attr:`~.InvalidResponse.response` that caused
the failure and the ``upload`` object cannot be re-used after a failure.
=================
Resumable Uploads
=================
A :class:`.ResumableUpload` deviates from the other two upload classes:
it transmits a resource over the course of multiple requests. This
is intended to be used in cases where:
* the size of the resource is not known (i.e. it is generated on the fly)
* requests must be short-lived
* the client has request **size** limitations
* the resource is too large to fit into memory
In general, a resource should be sent in a **single** request to avoid
latency and reduce QPS. See `GCS best practices`_ for more things to
consider when using a resumable upload.
.. _GCS best practices: https://cloud.google.com/storage/docs/\
best-practices#uploading
After creating a :class:`.ResumableUpload` instance, a
**resumable upload session** must be initiated to let the server know that
a series of chunked upload requests will be coming and to obtain an
``upload_id`` for the session. In contrast to the other two upload classes,
:meth:`~.ResumableUpload.initiate` takes a byte ``stream`` as input rather
than raw bytes as ``data``. This can be a file object, a :class:`~io.BytesIO`
object or any other stream implementing the same interface.
.. testsetup:: resumable-initiate
import io
import mock
import requests
import http.client
bucket = 'some-bucket'
blob_name = 'file.txt'
data = b'Some resumable bytes.'
content_type = 'text/plain'
fake_response = requests.Response()
fake_response.status_code = int(http.client.OK)
fake_response._content = b''
upload_id = 'ABCdef189XY_super_serious'
resumable_url_template = (
'https://www.googleapis.com/upload/storage/v1/b/{bucket}'
'/o?uploadType=resumable&upload_id={upload_id}')
resumable_url = resumable_url_template.format(
bucket=bucket, upload_id=upload_id)
fake_response.headers['location'] = resumable_url
fake_response.headers['x-guploader-uploadid'] = upload_id
post_method = mock.Mock(return_value=fake_response, spec=[])
transport = mock.Mock(request=post_method, spec=['request'])
.. doctest:: resumable-initiate
>>> from google.resumable_media.requests import ResumableUpload
>>>
>>> url_template = (
... 'https://www.googleapis.com/upload/storage/v1/b/{bucket}/o?'
... 'uploadType=resumable')
>>> upload_url = url_template.format(bucket=bucket)
>>>
>>> chunk_size = 1024 * 1024 # 1MB
>>> upload = ResumableUpload(upload_url, chunk_size)
>>> stream = io.BytesIO(data)
>>> # The upload doesn't know how "big" it is until seeing a stream.
>>> upload.total_bytes is None
True
>>> metadata = {'name': blob_name}
>>> response = upload.initiate(transport, stream, metadata, content_type)
>>> response
<Response [200]>
>>> upload.resumable_url == response.headers['Location']
True
>>> upload.total_bytes == len(data)
True
>>> upload_id = response.headers['X-GUploader-UploadID']
>>> upload_id
'ABCdef189XY_super_serious'
>>> upload.resumable_url == upload_url + '&upload_id=' + upload_id
True
Once a :class:`.ResumableUpload` has been initiated, the resource is
transmitted in chunks until completion:
.. testsetup:: resumable-transmit
import io
import json
import mock
import requests
import http.client
from google import resumable_media
import google.resumable_media.requests.upload as upload_mod
data = b'01234567891'
stream = io.BytesIO(data)
# Create an "already initiated" upload.
upload_url = 'http://test.invalid'
chunk_size = 256 * 1024 # 256KB
upload = upload_mod.ResumableUpload(upload_url, chunk_size)
upload._resumable_url = 'http://test.invalid?upload_id=mocked'
upload._stream = stream
upload._content_type = 'text/plain'
upload._total_bytes = len(data)
# After-the-fact update the chunk size so that len(data)
# is split into three.
upload._chunk_size = 4
# Make three fake responses.
fake_response0 = requests.Response()
fake_response0.status_code = http.client.PERMANENT_REDIRECT
fake_response0.headers['range'] = 'bytes=0-3'
fake_response1 = requests.Response()
fake_response1.status_code = http.client.PERMANENT_REDIRECT
fake_response1.headers['range'] = 'bytes=0-7'
fake_response2 = requests.Response()
fake_response2.status_code = int(http.client.OK)
bucket = 'some-bucket'
blob_name = 'file.txt'
payload = {
'bucket': bucket,
'name': blob_name,
'size': '{:d}'.format(len(data)),
}
fake_response2._content = json.dumps(payload).encode('utf-8')
# Use the fake responses to mock a transport.
responses = [fake_response0, fake_response1, fake_response2]
put_method = mock.Mock(side_effect=responses, spec=[])
transport = mock.Mock(request=put_method, spec=['request'])
.. doctest:: resumable-transmit
>>> response0 = upload.transmit_next_chunk(transport)
>>> response0
<Response [HTTPStatus.PERMANENT_REDIRECT]>
>>> upload.finished
False
>>> upload.bytes_uploaded == upload.chunk_size
True
>>>
>>> response1 = upload.transmit_next_chunk(transport)
>>> response1
<Response [HTTPStatus.PERMANENT_REDIRECT]>
>>> upload.finished
False
>>> upload.bytes_uploaded == 2 * upload.chunk_size
True
>>>
>>> response2 = upload.transmit_next_chunk(transport)
>>> response2
<Response [200]>
>>> upload.finished
True
>>> upload.bytes_uploaded == upload.total_bytes
True
>>> json_response = response2.json()
>>> json_response['bucket'] == bucket
True
>>> json_response['name'] == blob_name
True
"""
from google.resumable_media.requests.download import ChunkedDownload
from google.resumable_media.requests.download import Download
from google.resumable_media.requests.upload import MultipartUpload
from google.resumable_media.requests.download import RawChunkedDownload
from google.resumable_media.requests.download import RawDownload
from google.resumable_media.requests.upload import ResumableUpload
from google.resumable_media.requests.upload import SimpleUpload
__all__ = [
"ChunkedDownload",
"Download",
"MultipartUpload",
"RawChunkedDownload",
"RawDownload",
"ResumableUpload",
"SimpleUpload",
]
| [
"noreply@github.com"
] | osamhack2021.noreply@github.com |
2805648cf3c4881c987e5e9850dbfd072aabc682 | a9023ac103a9191fdf41980515f570ba3d5b865c | /3rdParty/PythonMarketsharp/openapi_client/models/inquiry_resource_model.py | df8a908937c3ebc370503e1918a4f348f568a471 | [] | no_license | AdamManuel-dev/JSON-Schema-CLI | 1470e5f7eb82ec4dd9b92365cc0200a014f7bed8 | e01e24d5a347fdc50cae7fdae4792ed8bfc89704 | refs/heads/main | 2023-01-27T20:52:41.012404 | 2020-12-01T03:30:44 | 2020-12-01T03:30:44 | 317,414,476 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 13,839 | py | # coding: utf-8
"""
MarketSharp CRM API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from openapi_client.configuration import Configuration
class InquiryResourceModel(object):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
openapi_types = {
'id': 'str',
'contact_id': 'str',
'inquiry_date_time': 'datetime',
'taken_by': 'str',
'division': 'str',
'primary_lead_source': 'str',
'secondary_lead_source': 'str',
'canvasser': 'str',
'telemarketer': 'str',
'promoter': 'str',
'notes': 'str',
'product_interests': 'str',
'lead_paint_year_home_built': 'str',
'last_modified_date_time': 'datetime'
}
attribute_map = {
'id': 'id',
'contact_id': 'contactId',
'inquiry_date_time': 'inquiryDateTime',
'taken_by': 'takenBy',
'division': 'division',
'primary_lead_source': 'primaryLeadSource',
'secondary_lead_source': 'secondaryLeadSource',
'canvasser': 'canvasser',
'telemarketer': 'telemarketer',
'promoter': 'promoter',
'notes': 'notes',
'product_interests': 'productInterests',
'lead_paint_year_home_built': 'leadPaintYearHomeBuilt',
'last_modified_date_time': 'lastModifiedDateTime'
}
def __init__(self, id=None, contact_id=None, inquiry_date_time=None, taken_by=None, division=None, primary_lead_source=None, secondary_lead_source=None, canvasser=None, telemarketer=None, promoter=None, notes=None, product_interests=None, lead_paint_year_home_built=None, last_modified_date_time=None, local_vars_configuration=None): # noqa: E501
"""InquiryResourceModel - a model defined in OpenAPI""" # noqa: E501
if local_vars_configuration is None:
local_vars_configuration = Configuration()
self.local_vars_configuration = local_vars_configuration
self._id = None
self._contact_id = None
self._inquiry_date_time = None
self._taken_by = None
self._division = None
self._primary_lead_source = None
self._secondary_lead_source = None
self._canvasser = None
self._telemarketer = None
self._promoter = None
self._notes = None
self._product_interests = None
self._lead_paint_year_home_built = None
self._last_modified_date_time = None
self.discriminator = None
if id is not None:
self.id = id
if contact_id is not None:
self.contact_id = contact_id
if inquiry_date_time is not None:
self.inquiry_date_time = inquiry_date_time
if taken_by is not None:
self.taken_by = taken_by
if division is not None:
self.division = division
if primary_lead_source is not None:
self.primary_lead_source = primary_lead_source
if secondary_lead_source is not None:
self.secondary_lead_source = secondary_lead_source
if canvasser is not None:
self.canvasser = canvasser
if telemarketer is not None:
self.telemarketer = telemarketer
if promoter is not None:
self.promoter = promoter
if notes is not None:
self.notes = notes
if product_interests is not None:
self.product_interests = product_interests
if lead_paint_year_home_built is not None:
self.lead_paint_year_home_built = lead_paint_year_home_built
if last_modified_date_time is not None:
self.last_modified_date_time = last_modified_date_time
@property
def id(self):
"""Gets the id of this InquiryResourceModel. # noqa: E501
:return: The id of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._id
@id.setter
def id(self, id):
"""Sets the id of this InquiryResourceModel.
:param id: The id of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._id = id
@property
def contact_id(self):
"""Gets the contact_id of this InquiryResourceModel. # noqa: E501
:return: The contact_id of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._contact_id
@contact_id.setter
def contact_id(self, contact_id):
"""Sets the contact_id of this InquiryResourceModel.
:param contact_id: The contact_id of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._contact_id = contact_id
@property
def inquiry_date_time(self):
"""Gets the inquiry_date_time of this InquiryResourceModel. # noqa: E501
:return: The inquiry_date_time of this InquiryResourceModel. # noqa: E501
:rtype: datetime
"""
return self._inquiry_date_time
@inquiry_date_time.setter
def inquiry_date_time(self, inquiry_date_time):
"""Sets the inquiry_date_time of this InquiryResourceModel.
:param inquiry_date_time: The inquiry_date_time of this InquiryResourceModel. # noqa: E501
:type: datetime
"""
self._inquiry_date_time = inquiry_date_time
@property
def taken_by(self):
"""Gets the taken_by of this InquiryResourceModel. # noqa: E501
:return: The taken_by of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._taken_by
@taken_by.setter
def taken_by(self, taken_by):
"""Sets the taken_by of this InquiryResourceModel.
:param taken_by: The taken_by of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._taken_by = taken_by
@property
def division(self):
"""Gets the division of this InquiryResourceModel. # noqa: E501
:return: The division of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._division
@division.setter
def division(self, division):
"""Sets the division of this InquiryResourceModel.
:param division: The division of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._division = division
@property
def primary_lead_source(self):
"""Gets the primary_lead_source of this InquiryResourceModel. # noqa: E501
:return: The primary_lead_source of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._primary_lead_source
@primary_lead_source.setter
def primary_lead_source(self, primary_lead_source):
"""Sets the primary_lead_source of this InquiryResourceModel.
:param primary_lead_source: The primary_lead_source of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._primary_lead_source = primary_lead_source
@property
def secondary_lead_source(self):
"""Gets the secondary_lead_source of this InquiryResourceModel. # noqa: E501
:return: The secondary_lead_source of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._secondary_lead_source
@secondary_lead_source.setter
def secondary_lead_source(self, secondary_lead_source):
"""Sets the secondary_lead_source of this InquiryResourceModel.
:param secondary_lead_source: The secondary_lead_source of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._secondary_lead_source = secondary_lead_source
@property
def canvasser(self):
"""Gets the canvasser of this InquiryResourceModel. # noqa: E501
:return: The canvasser of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._canvasser
@canvasser.setter
def canvasser(self, canvasser):
"""Sets the canvasser of this InquiryResourceModel.
:param canvasser: The canvasser of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._canvasser = canvasser
@property
def telemarketer(self):
"""Gets the telemarketer of this InquiryResourceModel. # noqa: E501
:return: The telemarketer of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._telemarketer
@telemarketer.setter
def telemarketer(self, telemarketer):
"""Sets the telemarketer of this InquiryResourceModel.
:param telemarketer: The telemarketer of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._telemarketer = telemarketer
@property
def promoter(self):
"""Gets the promoter of this InquiryResourceModel. # noqa: E501
:return: The promoter of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._promoter
@promoter.setter
def promoter(self, promoter):
"""Sets the promoter of this InquiryResourceModel.
:param promoter: The promoter of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._promoter = promoter
@property
def notes(self):
"""Gets the notes of this InquiryResourceModel. # noqa: E501
:return: The notes of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._notes
@notes.setter
def notes(self, notes):
"""Sets the notes of this InquiryResourceModel.
:param notes: The notes of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._notes = notes
@property
def product_interests(self):
"""Gets the product_interests of this InquiryResourceModel. # noqa: E501
:return: The product_interests of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._product_interests
@product_interests.setter
def product_interests(self, product_interests):
"""Sets the product_interests of this InquiryResourceModel.
:param product_interests: The product_interests of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._product_interests = product_interests
@property
def lead_paint_year_home_built(self):
"""Gets the lead_paint_year_home_built of this InquiryResourceModel. # noqa: E501
:return: The lead_paint_year_home_built of this InquiryResourceModel. # noqa: E501
:rtype: str
"""
return self._lead_paint_year_home_built
@lead_paint_year_home_built.setter
def lead_paint_year_home_built(self, lead_paint_year_home_built):
"""Sets the lead_paint_year_home_built of this InquiryResourceModel.
:param lead_paint_year_home_built: The lead_paint_year_home_built of this InquiryResourceModel. # noqa: E501
:type: str
"""
self._lead_paint_year_home_built = lead_paint_year_home_built
@property
def last_modified_date_time(self):
"""Gets the last_modified_date_time of this InquiryResourceModel. # noqa: E501
:return: The last_modified_date_time of this InquiryResourceModel. # noqa: E501
:rtype: datetime
"""
return self._last_modified_date_time
@last_modified_date_time.setter
def last_modified_date_time(self, last_modified_date_time):
"""Sets the last_modified_date_time of this InquiryResourceModel.
:param last_modified_date_time: The last_modified_date_time of this InquiryResourceModel. # noqa: E501
:type: datetime
"""
self._last_modified_date_time = last_modified_date_time
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.openapi_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
result[attr] = value
return result
def to_str(self):
"""Returns the string representation of the model"""
return pprint.pformat(self.to_dict())
def __repr__(self):
"""For `print` and `pprint`"""
return self.to_str()
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, InquiryResourceModel):
return False
return self.to_dict() == other.to_dict()
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, InquiryResourceModel):
return True
return self.to_dict() != other.to_dict()
| [
"adam@augmenteddestiny.com"
] | adam@augmenteddestiny.com |
e00e5df4509aed4a09477bb1bc2ad7c0e5f5fff5 | 2eff2b24d5b6f5dffc42c9cbde6102ec9317502f | /src/T9Spelling.py | 04997355d835a2b5a70d0d166c4eac25c5102a5c | [] | no_license | JakobKallestad/Python-Kattis | 599a14e71a8d5c52aae779b8db3d35f0e4d01e88 | 51656964e79cc861e53f574785aacb213ef10b46 | refs/heads/master | 2022-10-24T23:12:45.599813 | 2021-12-08T12:31:54 | 2021-12-08T12:31:54 | 156,881,692 | 2 | 1 | null | 2022-10-02T12:36:57 | 2018-11-09T15:34:09 | Python | UTF-8 | Python | false | false | 672 | py | n = int(input())
char_to_press = {'a': 2, 'b': 22, 'c': 222, 'd': 3, 'e': 33, 'f': 333, 'g': 4, 'h': 44, 'i': 444, 'j': 5, 'k': 55,
'l': 555, 'm': 6, 'n': 66, 'o': 666, 'p': 7, 'q': 77, 'r': 777, 's': 7777, 't': 8, 'u': 88, 'v': 888,
'w': 9, 'x': 99, 'y': 999, 'z': 9999, ' ': 0}
for i in range(1, n+1):
print("Case #{}:".format(i), end=' ')
line = input()
pressed = []
prev = None
for c in line:
if prev is not None and char_to_press[c] % 10 == char_to_press[prev] % 10:
pressed.append(" ")
pressed.append(char_to_press[c])
prev = c
print(''.join([str(c) for c in pressed]))
| [
"Jakob.Kallestad@student.uib.no"
] | Jakob.Kallestad@student.uib.no |
e3a65c62c48f14dde0121fa8f6f27e317cbc37ab | 325b5bec55a4128d9f41a5b41a835e792089ed18 | /server/data_models/stock_exchange.py | d764531482f21d49a061b697e6b4f25b72f71da3 | [] | no_license | webclinic017/stock-portfolio | ffe02e63146bec89fce2d32959a89fb6de7395aa | 96f75839a265b9c5d74bbc060791dc7a3f8b0608 | refs/heads/master | 2022-12-12T07:08:53.687145 | 2020-08-25T19:21:28 | 2020-08-25T19:21:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 586 | py | from sqlalchemy import Column
from sqlalchemy import Integer
from sqlalchemy import String
from server.database import Base
class StockExchange(Base):
"""The exchange table tracks the various stock exchanges supported by our
web application
"""
__tablename__ = "stock_exchange"
__table_args__ = {"extend_existing": True}
id = Column(Integer, primary_key=True)
name = Column(String, nullable=False, unique=True, index=True)
def __init__(self, name: str):
self.name = name
def __repr__(self):
return f"StockExchange({self.name})"
| [
"gauravkeswani92@gmail.com"
] | gauravkeswani92@gmail.com |
07f68ec9ebd11d67b6a6784f71c6831ffa42760a | e0ff1a73d0285abd0d877e1ce818b944f69f1c9b | /lassonet/utils.py | e3647dcf816e9b708bf6514177d6d18ecaf1898b | [
"MIT"
] | permissive | madwsa/lassonet | a8213a0967ad5887cd21adc80f734223d1982334 | cf7d5ef97acfc0d6fc05c50a257702203b0f5938 | refs/heads/master | 2023-05-06T19:38:54.355922 | 2021-05-25T15:40:40 | 2021-05-25T15:40:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,129 | py | import matplotlib.pyplot as plt
def plot_path(model, path, X_test, y_test):
"""
Plot the evolution of the model on the path, namely:
- lambda
- number of selected variables
- score
Parameters
==========
model : LassoNetClassifier or LassoNetRegressor
path
output of model.path
X_test : array-like
y_test : array-like
"""
n_selected = []
score = []
lambda_ = []
for save in path:
model.load(save.state_dict)
n_selected.append(save.selected.sum())
score.append(model.score(X_test, y_test))
lambda_.append(save.lambda_)
plt.figure(figsize=(12, 12))
plt.subplot(311)
plt.grid(True)
plt.plot(n_selected, score, ".-")
plt.xlabel("number of selected features")
plt.ylabel("score")
plt.subplot(312)
plt.grid(True)
plt.plot(lambda_, score, ".-")
plt.xlabel("lambda")
plt.xscale("log")
plt.ylabel("score")
plt.subplot(313)
plt.grid(True)
plt.plot(lambda_, n_selected, ".-")
plt.xlabel("lambda")
plt.xscale("log")
plt.ylabel("number of selected features")
| [
"louis.abraham@yahoo.fr"
] | louis.abraham@yahoo.fr |
7ed45c2a5ffe2470674a5325595dae4022564101 | 1bbc16d711c11a8136517e6479ea880c33ac3275 | /kubernetes/client/models/v1beta1_priority_level_configuration_status.py | 34dadf019c30bc0de5967459946d08d555cab40d | [
"Apache-2.0"
] | permissive | brendandburns/python | 79b20dd47f8670012dce45946760f7135ac76ff8 | c9ad88301ed53733589adc6ade90ffc6e977e668 | refs/heads/master | 2022-12-25T14:47:42.970145 | 2022-06-16T22:09:26 | 2022-06-17T15:11:26 | 140,949,818 | 2 | 2 | Apache-2.0 | 2022-12-14T03:09:05 | 2018-07-14T13:51:16 | Python | UTF-8 | Python | false | false | 3,901 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.24
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubernetes.client.configuration import Configuration
class V1beta1PriorityLevelConfigurationStatus(object):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
openapi_types = {
'conditions': 'list[V1beta1PriorityLevelConfigurationCondition]'
}
attribute_map = {
'conditions': 'conditions'
}
def __init__(self, conditions=None, local_vars_configuration=None): # noqa: E501
"""V1beta1PriorityLevelConfigurationStatus - a model defined in OpenAPI""" # noqa: E501
if local_vars_configuration is None:
local_vars_configuration = Configuration()
self.local_vars_configuration = local_vars_configuration
self._conditions = None
self.discriminator = None
if conditions is not None:
self.conditions = conditions
@property
def conditions(self):
"""Gets the conditions of this V1beta1PriorityLevelConfigurationStatus. # noqa: E501
`conditions` is the current state of \"request-priority\". # noqa: E501
:return: The conditions of this V1beta1PriorityLevelConfigurationStatus. # noqa: E501
:rtype: list[V1beta1PriorityLevelConfigurationCondition]
"""
return self._conditions
@conditions.setter
def conditions(self, conditions):
"""Sets the conditions of this V1beta1PriorityLevelConfigurationStatus.
`conditions` is the current state of \"request-priority\". # noqa: E501
:param conditions: The conditions of this V1beta1PriorityLevelConfigurationStatus. # noqa: E501
:type: list[V1beta1PriorityLevelConfigurationCondition]
"""
self._conditions = conditions
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.openapi_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
result[attr] = value
return result
def to_str(self):
"""Returns the string representation of the model"""
return pprint.pformat(self.to_dict())
def __repr__(self):
"""For `print` and `pprint`"""
return self.to_str()
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1beta1PriorityLevelConfigurationStatus):
return False
return self.to_dict() == other.to_dict()
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1beta1PriorityLevelConfigurationStatus):
return True
return self.to_dict() != other.to_dict()
| [
"yliao@google.com"
] | yliao@google.com |
52e9e84e4a9014b1e748f667e3d6955b5759b620 | 2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02 | /PyTorch/contrib/cv/detection/Cascade_RCNN/detectron2/structures/instances.py | 68c2831891d55d8f49d78d6ebaa7627184f7d453 | [
"GPL-1.0-or-later",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Ascend/ModelZoo-PyTorch | 4c89414b9e2582cef9926d4670108a090c839d2d | 92acc188d3a0f634de58463b6676e70df83ef808 | refs/heads/master | 2023-07-19T12:40:00.512853 | 2023-07-17T02:48:18 | 2023-07-17T02:48:18 | 483,502,469 | 23 | 6 | Apache-2.0 | 2022-10-15T09:29:12 | 2022-04-20T04:11:18 | Python | UTF-8 | Python | false | false | 6,625 | py | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import itertools
from typing import Any, Dict, List, Tuple, Union
import torch
class Instances:
"""
This class represents a list of instances in an image.
It stores the attributes of instances (e.g., boxes, masks, labels, scores) as "fields".
All fields must have the same ``__len__`` which is the number of instances.
All other (non-field) attributes of this class are considered private:
they must start with '_' and are not modifiable by a user.
Some basic usage:
1. Set/get/check a field:
.. code-block:: python
instances.gt_boxes = Boxes(...)
print(instances.pred_masks) # a tensor of shape (N, H, W)
print('gt_masks' in instances)
2. ``len(instances)`` returns the number of instances
3. Indexing: ``instances[indices]`` will apply the indexing on all the fields
and returns a new :class:`Instances`.
Typically, ``indices`` is a integer vector of indices,
or a binary mask of length ``num_instances``
"""
def __init__(self, image_size: Tuple[int, int], **kwargs: Any):
"""
Args:
image_size (height, width): the spatial size of the image.
kwargs: fields to add to this `Instances`.
"""
self._image_size = image_size
self._fields: Dict[str, Any] = {}
for k, v in kwargs.items():
self.set(k, v)
@property
def image_size(self) -> Tuple[int, int]:
"""
Returns:
tuple: height, width
"""
return self._image_size
def __setattr__(self, name: str, val: Any) -> None:
if name.startswith("_"):
super().__setattr__(name, val)
else:
self.set(name, val)
def __getattr__(self, name: str) -> Any:
if name == "_fields" or name not in self._fields:
raise AttributeError("Cannot find field '{}' in the given Instances!".format(name))
return self._fields[name]
def set(self, name: str, value: Any) -> None:
"""
Set the field named `name` to `value`.
The length of `value` must be the number of instances,
and must agree with other existing fields in this object.
"""
data_len = len(value)
self._fields[name] = value
def has(self, name: str) -> bool:
"""
Returns:
bool: whether the field called `name` exists.
"""
return name in self._fields
def remove(self, name: str) -> None:
"""
Remove the field called `name`.
"""
del self._fields[name]
def get(self, name: str) -> Any:
"""
Returns the field called `name`.
"""
return self._fields[name]
def get_fields(self) -> Dict[str, Any]:
"""
Returns:
dict: a dict which maps names (str) to data of the fields
Modifying the returned dict will modify this instance.
"""
return self._fields
# Tensor-like methods
def to(self, *args: Any, **kwargs: Any) -> "Instances":
"""
Returns:
Instances: all fields are called with a `to(device)`, if the field has this method.
"""
ret = Instances(self._image_size)
for k, v in self._fields.items():
if hasattr(v, "to"):
v = v.to(*args, **kwargs)
ret.set(k, v)
return ret
def __getitem__(self, item: Union[int, slice, torch.BoolTensor]) -> "Instances":
"""
Args:
item: an index-like object and will be used to index all the fields.
Returns:
If `item` is a string, return the data in the corresponding field.
Otherwise, returns an `Instances` where all fields are indexed by `item`.
"""
if type(item) == int:
if item >= len(self) or item < -len(self):
raise IndexError("Instances index out of range!")
else:
item = slice(item, None, len(self))
ret = Instances(self._image_size)
for k, v in self._fields.items():
ret.set(k, v[item])
return ret
def __len__(self) -> int:
for v in self._fields.values():
return len(v)
raise NotImplementedError("Empty Instances does not support __len__!")
def __iter__(self):
raise NotImplementedError("`Instances` object is not iterable!")
@staticmethod
def cat(instance_lists: List["Instances"]) -> "Instances":
"""
Args:
instance_lists (list[Instances])
Returns:
Instances
"""
assert all(isinstance(i, Instances) for i in instance_lists)
assert len(instance_lists) > 0
if len(instance_lists) == 1:
return instance_lists[0]
image_size = instance_lists[0].image_size
for i in instance_lists[1:]:
assert i.image_size == image_size
ret = Instances(image_size)
for k in instance_lists[0]._fields.keys():
values = [i.get(k).to(torch.float) for i in instance_lists]
v0 = values[0]
if isinstance(v0, torch.Tensor):
values = torch.cat(values, dim=0)
elif isinstance(v0, list):
values = list(itertools.chain(*values))
elif hasattr(type(v0), "cat"):
values = type(v0).cat(values)
else:
raise ValueError("Unsupported type {} for concatenation".format(type(v0)))
ret.set(k, values)
return ret
def __str__(self) -> str:
s = self.__class__.__name__ + "("
s += "num_instances={}, ".format(len(self))
s += "image_height={}, ".format(self._image_size[0])
s += "image_width={}, ".format(self._image_size[1])
s += "fields=[{}])".format(", ".join((f"{k}: {v}" for k, v in self._fields.items())))
return s
__repr__ = __str__
| [
"wangjiangben@huawei.com"
] | wangjiangben@huawei.com |
9cfcaaf57fb3d11308ffd137823efeb12281b4f3 | 466a8fdc272ed82336d8d40bb07d33385fb43ab7 | /data_science_helpers/data_engineering_helpers.py | c7782db0c72980507970c5fbca160fb3d092eb65 | [
"MIT"
] | permissive | ChristopherHaydenTodd/ctodd-python-lib-data-science | 7e1b0e58fb2331dfff4740b2c9a118e5fbc5e038 | 04b0e4ed5e1a91902f3452503603edc8aea65d47 | refs/heads/master | 2020-04-22T19:00:31.401954 | 2019-04-19T21:27:03 | 2019-04-19T21:27:03 | 170,594,924 | 1 | 0 | MIT | 2019-04-19T21:27:04 | 2019-02-13T23:24:23 | Python | UTF-8 | Python | false | false | 13,356 | py | #!/usr/bin/env python3
"""
Library for Dealing with redundant Data Engineering Tasks. This will include
functions for tranforming dictionaries and PANDAS Dataframes
"""
# Python Library Imports
import sys
import os
import logging
import pandas as pd
import numpy as np
from sklearn.preprocessing import LabelEncoder
###
# Alter DataFrame Functions
###
def remove_overly_null_columns(df, percentage_null=.25):
"""
Purpose:
Remove columns with the count of null values
exceeds the passed in percentage. This defaults
to 25%.
Args:
df (Pandas DataFrame): DataFrame to remove columns
from
percentage_null (float): Percentage of null values
that will be the threshold for removing or
keeping columns. Defaults to .25 (25%)
Return
df (Pandas DataFrame): DataFrame with columns removed
based on thresholds
"""
logging.info('Removing Overly Null Columns from DataFrame')
logging.info(
'Null Percentage Set to {percentage}'.format(
percentage=percentage_null
)
)
columns_to_drop = []
for column in df.columns:
total_null = df[column].isnull().sum()
if (total_null / len(df.index)) > percentage_null:
columns_to_drop.append(column)
logging.info(
'Dropping Columns {column} due to high null counts'.format(
column=column
)
)
return df.drop(columns_to_drop, axis=1)
def remove_high_cardinality_numerical_columns(df, percentage_unique=1):
"""
Purpose:
Remove columns with the count of unique values
matches the count of rows. These are usually
unique identifiers (primary keys in a database)
that are not useful for modeling and can result
in poor model performance. percentage_unique
defaults to 100%, but this can be passed in
Args:
df (Pandas DataFrame): DataFrame to remove columns
from
percentage_unique (float): Percentage of null values
that will be the threshold for removing or
keeping columns. Defaults to 1 (100%)
Return
df (Pandas DataFrame): DataFrame with columns removed
based on thresholds
"""
logging.info('Removing Unique Identifiers from DataFrame')
logging.info(
'Uniqueness Percentage Set to {percentage}'.format(
percentage=percentage_unique
)
)
columns_to_drop = []
for column in df.columns:
count_unique = df[column].nunique()
if (count_unique / len(df.index)) >= percentage_unique:
columns_to_drop.append(column)
logging.info(
'Dropping Columns {column} due to high uniqueness'.format(
column=column
)
)
return df.drop(columns_to_drop, axis=1)
def remove_high_cardinality_categorical_columns(df, max_unique_values=20):
"""
Purpose:
Remove columns with the count of unique values
for categorical columns are over a specified threshold.
These values are difficult to transform into dummies,
and would not work for logistic/linear regression.
Args:
df (Pandas DataFrame): DataFrame to remove columns
from
max_unique_values (int): Integer of unique values
that is the threshold to remove column
Return
df (Pandas DataFrame): DataFrame with columns removed
based on thresholds
"""
logging.info(
'Removing Categorical Columns with a large number of '
'options from DataFrame'
)
logging.info(
'Uniqueness Threshold Set to {max_unique_values}'.format(
max_unique_values=max_unique_values
)
)
columns_to_drop = []
for column in get_categorical_columns(df):
if df[column].nunique() > max_unique_values:
columns_to_drop.append(column)
logging.info(
'Dropping Columns {column} due to too many '
'possibilities for categorical dataset'.format(
column=column
)
)
return df.drop(columns_to_drop, axis=1)
def remove_single_value_columns(df):
"""
Purpose:
Remove columns with a single value
Args:
df (Pandas DataFrame): DataFrame to remove columns
from
Return
df (Pandas DataFrame): DataFrame with columns removed
"""
logging.info('Removing Columns with One Value from DataFrame')
columns_to_drop = []
for column in df.columns:
if df[column].nunique() == 1:
columns_to_drop.append(column)
logging.info(
'Dropping Columns {column} with a single value'.format(
column=column
)
)
return df.drop(columns_to_drop, axis=1)
def remove_quantile_equality_columns(df, low_quantile=.05, high_quantile=.95):
"""
Purpose:
Remove columns where the low quantile matches the
high quantile (data is heavily influenced by outliers)
and data is not well spread out
Args:
df (Pandas DataFrame): DataFrame to remove columns
from
low_quantile (float): Percentage quantile to compare
high_quantile (float): Percentage quantile to compare
Return
df (Pandas DataFrame): DataFrame with columns removed
"""
logging.info('Removing Columns with Equal Quantiles from DataFrame')
logging.info(
'Quantiles set to Low: {low} and High: {high}'.format(
low=low_quantile,
high=high_quantile
)
)
quantiles_low = df.quantile(low_quantile)
quantiles_high = df.quantile(high_quantile)
columns_to_drop = []
for column in get_numeric_columns(df):
quantile_low = quantiles_low[column]
quantile_high = quantiles_high[column]
if quantile_low == quantile_high:
columns_to_drop.append(column)
return df.drop(columns_to_drop, axis=1)
def mask_outliers_numerical_columns(df, low_quantile=.05, high_quantile=.95):
"""
Purpose:
Update outliers to be equal to the low_quantile and
high_quantile values specified.
Args:
df (Pandas DataFrame): DataFrame to update data
low_quantile (float): Percentage quantile to set values
high_quantile (float): Percentage quantile to set values
Return
df (Pandas DataFrame): DataFrame with columns updated
"""
logging.info('Masking Outliers with Values in Quantiles')
logging.info(
'Quantiles set to Low: {low} and High: {high}'.format(
low=low_quantile,
high=high_quantile
)
)
outliers_low = (df < low_quantiles)
outliers_high = (df > high_quantiles)
df = df.mask(outliers_low, low_quantiles, axis=1)
df = df.mask(outliers_high, high_quantiles, axis=1)
return df
def convert_categorical_columns_to_dummies(df, drop_first=True):
"""
Purpose:
Convert Categorical Values into Dummies. Will also
remove the initial column being converted. If
remove first is true, will remove one of the
dummy variables to remove prevent multicollinearity
Args:
df (Pandas DataFrame): DataFrame to convert columns
drop_first (bool): to remove or not remove a column
from dummies generated
Return
df (Pandas DataFrame): DataFrame with columns converted
"""
logging.info('Converting Categorical Columns into Dummies')
for column in get_categorical_columns(df):
dummies = pd.get_dummies(
df[column], drop_first=drop_first,
prefix=column, prefix_sep=':'
)
df.drop([column], axis=1, inplace=True)
df = pd.concat([df, dummies], axis=1)
return df
def ensure_categorical_columns_all_string(df):
"""
Purpose:
Ensure all values for Categorical Values are strings
and converts any non-string value into strings
Args:
df (Pandas DataFrame): DataFrame to convert columns
Return
df (Pandas DataFrame): DataFrame with columns converted
"""
logging.info('Ensuring Categorical Column Values are Strings')
for column in get_categorical_columns(df):
df[column] = df[column].astype(str)
return df
def encode_categorical_columns_as_integer(df):
"""
Purpose:
Convert Categorical Values into single value
using sklearn LabelEncoder
Args:
df (Pandas DataFrame): DataFrame to convert columns
Return
df (Pandas DataFrame): DataFrame with columns converted
"""
logging.info('Converting Categorical Columns into Encoded Column')
lable_encoder_object = LabelEncoder()
for column in get_categorical_columns(df):
column_encoder = lable_encoder_object.fit(df[column])
df['LabelEncoded:{0}'.format(column)] =\
column_encoder.transform(df[column])
df.drop([column], axis=1, inplace=True)
return df
def replace_null_values_numeric_columns(df, replace_operation='median'):
"""
Purpose:
Replace all null values in a dataframe with other
values. Options include 0, mean, and median; the
default operation converts numeric columns to
median
Args:
df (Pandas DataFrame): DataFrame to remove columns
from
replace_operation (string/enum): operation to perform
in replacing null values in the dataframe
Return
df (Pandas DataFrame): DataFrame with nulls replaced
"""
logging.info(
'Replacing Null Values of Numeric Columns with Operation: '
'{replace_op}'.format(
replace_op=replace_operation
)
)
categorical_columns = get_categorical_columns(df)
null_columns = get_columns_with_null_values(df)
for column in (null_columns.keys() - categorical_columns):
logging.info(
'Filling Nulls in Column {column}'.format(column=column))
if replace_operation == '0':
df[column].fillna(0, inplace=True)
elif replace_operation == 'median':
df[column].fillna(df[column].median(), inplace=True)
elif replace_operation == 'mean':
df[column].fillna(df[column].mean(), inplace=True)
return df
def replace_null_values_categorical_columns(df):
"""
Purpose:
Replace all null values in a dataframe with "Unknown"
Args:
df (Pandas DataFrame): DataFrame to remove columns
from
replace_operation (string/enum): operation to perform
in replacing null values in the dataframe
Return
df (Pandas DataFrame): DataFrame with nulls replaced
"""
logging.info(
'Replacing Null Values of Categorical Columns with "Unknown"'
)
numeric_columns = get_numeric_columns(df)
null_columns = get_columns_with_null_values(df)
for column in (null_columns.keys() - numeric_columns):
logging.info(
'Filling Nulls in Column {column}'.format(column=column))
df[column].fillna('Unknown', inplace=True)
df[column].replace([np.nan], ['Unknown'], inplace=True)
return df
###
# Describe DataFrame Functions
###
def get_categorical_columns(df):
"""
Purpose:
Returns the categorical columns in a
DataFrame
Args:
df (Pandas DataFrame): DataFrame to describe
Return
categorical_columns (list): List of string
names of categorical columns
"""
logging.info('Getting Categorical from DataFrame')
return list(set(df.columns) - set(get_numeric_columns(df)))
def get_numeric_columns(df):
"""
Purpose:
Returns the numeric columns in a
DataFrame
Args:
df (Pandas DataFrame): DataFrame to describe
Return
numeric_columns (list): List of string
names of numeric columns
"""
logging.info('Getting Numeric from DataFrame')
return list(set(df._get_numeric_data().columns))
def get_columns_with_null_values(df):
"""
Purpose:
Get Columns with Null Values
Args:
df (Pandas DataFrame): DataFrame to describe
Return
columns_with_nulls (dict): Dictionary where
keys are columns with nulls and the value
is the number of nulls in the column
"""
logging.info('Getting Columns in DataFrame with Null Values')
columns_with_nulls = {}
for column in list(df.columns[df.isnull().any()]):
columns_with_nulls[column] =\
df[column].isnull().sum()
return columns_with_nulls
| [
"Christopher.Hayden.Todd@gmail.com"
] | Christopher.Hayden.Todd@gmail.com |
149bba10ef877643b5125d628bc9f27647a3945c | 94ca446c0f17d640f45941fa7c83530ef2fbc099 | /wrs-remote-clients-2.0.2/python-wrs-system-client-1.0/cgtsclient/v1/iservice.py | 3a44aa0d534a269c6d9706b8ece049717533c36c | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | rmoorewrs/tic-windows-remote-clients | c1c2b8924e90ffd2951571bc098ec9873ffd3988 | ae16ee78a720852304d79f8b86dfe44e920cc72d | refs/heads/master | 2023-05-25T13:55:55.603100 | 2019-05-31T20:59:28 | 2019-05-31T20:59:28 | 189,649,925 | 0 | 0 | NOASSERTION | 2023-05-22T20:43:59 | 2019-05-31T19:46:28 | Python | UTF-8 | Python | false | false | 2,010 | py | # -*- encoding: utf-8 -*-
#
# Copyright © 2013 Red Hat, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# Copyright (c) 2013-2014 Wind River Systems, Inc.
#
# The right to copy, distribute, modify, or otherwise make use
# of this software may be licensed only pursuant to the terms
# of an applicable Wind River license agreement.
#
from cgtsclient.common import base
from cgtsclient import exc
CREATION_ATTRIBUTES = ['servicename', 'hostname', 'state', 'activity', 'reason']
# missing forihostid
class iService(base.Resource):
def __repr__(self):
return "<iService %s>" % self._info
class iServiceManager(base.Manager):
resource_class = iService
@staticmethod
def _path(id=None):
return '/v1/iservice/%s' % id if id else '/v1/iservice'
def list(self):
return self._list(self._path(), "iservice")
def get(self, iservice_id):
try:
return self._list(self._path(iservice_id))[0]
except IndexError:
return None
def create(self, **kwargs):
new = {}
for (key, value) in kwargs.items():
if key in CREATION_ATTRIBUTES:
new[key] = value
else:
raise exc.InvalidAttribute()
return self._create(self._path(), new)
def delete(self, iservice_id):
return self._delete(self._path(iservice_id))
def update(self, iservice_id, patch):
return self._update(self._path(iservice_id), patch)
| [
"rmoorewrs@gmail.com"
] | rmoorewrs@gmail.com |
024c0b4bf0e431f5612f530f7e1a88864284d832 | f2171e2f2c78d616a381b3308d13a600d687587f | /x.Machine Learning Foundation/NumPy and Pandas Part 1/pandas_index.py | c495a31d9915de424a1067945f3520e48cc19834 | [] | no_license | vinkrish/ml-jupyter-notebook | bda01343118869bd2bfb44f3c3122853834d314a | ef5d05512b8387d7a3e494f024416f6ca7336827 | refs/heads/master | 2021-06-09T00:53:51.638551 | 2021-05-08T15:13:51 | 2021-05-08T15:13:51 | 168,104,038 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,334 | py | import pandas as pd
countries = [
'Afghanistan', 'Albania', 'Algeria', 'Angola',
'Argentina', 'Armenia', 'Australia', 'Austria',
'Azerbaijan', 'Bahamas', 'Bahrain', 'Bangladesh',
'Barbados', 'Belarus', 'Belgium', 'Belize',
'Benin', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina',
]
employment_values = [
55.70000076, 51.40000153, 50.5 , 75.69999695,
58.40000153, 40.09999847, 61.5 , 57.09999847,
60.90000153, 66.59999847, 60.40000153, 68.09999847,
66.90000153, 53.40000153, 48.59999847, 56.79999924,
71.59999847, 58.40000153, 70.40000153, 41.20000076,
]
# Employment data in 2007 for 20 countries
employment = pd.Series(employment_values, index=countries)
def max_employment(employment):
'''
Fill in this function to return the name of the country
with the highest employment in the given employment
data, and the employment in that country.
The input will be a Pandas series where the values
are employment and the index is country names.
Try using the Pandas idxmax() function. Documention can
be found here:
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.idxmax.html
'''
max_country = employment.idxmax()
max_value = employment.loc[employment.idxmax()]
return (max_country, max_value)
| [
"vinaykrishna1989@gmail.com"
] | vinaykrishna1989@gmail.com |
00cea05c1d14496ebe6e97a56322cde77265e561 | e286d9d5c11ee7615b634f06a9e76803863b84ac | /078.py | 802e0fa0daacd550ab6f826375bb5a80078bde94 | [] | no_license | DanMayhem/project_euler | 93defbdf789e61fbb87b52b27a0ae9d0bd06588b | a75f107815b1152cc1a8864281a3fe91831c02f1 | refs/heads/master | 2021-01-25T12:19:29.252904 | 2015-05-20T17:16:44 | 2015-05-20T17:16:44 | 33,380,286 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,478 | py | #!python
"""
Let p(n) represent the number of different ways in which n coins can be separated into piles. For example, five coins can be separated into piles in exactly seven different ways, so p(5)=7.
OOOOO
OOOO O
OOO OO
OOO O O
OO OO O
OO O O O
O O O O O
Find the least value of n for which p(n) is divisible by one million.
"""
from math import factorial
from functools import lru_cache
def choose(n, r):
return int(factorial(n)/(factorial(r)*factorial(n-r)))
@lru_cache(maxsize=4096)
def n_terms_sum_to_a_count(a, n, m):
#print([a, n, m])
if n==1:
if a <= m and a>0:
return 1
return 0
collection = 0
for i in range(1,min([a, m+1])):
#print([a,n,i])
collection+= n_terms_sum_to_a_count(a-i, n-1, min([m, i]))
return collection
def old_p(n):
c=0
for i in range(1,n+1):
c+= n_terms_sum_to_a_count(n,i,n)
return c
def nth_pentagonal(n):
return int(n*(3*n-1)/2)
def gen_gen_pentagonal(n):
#yield nth_pentagonal(0)
for i in range(1,n):
p = nth_pentagonal(i)
if p >= n:
return
yield p
p = nth_pentagonal(-i)
if p > n:
return
yield p
def p(k):
return p_helper(k+1)
@lru_cache(maxsize=None)
def p_helper(k):
if k<0:
return 0
if k==1:
return 1
rval = 0
signs = [1, 1, -1, -1 ]
sign_idx = 0
for pent in gen_gen_pentagonal(k+1):
rval += signs[sign_idx]*p_helper(k-pent)
sign_idx = (sign_idx+1)%4
return rval
for n in range(1,10**6):
pp = p(n)
print([n, pp])
if pp%1000000==0:
exit() | [
"danmay@gmail.com"
] | danmay@gmail.com |
976159c307c27ab50a8b0ffa5fdf554a6564cb29 | 95777f5257f00aa982d94812f46658ace2e92bd2 | /gluon/cityscapes_seg_dataset.py | 5896e66c56e5da1738fcf7e60f11cc5e300f7533 | [
"MIT"
] | permissive | yangkang779/imgclsmob | ea2c1f9223a3419375e8339c7e941daba69a56a7 | 9d189eae8195d045dfb4b25bec2501b2c42a154a | refs/heads/master | 2020-05-07T08:16:23.658714 | 2019-04-08T16:20:33 | 2019-04-08T16:20:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,155 | py | import os
import numpy as np
import mxnet as mx
from PIL import Image
from .seg_dataset import SegDataset
class CityscapesSegDataset(SegDataset):
"""
Cityscapes semantic segmentation dataset.
Parameters
----------
root : string
Path to a folder with `leftImg8bit` and `gtFine` subfolders.
mode: string, default 'train'
'train', 'val', 'test', or 'demo'.
transform : callable, optional
A function that transforms the image.
"""
def __init__(self,
root,
mode="train",
transform=None,
**kwargs):
super(CityscapesSegDataset, self).__init__(
root=root,
mode=mode,
transform=transform,
**kwargs)
image_dir_path = os.path.join(root, "leftImg8bit")
mask_dir_path = os.path.join(root, "gtFine")
assert os.path.exists(image_dir_path) and os.path.exists(mask_dir_path), "Please prepare dataset"
mode_dir_name = "train" if mode == "train" else "val"
image_dir_path = os.path.join(image_dir_path, mode_dir_name)
# mask_dir_path = os.path.join(mask_dir_path, mode_dir_name)
self.images = []
self.masks = []
for image_subdir_path, _, image_file_names in os.walk(image_dir_path):
for image_file_name in image_file_names:
if image_file_name.endswith(".png"):
image_file_path = os.path.join(image_subdir_path, image_file_name)
mask_file_name = image_file_name.replace('leftImg8bit', 'gtFine_labelIds')
mask_subdir_path = image_subdir_path.replace('leftImg8bit', 'gtFine')
mask_file_path = os.path.join(mask_subdir_path, mask_file_name)
if os.path.isfile(mask_file_path):
self.images.append(image_file_path)
self.masks.append(mask_file_path)
else:
print("Cannot find the mask: {}".format(mask_file_path))
assert (len(self.images) == len(self.masks))
if len(self.images) == 0:
raise RuntimeError("Found 0 images in subfolders of: {}\n".format(image_dir_path))
def __getitem__(self, index):
image = Image.open(self.images[index]).convert("RGB")
if self.mode == "demo":
image = self._img_transform(image)
if self.transform is not None:
image = self.transform(image)
return image, os.path.basename(self.images[index])
mask = Image.open(self.masks[index])
if self.mode == "train":
image, mask = self._sync_transform(image, mask)
elif self.mode == "val":
image, mask = self._val_sync_transform(image, mask)
else:
assert (self.mode == "test")
image = self._img_transform(image)
mask = self._mask_transform(mask)
if self.transform is not None:
image = self.transform(image)
return image, mask
classes = 19
vague_idx = 19
use_vague = True
background_idx = -1
ignore_bg = False
_key = np.array([-1, -1, -1, -1, -1, -1,
-1, -1, 0, 1, -1, -1,
2, 3, 4, -1, -1, -1,
5, -1, 6, 7, 8, 9,
10, 11, 12, 13, 14, 15,
-1, -1, 16, 17, 18])
_mapping = np.array(range(-1, len(_key) - 1)).astype(np.int32)
@staticmethod
def _class_to_index(mask):
values = np.unique(mask)
for value in values:
assert(value in CityscapesSegDataset._mapping)
index = np.digitize(mask.ravel(), CityscapesSegDataset._mapping, right=True)
return CityscapesSegDataset._key[index].reshape(mask.shape)
@staticmethod
def _mask_transform(mask):
np_mask = np.array(mask).astype(np.int32)
np_mask = CityscapesSegDataset._class_to_index(np_mask)
np_mask[np_mask == -1] = CityscapesSegDataset.vague_idx
return mx.nd.array(np_mask, mx.cpu())
def __len__(self):
return len(self.images)
| [
"osemery@gmail.com"
] | osemery@gmail.com |
e344b960e2333887f922a30b9d47ef27e852e512 | cadb790b863a58c5a238fa6c6fa4970dccce3806 | /NewsReco/data.py | 232be8e5ef24063052342fa77057be6010a2e6b2 | [] | no_license | YUFEIFUT/RecoSys | faae62d3a049055857c7c5eb6e2f59b4cf08f039 | fd547489deacca6e9feb52197ddc25404f1e09cb | refs/heads/main | 2023-04-04T01:51:37.936992 | 2021-04-02T10:59:08 | 2021-04-02T10:59:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,380 | py | import argparse
import os
import random
from random import sample
import pandas as pd
from tqdm import tqdm
from utils import Logger
random.seed(2020)
# 命令行参数
parser = argparse.ArgumentParser(description='数据处理')
parser.add_argument('--mode', default='valid')
parser.add_argument('--logfile', default='test.log')
args = parser.parse_args()
mode = args.mode
logfile = args.logfile
# 初始化日志
os.makedirs('user_data/log', exist_ok=True)
log = Logger(f'user_data/log/{logfile}').logger
log.info(f'数据处理,mode: {mode}')
# 线下验证
def data_offline(df_train_click, df_test_click):
train_users = df_train_click['user_id'].values.tolist()
# 随机采样出一部分样本 作为验证集
val_users = sample(train_users, 50000)
log.debug(f'val_users num: {len(set(val_users))}')
click_list = []
valid_query_list = []
# 训练集用户 抽出行为数据最后一条作为线下验证集
'''
从训练集用户中随机采样5w个用户作为作为线下验证集用户,将验证集用户的最后一次点击记录从原训练集的点击日志中剔除。
合并这时候的训练集点击日志和测试集点击日志作为总的历史点击记录,预测验证集用户的最后一次点击作为线下验证
'''
groups = df_train_click.groupby(['user_id'])
for user_id, g in tqdm(groups):
if user_id in val_users:
# 某用户的最后一条
valid_query = g.tail(1)
valid_query_list.append(
valid_query[['user_id', 'click_article_id']])
train_click = g.head(g.shape[0] - 1)
click_list.append(train_click)
else:
click_list.append(g)
df_train_click = pd.concat(click_list, sort=False)
df_valid_query = pd.concat(valid_query_list, sort=False)
test_users = df_test_click['user_id'].unique()
test_query_list = []
for user in tqdm(test_users):
test_query_list.append([user, -1])
# test的query的点击文章id都设为-1
df_test_query = pd.DataFrame(test_query_list,
columns=['user_id', 'click_article_id'])
df_query = pd.concat([df_valid_query, df_test_query],
sort=False).reset_index(drop=True)
df_click = pd.concat([df_train_click, df_test_click],
sort=False).reset_index(drop=True)
df_click = df_click.sort_values(['user_id',
'click_timestamp']).reset_index(drop=True)
log.debug(
f'df_query shape: {df_query.shape}, df_click shape: {df_click.shape}')
log.debug(f'{df_query.head()}')
log.debug(f'{df_click.head()}')
# 保存文件
os.makedirs('user_data/data/offline', exist_ok=True)
# 所有的点击记录
df_click.to_pickle('user_data/data/offline/click.pkl')
# 所有的查询记录
df_query.to_pickle('user_data/data/offline/query.pkl')
def data_online(df_train_click, df_test_click):
# 线上的话没有验证集了
test_users = df_test_click['user_id'].unique()
test_query_list = []
for user in tqdm(test_users):
test_query_list.append([user, -1])
df_test_query = pd.DataFrame(test_query_list,
columns=['user_id', 'click_article_id'])
df_query = df_test_query
df_click = pd.concat([df_train_click, df_test_click],
sort=False).reset_index(drop=True)
df_click = df_click.sort_values(['user_id',
'click_timestamp']).reset_index(drop=True)
log.debug(
f'df_query shape: {df_query.shape}, df_click shape: {df_click.shape}')
log.debug(f'{df_query.head()}')
log.debug(f'{df_click.head()}')
# 保存文件
os.makedirs('user_data/data/online', exist_ok=True)
df_click.to_pickle('user_data/data/online/click.pkl')
df_query.to_pickle('user_data/data/online/query.pkl')
if __name__ == '__main__':
df_train_click = pd.read_csv('tcdata/train_click_log.csv')
df_test_click = pd.read_csv('tcdata/testA_click_log.csv')
log.debug(
f'df_train_click shape: {df_train_click.shape}, df_test_click shape: {df_test_click.shape}'
)
if mode == 'valid':
data_offline(df_train_click, df_test_click)
else:
data_online(df_train_click, df_test_click)
| [
"yearing1017@126.com"
] | yearing1017@126.com |
a6b930da8b5c0ca6044ef06321c2affa169a44d7 | ca4644e188f0115fcf68050b7665013fa56d6e4b | /caw/widgets/memory.py | 63512f9c84eedafb05f4ac181244c58e576b780c | [] | no_license | tomkooij/caw | 6ab2673ef5644b720eb42174e98d41ef05bc074c | 795e6d7208f25d8be9aa76fb679c04c1f4e72b0c | refs/heads/master | 2021-01-20T15:30:47.097225 | 2015-04-22T20:02:42 | 2015-04-22T20:02:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,041 | py | import caw.widget
import time
import re
class Memory(caw.widget.Widget):
""" Display memory usage using /proc/meminfo"""
def __init__(self, fg=None, **kwargs):
super(Memory, self).__init__(**kwargs)
self.fg = fg
def init(self, parent):
super(Memory, self).init(parent)
self.update()
def update(self):
self.fetch_update_memory()
self.width_hint = self.parent.text_width(self.text)
self.parent.update(self);
self.parent.schedule(1, self.update)
def draw(self):
self.parent.draw_text(self.text, fg=self.fg)
def fetch_update_memory(self):
memlines = open('/proc/meminfo', 'r').read()
mfree = re.search('memfree:\s*(\d+)', memlines, re.IGNORECASE)
mtotal = re.search('memtotal:\s*(\d+)', memlines, re.IGNORECASE)
if mtotal and mfree:
usage = ((float(mtotal.group(1)) - int(mfree.group(1)))/int(mtotal.group(1))) * 100
self.text = "%s%%"%int(usage)
else:
self.text = 'n/a'
| [
"arovit.kv@gmail.com"
] | arovit.kv@gmail.com |
e4ea607857e3d3c1a5b4248a00b50a7b7b12706d | 02dc35be5f88c3cf8043a894010d975b803484cf | /birthdays/tests/test_extend.py | 1864ed61eb5e67966f9a8501699f93f3fa6f5635 | [] | no_license | fako/birthdays | c5a4644760b7fc607c47d1911d79482d13ce60a9 | 7483500846a559e27781282f1e08a4ea0f6871af | refs/heads/master | 2021-01-10T18:34:11.752957 | 2016-01-24T14:08:46 | 2016-01-24T14:08:46 | 37,944,053 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,108 | py | from __future__ import unicode_literals, absolute_import, print_function, division
from django.test import TestCase
from django.db.models import Count
from birthdays.management.commands.extend_source import Command as ExtendCommand
from birthdays.models import Person, PersonSourceMockOne, PersonSourceMockTwo
class TestExtendCommand(TestCase):
fixtures = ["test.json"]
def test_add_to_master(self):
ExtendCommand.add_to_master(PersonSourceMockOne)
self.assertEqual(Person.objects.count(), 2)
mp = Person.objects.last()
self.assertEqual(mp.sources.count(), 1)
self.skipTest("Test adding a city")
def test_extend_master(self):
ExtendCommand.add_to_master(PersonSourceMockOne)
ExtendCommand.extend_master(PersonSourceMockTwo)
self.assertEqual(Person.objects.annotate(num_sources=Count("sources")).filter(num_sources__gt=1).count(), 1)
mp = Person.objects.annotate(num_sources=Count("sources")).get(num_sources__gt=1)
self.assertEqual(sorted(mp.props.keys()), sorted(['address', 'occupation', 'sex', 'single']))
| [
"email@fakoberkers.nl"
] | email@fakoberkers.nl |
0788249ff69a1e26d6ab13867b37c5fc784b3cda | 276e60f69b51de7c50a333ce12212c823aeef71a | /lm-surprisal-eval-2.py | 56dbb617a2c5df77284e5e815b76de87dd2892b7 | [] | no_license | m-hahn/probing-char-lms | e6ea3b00f82326140e28656290447d6c998278d6 | 5ab45883cefb1f69788e441b60d56d886833b3e4 | refs/heads/master | 2020-03-21T20:50:58.949446 | 2019-04-29T03:06:26 | 2019-04-29T03:06:26 | 139,032,281 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,245 | py | from paths import MODELS_HOME
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("--load-from", dest="load_from", type=str)
parser.add_argument("--save-to", dest="save_to", type=str)
args=parser.parse_args()
print(args)
import random
with open("/private/home/mhahn/data/UD_English-EWT/en_ewt-ud-train.conllu", "r") as inFile:
data = inFile.read().split("\n\n")
random.Random(6598).shuffle(data) # now the sentences are arranged in random order
# print([[y.split("\t")[1].lower() for y in x.split("\n") if len(y) > 1 and y[0][0] is not "#"] for x in data])
data = [[y.split("\t")[1].lower() for y in x.split("\n") if len(y) > 1 and y[0][0] is not "#"] for x in data]
joined = []
for sent in data:
joined += sent
joined = " ".join(joined)
training_data = joined[10000:]
dev_data = joined[:10000]
# data = [x.split("\t")[1].lower() for x in inFile.read().split("\n") if len(x) > 1 and not x.startswith("#")]
#print(data)
#data = "".join(data)
#print(data)
itos = list(set([x for x in joined]))
itos = sorted(itos)
print(itos)
stoi = dict([(itos[i],i) for i in range(len(itos))])
halfSequenceLength = 20
sequenceLength = 2*halfSequenceLength
batchSize = 16
partitions = [sequenceLength*x for x in range(int(len(dev_data)/sequenceLength))]
import random
import torch
print(torch.__version__)
rnn = torch.nn.LSTM(100, 1024).cuda()
output = torch.nn.Linear(1024, len(itos)+1).cuda()
char_embeddings = torch.nn.Embedding(num_embeddings=len(itos)+1, embedding_dim=100).cuda()
logsoftmax = torch.nn.LogSoftmax(dim=2)
train_loss = torch.nn.NLLLoss(ignore_index=0)
print_loss = torch.nn.NLLLoss(size_average=False, reduce=False, ignore_index=0)
char_dropout = torch.nn.Dropout2d(p=0.33)
#dropout = torch.nn.Dropout(p=0.33)
modules = [rnn, output, char_embeddings]
def parameters():
for module in modules:
for param in module.parameters():
yield param
optim = torch.optim.SGD(parameters(), lr=0.1, momentum=0.0)
named_modules = {"rnn" : rnn, "output" : output, "char_embeddings" : char_embeddings, "optim" : optim}
if args.load_from is not None:
checkpoint = torch.load(MODELS_HOME+"/"+args.load_from+".pth.tar")
for name, module in named_modules.items():
module.load_state_dict(checkpoint[name])
from torch.autograd import Variable
future_surprisal_with = [None for _ in dev_data]
future_surprisal_without = [None for _ in dev_data]
char_surprisal = [None for _ in dev_data]
char_entropy = [None for _ in dev_data]
numeric_with_blanks = [stoi[x]+1 for x in dev_data]
boundaries = []
numeric_full = []
for entry in numeric_with_blanks:
if itos[entry-1] == " ":
boundaries.append(len(numeric_full))
else:
numeric_full.append(entry)
for start in range(0, len(numeric_full)-sequenceLength, batchSize):
numeric = [([0] + numeric_full[b:b+sequenceLength]) for b in range(start, start+batchSize)]
maxLength = max([len(x) for x in numeric])
for i in range(len(numeric)):
numeric[i] = numeric[i] + [0]*(maxLength-len(numeric[i]))
# print(numeric)
input_tensor = Variable(torch.LongTensor(numeric).transpose(0,1)[:-1].cuda(), requires_grad=False)
target_tensor = Variable(torch.LongTensor(numeric).transpose(0,1)[1:].cuda(), requires_grad=False)
embedded = char_embeddings(input_tensor)
out, _ = rnn(embedded, None)
logits = output(out)
log_probs = logsoftmax(logits)
entropy = (- log_probs * torch.exp(log_probs)).sum(2).view((maxLength-1), batchSize).data.cpu().numpy()
loss = print_loss(log_probs.view(-1, len(itos)+1), target_tensor.view(-1)).view((maxLength-1), batchSize)
losses = loss.data.cpu().numpy()
# for i in range(len(numeric[0])-1):
# print((i,losses[i][0], itos[numeric[0][i+1]-1]))
for i in range(start, start+batchSize):
#print(losses[:int(halfSequenceLength),i-start].sum())
surprisalAtStart = losses[:halfSequenceLength,i-start].sum()
surprisalAtMid = losses[halfSequenceLength:, i-start].sum()
#print(losses[:,i-start])
if i+halfSequenceLength < len(future_surprisal_with):
future_surprisal_with[i+halfSequenceLength] = surprisalAtMid
char_surprisal[i+halfSequenceLength] = losses[halfSequenceLength, i-start]
char_entropy[i+halfSequenceLength] = entropy[halfSequenceLength, i-start]
future_surprisal_without[i] = surprisalAtStart
def mi(x,y):
return x-y if x is not None and y is not None else None
chars = []
predictor = []
dependent = []
boundaries_index = 0
for i in range(len(numeric_full)):
if boundaries_index < len(boundaries) and i == boundaries[boundaries_index]:
boundary = True
boundaries_index += 1
else:
boundary = False
pmiFuturePast = mi(future_surprisal_without[i], future_surprisal_with[i])
print((itos[numeric_full[i]-1], char_surprisal[i], pmiFuturePast, pmiFuturePast < 0 if pmiFuturePast is not None else None, boundary)) # pmiFuturePast < 2 if pmiFuturePast is not None else None,
if pmiFuturePast is not None:
chars.append(itos[numeric_full[i]-1])
predictor.append([pmiFuturePast, char_surprisal[i], char_entropy[i]]) #char_surprisal[i], pmiFuturePast]) #pmiFuturePast])
dependent.append(1 if boundary else 0)
# , char_surprisal[i], char_entropy[i]
# char_surprisal[i],
#print(predictor)
#print(dependent)
zeroPredictor = [0]*len(predictor[0])
predictorShiftedP1 = predictor[1:]+[zeroPredictor]
predictorShiftedP2 = predictor[2:]+[zeroPredictor,zeroPredictor]
predictorShiftedP3 = predictor[3:]+[zeroPredictor,zeroPredictor,zeroPredictor]
predictorShiftedP4 = predictor[4:]+[zeroPredictor,zeroPredictor,zeroPredictor,zeroPredictor]
predictorShiftedM1 = [zeroPredictor]+predictor[:-1]
predictorShiftedM2 = [zeroPredictor,zeroPredictor]+predictor[:-2]
predictorShiftedM3 = [zeroPredictor,zeroPredictor,zeroPredictor]+predictor[:-3]
predictorShiftedM4 = [zeroPredictor,zeroPredictor,zeroPredictor,zeroPredictor]+predictor[:-4]
predictor = [a+b+c+d+e+f+g for a, b, c, d, e, f, g in zip(predictor, predictorShiftedP1, predictorShiftedP2, predictorShiftedP3, predictorShiftedM1, predictorShiftedM2, predictorShiftedM3)]
from sklearn.model_selection import train_test_split
x_train, x_test, y_train, y_test, chars_train, chars_test = train_test_split(predictor, dependent, chars, test_size=0.5, random_state=0, shuffle=False)
from sklearn.linear_model import LogisticRegression
logisticRegr = LogisticRegression()
logisticRegr.fit(x_train, y_train)
# Returns a NumPy Array
# Predict for One Observation (image)
predictions = logisticRegr.predict(x_test)
#predictions = [1 if x[0]<0 else 0 for x in x_test]
#print(predictions)
for char, predicted, real, predictor in zip(chars_test, predictions, y_test, x_test):
print((char, predicted, real, predictor[0]))
extractedLexicon = {}
currentWord = ""
currentWordReal = ""
realWords = 0
predictedWords = 0
agreement = 0
for char, predicted, real in zip(chars_test, predictions, y_test):
if real ==1:
realWords += 1
if predicted == 1 and currentWord == currentWordReal:
agreement += 1
currentWordReal = char
else:
currentWordReal += char
if predicted == 1:
predictedWords += 1
extractedLexicon[currentWord] = extractedLexicon.get(currentWord, 0) + 1
currentWord = char
else:
currentWord += char
print(sorted(list(extractedLexicon.items()), key=lambda x:x[1]))
print("token recall")
print(agreement/realWords)
print("token precision")
print(agreement/predictedWords)
predictedBoundariesTotal = 0
predictedBoundariesCorrect = 0
realBoundariesTotal = 0
predictedAndReal = len([1 for x, y in zip(predictions, y_test) if x==1 and x==y])
predictedCount = sum(predictions)
targetCount = sum(y_test)
print("Boundary recall and precision")
print(predictedAndReal/predictedCount)
print(predictedAndReal/targetCount)
score = logisticRegr.score(x_test, y_test)
print(score)
#import matplotlib.pyplot as plt
#import seaborn as sns
#from sklearn import metrics
#
#cm = metrics.confusion_matrix(y_test, predictions)
#print(cm)
#print([x-y if x is not None and y is not None else None for x,y in zip(future_surprisal_without, future_surprisal_with)])
## print(train[batch*batchSize:(batch+1)*batchSize])
# numeric = [([0] + [stoi[data[x]]+1 for x in range(b, b+sequenceLength) if x < len(data)]) for b in train[batch*batchSize:(batch+1)*batchSize]]
# # print(numeric)
# input_tensor = Variable(torch.LongTensor(numeric[:-1]).transpose(0,1).cuda(), requires_grad=False)
# target_tensor = Variable(torch.LongTensor(numeric[1:]).transpose(0,1).cuda(), requires_grad=False)
#
# # print(char_embeddings)
# embedded = char_embeddings(input_tensor)
# out, _ = rnn(embedded, None)
# logits = output(out)
# log_probs = logsoftmax(logits)
# # print(logits)
# # print(log_probs)
# # print(target_tensor)
# loss = train_loss(log_probs.view(-1, len(itos)+1), target_tensor.view(-1))
# optim.zero_grad()
# if batch % 10 == 0:
# print(loss)
# loss.backward()
# optim.step()
#
#
| [
"mhahn29@gmail.com"
] | mhahn29@gmail.com |
a70a9cc5741b414ae63f53c403b8c5febb37f92d | 777b5c266360b29b6d4af916726abd5d364b74a1 | /mypy_stubs/django/conf/locale/nb/__init__.pyi | 688b3d943d9b9de3a707888a858cf6cb49d37088 | [] | no_license | uryyyyyyy/django-graphql | 44d08afc3e44514270d1d5c183caa9d1c1cf3f88 | f3d6513d2325a8e675e47500cc71d8ef56c01537 | refs/heads/master | 2021-06-10T11:11:45.110271 | 2019-02-28T07:39:54 | 2019-02-28T07:39:54 | 172,325,424 | 0 | 0 | null | 2021-04-20T17:56:57 | 2019-02-24T10:44:31 | Python | UTF-8 | Python | false | false | 124 | pyi | # Stubs for django.conf.locale.nb (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
| [
"koki@anymindgroup.com"
] | koki@anymindgroup.com |
6f807ca14881ee9a488248956a35c6336deb3abc | 4c61c7a8bcf0aa9836129dd754cb5c1dd2220117 | /lib/genomonsv/realignmentFunction.py | a23043bdd13a84805fc68eb2fad0f0a0acbbddc3 | [] | no_license | alenzhao/GenomonSV | e9ef774397e44c353dca705baf19c2bc1bf33ba4 | 94075a7d7780dd825d17177b3401ad1cb9f1f8b2 | refs/heads/master | 2021-01-12T08:14:08.105734 | 2016-10-11T08:07:40 | 2016-10-11T08:07:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,446 | py | #!/usr/bin/env python
import sys, pysam
import utils
def extractSVReadPairs(bamFilePath, outputFilePath, juncChr1, juncPos1, juncDir1, juncChr2, juncPos2, juncDir2, max_depth, search_length, search_margin):
"""
read pairs containing break points are extracted. (yshira 2015/04/23)
The exact condition is as follows:
1. one of the read in the pair has the break point of the SV candidate
2. the start positions of the read pairs are within 800bp of the break point of the SV candidate
Some minor concern for the above conditions are:
1. Depending on the choice of the "start position" or "end position", the distance between the read and break point differs. This can generate slight bias...
(but I believe we can recover this by setting sufficient margin (800bp), and summarize the alignment result carefully.)
2. Maybe, for some of the read pair, the result of alignment is obvious. But should we re-align them?
"""
bamfile = pysam.Samfile(bamFilePath, 'rb')
# if the #sequence read is over the `maxDepth`, then that key is ignored
depthFlag = 0
if bamfile.count(juncChr1, int(juncPos1) - 1, int(juncPos1) + 1) >= max_depth: depthFlag = 1
if bamfile.count(juncChr2, int(juncPos2) - 1, int(juncPos2) + 1) >= max_depth: depthFlag = 1
if depthFlag == 1:
print >> sys.stderr, "sequence depth exceeds the threshould for: " + ','.join([juncChr1, juncPos1, juncDir1, juncChr2, juncPos2, juncDir2])
return 1
hOUT = open(outputFilePath, 'w')
readID2exist = {}
for read in bamfile.fetch(juncChr1, max(0, int(juncPos1) - search_length), int(juncPos1) + search_length):
# get the flag information
flags = format(int(read.flag), "#014b")[:1:-1]
# skip unmapped read
if flags[2] == "1" or flags[3] == "1": continue
# skip supplementary alignment
if flags[8] == "1" or flags[11] == "1": continue
# skip duplicated reads
if flags[10] == "1": continue
chr_current = bamfile.getrname(read.tid)
pos_current = int(read.pos + 1)
dir_current = ("-" if flags[4] == "1" else "+")
chr_pair = bamfile.getrname(read.rnext)
pos_pair = int(read.pnext + 1)
dir_pair = ("-" if flags[5] == "1" else "+")
# the read (with margin) contains break point
if pos_current - search_margin <= int(juncPos1) <= (read.aend - 1) + search_margin:
readID2exist[read.qname] = 1
# the read pair covers break point
if chr_pair == juncChr1 and pos_current <= int(juncPos1) <= pos_pair and dir_current == "+" and dir_pair == "-":
readID2exist[read.qname] = 1
# the read pair covers break point
if chr_pair == juncChr2:
juncFlag = 0
if juncDir1 == "+" and juncDir2 == "+" and pos_current <= int(juncPos1) and pos_pair <= int(juncPos2): juncFlag = 1
if juncDir1 == "+" and juncDir2 == "-" and pos_current <= int(juncPos1) and pos_pair >= int(juncPos2): juncFlag = 1
if juncDir1 == "-" and juncDir2 == "+" and pos_current >= int(juncPos1) and pos_pair <= int(juncPos2): juncFlag = 1
if juncDir1 == "-" and juncDir2 == "-" and pos_current >= int(juncPos1) and pos_pair >= int(juncPos2): juncFlag = 1
if juncFlag == 1:
readID2exist[read.qname] = 1
for read in bamfile.fetch(juncChr2, max(0, int(juncPos2) - search_length), int(juncPos2) + search_length):
if read.qname == "ST-E00104:162:H03UUALXX:5:1222:21168:16006":
pass
# get the flag information
flags = format(int(read.flag), "#014b")[:1:-1]
# skip unmapped read
if flags[2] == "1" or flags[3] == "1": continue
# skip supplementary alignment
if flags[8] == "1" or flags[11] == "1": continue
# skip duplicated reads
if flags[10] == "1": continue
chr_current = bamfile.getrname(read.tid)
pos_current = int(read.pos + 1)
dir_current = ("-" if flags[4] == "1" else "+")
chr_pair = bamfile.getrname(read.rnext)
pos_pair = int(read.pnext + 1)
dir_pair = ("-" if flags[5] == "1" else "+")
# the read (with margin) contains break point
if pos_current - search_margin <= int(juncPos2) <= (read.aend - 1) + search_margin:
readID2exist[read.qname] = 1
# the read pair covers break point
if chr_pair == juncChr2 and pos_current <= int(juncPos2) <= pos_pair and dir_current == "+" and dir_pair == "-":
readID2exist[read.qname] = 1
# the read pair covers break point
if chr_pair == juncChr1:
juncFlag = 0
if juncDir2 == "+" and juncDir1 == "+" and pos_current <= int(juncPos2) and pos_pair <= int(juncPos1): juncFlag = 1
if juncDir2 == "+" and juncDir1 == "-" and pos_current <= int(juncPos2) and pos_pair >= int(juncPos1): juncFlag = 1
if juncDir2 == "-" and juncDir1 == "+" and pos_current >= int(juncPos2) and pos_pair <= int(juncPos1): juncFlag = 1
if juncDir2 == "-" and juncDir1 == "-" and pos_current >= int(juncPos2) and pos_pair >= int(juncPos1): juncFlag = 1
if juncFlag == 1:
readID2exist[read.qname] = 1
readID2seq1 = {}
readID2seq2 = {}
complement = {'A': 'T', 'C': 'G', 'G': 'C', 'T': 'A', 'N': 'N'}
for read in bamfile.fetch(juncChr1, max(0, int(juncPos1) - search_length), int(juncPos1) + search_length):
if read.qname in readID2exist:
# get the flag information
flags = format(int(read.flag), "#014b")[:1:-1]
# skip unmapped read
if flags[2] == "1" or flags[3] == "1": continue
# skip supplementary alignment
if flags[8] == "1" or flags[11] == "1": continue
# skip duplicated reads
if flags[10] == "1": continue
tempSeq = ""
if flags[4] == "1":
tempSeq = utils.reverseComplement(str(read.seq))
else:
tempSeq = read.seq
# the first read
if flags[6] == "1":
readID2seq1[read.qname] = tempSeq
else:
readID2seq2[read.qname] = tempSeq
for read in bamfile.fetch(juncChr2, max(0, int(juncPos2) - search_length), int(juncPos2) + search_length):
if read.qname in readID2exist:
# get the flag information
flags = format(int(read.flag), "#014b")[:1:-1]
# skip unmapped read
if flags[2] == "1" or flags[3] == "1": continue
# skip supplementary alignment
if flags[8] == "1" or flags[11] == "1": continue
# skip duplicated reads
if flags[10] == "1": continue
tempSeq = ""
if flags[4] == "1":
tempSeq = utils.reverseComplement(str(read.seq))
else:
tempSeq = read.seq
# the first read
if flags[6] == "1":
readID2seq1[read.qname] = tempSeq
else:
readID2seq2[read.qname] = tempSeq
for readID in readID2seq1:
if readID in readID2seq2:
print >> hOUT, '>' + readID + '/1'
print >> hOUT, readID2seq1[readID]
print >> hOUT, '>' + readID + '/2'
print >> hOUT, readID2seq2[readID]
bamfile.close()
hOUT.close()
return 0
def getRefAltForSV(outputFilePath, juncChr1, juncPos1, juncDir1, juncChr2, juncPos2, juncDir2, juncSeq, reference_genome, split_refernece_thres, validate_sequence_length):
"""
for short SV (mid-range (<= split_refernece_thres bp) deletion, tandem duplication), we get the two sequence
for large SV (> split_refernece_thres bp), we get three sequence (one joint sequence by two break points, and two reference sequences around the break points)
the only concern is short inversion... (are there some somatic short inversion?)
however, this will be filtered beforehand by the "cover filter", and maybe we have to give up detecting these class of SVs.
"""
hOUT = open(outputFilePath, 'w')
if juncSeq == "---": juncSeq = ""
# for mid-range deletion or tandem duplication
if juncChr1 == juncChr2 and abs(int(juncPos1) - int(juncPos2)) <= split_refernece_thres and juncDir1 != juncDir2:
seq = ""
for item in pysam.faidx(reference_genome, juncChr1 + ":" + str(int(juncPos1) - validate_sequence_length) + "-" + str(int(juncPos2) + validate_sequence_length)):
if item[0] == ">": continue
seq = seq + item.rstrip('\n').upper()
seq = seq.replace('>', '')
seq = seq.replace(juncChr1 + ":" + str(int(juncPos1) - validate_sequence_length) + "-" + str(int(juncPos2) + validate_sequence_length), '')
print >> hOUT, '>' + ','.join([juncChr1, str(juncPos1), juncDir1, juncChr2, str(juncPos2), juncDir2]) + "_ref"
print >> hOUT, seq
# for mid-range deletion
if juncDir1 == "+" and juncDir2 == "-":
seq = ""
for item in pysam.faidx(reference_genome, juncChr1 + ":" + str(int(juncPos1) - validate_sequence_length) + "-" + str(juncPos1)):
if item[0] == ">": continue
seq = seq + item.rstrip('\n').upper()
seq = seq.replace('>', '')
seq = seq.replace(juncChr1 + ":" + str(int(juncPos1) - validate_sequence_length) + "-" + str(juncPos1), '')
seq = seq + juncSeq
for item in pysam.faidx(reference_genome, juncChr2 + ":" + str(juncPos2) + "-" + str(int(juncPos2) + validate_sequence_length)):
if item[0] == ">": continue
seq = seq + item.rstrip('\n').upper()
seq = seq.replace('>', '')
seq = seq.replace(juncChr2 + ":" + str(juncPos2) + "-" + str(int(juncPos2) + validate_sequence_length), '')
print >> hOUT, '>' + ','.join([juncChr1, str(juncPos1), juncDir1, juncChr2, str(juncPos2), juncDir2]) + "_alt"
print >> hOUT, seq
# for mid-range tandem duplication
else:
seq = ""
for item in pysam.faidx(reference_genome, juncChr2 + ":" + str(int(juncPos2) - validate_sequence_length) + "-" + str(juncPos2)):
if item[0] == ">": continue
seq = seq + item.rstrip('\n').upper()
seq = seq.replace('>', '')
seq = seq.replace(juncChr2 + ":" + str(int(juncPos2) - validate_sequence_length) + "-" + str(juncPos2), '')
seq = seq + juncSeq
for item in pysam.faidx(reference_genome, juncChr1 + ":" + str(juncPos1) + "-" + str(int(juncPos1) + validate_sequence_length)):
if item[0] == ">": continue
seq = seq + item.rstrip('\n').upper()
seq = seq.replace('>', '')
seq = seq.replace(juncChr1 + ":" + str(juncPos1) + "-" + str(int(juncPos1) + validate_sequence_length), '')
print >> hOUT, '>' + ','.join([juncChr1, str(juncPos1), juncDir1, juncChr2, str(juncPos2), juncDir2]) + "_alt"
print >> hOUT, seq
else:
seq = ""
for item in pysam.faidx(reference_genome, juncChr1 + ":" + str(int(juncPos1) - validate_sequence_length) + "-" + str(int(juncPos1) + validate_sequence_length)):
if item[0] == ">": continue
seq = seq + item.rstrip('\n').upper()
seq = seq.replace('>', '')
seq = seq.replace(juncChr1 + ":" + str(int(juncPos1) - validate_sequence_length) + "-" + str(int(juncPos1) + validate_sequence_length), '')
print >> hOUT, '>' + ','.join([juncChr1, str(juncPos1), juncDir1, juncChr2, str(juncPos2), juncDir2]) + "_ref1"
print >> hOUT, seq
seq = ""
for item in pysam.faidx(reference_genome, juncChr2 + ":" + str(int(juncPos2) - validate_sequence_length) + "-" + str(int(juncPos2) + validate_sequence_length)):
if item[0] == ">": continue
seq = seq + item.rstrip('\n').upper()
seq = seq.replace('>', '')
seq = seq.replace(juncChr2 + ":" + str(int(juncPos2) - validate_sequence_length) + "-" + str(int(juncPos2) + validate_sequence_length), '')
print >> hOUT, '>' + ','.join([juncChr1, str(juncPos1), juncDir1, juncChr2, str(juncPos2), juncDir2]) + "_ref2"
print >> hOUT, seq
seq = ""
if juncDir1 == "+":
tseq = ""
for item in pysam.faidx(reference_genome, juncChr1 + ":" + str(int(juncPos1) - validate_sequence_length) + "-" + str(juncPos1)):
if item[0] == ">": continue
tseq = tseq + item.rstrip('\n').upper()
tseq = tseq.replace('>', '')
tseq = tseq.replace(juncChr1 + ":" + str(int(juncPos1) - validate_sequence_length) + "-" + str(juncPos1), '')
else:
tseq = ""
for item in pysam.faidx(reference_genome, juncChr1 + ":" + str(juncPos1) + "-" + str(int(juncPos1) + validate_sequence_length)):
if item[0] == ">": continue
tseq = tseq + item.rstrip('\n').upper()
tseq = tseq.replace('>', '')
tseq = tseq.replace(juncChr1 + ":" + str(juncPos1) + "-" + str(int(juncPos1) + validate_sequence_length), '')
tseq = utils.reverseComplement(tseq)
seq = tseq + juncSeq
if juncDir2 == "-":
tseq = ""
for item in pysam.faidx(reference_genome, juncChr2 + ":" + str(juncPos2) + "-" + str(int(juncPos2) + validate_sequence_length)):
if item[0] == ">": continue
tseq = tseq + item.rstrip('\n').upper()
tseq = tseq.replace('>', '')
tseq = tseq.replace(juncChr2 + ":" + str(juncPos2) + "-" + str(int(juncPos2) + validate_sequence_length), '')
else:
tseq = ""
for item in pysam.faidx(reference_genome, juncChr2 + ":" + str(int(juncPos2) - validate_sequence_length) + "-" + str(juncPos2)):
if item[0] == ">": continue
tseq = tseq + item.rstrip('\n').upper()
tseq = tseq.replace('>', '')
tseq = tseq.replace(juncChr2 + ":" + str(int(juncPos2) - validate_sequence_length) + "-" + str(juncPos2), '')
tseq = utils.reverseComplement(tseq)
seq = seq + tseq
print >> hOUT, '>' + ','.join([juncChr1, str(juncPos1), juncDir1, juncChr2, str(juncPos2), juncDir2]) + "_alt"
print >> hOUT, seq
hOUT.close()
def checkScore(align):
tempScore = 100
if len(align) >= 2:
for i1 in range(0, len(align) - 1):
for i2 in range(i1 + 1, len(align)):
if align[i1][1] <= align[i2][1] and align[i1][2] == "+" and align[i2][2] == "-":
tempScore = min(tempScore, align[i1][0] + align[i2][0])
if align[i2][1] <= align[i1][1] and align[i2][2] == "+" and align[i1][2] == "-":
tempScore = min(tempScore, align[i1][0] + align[i2][0])
return(tempScore)
def summarizeRefAlt(inputFile, ITDFlag):
"""
note:
Now the definition of "reference-prefer" read pair is those align at least 5 base than to alternative sequence.
but current definition generates problem when detecting mid-range tandem duplication on repeat sequences (5,115279667,-,5,115280072 (ATL-15T))
because in this case, read pairs that should prefer the reference sequence do not prefer it significantly to alternative base...
One remedy for this may be to
1. in advance, we should remove the read pairs whose source (reference or altenative) are unclear
2. we define "class 2 reference read pair", and use them with "class 1 reference read pair".
"""
hIN = open(inputFile, 'r')
numOther = 0
numAlt = 0
numRef = 0
# ref_ID = []
# alt_ID = []
# other_ID = []
tempID = ""
tempAlt = []
tempRef1 = []
tempRef2 = []
tempRef = []
for line in hIN:
F = line.rstrip('\n').split('\t')
if F[0].isdigit() == False: continue
# remove the read pair num info ("/1", "/2")
F[9] = F[9][0:-2]
if tempID != F[9]:
if tempID != "":
if tempID == "HWI-ST1021:128:C1K77ACXX:6:2303:6851:109312":
pass
tempAltNM = checkScore(tempAlt)
tempRefNM = min(checkScore(tempRef1), checkScore(tempRef2), checkScore(tempRef))
if tempAltNM >= 10 and tempRefNM >= 10:
numOther = numOther + 1
# other_ID.append(tempID)
elif tempAltNM < tempRefNM - 5:
numAlt = numAlt + 1
# alt_ID.append(tempID)
elif ITDFlag == 0 and tempRefNM < tempAltNM - 5 or ITDFlag == 1 and tempRefNM <= tempAltNM:
numRef = numRef + 1
# print tempID
# ref_ID.append(tempID)
tempID = F[9]
tempAlt = []
tempRef1 = []
tempRef2 = []
tempRef = []
tNM = int(F[10]) - int(F[0]) + int(F[5]) + int(F[7])
tpos = int(F[15])
tdir = F[8]
if F[13][-3:] == "alt":
tempAlt.append((tNM, tpos, tdir))
elif F[13][-4:] == "ref1":
tempRef1.append((tNM, tpos, tdir))
elif F[13][-4:] == "ref2":
tempRef2.append((tNM, tpos, tdir))
elif F[13][-3:] == "ref":
tempRef.append((tNM, tpos, tdir))
tempAltNM = checkScore(tempAlt)
tempRefNM = min(checkScore(tempRef1), checkScore(tempRef2), checkScore(tempRef))
if tempAltNM >= 10 and tempRefNM >= 10:
numOther = numOther + 1
# other_ID.append(tempID)
elif tempAltNM < tempRefNM - 5:
numAlt = numAlt + 1
# alt_ID.append(tempID)
elif ITDFlag == 0 and tempRefNM < tempAltNM - 5 or ITDFlag == 1 and tempRefNM <= tempAltNM:
numRef = numRef + 1
# ref_ID.append(tempID)
"""
print "ref"
print '\n'.join(ref_ID)
print "alt"
print '\n'.join(alt_ID)
print "other"
print '\n'.join(other_ID)
"""
return([numRef, numAlt])
| [
"friend1ws@gmail.com"
] | friend1ws@gmail.com |
0e7865b0c9f1808ed678ee5a3bf249981acd6802 | 77d834eb125fdc56c96af31cf74db5b741c8e94e | /api/urls.py | cae969065eed895e664e8a23c4ef1c7f1ffdd113 | [] | no_license | zhouf00/learn_rest_framework | 7c17124fcb08ce48f54f94201f2da29e41e9d867 | a292e38ee9ff475e43ce4612fbb6c074b4073f84 | refs/heads/master | 2022-10-12T12:05:07.618651 | 2020-06-11T02:40:45 | 2020-06-11T02:40:45 | 268,827,695 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 259 | py | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^books/$', views.Book.as_view()),
url(r'^books/(?P<pk>.*)/$', views.Book.as_view()),
url(r'^test/', views.Test.as_view()),
url(r'^test2/', views.Test2.as_view()),
] | [
"49618748+zhouf00@users.noreply.github.com"
] | 49618748+zhouf00@users.noreply.github.com |
2fc01026a955c327745cbfb6ddfc0b738eefe62a | 89b2f5b08c441d4af0a63ed2ec1a5889bc92f0f7 | /Python OOP 2020/OOP_2020_exam_prep/Exam_16.08.2020/re[enie/project/software/light_software.py | f2c765caf7d15b19e3c4052d5c7ec0ecdc509662 | [] | no_license | KoliosterNikolayIliev/Softuni_education | 68d7ded9564861f2bbf1bef0dab9ba4a788aa8dd | 18f1572d81ad9eb7edd04300deb8c81bde05d76b | refs/heads/master | 2023-07-18T09:29:36.139360 | 2021-08-27T15:04:38 | 2021-08-27T15:04:38 | 291,744,823 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 392 | py | from project.software.software import Software
class LightSoftware(Software):
def __init__(self, name: str, capacity_consumption: int, memory_consumption: int):
super().__init__(name, 'Light', capacity_consumption, memory_consumption)
self.capacity_consumption = int(1.5 * self.capacity_consumption)
self.memory_consumption = int(0.5 * self.memory_consumption)
| [
"65191727+KoliosterNikolayIliev@users.noreply.github.com"
] | 65191727+KoliosterNikolayIliev@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.