def add_options(cls, group, dim): LDCSim.add_options(group, dim) group.add_argument('--re', dest="re", help='Reynolds number', type=int, default=400)
def update_defaults(cls, defaults): global block_size, blocks, output LDCSim.update_defaults(defaults) defaults["block_size"] = block_size defaults["mem_alignment"] = mem_align defaults["max_iters"] = MAX_ITERS defaults["output"] = output defaults["cuda_cache"] = False defaults.update({"access_pattern": access_pattern, "node_addressing": node_addressing, "silent": True})
def update_defaults(cls, defaults): LDCBlock.max_v = 0.05 LDCSim.update_defaults(defaults) defaults.update({ 'max_iters': MAX_ITERS, 'lat_nx': 256, 'lat_ny': 256, 'lat_nz': 256, 'access_pattern': 'AA', 'grid': 'D3Q19', 'output': os.path.join(tmpdir, 'result')})
def update_defaults(cls, defaults): LDCBlock.max_v = 0.05 LDCSim.update_defaults(defaults) defaults.update({ 'max_iters': MAX_ITERS, 'lat_nx': 256, 'lat_ny': 256, 'lat_nz': 256, 'access_pattern': 'AA', 'grid': 'D3Q19', 'output': os.path.join(tmpdir, 'result') })
def update_defaults(cls, defaults): LDCBlock.max_v = 0.05 LDCSim.update_defaults(defaults) defaults.update( { "max_iters": MAX_ITERS, "lat_nx": LAT_NX, "lat_ny": LAT_NY, "lat_nz": LAT_NZ, "output": os.path.join(tmpdir, "result"), } )
def update_defaults(cls, defaults): global block_size, blocks, output LDCSim.update_defaults(defaults) defaults['block_size'] = block_size defaults['mem_alignment'] = mem_align defaults['ldc_subdomains'] = blocks defaults['max_iters'] = MAX_ITERS defaults['quiet'] = True defaults['output'] = output defaults['cuda_cache'] = False defaults.update({ 'access_pattern': access_pattern })
def update_defaults(cls, defaults): global block_size, blocks, output LDCSim.update_defaults(defaults) defaults['block_size'] = block_size defaults['mem_alignment'] = mem_align defaults['max_iters'] = MAX_ITERS defaults['output'] = output defaults['cuda_cache'] = False defaults.update({ 'access_pattern': access_pattern, 'node_addressing': node_addressing, 'silent': True, })
def add_options(cls, group, dim): LDCSim.add_options(group, dim) group.add_argument('--re', dest="re", help = 'Reynolds number', type=int, default=400)