oILAB
|
#include <GbMesoStateEnsemble.h>
Public Member Functions | |
GbMesoStateEnsemble (const Gb< dim > &gb, const ReciprocalLatticeVector< dim > &axis, std::vector< LatticeVector< dim > > &ensembleCslVectors, const double &bhalfMax) | |
std::map< Constraints, GbMesoState< dim > > | collectMesoStates (const std::string &filename="") const |
Constructs an ensemble of mesostates. | |
GbMesoState< dim > | constructMesoState (const Constraints &constraints) const |
Evove mesostates using a Monte Carlo algorithm. | |
Constraints | sampleNewState (const Constraints ¤tConstraints, const bool &randomize=false) const |
Constraints | initializeState () const |
![]() | |
GbShifts (const Gb< dim > &gb, const ReciprocalLatticeVector< dim > &axis, const std::vector< LatticeVector< dim > > &gbCslVectors, const double &bhalfMax=1) | |
![]() | |
Ensemble () | |
GbMesoState< dim > | constructSystem (const XTuplet &state) const |
std::pair< XTuplet, GbMesoState< dim > > | sampleNewState (const XTuplet ¤tState) |
Static Public Member Functions | |
static std::deque< Constraints > | enumerateConstraints (const GbShifts< dim > &gbs) |
Data Fields | |
std::vector< LatticeVector< dim > > | ensembleCslVectors |
BicrystalLatticeVectors | bicrystalConfig |
![]() | |
const Gb< dim > & | gb |
const ReciprocalLatticeVector< dim > & | axis |
const std::vector< LatticeVector< dim > > | gbCslVectors |
std::vector< std::pair< LatticeVector< dim >, VectorDimD > > | bShiftPairs |
![]() | |
const GbMesoStateEnsemble< dim > & | derived |
Private Types | |
using | VectorDimD = typename LatticeCore< dim >::VectorDimD |
using | BicrystalLatticeVectors = std::vector< LatticeVector< dim > > |
using | Constraints = XTuplet |
Static Private Member Functions | |
static BicrystalLatticeVectors | getBicrystalConfig (const GbShifts< dim > &gbs, std::vector< LatticeVector< dim > > &ensembleCslVectors) |
Constructs bicrystalConfig and ensembleCslVectors . | |
static std::deque< std::tuple< LatticeVector< dim >, VectorDimD, int > > | bsPairsFromConstraints (const std::vector< std::pair< LatticeVector< dim >, VectorDimD > > &bShiftPairs, const Constraints &constraints) |
Additional Inherited Members | |
![]() | |
static std::vector< std::pair< LatticeVector< dim >, VectorDimD > > | getbShiftPairs (const Gb< dim > &gb, const std::vector< LatticeVector< dim > > &gbCslVectors, const double &bhalfMax) |
Class template that aids in the construction of an ensemble of GB mesostates.
Definition at line 19 of file GbMesoStateEnsemble.h.
|
private |
Definition at line 23 of file GbMesoStateEnsemble.h.
|
private |
Definition at line 25 of file GbMesoStateEnsemble.h.
|
private |
Definition at line 22 of file GbMesoStateEnsemble.h.
gbLAB::GbMesoStateEnsemble< dim >::GbMesoStateEnsemble | ( | const Gb< dim > & | gb, |
const ReciprocalLatticeVector< dim > & | axis, | ||
std::vector< LatticeVector< dim > > & | ensembleCslVectors, | ||
const double & | bhalfMax | ||
) |
Definition at line 12 of file GbMesoStateEnsembleImplementation.h.
|
staticprivate |
Definition at line 59 of file GbMesoStateEnsembleImplementation.h.
std::map< typename GbMesoStateEnsemble< dim >::Constraints, GbMesoState< dim > > gbLAB::GbMesoStateEnsemble< dim >::collectMesoStates | ( | const std::string & | filename = "" | ) | const |
Constructs an ensemble of mesostates.
filename- |
Definition at line 78 of file GbMesoStateEnsembleImplementation.h.
GbMesoState< dim > gbLAB::GbMesoStateEnsemble< dim >::constructMesoState | ( | const Constraints & | constraints | ) | const |
Evove mesostates using a Monte Carlo algorithm.
filename- |
Definition at line 111 of file GbMesoStateEnsembleImplementation.h.
|
static |
Definition at line 240 of file GbMesoStateEnsembleImplementation.h.
|
staticprivate |
Constructs bicrystalConfig
and ensembleCslVectors
.
gbs | - a const reference to GBShifts<dim> object |
ensembleCslVectors | (output) - the CSL vectors of the ensemble's grain boundary |
scales | - an integer array (of size=dim ) representing the scaling of the mesostate ensemble |
Definition at line 42 of file GbMesoStateEnsembleImplementation.h.
GbMesoStateEnsemble< dim >::Constraints gbLAB::GbMesoStateEnsemble< dim >::initializeState | ( | ) | const |
Definition at line 318 of file GbMesoStateEnsembleImplementation.h.
GbMesoStateEnsemble< dim >::Constraints gbLAB::GbMesoStateEnsemble< dim >::sampleNewState | ( | const Constraints & | currentConstraints, |
const bool & | randomize = false |
||
) | const |
Definition at line 285 of file GbMesoStateEnsembleImplementation.h.
BicrystalLatticeVectors gbLAB::GbMesoStateEnsemble< dim >::bicrystalConfig |
A vector of lattice vectors in the ensemble's bicrystal.
Definition at line 50 of file GbMesoStateEnsemble.h.
std::vector<LatticeVector<dim> > gbLAB::GbMesoStateEnsemble< dim >::ensembleCslVectors |
CSL vectors that define the ensemble's grain boundary region
Definition at line 45 of file GbMesoStateEnsemble.h.