REMORA
Regional Modeling of Oceans Refined Adaptively
|
Go to the source code of this file.
Functions | |
void | read_data_from_netcdf (int, const Box &domain, const std::string &fname, FArrayBox &NC_temp_fab, FArrayBox &NC_salt_fab, FArrayBox &NC_xvel_fab, FArrayBox &NC_yvel_fab, FArrayBox &NC_ubar_fab, FArrayBox &NC_vbar_fab) |
helper function for reading in initial state data from netcdf | |
void | read_zeta_from_netcdf (int, const Box &domain, const std::string &fname, FArrayBox &NC_zeta_fab) |
helper function to read sea surface height from netcdf | |
void | read_bathymetry_from_netcdf (int, const Box &domain, const std::string &fname, FArrayBox &NC_h_fab, FArrayBox &NC_pm_fab, FArrayBox &NC_pn_fab, FArrayBox &NC_xr_fab, FArrayBox &NC_yr_fab, FArrayBox &NC_xu_fab, FArrayBox &NC_yu_fab, FArrayBox &NC_xv_fab, FArrayBox &NC_yv_fab, FArrayBox &NC_xp_fab, FArrayBox &NC_yp_fab) |
helper function to read bathymetry from netcdf | |
void | read_coriolis_from_netcdf (int, const Box &domain, const std::string &fname, FArrayBox &NC_fcor_fab) |
helper function to read coriolis factor from netcdf | |
void | read_masks_from_netcdf (int, const Box &domain, const std::string &fname, FArrayBox &NC_mskr_fab, FArrayBox &NC_msku_fab, FArrayBox &NC_mskv_fab) |
helper function for reading in land-sea masks from netcdf | |
void | read_clim_nudg_coeff_from_netcdf (int, const Box &domain, const std::string &fname, bool do_m2_clim_nudg, bool do_m3_clim_nudg, bool do_temp_clim_nudg, bool do_salt_clim_nudg, FArrayBox &NC_M2NC_fab, FArrayBox &NC_M3NC_fab, FArrayBox &NC_TempNC_fab, FArrayBox &NC_SaltNC_fab) |
helper function to read climatology nudging from netcdf | |
void | read_vec_from_netcdf (int, const std::string &fname, const std::string &field_name, amrex::Vector< int > &vec_dat) |
helper function to read in vector of data from netcdf | |
void read_bathymetry_from_netcdf | ( | int | lev, |
const Box & | domain, | ||
const std::string & | fname, | ||
FArrayBox & | NC_h_fab, | ||
FArrayBox & | NC_pm_fab, | ||
FArrayBox & | NC_pn_fab, | ||
FArrayBox & | NC_xr_fab, | ||
FArrayBox & | NC_yr_fab, | ||
FArrayBox & | NC_xu_fab, | ||
FArrayBox & | NC_yu_fab, | ||
FArrayBox & | NC_xv_fab, | ||
FArrayBox & | NC_yv_fab, | ||
FArrayBox & | NC_xp_fab, | ||
FArrayBox & | NC_yp_fab | ||
) |
helper function to read bathymetry from netcdf
lev | level of data to read |
domain | simulation domain |
fname | file name to read from |
NC_h_fab | container for bathymetry data |
NC_pm_fab | container for pm data |
NC_pn_fab | container for pn data |
NC_xr_fab | container for x_rho data |
NC_yr_fab | container for y_rho data |
NC_xu_fab | container for x_u data |
NC_yu_fab | container for y_u data |
NC_xv_fab | container for x_v data |
NC_yv_fab | container for y_v data |
NC_xp_fab | container for x_p data |
NC_yp_fab | container for y_p data |
Definition at line 85 of file REMORA_ReadFromInitNetcdf.cpp.
Referenced by REMORA::init_bathymetry_from_netcdf().
void read_clim_nudg_coeff_from_netcdf | ( | int | lev, |
const Box & | domain, | ||
const std::string & | fname, | ||
bool | do_m2_clim_nudg, | ||
bool | do_m3_clim_nudg, | ||
bool | do_temp_clim_nudg, | ||
bool | do_salt_clim_nudg, | ||
FArrayBox & | NC_M2NC_fab, | ||
FArrayBox & | NC_M3NC_fab, | ||
FArrayBox & | NC_TempNC_fab, | ||
FArrayBox & | NC_SaltNC_fab | ||
) |
helper function to read climatology nudging from netcdf
lev | level of data to read |
domain | simulation domain |
fname | file name to read from |
do_m2_clim_nudg | whether to do 2d momentum climatology nudging |
do_m3_clim_nudg | whether to do 3d momentum climatology nudging |
do_temp_clim_nudg | whether to do temperature climatology nudging |
do_salt_clim_nudg | whether to do salinity climatology nudging |
NC_M2NC_fab | container for 2d momentum climatology data |
NC_M3NC_fab | container for 3d momentum climatology data |
NC_TempNC_fab | container for temperature climatology data |
NC_SaltNC_fab | container for salinity climatology data |
Definition at line 185 of file REMORA_ReadFromInitNetcdf.cpp.
Referenced by REMORA::init_clim_nudg_coeff_from_netcdf().
void read_coriolis_from_netcdf | ( | int | lev, |
const Box & | domain, | ||
const std::string & | fname, | ||
FArrayBox & | NC_fcor_fab | ||
) |
helper function to read coriolis factor from netcdf
lev | level of data to read |
domain | simulation domain |
fname | file name to read from |
NC_fcor_fab | container for Coriolis parameter data |
Definition at line 124 of file REMORA_ReadFromInitNetcdf.cpp.
Referenced by REMORA::init_coriolis_from_netcdf().
void read_data_from_netcdf | ( | int | , |
const Box & | domain, | ||
const std::string & | fname, | ||
FArrayBox & | NC_temp_fab, | ||
FArrayBox & | NC_salt_fab, | ||
FArrayBox & | NC_xvel_fab, | ||
FArrayBox & | NC_yvel_fab, | ||
FArrayBox & | NC_ubar_fab, | ||
FArrayBox & | NC_vbar_fab | ||
) |
helper function for reading in initial state data from netcdf
lev | level of data to read |
domain | simulation domain |
fname | file name to read from |
NC_temp_fab | container for temperature data |
NC_salt_fab | container for salinity data |
NC_u_fab | container for u velocity data |
NC_v_fab | container for v velocity data |
NC_ubar_fab | container for u_bar velocity data |
NC_vbar_fab | container for v_bar velocity data |
Definition at line 20 of file REMORA_ReadFromInitNetcdf.cpp.
Referenced by REMORA::init_data_from_netcdf().
void read_masks_from_netcdf | ( | int | , |
const Box & | domain, | ||
const std::string & | fname, | ||
FArrayBox & | NC_mskr_fab, | ||
FArrayBox & | NC_msku_fab, | ||
FArrayBox & | NC_mskv_fab | ||
) |
helper function for reading in land-sea masks from netcdf
lev | level of data to read |
domain | simulation domain |
fname | file name to read from |
NC_mskr_fab | container for rho-point land/sea mask data |
NC_msku_fab | container for u-point land/sea mask data |
NC_mskv_fab | container for v-point land/sea mask data |
Definition at line 150 of file REMORA_ReadFromInitNetcdf.cpp.
Referenced by REMORA::init_masks_from_netcdf().
void read_vec_from_netcdf | ( | int | lev, |
const std::string & | fname, | ||
const std::string & | field_name, | ||
amrex::Vector< int > & | vec_dat | ||
) |
helper function to read in vector of data from netcdf
lev | level of data to read |
fname | file name to read from |
field_name | field name to read |
vec_dat | vector to fill data |
Definition at line 226 of file REMORA_ReadFromInitNetcdf.cpp.
Referenced by REMORA::init_riv_pos_from_netcdf().
void read_zeta_from_netcdf | ( | int | lev, |
const Box & | domain, | ||
const std::string & | fname, | ||
FArrayBox & | NC_zeta_fab | ||
) |
helper function to read sea surface height from netcdf
lev | level of data to read |
domain | simulation domain |
fname | file name to read from |
NC_zeta_fab | container for sea surface height data |
Definition at line 51 of file REMORA_ReadFromInitNetcdf.cpp.
Referenced by REMORA::init_zeta_from_netcdf().