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
def initialize(self, all_variables): CitcomComponent.initialize(self, all_variables) from CitcomSLib import set_convection_defaults set_convection_defaults(self.all_variables) return
def __init__(self, name, facility): CitcomComponent.__init__(self, name, facility) return
def initialize(self, all_variables): CitcomComponent.initialize(self, all_variables) from CitcomSLib import set_3dsphere_defaults set_3dsphere_defaults(self.all_variables) return