W2AWavesData Struct Reference

AMR-Wind API: amr_wind::ocean_waves::W2AWavesData Struct Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::ocean_waves::W2AWavesData Struct Reference

#include <W2AWaves.H>

Inheritance diagram for amr_wind::ocean_waves::W2AWavesData:
[legend]
Collaboration diagram for amr_wind::ocean_waves::W2AWavesData:
[legend]

Public Member Functions

 ~W2AWavesData ()

Public Attributes

std::string modes_file {"modes_HOS_SWENSE.dat"}
int n0 {0}
int n1 {0}
int n2 {0}
int n0_sp {0}
int n1_sp {0}
amrex::Real dx0 {0.}
amrex::Real dx1 {0.}
amrex::Real xlo0 {0.}
amrex::Real xlo1 {0.}
amrex::Real dimL {0.}
amrex::Real dt_modes {0.0}
amrex::Real t_winit {-1.0}
int ntime {0}
int n_winit {0}
int n_wstop {0}
int n_offset {0}
amrex::Real t_last {-1.0}
amrex::Real t {0.0}
std::vector< std::complex< double > > c_mX
std::vector< std::complex< double > > c_mY
std::vector< std::complex< double > > c_mZ
std::vector< std::complex< double > > c_mFS
std::vector< double > r_mX
std::vector< double > r_mY
std::vector< double > r_mZ
std::vector< double > r_mFS
std::vector< double > r_mAdd
amrex::Vector< amrex::Real > hvec
amrex::Vector< int > indvec
bool is_ocean {true}
bool do_interp {true}
bool resize_flag {false}
amrex::Gpu::DeviceVector< amrex::Real > sp_eta_vec
amrex::Gpu::DeviceVector< amrex::Real > sp_u_vec
amrex::Gpu::DeviceVector< amrex::Real > sp_v_vec
amrex::Gpu::DeviceVector< amrex::Real > sp_w_vec
Public Attributes inherited from amr_wind::ocean_waves::RelaxZonesBaseData
amrex::Real zsl {0.0}
amrex::Real water_depth {0.5}
amrex::Real g
amrex::Real gen_length {4.0}
amrex::Real beach_length {8.0}
amrex::Real beach_length_factor {1.0}
amrex::Real zone_length_y {0.0}
amrex::Real current {0.0}
bool init_wave_field {false}
bool has_ramp {false}
bool has_beach {true}
amrex::Real ramp_period
bool regrid_occurred {false}

Constructor & Destructor Documentation

◆ ~W2AWavesData()

amr_wind::ocean_waves::W2AWavesData::~W2AWavesData ( )
inline

Member Data Documentation

◆ c_mFS

std::vector<std::complex<double> > amr_wind::ocean_waves::W2AWavesData::c_mFS

◆ c_mX

std::vector<std::complex<double> > amr_wind::ocean_waves::W2AWavesData::c_mX

◆ c_mY

std::vector<std::complex<double> > amr_wind::ocean_waves::W2AWavesData::c_mY

◆ c_mZ

std::vector<std::complex<double> > amr_wind::ocean_waves::W2AWavesData::c_mZ

◆ dimL

amrex::Real amr_wind::ocean_waves::W2AWavesData::dimL {0.}

◆ do_interp

bool amr_wind::ocean_waves::W2AWavesData::do_interp {true}

◆ dt_modes

amrex::Real amr_wind::ocean_waves::W2AWavesData::dt_modes {0.0}

◆ dx0

amrex::Real amr_wind::ocean_waves::W2AWavesData::dx0 {0.}

◆ dx1

amrex::Real amr_wind::ocean_waves::W2AWavesData::dx1 {0.}

◆ hvec

amrex::Vector<amrex::Real> amr_wind::ocean_waves::W2AWavesData::hvec

◆ indvec

amrex::Vector<int> amr_wind::ocean_waves::W2AWavesData::indvec

◆ is_ocean

bool amr_wind::ocean_waves::W2AWavesData::is_ocean {true}

◆ modes_file

std::string amr_wind::ocean_waves::W2AWavesData::modes_file {"modes_HOS_SWENSE.dat"}

◆ n0

int amr_wind::ocean_waves::W2AWavesData::n0 {0}

◆ n0_sp

int amr_wind::ocean_waves::W2AWavesData::n0_sp {0}

◆ n1

int amr_wind::ocean_waves::W2AWavesData::n1 {0}

◆ n1_sp

int amr_wind::ocean_waves::W2AWavesData::n1_sp {0}

◆ n2

int amr_wind::ocean_waves::W2AWavesData::n2 {0}

◆ n_offset

int amr_wind::ocean_waves::W2AWavesData::n_offset {0}

◆ n_winit

int amr_wind::ocean_waves::W2AWavesData::n_winit {0}

◆ n_wstop

int amr_wind::ocean_waves::W2AWavesData::n_wstop {0}

◆ ntime

int amr_wind::ocean_waves::W2AWavesData::ntime {0}

◆ r_mAdd

std::vector<double> amr_wind::ocean_waves::W2AWavesData::r_mAdd

◆ r_mFS

std::vector<double> amr_wind::ocean_waves::W2AWavesData::r_mFS

◆ r_mX

std::vector<double> amr_wind::ocean_waves::W2AWavesData::r_mX

◆ r_mY

std::vector<double> amr_wind::ocean_waves::W2AWavesData::r_mY

◆ r_mZ

std::vector<double> amr_wind::ocean_waves::W2AWavesData::r_mZ

◆ resize_flag

bool amr_wind::ocean_waves::W2AWavesData::resize_flag {false}

◆ sp_eta_vec

amrex::Gpu::DeviceVector<amrex::Real> amr_wind::ocean_waves::W2AWavesData::sp_eta_vec

◆ sp_u_vec

amrex::Gpu::DeviceVector<amrex::Real> amr_wind::ocean_waves::W2AWavesData::sp_u_vec

◆ sp_v_vec

amrex::Gpu::DeviceVector<amrex::Real> amr_wind::ocean_waves::W2AWavesData::sp_v_vec

◆ sp_w_vec

amrex::Gpu::DeviceVector<amrex::Real> amr_wind::ocean_waves::W2AWavesData::sp_w_vec

◆ t

amrex::Real amr_wind::ocean_waves::W2AWavesData::t {0.0}

◆ t_last

amrex::Real amr_wind::ocean_waves::W2AWavesData::t_last {-1.0}

◆ t_winit

amrex::Real amr_wind::ocean_waves::W2AWavesData::t_winit {-1.0}

◆ xlo0

amrex::Real amr_wind::ocean_waves::W2AWavesData::xlo0 {0.}

◆ xlo1

amrex::Real amr_wind::ocean_waves::W2AWavesData::xlo1 {0.}

The documentation for this struct was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/ocean_waves/relaxation_zones/W2AWaves.H