|
double | CASM::xtal::volume (const Lattice &lat) |
| Returns the volume of a Lattice. More...
|
|
std::pair< bool, Eigen::Matrix3d > | CASM::xtal::is_superlattice (const Lattice &scel, const Lattice &unit, double tol) |
| Check if scel is a superlattice of unitcell unit and some integer transformation matrix T. More...
|
|
std::istream & | CASM::xtal::operator>> (std::istream &in, const Lattice &lattice_in) |
|
Lattice | CASM::xtal::make_superduperlattice (const Lattice &lat1, const Lattice &lat2) |
| returns Lattice that is smallest possible superlattice of both input Lattice More...
|
|
Eigen::Matrix3d | CASM::xtal::cart2frac (const Eigen::Ref< const Eigen::Matrix3d > &cart_mat, const Lattice &lat) |
| Returns 'frac_mat' which is transformation of 'cart_mat' if cart_vec_after = cart_mat*cart_vec then frac_vec_after = frac_mat*frac_vec where cart_vec = lat.lat_column_mat()*frac_vec and cart_vec_after = lat.lat_column_mat()*frac_vec_after. More...
|
|
Eigen::Matrix3d | CASM::xtal::frac2cart (const Eigen::Ref< const Eigen::Matrix3d > &frac_mat, const Lattice &lat) |
| Returns 'cart_mat' which is transformation of 'frac_mat' if cart_vec_after = cart_mat*cart_vec then frac_vec_after = frac_mat*frac_vec where cart_vec = lat.lat_column_mat()*frac_vec and cart_vec_after = lat.lat_column_mat()*frac_vec_after. More...
|
|
template<typename IntegralType , int Options = 0> |
Lattice | CASM::xtal::make_superlattice (const Lattice &lat, const Eigen::Matrix< IntegralType, 3, 3, Options > &transf_mat) |
| Returns a super Lattice. Transformation matrix must be integer. More...
|
|
Eigen::Matrix3l | CASM::xtal::make_transformation_matrix_to_super (const Lattice &tiling_unit, const Lattice &superlattice, double tol) |
|