ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
BaseCell Class Referenceabstract

#include <basecell.h>

Inheritance diagram for BaseCell:
Collaboration diagram for BaseCell:

Public Types

enum class  Kind { unitcell , mdcell }

Public Member Functions

virtual ~BaseCell ()=default
Kind kind () const
std::int64_t nat () const
double lat0 () const
double omega () const
const ModuleBase::Matrix3 & latvec () const
const ModuleBase::Matrix3 & GT () const
void require_kind (const Kind &expected, const char *caller) const

Private Member Functions

virtual Kind get_kind () const =0
virtual std::int64_t get_nat () const =0
virtual double get_lat0 () const =0
virtual double get_omega () const =0
virtual const ModuleBase::Matrix3 & get_latvec () const =0
virtual const ModuleBase::Matrix3 & get_GT () const =0

Member Enumeration Documentation

◆ Kind

enum class BaseCell::Kind
strong
Enumerator
unitcell 
mdcell 

Constructor & Destructor Documentation

◆ ~BaseCell()

virtual BaseCell::~BaseCell ( )
virtualdefault

Member Function Documentation

◆ get_GT()

virtual const ModuleBase::Matrix3 & BaseCell::get_GT ( ) const
privatepure virtual

Implemented in MDCell, and UnitCell.

Here is the caller graph for this function:

◆ get_kind()

virtual Kind BaseCell::get_kind ( ) const
privatepure virtual

Implemented in MDCell, and UnitCell.

Here is the caller graph for this function:

◆ get_lat0()

virtual double BaseCell::get_lat0 ( ) const
privatepure virtual

Implemented in MDCell, and UnitCell.

Here is the caller graph for this function:

◆ get_latvec()

virtual const ModuleBase::Matrix3 & BaseCell::get_latvec ( ) const
privatepure virtual

Implemented in MDCell, and UnitCell.

Here is the caller graph for this function:

◆ get_nat()

virtual std::int64_t BaseCell::get_nat ( ) const
privatepure virtual

Implemented in MDCell, and UnitCell.

Here is the caller graph for this function:

◆ get_omega()

virtual double BaseCell::get_omega ( ) const
privatepure virtual

Implemented in MDCell, and UnitCell.

Here is the caller graph for this function:

◆ GT()

const ModuleBase::Matrix3 & BaseCell::GT ( ) const
inline
Here is the call graph for this function:

◆ kind()

Kind BaseCell::kind ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lat0()

double BaseCell::lat0 ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ latvec()

const ModuleBase::Matrix3 & BaseCell::latvec ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nat()

std::int64_t BaseCell::nat ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ omega()

double BaseCell::omega ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ require_kind()

void BaseCell::require_kind ( const Kind & expected,
const char * caller ) const
Here is the call graph for this function:

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