ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
xc_kernel.cpp File Reference
#include "xc_kernel.h"
#include "xc_kxc.h"
#include "source_hamilt/module_xc/xc_functional.h"
#include "source_io/module_parameter/parameter.h"
#include "source_base/timer.h"
#include "source_base/parallel_reduce.h"
#include <sstream>
#include "source_base/tool_quit.h"
#include "source_lcao/module_lr/utils/lr_util.h"
#include "source_lcao/module_lr/utils/lr_util_xc.hpp"
#include <set>
#include <chrono>
#include <cstdlib>
#include <algorithm>
#include <iostream>
#include <cmath>
#include <exception>
#include "source_io/module_output/cube_io.h"
Include dependency graph for xc_kernel.cpp:

Functions

template<typename T>
void add_op (const T *const src1, const T *const src2, T *const dst, const int size)
template<typename T>
void add_op (const std::vector< T > &src1, const std::vector< T > &src2, std::vector< T > &dst)
template<typename T>
void add_assign_op (const std::vector< T > &src, std::vector< T > &dst)
template<typename Telement, typename Tscalar>
void cutoff_grid_data_spin2 (std::vector< Telement > &func, const std::vector< Tscalar > &mask)

Function Documentation

◆ add_assign_op()

template<typename T>
void add_assign_op ( const std::vector< T > & src,
std::vector< T > & dst )
inline
Here is the call graph for this function:

◆ add_op() [1/2]

template<typename T>
void add_op ( const std::vector< T > & src1,
const std::vector< T > & src2,
std::vector< T > & dst )
inline
Here is the call graph for this function:

◆ add_op() [2/2]

template<typename T>
void add_op ( const T *const src1,
const T *const src2,
T *const dst,
const int size )
inline
Here is the caller graph for this function:

◆ cutoff_grid_data_spin2()

template<typename Telement, typename Tscalar>
void cutoff_grid_data_spin2 ( std::vector< Telement > & func,
const std::vector< Tscalar > & mask )
inline
Here is the call graph for this function: