oILAB
Loading...
Searching...
No Matches
gbLAB::RationalReciprocalLatticeDirection< dim > Struct Template Reference

#include <RationalReciprocalLatticeDirection.h>

Public Types

typedef LatticeCore< dim >::IntScalarType IntScalarType
 
typedef LatticeCore< dim >::VectorDimD VectorDimD
 
typedef LatticeCore< dim >::MatrixDimD MatrixDimD
 
typedef LatticeCore< dim >::VectorDimI VectorDimI
 
typedef LatticeCore< dim >::MatrixDimI MatrixDimI
 

Public Member Functions

 RationalReciprocalLatticeDirection (const Rational< IntScalarType > &_rat, const ReciprocalLatticeDirection< dim > &_dir)
 
 RationalReciprocalLatticeDirection (const Rational< IntScalarType > &_rat, const ReciprocalLatticeVector< dim > &v)
 
 RationalReciprocalLatticeDirection (const ReciprocalLatticeVector< dim > &v)
 
 RationalReciprocalLatticeDirection (const RationalReciprocalLatticeDirection< dim > &other)=default
 
 RationalReciprocalLatticeDirection (RationalReciprocalLatticeDirection< dim > &&other)=default
 
VectorDimD cartesian () const
 
Rational< IntScalarTypedot (const LatticeVector< dim > &other) const
 
RationalReciprocalLatticeDirection< dim > operator* (const IntScalarType &scalar) const
 
RationalReciprocalLatticeDirection< dim > operator/ (const IntScalarType &scalar) const
 
RationalReciprocalLatticeDirection< dim > operator+ (const RationalReciprocalLatticeDirection< dim > &other) const
 
RationalReciprocalLatticeDirection< dim > operator- (const RationalReciprocalLatticeDirection< dim > &other) const
 
RationalReciprocalLatticeDirection< dim > operator+ (const ReciprocalLatticeVector< dim > &other) const
 
RationalReciprocalLatticeDirection< dim > operator- (const ReciprocalLatticeVector< dim > &other) const
 
double squaredNorm () const
 

Data Fields

const Rational< IntScalarTyperat
 
const ReciprocalLatticeDirection< dim > dir
 

Detailed Description

template<int dim>
struct gbLAB::RationalReciprocalLatticeDirection< dim >

Definition at line 18 of file RationalReciprocalLatticeDirection.h.

Member Typedef Documentation

◆ IntScalarType

template<int dim>
typedef LatticeCore<dim>::IntScalarType gbLAB::RationalReciprocalLatticeDirection< dim >::IntScalarType

Definition at line 20 of file RationalReciprocalLatticeDirection.h.

◆ MatrixDimD

template<int dim>
typedef LatticeCore<dim>::MatrixDimD gbLAB::RationalReciprocalLatticeDirection< dim >::MatrixDimD

Definition at line 22 of file RationalReciprocalLatticeDirection.h.

◆ MatrixDimI

template<int dim>
typedef LatticeCore<dim>::MatrixDimI gbLAB::RationalReciprocalLatticeDirection< dim >::MatrixDimI

Definition at line 24 of file RationalReciprocalLatticeDirection.h.

◆ VectorDimD

template<int dim>
typedef LatticeCore<dim>::VectorDimD gbLAB::RationalReciprocalLatticeDirection< dim >::VectorDimD

Definition at line 21 of file RationalReciprocalLatticeDirection.h.

◆ VectorDimI

template<int dim>
typedef LatticeCore<dim>::VectorDimI gbLAB::RationalReciprocalLatticeDirection< dim >::VectorDimI

Definition at line 23 of file RationalReciprocalLatticeDirection.h.

Constructor & Destructor Documentation

◆ RationalReciprocalLatticeDirection() [1/5]

template<int dim>
gbLAB::RationalReciprocalLatticeDirection< dim >::RationalReciprocalLatticeDirection ( const Rational< IntScalarType > &  _rat,
const ReciprocalLatticeDirection< dim > &  _dir 
)

