/home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLBoundaryPlane.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
ABLBoundaryPlane.H
Go to the documentation of this file.
Definition ABLBoundaryPlane.H:111
bool box_intersects_boundary(const amrex::Box &, const int, const amrex::Orientation) const
True if box intersects the boundary.
Definition ABLBoundaryPlane.cpp:1394
void write_bndry_native_header(const std::string &chkname)
Definition ABLBoundaryPlane.cpp:487
amrex::Vector< std::string > m_var_names
Variables for IO.
Definition ABLBoundaryPlane.H:215
std::string m_time_file
File name for Native time file.
Definition ABLBoundaryPlane.H:212
const int m_in_rad
controls extents on native bndry output
Definition ABLBoundaryPlane.H:234
void post_init_actions()
Execute initialization actions after mesh has been fully generated.
Definition ABLBoundaryPlane.cpp:301
std::string m_out_fmt
output format for bndry output
Definition ABLBoundaryPlane.H:239
InletData m_in_data
Inlet data.
Definition ABLBoundaryPlane.H:225
void pre_advance_work()
Definition ABLBoundaryPlane.cpp:313
size_t m_out_counter
NetCDF time output counter.
Definition ABLBoundaryPlane.H:205
amrex::Vector< Field * > m_fields
List of fields for IO.
Definition ABLBoundaryPlane.H:218
int m_write_frequency
Normal direction for the boundary plane.
Definition ABLBoundaryPlane.H:191
void post_advance_work()
Definition ABLBoundaryPlane.cpp:329
bool is_initialized() const
Definition ABLBoundaryPlane.H:160
amrex::Vector< std::string > m_planes
IO boundary planes.
Definition ABLBoundaryPlane.H:198
void populate_data(const int, const amrex::Real, Field &, amrex::MultiFab &, const int dcomp=0, const int orig_comp=0) const
Definition ABLBoundaryPlane.cpp:1157
void write_data(const ncutils::NCGroup &grp, const amrex::Orientation, const int, const Field *)
Definition ABLBoundaryPlane.cpp:1235
static void impl_buffer_field(const amrex::Box &, const int, const int, const amrex::GpuArray< int, 2 > &, const amrex::IntVect &, const amrex::Array4< const amrex::Real > &, amrex::Gpu::ManagedVector< amrex::Real > &)
Definition ABLBoundaryPlane.cpp:1354
int boundary_native_file_levels() const
Definition ABLBoundaryPlane.cpp:1377
ABLBoundaryPlane(CFDSim &)
Definition ABLBoundaryPlane.cpp:252
void pre_predictor_work()
Definition ABLBoundaryPlane.cpp:321
amrex::Vector< int > m_in_timesteps
Definition ABLBoundaryPlane.H:222
amrex::Vector< amrex::Real > m_in_times
NetCDF input level time.
Definition ABLBoundaryPlane.H:221
amrex::Vector< amrex::BoxArray > read_bndry_native_boxarrays(const std::string &chkname, const Field &field) const
Definition ABLBoundaryPlane.cpp:862
std::string m_filename
File name for IO.
Definition ABLBoundaryPlane.H:209
void initialize_data()
Definition ABLBoundaryPlane.cpp:337
amrex::Real m_out_start_time
Start outputting after this time.
Definition ABLBoundaryPlane.H:201
amrex::Vector< std::string > m_plane_names
Plane names.
Definition ABLBoundaryPlane.H:194
bool m_is_initialized
Flag indicating if this capability is available.
Definition ABLBoundaryPlane.H:231
bool is_data_newer_than(const amrex::Real time) const
Definition ABLBoundaryPlane.H:167
Definition CFDSim.H:47
Definition Field.H:116
Definition FieldRepo.H:86
Definition ABLBoundaryPlane.H:29
void read_data(ncutils::NCGroup &, const amrex::Orientation, const int, const Field *, const amrex::Real, const amrex::Vector< amrex::Real > &)
Definition ABLBoundaryPlane.cpp:70
void read_data_native(const amrex::OrientationIter oit, amrex::BndryRegister &bndry_n, amrex::BndryRegister &bndry_np1, const int lev, const Field *, const amrex::Real time, const amrex::Vector< amrex::Real > &)
Definition ABLBoundaryPlane.cpp:144
bool is_populated(amrex::Orientation) const
Definition ABLBoundaryPlane.cpp:247
amrex::Vector< std::unique_ptr< PlaneVector > > m_data_interp
Definition ABLBoundaryPlane.H:87
void interpolate(const amrex::Real)
Definition ABLBoundaryPlane.cpp:225
amrex::Real m_tnp1
Time for plane at n + 1.
Definition ABLBoundaryPlane.H:93
const amrex::FArrayBox & interpolate_data(const amrex::Orientation ori, const int lev) const
Definition ABLBoundaryPlane.H:66
amrex::Real m_tinterp
Time for plane at interpolation.
Definition ABLBoundaryPlane.H:96
InletData()=default
void define_level_data(const amrex::Orientation, const amrex::Box &, const size_t)
Definition ABLBoundaryPlane.cpp:58
std::unordered_map< int, int > m_components
Map of {variableId : component}
Definition ABLBoundaryPlane.H:99
amrex::Vector< amrex::FArrayBox > PlaneVector
Definition ABLBoundaryPlane.H:30
int nlevels(const amrex::Orientation ori) const
Definition ABLBoundaryPlane.H:75
void define_plane(const amrex::Orientation)
Definition ABLBoundaryPlane.cpp:51
amrex::Vector< std::unique_ptr< PlaneVector > > m_data_n
Definition ABLBoundaryPlane.H:85
amrex::Vector< std::unique_ptr< PlaneVector > > m_data_np1
Definition ABLBoundaryPlane.H:86
Definition SimTime.H:30
Definition BCInterface.cpp:7
@ undefined
@ output
@ input
Definition ABLBoundaryPlane.H:16
amrex::Gpu::ManagedVector< amrex::Real > data
Definition ABLBoundaryPlane.H:17
Generated by 1.12.0