def config_size(self, params=None, infile=None, outfile=None): from lib.nekFileConfig import config_size cls = self.__class__ if not infile: infile = os.path.join(self.source_root, 'core', 'SIZE.template') if not outfile: outfile = os.path.join(self.examples_root, cls.example_subdir, 'SIZE') if not params: params = self.size_params config_size(params=params, infile=infile, outfile=outfile)
def config_size(self, infile=None, outfile=None, lx2=None, ly2=None, lz2=None): from lib.nekFileConfig import config_size cls = self.__class__ if not infile: infile = os.path.join(self.examples_root, cls.example_subdir, 'SIZE') if not outfile: outfile = os.path.join(self.examples_root, cls.example_subdir, 'SIZE') config_size( infile = infile, outfile = outfile, lx2 = lx2, ly2 = ly2, lz2 = lz2 )
def config_size(self, infile=None, outfile=None, lx2=None, ly2=None, lz2=None): from lib.nekFileConfig import config_size cls = self.__class__ if not infile: infile = os.path.join(self.examples_root, cls.example_subdir, 'SIZE') if not outfile: outfile = os.path.join(self.examples_root, cls.example_subdir, 'SIZE') config_size(infile=infile, outfile=outfile, lx2=lx2, ly2=ly2, lz2=lz2)