XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
HyperViscosity Class Reference

#include <hyper_viscosity.hpp>

Public Member Functions

 HyperViscosity ()
 
 HyperViscosity (NLReader::NamelistReader &nlr)
 
void apply (const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const View< double *, CLayout, HostType > &field)
 

Public Attributes

bool rad_on
 Switch for 2nd order accurate 4th derivative radial (grad(psi)) hyperviscosity. More...
 
bool parallel_on
 Switch for 2nd order accurate 4th derivative field-aligned hyperviscosity. More...
 
double rad
 Strength of the radial hyperviscosity; sml_dt/rad corresponds. More...
 
double parallel
 Strength of the parallel hyperviscosity; sml_dt/parallel corresponds. More...
 

Constructor & Destructor Documentation

HyperViscosity::HyperViscosity ( )
inline
HyperViscosity::HyperViscosity ( NLReader::NamelistReader nlr)

Here is the call graph for this function:

Member Function Documentation

void HyperViscosity::apply ( const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const View< double *, CLayout, HostType > &  field 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

double HyperViscosity::parallel

Strength of the parallel hyperviscosity; sml_dt/parallel corresponds.

bool HyperViscosity::parallel_on

Switch for 2nd order accurate 4th derivative field-aligned hyperviscosity.

double HyperViscosity::rad

Strength of the radial hyperviscosity; sml_dt/rad corresponds.

bool HyperViscosity::rad_on

Switch for 2nd order accurate 4th derivative radial (grad(psi)) hyperviscosity.


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