XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
F0Profile< Device > Class Template Reference

#include <cpp_f0profile.hpp>

Public Member Functions

 F0Profile (double out_f, double out_w, double priv_f, double priv_w, int lin_n, double lin_min0, double lin_del0, double *lin_v0, double lin_min1, double lin_del1, double *lin_v1)
 
 F0Profile ()
 
KOKKOS_INLINE_FUNCTION void get_profile (const MagneticField< Device > &magnetic_field, const Simd< double > &psi, const Simd< double > &r, const Simd< double > &z, Simd< double > &f0den, Simd< double > &f0dden, Simd< double > &f0temp, Simd< double > &f0dtemp) const
 

Public Attributes

double eq_out_decay_factor
 
double eq_out_decay_width
 
double eq_priv_flux_decay_factor
 
double eq_priv_flux_decay_width
 
OneProfile< Device > density_prf
 
OneProfile< Device > temp_prf
 

Constructor & Destructor Documentation

template<class Device >
F0Profile< Device >::F0Profile ( double  out_f,
double  out_w,
double  priv_f,
double  priv_w,
int  lin_n,
double  lin_min0,
double  lin_del0,
double *  lin_v0,
double  lin_min1,
double  lin_del1,
double *  lin_v1 
)

Constructor for F0Profile class

template<class Device>
F0Profile< Device >::F0Profile ( )
inline

Member Function Documentation

template<class Device >
KOKKOS_INLINE_FUNCTION void F0Profile< Device >::get_profile ( const MagneticField< Device > &  magnetic_field,
const Simd< double > &  psi,
const Simd< double > &  r,
const Simd< double > &  z,
Simd< double > &  f0den,
Simd< double > &  f0dden,
Simd< double > &  f0temp,
Simd< double > &  f0dtemp 
) const

Get f0 profile

Parameters
[in]psi_inpsi
[in]rR
[in]zZ
[out]f0denf0 density
[out]f0ddenderiv of f0 density
[out]f0tempf0 temperature
[out]f0dtmpderiv of f0 temperature will add flow
Get function value at psi=sml_outpsi

! let ftn decay exponentially to eq_out_decay_factor ! times the value at sml_outpsi with a decay ! length of eq_out_decay_width

Member Data Documentation

template<class Device>
OneProfile<Device> F0Profile< Device >::density_prf
template<class Device>
double F0Profile< Device >::eq_out_decay_factor
template<class Device>
double F0Profile< Device >::eq_out_decay_width
template<class Device>
double F0Profile< Device >::eq_priv_flux_decay_factor
template<class Device>
double F0Profile< Device >::eq_priv_flux_decay_width
template<class Device>
OneProfile<Device> F0Profile< Device >::temp_prf

The documentation for this class was generated from the following files: