XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
em_field_filter.cpp File Reference
#include "hyper_viscosity.hpp"
#include "sml.hpp"
#include "toroidal_average.hpp"
#include "flux_surface_average.hpp"
#include "fourier_filter.hpp"
#include "em_field_filter.hpp"
Include dependency graph for em_field_filter.cpp:

Functions

void apply_hyperviscosity (Field< VarType::Scalar, PhiInterpType::None > *input, Field< VarType::Scalar, PhiInterpType::None > *output)
 
void fourier_filter_m_range_cpp (double *field_inout)
 
KOKKOS_INLINE_FUNCTION bool is_em_turb (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, double r, double z, double psi)
 
KOKKOS_INLINE_FUNCTION bool is_em_fluxavg (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, double r, double z, double psi)
 
void em_field_filter (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, Smoothing &smoothing, const View< double *, CLayout, HostType > &input, const View< double *, CLayout, HostType > &output, bool filt_on, const Boundary< HostType > &bd_turb)
 

Function Documentation

void apply_hyperviscosity ( Field< VarType::Scalar, PhiInterpType::None > *  input,
Field< VarType::Scalar, PhiInterpType::None > *  output 
)
void em_field_filter ( const Simulation< DeviceType > &  sml,
const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
Smoothing smoothing,
const View< double *, CLayout, HostType > &  input,
const View< double *, CLayout, HostType > &  output,
bool  filt_on,
const Boundary< HostType > &  bd_turb 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void fourier_filter_m_range_cpp ( double *  field_inout)
KOKKOS_INLINE_FUNCTION bool is_em_fluxavg ( const Simulation< DeviceType > &  sml,
const MagneticField< DeviceType > &  magnetic_field,
double  r,
double  z,
double  psi 
)

Here is the call graph for this function:

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION bool is_em_turb ( const Simulation< DeviceType > &  sml,
const MagneticField< DeviceType > &  magnetic_field,
double  r,
double  z,
double  psi 
)

Here is the call graph for this function: