5#ifndef OILAB_MESOSTATE_H
6#define OILAB_MESOSTATE_H
22 typename Eigen::Matrix<IntScalarType, Eigen::Dynamic, Eigen::Dynamic>;
42 Eigen::VectorXi output(numberOfInteractingPlanes);
43 for (
int i = 0; i < numberOfInteractingPlanes; ++i)
56 typename std::enable_if<dim == 3, void>::type
57 box(
const int &heightFactor,
const int &dsclFactor,
58 const std::string &name)
const;
60 template <
typename T>
int sgn(T val)
const;
bool operator<(const MesoState &rhs) const
Eigen::VectorXi getLocalStateCount(const int &numberOfInteractingPlanes) const
LatticeCore< 3 >::VectorDimD VectorDimD
typename LatticeCore< dim >::IntScalarType IntScalarType
MesoState(const ReferenceState< dim > &rS, const double &a2, const int &nImages)
Triplet insertRandomDislocation()
MesoState(const Gb< dim > &gb, const ReciprocalLatticeVector< dim > &axis, const int &periodScaling, const double &a2, const int &nImages)
typename Eigen::Matrix< IntScalarType, Eigen::Dynamic, Eigen::Dynamic > Matrix
void removeDislocation(const Triplet &t)
void insertDislocation(const Triplet &)
Triplet removeRandomDislocation()
Triplet insertRandomDislocation(const int &dipoleSign)
std::vector< Triplet > currentState
std::vector< Triplet > defectsIndices
std::set< int > getOrthogonalPlaneIndices(const int ¶llelPlaneIndex) const
std::enable_if< dim==3, void >::type box(const int &heightFactor, const int &dsclFactor, const std::string &name) const
typename LatticeCore< dim >::VectorDimI VectorDimI
const ReciprocalLatticeVector< dim > & axis
Eigen::Matrix< IntScalarType, dim, 1 > VectorDimI
long long int IntScalarType
Eigen::Matrix< double, dim, 1 > VectorDimD