Esempio n. 1
0
 def __init__(self,pointForceFreesDict):
   super(PointForceFreeContainer,self).__init__(idPointForceFreeContainer,tPointForceFreeContainer)
   pointForceFrees= list()
   for nl in pointForceFreesDict:
     compObjects= getPointForceFreeObjects(nl)
     for c in compObjects:
       pointForceFrees.append(c)
   self.appendTable(tb.SCXMLTableXMLNodes(idPointForceFreeContainerTb,tPointForceFreeContainerTb, 'Point forces in node', None,pointForceFrees))
Esempio n. 2
0
 def __init__(self, loadCasesDict):
     super(LoadCaseContainer, self).__init__(idLoadCaseContainer,
                                             tLoadCaseContainer)
     loadCases = list()
     for key in sorted(loadCasesDict):
         ns = loadCasesDict[key]
         loadCases.append(getLoadCaseObject(ns))
     self.appendTable(
         tb.SCXMLTableXMLNodes(idLoadCaseContainerTb, tLoadCaseContainerTb,
                               'Load cases', None, loadCases))
Esempio n. 3
0
 def __init__(self, loadCombsDict):
     super(LoadCombContainer, self).__init__(idLoadCombContainer,
                                             tLoadCombContainer)
     loadCombs = list()
     for key in sorted(loadCombsDict):
         ns = loadCombsDict[key]
         loadCombs.append(getLoadCombObject(ns))
     self.appendTable(
         tb.SCXMLTableXMLNodes(idLoadCombContainerTb, tLoadCombContainerTb,
                               'Combinations', None, loadCombs))
Esempio n. 4
0
 def __init__(self, nodeLoadsDict):
     super(NodeLoadContainer, self).__init__(idNodeLoadContainer,
                                             tNodeLoadContainer)
     nodeLoads = list()
     for nl in nodeLoadsDict:
         compObjects = getNodeLoadObjects(nl)
         for c in compObjects:
             nodeLoads.append(c)
     self.appendTable(
         tb.SCXMLTableXMLNodes(idNodeLoadContainerTb, tNodeLoadContainerTb,
                               'Point forces in node', None, nodeLoads))
Esempio n. 5
0
 def __init__(self, elementLoadsDict):
     super(ElementLoadContainer, self).__init__(idElementLoadContainer,
                                                tElementLoadContainer)
     elementLoads = list()
     for el in elementLoadsDict:
         compObjects = getElementLoadObjects(el)
         for c in compObjects:
             elementLoads.append(c)
     self.appendTable(
         tb.SCXMLTableXMLNodes(idElementLoadContainerTb,
                               tElementLoadContainerTb, 'Forces on surface',
                               None, elementLoads))
Esempio n. 6
0
 def __init__(self, surfacePressureFreesDict):
     super(SurfacePressureFreeContainer,
           self).__init__(idSurfacePressureFreeContainer,
                          tSurfacePressureFreeContainer)
     surfacePressureFrees = list()
     for el in surfacePressureFreesDict:
         compObjects = getSurfacePressureFreeObjects(el)
         for c in compObjects:
             surfacePressureFrees.append(c)
     self.appendTable(
         tb.SCXMLTableXMLNodes(idSurfacePressureFreeContainerTb,
                               tSurfacePressureFreeContainerTb,
                               'Free surface load', None,
                               surfacePressureFrees))