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, 'output': os.path.join(tmpdir, 'result')})
def update_defaults(cls, defaults): LDCBlock.max_v = 0.05 LDCSim.update_defaults(defaults) defaults.update({ 'quiet': True, 'lat_nx': 512, 'lat_ny': 512, 'output': os.path.join(tmpdir, 'result')})
def update_defaults(cls, defaults): 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['access_pattern'] = access_pattern
def update_defaults(cls, defaults): LDCSim.update_defaults(defaults) defaults.update({ 'block_size': block_size, 'mem_alignment': mem_align, 'max_iters': MAX_ITERS, 'silent': True, 'output': output, 'cuda_cache': False, 'access_pattern': access_pattern, 'node_addressing': node_addressing})
def update_defaults(cls, defaults): LDCSim.update_defaults(defaults) defaults.update({ 'block_size': block_size, 'mem_alignment': mem_align, 'max_iters': MAX_ITERS, 'silent': True, 'output': output, 'cuda_cache': False, 'access_pattern': access_pattern, 'node_addressing': node_addressing })
def add_options(cls, group, dim): LDCSim.add_options(group, dim) group.add_argument('--re', dest="re", help='Reynolds number', type=int, default=RE)
def add_options(cls, group, dim): LDCSim.add_options(group, dim) group.add_argument("--re", help="Reynolds number", type=int, default=0)
def update_defaults(cls, defaults): LDCBlock.max_v = 0.05 LDCSim.update_defaults(defaults) defaults.update({"quiet": True, "lat_nx": 512, "lat_ny": 512, "output": os.path.join(tmpdir, "result")})
def add_options(cls, group, dim): LDCSim.add_options(group, dim) group.add_argument('--re', help='Reynolds number', type=int, default=0)