示例#1
0
 def _setup_approximations(self):
     self.aps = {}
     self.aps_by_name = {}
     for ig in self.igs:
         name = self.interp.name + '_%s_ig%d' % (self.region.name, ig)
         ap = fea.DiscontinuousApproximation(name, self.interp,
                                             self.region, ig)
         self.aps[ig] = ap
         self.aps_by_name[ap.name] = ap
示例#2
0
 def _setup_approximations(self):
     name = self.interp.name + '_%s' % self.region.name
     self.ap = fea.DiscontinuousApproximation(name, self.interp,
                                              self.region)