ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
vdw::d3::Vec3 Struct Reference

#include <vdwd3_types.h>

Collaboration diagram for vdw::d3::Vec3:

Public Member Functions

 Vec3 ()=default
 Vec3 (double x_in, double y_in, double z_in)
Vec3 & operator+= (const Vec3 &rhs)
Vec3 & operator-= (const Vec3 &rhs)

Public Attributes

double x = 0.0
double y = 0.0
double z = 0.0

Constructor & Destructor Documentation

◆ Vec3() [1/2]

vdw::d3::Vec3::Vec3 ( )
default
Here is the caller graph for this function:

◆ Vec3() [2/2]

vdw::d3::Vec3::Vec3 ( double x_in,
double y_in,
double z_in )
inline

Member Function Documentation

◆ operator+=()

Vec3 & vdw::d3::Vec3::operator+= ( const Vec3 & rhs)
inline
Here is the call graph for this function:

◆ operator-=()

Vec3 & vdw::d3::Vec3::operator-= ( const Vec3 & rhs)
inline
Here is the call graph for this function:

Member Data Documentation

◆ x

double vdw::d3::Vec3::x = 0.0

◆ y

double vdw::d3::Vec3::y = 0.0

◆ z

double vdw::d3::Vec3::z = 0.0

The documentation for this struct was generated from the following file: