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}
 
amrex::Real dx0 {0.}
 
amrex::Real dx1 {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 > > mX
 
std::vector< std::complex< double > > mY
 
std::vector< std::complex< double > > mZ
 
std::vector< std::complex< double > > mFS
 
amrex::Vector< amrex::Real > hvec
 
amrex::Vector< int > indvec
 
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
 
amrex::Real sp_dx {0.}
 
amrex::Real sp_dy {0.}
 
- 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}
 
bool init_wave_field {false}
 
bool has_ramp {false}
 
bool has_beach {true}
 
bool has_outprofile {false}
 
amrex::Real ramp_period
 
bool regrid_occurred {false}
 

Constructor & Destructor Documentation

◆ ~W2AWavesData()

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

Member Data Documentation

◆ 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

◆ mFS

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

◆ modes_file

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

◆ mX

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

◆ mY

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

◆ mZ

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

◆ n0

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

◆ n1

int amr_wind::ocean_waves::W2AWavesData::n1 {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}

◆ resize_flag

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

◆ sp_dx

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

◆ sp_dy

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

◆ 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}

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