4 #ifndef ERF_READ_FROM_WRFINPUT_H_
5 #define ERF_READ_FROM_WRFINPUT_H_
8 #include <AMReX_IntVect.H>
19 const amrex::Box& file_subdomain)
21 amrex::IntVect shift(0);
22 shift[0] = erf_file_box.smallEnd(0) - file_subdomain.smallEnd(0);
23 shift[1] = erf_file_box.smallEnd(1) - file_subdomain.smallEnd(1);
31 file_box.shift(shift);
39 read_from_wrfinput (
int lev,
40 const amrex::Box& subdomain,
41 const std::string& fname,
42 amrex::FArrayBox& NC_fab,
43 const std::string& NC_name,
44 amrex::Geometry& geom,
49 check_wrfinput_geometry (
int lev,
50 const std::string& fname,
51 const amrex::Geometry& geom,
55 wrfinput_var_box (
const amrex::Box& subdomain_to_read,
56 const std::string& fname,
57 const std::string& NC_name,
61 read_region_from_wrfinput (
const std::string& fname,
62 const std::string& NC_name,
63 const amrex::Box& var_box,
64 const amrex::Box& region,
65 amrex::FArrayBox& fab,