座標系ごとの注意点

計算に採用する座標系によって setrun.py の設定が異なる点をメモ.

clawdata.capa_index

clawdata.capa_index = 2 # 2 for spherical lon-lat
clawdata.capa_index = 0 # 0 for cartesian x-y

amrdata.aux_type

amrdata.aux_type = ['center','capacity','yleft'] # for lon-lat
amrdata.aux_type = ['center','center','yleft']   # for x-y

geo_data.coordinate_system

geo_data.coordinate_system = 2 # for lon-lat
geo_data.coordinate_system = 1 # for x-y

geo_data.coriolis_forcing

geo_data.coriolis_forcing = True  # for lon-lat
geo_data.coriolis_forcing = False # for X-Y

Front page   Edit Diff Attach Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes
Last-modified: 2020-05-20 (Wed) 10:33:30 (128d)