DeviceOp Struct Reference

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

#include <Rankine.H>

Public Member Functions

AMREX_GPU_DEVICE void operator() (const amrex::IntVect &iv, amrex::Array4< amrex::Real > const &field, amrex::GeometryData const &geom, const amrex::Real time, amrex::Orientation, const int comp, const int dcomp, const int orig_comp) const
 

Public Attributes

amrex::Real Umax {15.0}
 
amrex::Real Rmax {125.0}
 
amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > start_location
 
amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > vel_ref = {0.0}
 

Member Function Documentation

◆ operator()()

AMREX_GPU_DEVICE void amr_wind::udf::Rankine::DeviceOp::operator() ( const amrex::IntVect & iv,
amrex::Array4< amrex::Real > const & field,
amrex::GeometryData const & geom,
const amrex::Real time,
amrex::Orientation ,
const int comp,
const int dcomp,
const int orig_comp ) const
inline

Member Data Documentation

◆ Rmax

amrex::Real amr_wind::udf::Rankine::DeviceOp::Rmax {125.0}

◆ start_location

amrex::GpuArray<amrex::Real, AMREX_SPACEDIM> amr_wind::udf::Rankine::DeviceOp::start_location
Initial value:
= {
AMREX_D_DECL(-10 * Rmax, 0.0, 0.0)}
amrex::Real Rmax
Definition Rankine.H:18

◆ Umax

amrex::Real amr_wind::udf::Rankine::DeviceOp::Umax {15.0}

◆ vel_ref

amrex::GpuArray<amrex::Real, AMREX_SPACEDIM> amr_wind::udf::Rankine::DeviceOp::vel_ref = {0.0}

The documentation for this struct was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/physics/udfs/Rankine.H