ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
vdw Namespace Reference

Namespaces

namespace  d3

Classes

struct  VdwRequest
struct  VdwResult
class  Vdw
class  VdwParameters
class  Vdwd2
class  Vdwd2Parameters
class  Vdwd3
class  Vdwd4

Functions

std::unique_ptr< Vdw > make_vdw (const UnitCell &ucell, const Input_para &input, std::ofstream *plog=nullptr)
 make vdw correction object
template<typename T, typename... Args>
std::unique_ptr< T > make_unique_compat (Args &&...args)
std::string normalize_xc_name (const std::string &input)
 Normalize an XC-functional spelling at the ABACUS/libXC boundary.

Function Documentation

◆ make_unique_compat()

template<typename T, typename... Args>
std::unique_ptr< T > vdw::make_unique_compat ( Args &&... args)
Here is the caller graph for this function:

◆ make_vdw()

std::unique_ptr< Vdw > vdw::make_vdw ( const UnitCell & ucell,
const Input_para & input,
std::ofstream * plog = nullptr )

make vdw correction object

Parameters
ucellUnitCell instance
inputParameter instance
plogoptional, for logging the parameter setting process
Returns
std::unique_ptr<Vdw>
Here is the call graph for this function:
Here is the caller graph for this function:

◆ normalize_xc_name()

std::string vdw::normalize_xc_name ( const std::string & input)

Normalize an XC-functional spelling at the ABACUS/libXC boundary.

This function intentionally performs syntax normalization only. It lowercases ASCII names, removes an optional leading "XC_" from each libXC component, trims surrounding whitespace, and writes two-component libXC functionals with ':' as the separator used by libdftd4.

Examples: "PBE" -> "pbe" "XC_HYB_GGA_XC_PBEH" -> "hyb_gga_xc_pbeh" "GGA_X_PBE+GGA_C_PBE" -> "gga_x_pbe:gga_c_pbe" "XC_GGA_X_PBE+XC_GGA_C_PBE" -> "gga_x_pbe:gga_c_pbe"

Semantic aliases (for example revPBE or damping-specific wB97X aliases) belong to the dispersion-model parameter layer rather than here.

Here is the caller graph for this function: