ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
vdw::Vdwd2 Class Reference

#include <vdwd2.h>

Inheritance diagram for vdw::Vdwd2:
Collaboration diagram for vdw::Vdwd2:

Public Member Functions

 Vdwd2 (const UnitCell &unit_in)
 
 ~Vdwd2 ()=default
 
Vdwd2Parametersparameter ()
 
const Vdwd2Parametersparameter () const
 
- Public Member Functions inherited from vdw::Vdw
 Vdw (const UnitCell &unit_in)
 
virtual ~Vdw ()=default
 
double get_energy (bool cal=true)
 
const std::vector< ModuleBase::Vector3< double > > & get_force (bool cal=true)
 
const ModuleBase::Matrix3get_stress (bool cal=true)
 

Private Member Functions

void cal_energy () override
 
void cal_force () override
 
void cal_stress () override
 
template<typename F >
void index_loops (F &&f)
 

Private Attributes

Vdwd2Parameters para_
 

Additional Inherited Members

- Protected Attributes inherited from vdw::Vdw
const UnitCellucell_
 
double energy_ = 0
 
std::vector< ModuleBase::Vector3< double > > force_
 
ModuleBase::Matrix3 stress_
 

Constructor & Destructor Documentation

◆ Vdwd2()

vdw::Vdwd2::Vdwd2 ( const UnitCell unit_in)
inline

◆ ~Vdwd2()

vdw::Vdwd2::~Vdwd2 ( )
default

Member Function Documentation

◆ cal_energy()

void vdw::Vdwd2::cal_energy ( )
overrideprivatevirtual

Implements vdw::Vdw.

Here is the call graph for this function:

◆ cal_force()

void vdw::Vdwd2::cal_force ( )
overrideprivatevirtual

Implements vdw::Vdw.

Here is the call graph for this function:

◆ cal_stress()

void vdw::Vdwd2::cal_stress ( )
overrideprivatevirtual

Implements vdw::Vdw.

Here is the call graph for this function:

◆ index_loops()

template<typename F >
void vdw::Vdwd2::index_loops ( F &&  f)
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parameter() [1/2]

Vdwd2Parameters & vdw::Vdwd2::parameter ( )
inline
Here is the caller graph for this function:

◆ parameter() [2/2]

const Vdwd2Parameters & vdw::Vdwd2::parameter ( ) const
inline

Member Data Documentation

◆ para_

Vdwd2Parameters vdw::Vdwd2::para_
private

The documentation for this class was generated from the following files: