def create_gen_kw(): parameter_file = "MULTFLT.txt" template_file = "MULTFLT.tmpl" with open(parameter_file, "w") as f: f.write("MULTFLT1 NORMAL 0 1\n") f.write("MULTFLT2 RAW \n") f.write("MULTFLT3 NORMAL 0 1\n") with open(template_file, "w") as f: f.write("<MULTFLT1> <MULTFLT2> <MULTFLT3>\n") f.write("/\n") gen_kw_config = GenKwConfig("MULTFLT", template_file, parameter_file) gen_kw = GenKw(gen_kw_config) return (gen_kw_config, gen_kw)
def getKeywordModelConfig(self): """ @rtype: GenKWConfig """ return GenKwConfig.createCReference(EnkfConfigNode.cNamespace().get_ref(self), parent=self)
def getKeywordModelConfig(self): """ @rtype: GenKWConfig """ return GenKwConfig.createCReference( EnkfConfigNode.cNamespace().get_ref(self), parent=self)
def getKeywordModelConfig(self): """ @rtype: GenKWConfig """ return GenKwConfig.createCReference(self._get_ref(), parent=self)