XGC1
Functions
get_dAdt_guess.cpp File Reference
#include "timer_macro.hpp"
#include "em_field_filter.hpp"
#include "get_dAdt_guess.hpp"
Include dependency graph for get_dAdt_guess.cpp:

Functions

template<class DeviceOut , PhiInterpType PIT>
void transpose_and_set_field (const View< double *, CLayout, DeviceType > &scratch, const View< double ***, CLayout, DeviceType > &tmp_field, const GridField< DeviceOut, VarType::Scalar, PIT, TorType::OnePlane, KinType::GyroKin > &field)
 
void calculate (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, Smoothing &smoothing, const PerturbedBField< DeviceType > &perturbed_B_field, const View< double **, CLayout, DeviceType > &field_para, const Boundary &filter_bndry, const View< double **, CLayout, DeviceType > &field)
 
void get_dAdt_guess (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const MagneticField< DeviceType > &magnetic_field, Smoothing &smoothing, const PerturbedBField< DeviceType > &perturbed_B_field, GetPotentialGradTemp< DeviceType, HostType > &tmp, const View< double **, CLayout, DeviceType > &field_para, const Boundary &filter_bndry, const GridField< HostType, VarType::Scalar, PhiInterpType::Planes, TorType::OnePlane, KinType::GyroKin > &dAdt_guess)
 

Function Documentation

◆ calculate()

void calculate ( const Simulation< DeviceType > &  sml,
const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
Smoothing smoothing,
const PerturbedBField< DeviceType > &  perturbed_B_field,
const View< double **, CLayout, DeviceType > &  field_para,
const Boundary filter_bndry,
const View< double **, CLayout, DeviceType > &  field 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_dAdt_guess()

void get_dAdt_guess ( const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const MagneticField< DeviceType > &  magnetic_field,
Smoothing smoothing,
const PerturbedBField< DeviceType > &  perturbed_B_field,
GetPotentialGradTemp< DeviceType, HostType > &  tmp,
const View< double **, CLayout, DeviceType > &  field_para,
const Boundary filter_bndry,
const GridField< HostType, VarType::Scalar, PhiInterpType::Planes, TorType::OnePlane, KinType::GyroKin > &  dAdt_guess 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transpose_and_set_field()

template<class DeviceOut , PhiInterpType PIT>
void transpose_and_set_field ( const View< double *, CLayout, DeviceType > &  scratch,
const View< double ***, CLayout, DeviceType > &  tmp_field,
const GridField< DeviceOut, VarType::Scalar, PIT, TorType::OnePlane, KinType::GyroKin > &  field 
)
Here is the call graph for this function:
Here is the caller graph for this function: