XGC1
Functions
perturbed_B_field.cpp File Reference
#include "fourier_filter.hpp"
#include "send_recv_toroidal.hpp"
#include "perturbed_B_field.hpp"
#include "globals.hpp"
#include "toroidal_average.hpp"
#include "get_angular_conversion_fac.hpp"
#include <stdint.h>
Include dependency graph for perturbed_B_field.cpp:

Functions

void read_3db_m3dc1_eem (double *As_vac)
 
void read_3db_m3dc1_rz ()
 
void read_3db_m3dc1_mesh ()
 
void read_3db_test (double *As_vac, int explicit_em_int)
 
void extract_resonant_vector_potential_from_m3dc1 (int itor, double *As_vac)
 
void extract_resonant_vector_potential_from_m3dc1_p2 (int itor, double *As_vac, double *As_vac_full)
 
int * get_ptb_3db_ntor_loc ()
 
void update_3db_fort (double rampup_fac, int sml_gstep, double sml_time)
 
KOKKOS_INLINE_FUNCTION double fourier_filter_damp_fac (double psi, double inpsi, double outpsi, double bd_width)
 
bool my_directory_exists (const std::string &path)
 
void process_and_share (const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const Smoothing &smoothing, const View< double *, CLayout, HostType > &As_vac_in, double em_inpsi, double em_outpsi, double em_bd_width, bool blend_with_unfiltered, const View< double **, CLayout, HostType > &As_vac)
 
void write_As_vac (const DomainDecomposition< DeviceType > &pol_decomp, const View< double **, CLayout, HostType > &As_vac, int num_ntor)
 

Function Documentation

◆ extract_resonant_vector_potential_from_m3dc1()

void extract_resonant_vector_potential_from_m3dc1 ( int  itor,
double *  As_vac 
)
Here is the caller graph for this function:

◆ extract_resonant_vector_potential_from_m3dc1_p2()

void extract_resonant_vector_potential_from_m3dc1_p2 ( int  itor,
double *  As_vac,
double *  As_vac_full 
)
Here is the caller graph for this function:

◆ fourier_filter_damp_fac()

KOKKOS_INLINE_FUNCTION double fourier_filter_damp_fac ( double  psi,
double  inpsi,
double  outpsi,
double  bd_width 
)
Here is the caller graph for this function:

◆ get_ptb_3db_ntor_loc()

int* get_ptb_3db_ntor_loc ( )
Here is the caller graph for this function:

◆ my_directory_exists()

bool my_directory_exists ( const std::string &  path)
Here is the caller graph for this function:

◆ process_and_share()

void process_and_share ( const DomainDecomposition< DeviceType > &  pol_decomp,
const Grid< DeviceType > &  grid,
const Smoothing smoothing,
const View< double *, CLayout, HostType > &  As_vac_in,
double  em_inpsi,
double  em_outpsi,
double  em_bd_width,
bool  blend_with_unfiltered,
const View< double **, CLayout, HostType > &  As_vac 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_3db_m3dc1_eem()

void read_3db_m3dc1_eem ( double *  As_vac)
Here is the caller graph for this function:

◆ read_3db_m3dc1_mesh()

void read_3db_m3dc1_mesh ( )
Here is the caller graph for this function:

◆ read_3db_m3dc1_rz()

void read_3db_m3dc1_rz ( )
Here is the caller graph for this function:

◆ read_3db_test()

void read_3db_test ( double *  As_vac,
int  explicit_em_int 
)
Here is the caller graph for this function:

◆ update_3db_fort()

void update_3db_fort ( double  rampup_fac,
int  sml_gstep,
double  sml_time 
)
Here is the caller graph for this function:

◆ write_As_vac()

void write_As_vac ( const DomainDecomposition< DeviceType > &  pol_decomp,
const View< double **, CLayout, HostType > &  As_vac,
int  num_ntor 
)
Here is the call graph for this function:
Here is the caller graph for this function: