Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::LatticeVectorBase< dim > Class Template Reference

#include <LatticeVector.h>

Inheritance diagram for model::LatticeVectorBase< dim >:
Collaboration diagram for model::LatticeVectorBase< dim >:

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

 LatticeVectorBase (const Lattice< dim > &lat)
 LatticeVectorBase (const VectorDimD &d, const Lattice< dim > &lat)
template<typename OtherDerived>
 LatticeVectorBase (const Eigen::MatrixBase< OtherDerived > &other, const Lattice< dim > &lat)
 LatticeVectorBase (const LatticeVectorBase< dim > &other)=default
 LatticeVectorBase (LatticeVectorBase< dim > &&other)=default
LatticeVectorBase< dim > & operator= (const LatticeVectorBase< dim > &other)
LatticeVectorBase< dim > & operator= (LatticeVectorBase< dim > &&other)
LatticeVectorBase< dim > operator+ (const LatticeVectorBase< dim > &other) const
LatticeVectorBase< dim > & operator+= (const LatticeVectorBase< dim > &other)
LatticeVectorBase< dim > operator- (const LatticeVectorBase< dim > &other) const
LatticeVectorBase< dim > & operator-= (const LatticeVectorBase< dim > &other)
LatticeVectorBase< dim > operator* (const IntScalarType &scalar) const
IntScalarType dot (const ReciprocalLatticeVectorBase< dim > &other) const
VectorDimD cartesian () const

Public Attributes

const Lattice< dim > & lattice

Detailed Description

template<int dim>
class model::LatticeVectorBase< dim >

Definition at line 14 of file Lattices_NEW/LatticeVector.h.

Member Typedef Documentation

◆ IntScalarType

template<int dim>
typedef LatticeCore<dim>::IntScalarType model::LatticeVectorBase< dim >::IntScalarType

Definition at line 23 of file Lattices_NEW/LatticeVector.h.

◆ MatrixDimD

template<int dim>
typedef LatticeCore<dim>::MatrixDimD model::LatticeVectorBase< dim >::MatrixDimD

Definition at line 25 of file Lattices_NEW/LatticeVector.h.

◆ MatrixDimI

template<int dim>
typedef LatticeCore<dim>::MatrixDimI model::LatticeVectorBase< dim >::MatrixDimI

Definition at line 27 of file Lattices_NEW/LatticeVector.h.

◆ VectorDimD

template<int dim>
typedef LatticeCore<dim>::VectorDimD model::LatticeVectorBase< dim >::VectorDimD

Definition at line 24 of file Lattices_NEW/LatticeVector.h.

◆ VectorDimI

template<int dim>
typedef LatticeCore<dim>::VectorDimI model::LatticeVectorBase< dim >::VectorDimI

Definition at line 26 of file Lattices_NEW/LatticeVector.h.

Constructor & Destructor Documentation

◆ LatticeVectorBase() [1/5]

template<int dim>
model::LatticeVectorBase< dim >::LatticeVectorBase ( const Lattice< dim > & lat)
Parameters
[in]dvector in real space Constructs *this by mapping d to the lattice

Definition at line 32 of file Lattices_NEW/LatticeVector.cpp.

◆ LatticeVectorBase() [2/5]

template<int dim>
model::LatticeVectorBase< dim >::LatticeVectorBase ( const VectorDimD & d,
const Lattice< dim > & lat )
Parameters
[in]dvector in real space Constructs *this by mapping d to the lattice

Definition at line 43 of file Lattices_NEW/LatticeVector.cpp.

◆ LatticeVectorBase() [3/5]

template<int dim>
template<typename OtherDerived>
model::LatticeVectorBase< dim >::LatticeVectorBase ( const Eigen::MatrixBase< OtherDerived > & other,
const Lattice< dim > & lat )
inline
Parameters
[in]dvector in real space Constructs *this by mapping d to the lattice

Definition at line 34 of file Lattices_NEW/LatticeVector.h.

◆ LatticeVectorBase() [4/5]

template<int dim>
model::LatticeVectorBase< dim >::LatticeVectorBase ( const LatticeVectorBase< dim > & other)
default

◆ LatticeVectorBase() [5/5]

template<int dim>
model::LatticeVectorBase< dim >::LatticeVectorBase ( LatticeVectorBase< dim > && other)
default

Member Function Documentation

◆ cartesian()

template<int dim>
LatticeVectorBase< dim >::VectorDimD model::LatticeVectorBase< dim >::cartesian ( ) const

Definition at line 114 of file Lattices_NEW/LatticeVector.cpp.

◆ dot()

template<int dim>
LatticeVectorBase< dim >::IntScalarType model::LatticeVectorBase< dim >::dot ( const ReciprocalLatticeVectorBase< dim > & other) const

Definition at line 106 of file Lattices_NEW/LatticeVector.cpp.

◆ operator*()

template<int dim>
LatticeVectorBase< dim > model::LatticeVectorBase< dim >::operator* ( const IntScalarType & scalar) const
inline

Definition at line 49 of file Lattices_NEW/LatticeVector.h.

◆ operator+()

template<int dim>
LatticeVectorBase< dim > model::LatticeVectorBase< dim >::operator+ ( const LatticeVectorBase< dim > & other) const

Definition at line 72 of file Lattices_NEW/LatticeVector.cpp.

◆ operator+=()

template<int dim>
LatticeVectorBase< dim > & model::LatticeVectorBase< dim >::operator+= ( const LatticeVectorBase< dim > & other)

Definition at line 80 of file Lattices_NEW/LatticeVector.cpp.

◆ operator-()

template<int dim>
LatticeVectorBase< dim > model::LatticeVectorBase< dim >::operator- ( const LatticeVectorBase< dim > & other) const

Definition at line 89 of file Lattices_NEW/LatticeVector.cpp.

◆ operator-=()

template<int dim>
LatticeVectorBase< dim > & model::LatticeVectorBase< dim >::operator-= ( const LatticeVectorBase< dim > & other)

Definition at line 97 of file Lattices_NEW/LatticeVector.cpp.

◆ operator=() [1/2]

template<int dim>
LatticeVectorBase< dim > & model::LatticeVectorBase< dim >::operator= ( const LatticeVectorBase< dim > & other)

Definition at line 54 of file Lattices_NEW/LatticeVector.cpp.

◆ operator=() [2/2]

template<int dim>
LatticeVectorBase< dim > & model::LatticeVectorBase< dim >::operator= ( LatticeVectorBase< dim > && other)

Definition at line 63 of file Lattices_NEW/LatticeVector.cpp.

Member Data Documentation

◆ lattice

template<int dim>
const Lattice<dim>& model::LatticeVectorBase< dim >::lattice

Definition at line 29 of file Lattices_NEW/LatticeVector.h.


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