8#ifndef model_GlidePlaneFactory_cpp_
9#define model_GlidePlaneFactory_cpp_
20#include <Eigen/Cholesky>
24#include <LatticeModule.h>
25#include <ReciprocalLatticeDirection.h>
65 const auto key=std::make_pair(std::max(
p1->sID,
p2->sID),std::min(
p1->sID,
p2->sID));
71 std::make_tuple(
p1->P,
p1->unitNormal,
p2->P,
p2->unitNormal)
75 throw std::runtime_error(
"GlidePlaneFactory::glidePlaneIntersection not found.");
KeyConstructableWeakPtrFactory< GlidePlaneFactory< dim >, GlidePlaneType > GlidePlaneMapType
MeshPlane< dim > MeshPlaneType
PlanePlaneIntersection< dim > PlanePlaneIntersectionType
GlidePlaneFactory(const Polycrystal< dim > &poly_in)
GlidePlaneMapType & glidePlanes()
const PlanePlaneIntersectionType & glidePlaneIntersection(const MeshPlaneType *const p1, const MeshPlaneType *const p2)
MeshPlaneIntersectionContainerType & glidePlaneIntersections()
const Polycrystal< dim > & poly
std::map< std::pair< size_t, size_t >, PlanePlaneIntersectionType > MeshPlaneIntersectionContainerType
enum insertvertexresult success