12#ifndef __EKINETICTEMPLATE
13#define __EKINETICTEMPLATE
23template<
typename T,
typename Device>
35 template<
typename T_in,
typename Device_in = Device>
40 virtual void act(
const int nbands,
46 const bool is_first_node =
false)
const override;
53 Device*
get_ctx()
const {
return this->ctx;}
63 base_device::DEVICE_CPU* cpu_ctx = {};
Device * get_ctx() const
Definition ekinetic_pw.h:53
ekinetic_pw_op< Real, Device > ekinetic_op
Definition ekinetic_pw.h:66
int get_gk2_col() const
Definition ekinetic_pw.h:50
Real get_tpiba2() const
Definition ekinetic_pw.h:51
const Real * get_gk2() const
Definition ekinetic_pw.h:52
typename GetTypeReal< T >::type Real
Definition ekinetic_pw.h:27
int get_gk2_row() const
Definition ekinetic_pw.h:49
Definition ekinetic_pw.h:15
Definition operator_pw.h:8
#define T
Definition exp.cpp:237
AbacusDevice_t
Definition types.h:12
T type
Definition macros.h:8
Definition memory_op.h:77
Definition memory_op.h:17
Definition memory_op.h:45
Definition ekinetic_op.h:9