Example #1
0
 def getMaxMagnitude(self, xcSet):
     '''Return an estimation of the maximum magnitude of the vector loads 
     (it's supposed to occur in a point placed 1/3L from the top)'''
     zmin = sets.get_min_coo_nod(xcSet, 2)
     zmax = sets.get_max_coo_nod(xcSet, 2)
     zcontrol = zmin + 2 / 3. * (zmax - zmin)
     maxEstValue = self.getPressure(zcontrol)
     return maxEstValue
Example #2
0
 def getMaxMagnitude(self,xcSet):
     '''Return an estimation of the maximum magnitude of the vector loads 
     (it's supposed to occur in a point placed 1/3L from the top)'''
     zmin=sets.get_min_coo_nod(xcSet,2)
     zmax=sets.get_max_coo_nod(xcSet,2)
     zcontrol=zmin+2/3.*(zmax-zmin)
     maxEstValue=self.getPressure(zcontrol)
     return maxEstValue
Example #3
0
 def getMaxMagnitude(self):
     '''Return the maximum magnitude of the vector loads'''
     maxValue = 0
     if self.soilData <> None:
         zmin = sets.get_min_coo_nod(self.xcSet, 2)
         pmax = self.soilData.getPressure(zmin)
         maxValue = max(maxValue, pmax)
     for stripL in self.stripLoads:
         pmax = stripL.getMaxMagnitude(self.xcSet)
         maxValue = max(maxValue, pmax)
     for lineL in self.lineLoads:
         pmax = lineL.getMaxMagnitude(self.xcSet)
         maxValue = max(maxValue, pmax)
     for horzL in self.horzLoads:
         pmax = horzL.getMaxMagnitude()
         maxValue = max(maxValue, pmax)
     return maxValue