/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:110
bool box_intersects_boundary(const amrex::Box &, const int, const amrex::Orientation) const
True if box intersects the boundary.
Definition ABLBoundaryPlane.cpp:1091
amrex::Vector< std::string > m_var_names
Variables for IO.
Definition ABLBoundaryPlane.H:209
std::string m_time_file
File name for Native time file.
Definition ABLBoundaryPlane.H:206
const int m_in_rad
controls extents on native bndry output
Definition ABLBoundaryPlane.H:228
void post_init_actions()
Execute initialization actions after mesh has been fully generated.
Definition ABLBoundaryPlane.cpp:295
std::string m_out_fmt
output format for bndry output
Definition ABLBoundaryPlane.H:233
InletData m_in_data
Inlet data.
Definition ABLBoundaryPlane.H:219
void pre_advance_work()
Definition ABLBoundaryPlane.cpp:307
size_t m_out_counter
NetCDF time output counter.
Definition ABLBoundaryPlane.H:199
amrex::Vector< Field * > m_fields
List of fields for IO.
Definition ABLBoundaryPlane.H:212
int m_write_frequency
Normal direction for the boundary plane.
Definition ABLBoundaryPlane.H:185
void post_advance_work()
Definition ABLBoundaryPlane.cpp:323
bool is_initialized() const
Definition ABLBoundaryPlane.H:154
amrex::Vector< std::string > m_planes
IO boundary planes.
Definition ABLBoundaryPlane.H:192
void populate_data(const int, const amrex::Real, Field &, amrex::MultiFab &, const int dcomp=0, const int orig_comp=0) const
Definition ABLBoundaryPlane.cpp:879
void write_data(const ncutils::NCGroup &grp, const amrex::Orientation, const int, const Field *)
Definition ABLBoundaryPlane.cpp:955
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:1051
int boundary_native_file_levels()
Definition ABLBoundaryPlane.cpp:1074
ABLBoundaryPlane(CFDSim &)
Definition ABLBoundaryPlane.cpp:246
void pre_predictor_work()
Definition ABLBoundaryPlane.cpp:315
amrex::Vector< int > m_in_timesteps
Definition ABLBoundaryPlane.H:216
amrex::Vector< amrex::Real > m_in_times
NetCDF input level time.
Definition ABLBoundaryPlane.H:215
std::string m_filename
File name for IO.
Definition ABLBoundaryPlane.H:203
void initialize_data()
Definition ABLBoundaryPlane.cpp:331
amrex::Real m_out_start_time
Start outputting after this time.
Definition ABLBoundaryPlane.H:195
amrex::Vector< std::string > m_plane_names
Plane names.
Definition ABLBoundaryPlane.H:188
bool m_is_initialized
Flag indicating if this capability is available.
Definition ABLBoundaryPlane.H:225
bool is_data_newer_than(const amrex::Real time) const
Definition ABLBoundaryPlane.H:161
Definition CFDSim.H:47
Definition Field.H:116
Definition FieldRepo.H:86
Definition ABLBoundaryPlane.H:28
void read_data(ncutils::NCGroup &, const amrex::Orientation, const int, const Field *, const amrex::Real, const amrex::Vector< amrex::Real > &)
Definition ABLBoundaryPlane.cpp:69
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:140
bool is_populated(amrex::Orientation) const
Definition ABLBoundaryPlane.cpp:241
amrex::Vector< std::unique_ptr< PlaneVector > > m_data_interp
Definition ABLBoundaryPlane.H:86
void interpolate(const amrex::Real)
Definition ABLBoundaryPlane.cpp:219
amrex::Real m_tnp1
Time for plane at n + 1.
Definition ABLBoundaryPlane.H:92
const amrex::FArrayBox & interpolate_data(const amrex::Orientation ori, const int lev) const
Definition ABLBoundaryPlane.H:65
amrex::Real m_tinterp
Time for plane at interpolation.
Definition ABLBoundaryPlane.H:95
InletData()=default
void define_level_data(const amrex::Orientation, const amrex::Box &, const size_t)
Definition ABLBoundaryPlane.cpp:57
std::unordered_map< int, int > m_components
Map of {variableId : component}
Definition ABLBoundaryPlane.H:98
amrex::Vector< amrex::FArrayBox > PlaneVector
Definition ABLBoundaryPlane.H:29
int nlevels(const amrex::Orientation ori) const
Definition ABLBoundaryPlane.H:74
void define_plane(const amrex::Orientation)
Definition ABLBoundaryPlane.cpp:50
amrex::Vector< std::unique_ptr< PlaneVector > > m_data_n
Definition ABLBoundaryPlane.H:84
amrex::Vector< std::unique_ptr< PlaneVector > > m_data_np1
Definition ABLBoundaryPlane.H:85
Definition SimTime.H:30
Definition BCInterface.cpp:7
@ undefined
@ output
@ input
Definition ABLBoundaryPlane.H:15
amrex::Gpu::ManagedVector< amrex::Real > data
Definition ABLBoundaryPlane.H:16
Generated by 1.12.0