5#ifndef OILAB_GBMESOSTATE_H
6#define OILAB_GBMESOSTATE_H
90 const std::deque<std::tuple<LatticeVector<dim>,
VectorDimD,
int>>
bs;
106 std::tuple<double,double,PeriodicFunction<double,dim>>
108 const std::string& potentialName,
110 const std::array<Eigen::Index,dim>&
n= std::array<Eigen::Index,dim>{})
const;
116 typename std::enable_if<dim==3,void>::type
box(
const std::string& filename)
const;
std::array< Eigen::Index, dim-1 > n
static Eigen::Matrix< double, dim, dim-1 > getMesoStateGbDomain(const std::vector< LatticeVector< dim > > &mesoStateCslVectors)
Returns the cartesian coordinates of the CSL vectors that define a mesostate's GB.
std::enable_if< dim==3, void >::type box(const std::string &filename) const
const std::vector< LatticeVector< dim > > & mesoStateCslVectors
const ReciprocalLatticeVector< dim > & axis
std::vector< LatticeVector< dim > > BicrystalLatticeVectors
const std::deque< std::tuple< LatticeVector< dim >, VectorDimD, int > > bs
static std::map< OrderedTuplet< dim+1 >, VectorDimD > get_xuPairs(const Gb< dim > &gb, const std::vector< LatticeVector< dim > > &mesoStateCslVectors, const std::deque< std::tuple< LatticeVector< dim >, VectorDimD, int > > &bs)
Returns the displacement constraints for the GB continuum model from the translation-shift pairs def...
std::pair< double, double > densityEnergyPython() const
std::tuple< double, double, PeriodicFunction< double, dim > > densityEnergy(const std::string &lmpLocation, const std::string &potentialName, bool relax, const std::array< Eigen::Index, dim > &n=std::array< Eigen::Index, dim >{}) const
Calculate the energy of a mesostate using lammps.
typename LatticeCore< dim >::VectorDimD VectorDimD
static std::map< OrderedTuplet< dim+1 >, VectorDimD > bicrystalCoordsMap(const Gb< dim > &gb, const BicrystalLatticeVectors &bicrystalConfig)
Returns the Cartesian coordinates of the lattice vectors of the mesostates's bicrystal in the form of...
const BicrystalLatticeVectors & bicrystalConfig
static std::array< Eigen::Index, dim-1 > discretize(const std::vector< LatticeVector< dim > > &mesoStateCslVectors, const Gb< dim > &gb)
Returns the discretization of the grain boundary domain.
Eigen::Matrix< double, dim, 1 > VectorDimD