•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Search Results
mpqc::Supercell Class Reference
Documentation
3-d box of unit cells with an odd number of cells in each dimension
Classes | |
struct fb_tag | |
class Iterator | |
struct or_tag | |
struct Point | |
Public Types | |
using vec3_t = Eigen::Vector3i | |
index of a unit cell in the supercell More... | |
using iterator = Iterator | |
using const_iterator = Iterator | |
Public Member Functions | |
Supercell ()=default | |
Supercell (const Supercell &)=default | |
Supercell (Supercell &&)=default | |
Supercell & operator= (const Supercell &)=default | |
Supercell & operator= (Supercell &&)=default | |
~Supercell ()=default | |
Supercell (const vec3_t &F, const vec3_t &B, fb_tag=fb_tag{}) | |
Supercell (const vec3_t &R) | |
Supercell (const vec3_t &O, const vec3_t &R, or_tag) | |
vec3_t R () const | |
vec3_t O () const | |
const vec3_t & stride () const | |
const vec3_t & extent () const | |
size_t size () const | |
const vec3_t & front () const | |
const vec3_t & back () const | |
bool includes (const vec3_t &v) const | |
int64_t offset () const | |
int64_t ordinal (const vec3_t &v) const | |
int64_t max_ordinal () const | |
vec3_t vector (int64_t ord) const | |
maps ordinal to vector More... | |
const_iterator begin () const | |
const_iterator cbegin () const | |
const_iterator end () const | |
const_iterator cend () const | |
const_iterator iter (const vec3_t &pt) const | |
Friends | |
class Iterator | |
Member Typedef Documentation
◆ const_iterator
◆ iterator
using mpqc::Supercell::iterator = Iterator |
◆ vec3_t
using mpqc::Supercell::vec3_t = Eigen::Vector3i |
index of a unit cell in the supercell
Constructor & Destructor Documentation
◆ Supercell() [1/6]
|
default |
◆ Supercell() [2/6]
|
default |
◆ Supercell() [3/6]
|
default |
◆ ~Supercell()
|
default |
◆ Supercell() [4/6]
constructs a supercell with range [F,B]
- Parameters
-
[in] F the front corner [in] B the back corner
◆ Supercell() [5/6]
|
inline |
constructs a supercell with "radius" R
located at the origin, i.e. with range [-R,R]
- Parameters
-
[in] R the radius, a nonnegative vector that specifies the distance vector to the origin from the corner with the largest coordinate indices
◆ Supercell() [6/6]
constructs a supercell with "radius" R
located at O
, i.e. with range [O-R,O+R]
- Parameters
-
[in[ O the origin [in] R the radius, a nonnegative vector that specifies the distance vector to O
from the corner with the largest coordinate indices
Member Function Documentation
◆ back()
|
inline |
- Returns
- the back corner (corner with the largest indices)
◆ begin()
|
inline |
◆ cbegin()
|
inline |
◆ cend()
|
inline |
◆ end()
|
inline |
◆ extent()
|
inline |
- Returns
- the extent vector
◆ front()
|
inline |
- Returns
- the front corner (corner with the smallest indices)
◆ includes()
|
inline |
- Returns
- true if v is in the range of this
◆ iter()
|
inline |
◆ max_ordinal()
|
inline |
◆ O()
|
inline |
- Returns
- the origin; all extents must be odd or zero
◆ offset()
|
inline |
- Returns
- the ordinal offset
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ordinal()
|
inline |
◆ R()
|
inline |
- Returns
- the "radius"; all extents must be odd or zero
◆ size()
|
inline |
- Returns
- the size
◆ stride()
|
inline |
- Returns
- the stride vector
◆ vector()
|
inline |
maps ordinal to vector
Friends And Related Function Documentation
◆ Iterator
|
friend |
The documentation for this class was generated from the following file:
- mpqc/chemistry/molecule/lattice/supercell.h