예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #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))