Definition at line 17 of file RationalReciprocalLatticeDirection.cpp.

◆ RationalReciprocalLatticeDirection() [2/5]

template<int dim>
gbLAB::RationalReciprocalLatticeDirection< dim >::RationalReciprocalLatticeDirection ( const Rational< IntScalarType > &  _rat,
const ReciprocalLatticeVector< dim > &  v 
)

Definition at line 25 of file RationalReciprocalLatticeDirection.cpp.

◆ RationalReciprocalLatticeDirection() [3/5]

template<int dim>
gbLAB::RationalReciprocalLatticeDirection< dim >::RationalReciprocalLatticeDirection ( const ReciprocalLatticeVector< dim > &  v)

Definition at line 32 of file RationalReciprocalLatticeDirection.cpp.

◆ RationalReciprocalLatticeDirection() [4/5]

template<int dim>
gbLAB::RationalReciprocalLatticeDirection< dim >::RationalReciprocalLatticeDirection ( const RationalReciprocalLatticeDirection< dim > &  other)
default

◆ RationalReciprocalLatticeDirection() [5/5]

template<int dim>
gbLAB::RationalReciprocalLatticeDirection< dim >::RationalReciprocalLatticeDirection ( RationalReciprocalLatticeDirection< dim > &&  other)
default

Member Function Documentation

◆ cartesian()

Definition at line 41 of file RationalReciprocalLatticeDirection.cpp.

◆ dot()

template<int dim>
Rational< typename RationalReciprocalLatticeDirection< dim >::IntScalarType > gbLAB::RationalReciprocalLatticeDirection< dim >::dot ( const LatticeVector< dim > &  other) const

Definition at line 48 of file RationalReciprocalLatticeDirection.cpp.

◆ operator*()

template<int dim>
RationalReciprocalLatticeDirection< dim > gbLAB::RationalReciprocalLatticeDirection< dim >::operator* ( const IntScalarType scalar) const

Definition at line 55 of file RationalReciprocalLatticeDirection.cpp.

◆ operator+() [1/2]

template<int dim>
RationalReciprocalLatticeDirection< dim > gbLAB::RationalReciprocalLatticeDirection< dim >::operator+ ( const RationalReciprocalLatticeDirection< dim > &  other) const

Definition at line 69 of file RationalReciprocalLatticeDirection.cpp.

◆ operator+() [2/2]

template<int dim>
RationalReciprocalLatticeDirection< dim > gbLAB::RationalReciprocalLatticeDirection< dim >::operator+ ( const ReciprocalLatticeVector< dim > &  other) const

Definition at line 91 of file RationalReciprocalLatticeDirection.cpp.

◆ operator-() [1/2]

template<int dim>
RationalReciprocalLatticeDirection< dim > gbLAB::RationalReciprocalLatticeDirection< dim >::operator- ( const RationalReciprocalLatticeDirection< dim > &  other) const

Definition at line 80 of file RationalReciprocalLatticeDirection.cpp.

◆ operator-() [2/2]

template<int dim>
RationalReciprocalLatticeDirection< dim > gbLAB::RationalReciprocalLatticeDirection< dim >::operator- ( const ReciprocalLatticeVector< dim > &  other) const

Definition at line 100 of file RationalReciprocalLatticeDirection.cpp.

◆ operator/()

template<int dim>
RationalReciprocalLatticeDirection< dim > gbLAB::RationalReciprocalLatticeDirection< dim >::operator/ ( const IntScalarType scalar) const

Definition at line 62 of file RationalReciprocalLatticeDirection.cpp.

◆ squaredNorm()

template<int dim>
double gbLAB::RationalReciprocalLatticeDirection< dim >::squaredNorm ( ) const

Definition at line 109 of file RationalReciprocalLatticeDirection.cpp.

Field Documentation

◆ dir

Definition at line 27 of file RationalReciprocalLatticeDirection.h.

◆ rat

Definition at line 26 of file RationalReciprocalLatticeDirection.h.


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