Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 4
0
 def __init__(self, name, facility):
     CitcomComponent.__init__(self, name, facility)
     return
Exemplo n.º 5
0
    def __init__(self, name, facility):
        CitcomComponent.__init__(self, name, facility)

        return
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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