TBTK
TBTK::ParallelepipedCell Class Reference

#include <ParallelepipedCell.h>

Inheritance diagram for TBTK::ParallelepipedCell:
TBTK::SpacePartition TBTK::WignerSeitzCell TBTK::BrillouinZone

Public Member Functions

 ParallelepipedCell (std::initializer_list< std::initializer_list< double >> basisVectors, MeshType meshType)
 
 ParallelepipedCell (const std::vector< std::vector< double >> &basisVectors, MeshType meshType)
 
virtual ~ParallelepipedCell ()
 
virtual Index getMajorCellIndex (const std::vector< double > &coordinate) const
 
virtual Index getMinorCellIndex (const std::vector< double > &coordinate, const std::vector< unsigned int > &numMeshPoints) const
 
virtual std::vector< std::vector< double > > getMajorMesh (const std::vector< unsigned int > &numMeshPoints) const
 
virtual std::vector< std::vector< double > > getMinorMesh (const std::vector< unsigned int > &numMeshPoints) const
 
- Public Member Functions inherited from TBTK::SpacePartition
 SpacePartition (std::initializer_list< std::initializer_list< double >> basisVectors, MeshType meshType)
 
 SpacePartition (const std::vector< std::vector< double >> &basisVectors, MeshType meshType)
 
virtual ~SpacePartition ()
 
unsigned int getNumDimensions () const
 
Index getMajorCellIndex (std::initializer_list< double > coordinate) const
 
Index getMinorCellIndex (std::initializer_list< double > coordinate, std::initializer_list< unsigned int > numMeshPoints) const
 
Index getMinorCellIndex (const std::vector< double > &coordinate, std::initializer_list< unsigned int > numMeshPoints) const
 
Index getMinorCellIndex (std::initializer_list< double > coordinate, const std::vector< unsigned int > &numMeshPoints) const
 
std::vector< std::vector< double > > getMajorMesh (std::initializer_list< unsigned int > numMeshPoints)
 
std::vector< std::vector< double > > getMinorMesh (std::initializer_list< unsigned int > numMeshPoints)
 

Additional Inherited Members

- Public Types inherited from TBTK::SpacePartition
enum  MeshType { Nodal, Interior }
 
- Protected Member Functions inherited from TBTK::SpacePartition
const std::vector< Vector3d > & getBasisVectors () const
 
MeshType getMeshType () const
 

Detailed Description

Parallelepiped cell.

Constructor & Destructor Documentation

TBTK::ParallelepipedCell::ParallelepipedCell ( std::initializer_list< std::initializer_list< double >>  basisVectors,
MeshType  meshType 
)

Constructor.

TBTK::ParallelepipedCell::ParallelepipedCell ( const std::vector< std::vector< double >> &  basisVectors,
MeshType  meshType 
)

Constructor.

virtual TBTK::ParallelepipedCell::~ParallelepipedCell ( )
virtual

Destructor.

Member Function Documentation

virtual Index TBTK::ParallelepipedCell::getMajorCellIndex ( const std::vector< double > &  coordinate) const
virtual
virtual std::vector<std::vector<double> > TBTK::ParallelepipedCell::getMajorMesh ( const std::vector< unsigned int > &  numMeshPoints) const
virtual
virtual Index TBTK::ParallelepipedCell::getMinorCellIndex ( const std::vector< double > &  coordinate,
const std::vector< unsigned int > &  numMeshPoints 
) const
virtual
virtual std::vector<std::vector<double> > TBTK::ParallelepipedCell::getMinorMesh ( const std::vector< unsigned int > &  numMeshPoints) const
virtual

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