示例#1
0
 def initialize(self, all_variables):
     CitcomComponent.initialize(self, all_variables)
     from CitcomSLib import set_cg_defaults, set_mg_defaults
     if self.inventory.Solver == "cgrad":
         set_cg_defaults(self.all_variables)
     elif self.inventory.Solver == "multigrid":
         set_mg_defaults(self.all_variables)
     return
示例#2
0
 def initialize(self, all_variables):
     CitcomComponent.initialize(self, all_variables)
     from CitcomSLib import set_cg_defaults, set_mg_defaults
     if self.inventory.Solver == "cgrad":
         set_cg_defaults(self.all_variables)
     elif self.inventory.Solver == "multigrid":
         set_mg_defaults(self.all_variables)
     return
示例#3
0
    def initialize(self, all_variables):
        CitcomComponent.initialize(self, all_variables)
        from CitcomSLib import set_convection_defaults

        set_convection_defaults(self.all_variables)
        return
示例#4
0
 def __init__(self, name, facility):
     CitcomComponent.__init__(self, name, facility)
     return
示例#5
0
    def __init__(self, name, facility):
        CitcomComponent.__init__(self, name, facility)

        return
示例#6
0
 def initialize(self, all_variables):
     CitcomComponent.initialize(self, all_variables)
     from CitcomSLib import set_3dsphere_defaults
     set_3dsphere_defaults(self.all_variables)
     return
示例#7
0
 def initialize(self, all_variables):
     CitcomComponent.initialize(self, all_variables)
     from CitcomSLib import set_3dsphere_defaults
     set_3dsphere_defaults(self.all_variables)
     return
示例#8
0
 def initialize(self, all_variables):
     CitcomComponent.initialize(self, all_variables)
     from CitcomSLib import set_convection_defaults
     set_convection_defaults(self.all_variables)
     return