#include "REMORA_NCFile.H"
#include "AMReX_FArrayBox.H"
#include "REMORA_DataStruct.H"
#include "REMORA_IndexDefines.H"
Go to the source code of this file.
|
Real | read_bdry_from_netcdf (const Box &domain, const std::string &nc_bdry_file, Vector< Vector< FArrayBox > > &bdy_data_xlo, Vector< Vector< FArrayBox > > &bdy_data_xhi, Vector< Vector< FArrayBox > > &bdy_data_ylo, Vector< Vector< FArrayBox > > &bdy_data_yhi, int &width, Real &start_bdy_time, std::string bdry_time_varname, amrex::GpuArray< amrex::GpuArray< bool, AMREX_SPACEDIM *2 >, BdyVars::NumTypes+1 > &phys_bc_need_data) |
|
◆ read_bdry_from_netcdf()
Real read_bdry_from_netcdf |
( |
const Box & |
domain, |
|
|
const std::string & |
nc_bdry_file, |
|
|
Vector< Vector< FArrayBox > > & |
bdy_data_xlo, |
|
|
Vector< Vector< FArrayBox > > & |
bdy_data_xhi, |
|
|
Vector< Vector< FArrayBox > > & |
bdy_data_ylo, |
|
|
Vector< Vector< FArrayBox > > & |
bdy_data_yhi, |
|
|
int & |
width, |
|
|
Real & |
start_bdy_time, |
|
|
std::string |
bdry_time_varname, |
|
|
amrex::GpuArray< amrex::GpuArray< bool, AMREX_SPACEDIM *2 >, BdyVars::NumTypes+1 > & |
phys_bc_need_data |
|
) |
| |
- Parameters
-
domain | computational domain |
nc_bdry_file | name of file with boundary data |
bdy_data_xlo | container for xlo boundary data |
bdy_data_xhi | container for xhi boundary data |
bdy_data_ylo | container for ylo boundary data |
bdy_data_yhi | container for yhi boundary data |
width | number of cells to read in boundary region |
start_bdy_time | time when boundary data starts |
bdry_time_varname | name of time variable |
phys_bc_need_data | whether physical boundary condition data is needed for a given side and variable |
Definition at line 32 of file REMORA_ReadFromBdryNetcdf.cpp.