def initializePage(self):
     """Query the model on meshes"""
     WC.WizardPage.initialize(self)
     self.page.use(qt.QVBoxLayout())
     exp = self.give_field("exp-store").give_exp("pressure")
     grps = exp.find_groups(self.give_field("mesh"))
     dims = [(u"Pressure", 1.)]
     tit = u"Adding pressure on meshes groups"
     # The last groups should be seen first
     grps.reverse()
     WC.add_condition_selector(self, grps, dims, "pressure-loading*", tit)
    def initializePage(self):
        """Query the model on meshes"""
        WC.WizardPage.initialize(self)
        self.page.use(qt.QVBoxLayout())
        exp = self.give_field("exp-store").give_exp("source")
        grps = exp.find_groups(self.give_field("mesh"))
        dims = [("Source", 0.)]
#        tit = u"Adding volumic sources (optional)"
#        tit = u"境界条件(熱源)を指定するグループに対して値を設定する"
        tit = qt.QApplication.translate("WizardLinearThermic", "Adding volumic sources (optional)", None, qt.QApplication.UnicodeUTF8)
        WC.add_condition_selector(self, grps, dims, "volumic-sources", tit)
    def initializePage(self):
        """Query the model on meshes"""
        WC.WizardPage.initialize(self)
        self.page.use(qt.QVBoxLayout())
        dims = [("T", 0.)]
        exp = self.give_field("exp-store").give_exp("imposed-temps")
        lst = exp.find_groups(self.give_field("mesh"))
#        tit = u"Adding imposed temperatures on groups" 
#        tit = u"境界条件(温度)を指定するグループに対して値を設定する" 
        tit = qt.QApplication.translate("WizardLinearThermic", "Adding imposed temperatures on groups", None, qt.QApplication.UnicodeUTF8)
        WC.add_condition_selector(self, lst, dims, "bound-temps*", tit)
 def initializePage(self):
     """Query the model on meshes"""
     WC.WizardPage.initialize(self)
     self.page.use(qt.QVBoxLayout())
     exp = self.give_field("exp-store").give_exp("source")
     grps = exp.find_groups(self.give_field("mesh"))
     dims = [("Source", 0.)]
     #        tit = u"Adding volumic sources (optional)"
     #        tit = u"境界条件(熱源)を指定するグループに対して値を設定する"
     tit = qt.QApplication.translate("WizardLinearThermic",
                                     "Adding volumic sources (optional)",
                                     None, qt.QApplication.UnicodeUTF8)
     WC.add_condition_selector(self, grps, dims, "volumic-sources", tit)
 def initializePage(self):
     """Query the model on meshes"""
     WC.WizardPage.initialize(self)
     self.page.use(qt.QVBoxLayout())
     dims = [("T", 0.)]
     exp = self.give_field("exp-store").give_exp("imposed-temps")
     lst = exp.find_groups(self.give_field("mesh"))
     #        tit = u"Adding imposed temperatures on groups"
     #        tit = u"境界条件(温度)を指定するグループに対して値を設定する"
     tit = qt.QApplication.translate(
         "WizardLinearThermic", "Adding imposed temperatures on groups",
         None, qt.QApplication.UnicodeUTF8)
     WC.add_condition_selector(self, lst, dims, "bound-temps*", tit)
    def initializePage(self):
        """Query the model on meshes"""
        WC.WizardPage.initialize(self)
        self.page.use(qt.QVBoxLayout())
        exp = self.give_field("exp-store").give_exp("pressure")
        grps = exp.find_groups(self.give_field("mesh"))
        dims = [(u"Pressure", 1.)]
#        tit = u"Adding pressure on meshes groups"
#        tit = u"境界条件(圧力)を指定するグループに対して値を設定する"
        tit = qt.QApplication.translate("WizardLinearStatic", "Adding pressure on meshes groups", None, qt.QApplication.UnicodeUTF8)
        # The last groups should be seen first
        grps.reverse()
        WC.add_condition_selector(self, grps, dims, "pressure-loading*", tit)
 def initializePage(self):
     """Query the model on meshes"""
     WC.WizardPage.initialize(self)
     self.page.use(qt.QVBoxLayout())
     exp = self.give_field("exp-store").give_exp("pressure")
     grps = exp.find_groups(self.give_field("mesh"))
     dims = [(u"Pressure", 1.)]
     #        tit = u"Adding pressure on meshes groups"
     #        tit = u"境界条件(圧力)を指定するグループに対して値を設定する"
     tit = qt.QApplication.translate("WizardLinearStaticPlus",
                                     "Adding pressure on meshes groups",
                                     None, qt.QApplication.UnicodeUTF8)
     # The last groups should be seen first
     grps.reverse()
     #WC.add_condition_selector(self, grps, dims, "pressure-loading*", tit)
     WC.add_condition_selector(self, grps, dims, "pressure-loading", tit)
    def initializePage(self):
        """Query the model on meshes"""
        WC.WizardPage.initialize(self)
        self.page.use(qt.QVBoxLayout())
        dims = [("FX", 0.), ("FY", 0.)]
        if self.give_field("model").dim == 3:
            dims.append(("FZ", 0.))
        exp = self.give_field("exp-store").give_exp("load_face")
        grps = exp.find_groups(self.give_field("mesh"))
        #dims = [(u"LoadFace", 1.)]
#        tit = u"Adding Load to Edge on meshes groups"
#        tit = u"境界条件(面荷重)を指定するグループ(面)に対して値を設定する"
        tit = qt.QApplication.translate("WizardLinearStaticPlus", "Adding Load to Faces on meshes groups", None, qt.QApplication.UnicodeUTF8)
        # The last groups should be seen first
        grps.reverse()
        #WC.add_condition_selector(self, grps, dims, "face-loading*", tit)
        WC.add_condition_selector(self, grps, dims, "face-loading", tit)
 def initializePage(self):
     """Query the model on meshes"""
     WC.WizardPage.initialize(self)
     self.page.use(qt.QVBoxLayout())
     dims = [("FX", 0.), ("FY", 0.)]
     if self.give_field("model").dim == 3:
         dims.append(("FZ", 0.))
     exp = self.give_field("exp-store").give_exp("load_face")
     grps = exp.find_groups(self.give_field("mesh"))
     #dims = [(u"LoadFace", 1.)]
     #        tit = u"Adding Load to Edge on meshes groups"
     #        tit = u"境界条件(面荷重)を指定するグループ(面)に対して値を設定する"
     tit = qt.QApplication.translate(
         "WizardLinearStaticPlus", "Adding Load to Faces on meshes groups",
         None, qt.QApplication.UnicodeUTF8)
     # The last groups should be seen first
     grps.reverse()
     #WC.add_condition_selector(self, grps, dims, "face-loading*", tit)
     WC.add_condition_selector(self, grps, dims, "face-loading", tit)