/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/sampling/RadarSampler.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
RadarSampler.H
Go to the documentation of this file.
Definition CFDSim.H:47
Definition RadarSampler.H:19
amrex::Real m_sample_freq
Definition RadarSampler.H:166
long num_output_points() const override
Number of probe locations to output.
Definition RadarSampler.H:99
void initialize(const std::string &key) override
Definition RadarSampler.cpp:14
long m_num_output_points_prior
Definition RadarSampler.H:201
void sampling_locations(SampleLocType &) const override
Populate and return a vector of probe locations to be sampled.
Definition RadarSampler.cpp:461
SampleLocType::LocType m_current_cones
Definition RadarSampler.H:151
double determine_current_sweep_angle() const
Definition RadarSampler.cpp:170
void define_netcdf_metadata(const ncutils::NCGroup &) const override
Definition RadarSampler.cpp:544
amrex::Vector< vs::Vector > LosUnitType
Definition RadarSampler.H:28
long m_num_points_prior
Definition RadarSampler.H:200
void check_bounds() override
Check and fix the bounds of the sampler so the probes are in the domain.
Definition RadarSampler.cpp:99
amrex::Vector< amrex::Real > m_end
Definition RadarSampler.H:148
long num_points_cone() const
Number of probe locations in a cone.
Definition RadarSampler.H:111
std::vector< double > modify_sample_data(const std::vector< double > &sample_data, const std::string &) override
Modify sample buffer after sampling happens.
Definition RadarSampler.cpp:413
phase determine_operation_phase() const
Definition RadarSampler.cpp:151
amrex::Vector< amrex::Real > m_vertical
Definition RadarSampler.H:175
void calc_lineofsight_velocity(const std::vector< std::vector< double > > &, const int) override
Definition RadarSampler.cpp:375
amrex::Vector< amrex::Real > m_elevation_angles
Definition RadarSampler.H:178
std::vector< double > m_los_velocity
Definition RadarSampler.H:158
double total_sweep_time() const
Definition RadarSampler.cpp:131
amrex::Real m_sweep_angle
Definition RadarSampler.H:176
amrex::Real m_periodic_time
Definition RadarSampler.H:188
std::vector< double > m_weights
Definition RadarSampler.H:163
SampleLocType::LocType m_initial_cone
Definition RadarSampler.H:150
std::vector< double > m_los_velocity_next
Definition RadarSampler.H:159
bool m_output_cone_points
Definition RadarSampler.H:195
long num_points_scan() const
Number of sampling container locations per interp step.
Definition RadarSampler.H:102
std::string label() const override
Name of this sampling object.
Definition RadarSampler.H:81
std::string sampletype() const override
Type of this sampling object.
Definition RadarSampler.H:85
amrex::Real m_angular_speed
Definition RadarSampler.H:173
amrex::Real m_radar_sample_freq
Definition RadarSampler.H:167
long num_points_axis() const
Number of probe locations on Radar axis.
Definition RadarSampler.H:108
vs::Vector m_radar_rotation_axis
Definition RadarSampler.H:183
std::vector< double > m_los_velocity_interp
Definition RadarSampler.H:161
void cone_axis_locations(SampleLocType &) const
Definition RadarSampler.cpp:512
long num_points_quad() const
Number of probe locations in a spherical cap.
Definition RadarSampler.H:117
std::string m_radar_quad_type
Definition RadarSampler.H:170
SampleLocType::LocType m_prior_cones
Definition RadarSampler.H:152
double periodic_time()
Definition RadarSampler.cpp:136
amrex::Vector< amrex::Real > m_axis
Definition RadarSampler.H:174
amrex::Vector< amrex::Real > m_start
Definition RadarSampler.H:147
int id() const override
Unique identifier for this set of probe locations.
Definition RadarSampler.H:88
void output_locations(SampleLocType &sample_locs) const override
Definition RadarSampler.H:60
RadarSampler(const CFDSim &)
Definition RadarSampler.cpp:10
void output_netcdf_data(const ncutils::NCGroup &, const size_t) const override
Definition RadarSampler.cpp:565
bool do_convert_velocity_los() override
Definition RadarSampler.H:127
static void line_average(const std::vector< double > &weights, const std::vector< double > &values, std::vector< double > &reduced, long offset)
Definition RadarSampler.cpp:437
void post_sample_actions() override
Definition RadarSampler.cpp:528
long num_points() const override
Number of sampling container locations in a timestep.
Definition RadarSampler.H:92
@ REVERSE_PAUSE
@ FORWARD_PAUSE
void populate_netcdf_metadata(const ncutils::NCGroup &) const override
Definition RadarSampler.cpp:561
SampleLocType::LocType m_sample_cones
Definition RadarSampler.H:153
~RadarSampler() override
static std::string identifier()
Definition RadarSampler.H:21
amrex::Real m_beam_length
Definition RadarSampler.H:172
bool do_subsampling_interp() override
Definition RadarSampler.H:128
bool output_netcdf_field(const std::vector< double > &output_buffer, ncutils::NCGroup &grp, const size_t nt) override
Definition RadarSampler.cpp:591
amrex::Vector< vs::Tensor > LosRotType
Definition RadarSampler.H:27
bool do_data_modification() override
Run data modification for specific sampler.
Definition RadarSampler.H:126
std::vector< double > m_los_velocity_prior
Definition RadarSampler.H:160
bool update_sampling_locations() override
Definition RadarSampler.cpp:189
std::vector< vs::Vector > m_rays
Definition RadarSampler.H:164
Definition DTUSpinnerSampler.cpp:16
Definition SamplerBase.H:15
amrex::Vector< amrex::RealVect > LocType
Definition SamplerBase.H:16
Definition vector.H:13
Generated by 1.12.0