Xped
Loading...
Searching...
No Matches
Xped::UnitCell Struct Reference

#include <UnitCell.hpp>

Collaboration diagram for Xped::UnitCell:

Public Member Functions

 UnitCell (const Pattern &pat)
 
 UnitCell (const std::size_t Lx=1, const std::size_t Ly=1)
 
template<typename Ar >
void serialize (Ar &ar)
 
void loadFromMatlab (const std::filesystem::path &p, const std::string &root_name)
 
std::size_t uniqueSize () const
 
std::size_t size () const
 
std::size_t rows () const
 
std::size_t cols () const
 

Public Attributes

std::size_t Lx = 1
 
std::size_t Ly = 1
 
Pattern pattern {}
 

Constructor & Destructor Documentation

◆ UnitCell() [1/2]

Xped::UnitCell::UnitCell ( const Pattern pat)
inlineexplicit

◆ UnitCell() [2/2]

Xped::UnitCell::UnitCell ( const std::size_t  Lx = 1,
const std::size_t  Ly = 1 
)
explicit

Member Function Documentation

◆ cols()

std::size_t Xped::UnitCell::cols ( ) const
inline

◆ loadFromMatlab()

void Xped::UnitCell::loadFromMatlab ( const std::filesystem::path &  p,
const std::string &  root_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rows()

std::size_t Xped::UnitCell::rows ( ) const
inline

◆ serialize()

template<typename Ar >
void Xped::UnitCell::serialize ( Ar &  ar)
inline

◆ size()

std::size_t Xped::UnitCell::size ( ) const
inline
Here is the caller graph for this function:

◆ uniqueSize()

std::size_t Xped::UnitCell::uniqueSize ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ Lx

std::size_t Xped::UnitCell::Lx = 1

◆ Ly

std::size_t Xped::UnitCell::Ly = 1

◆ pattern

Pattern Xped::UnitCell::pattern {}

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