Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
DislocationLoopLink.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MoDELib is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef model_DislocationLoopLink_h_
9#define model_DislocationLoopLink_h_
10
13
14//#include <LatticeVector.h>
15//#include <LatticePlaneBase.h>
16//#include <LatticePlane.h>
17//#include <Grain.h>
18//#include <GlidePlane.h>
21//#include <SlipSystem.h>
22
23//#include <PlanarPolygon.h>
24//#include <DislocationNetwork.h>
25
26#ifndef NDEBUG
27#define VerboseDislocationLoopLink(N,x) if(verboseDislocationLoopLink>=N){std::cout<<x;}
28#else
29#define VerboseDislocationLoopLink(N,x)
30#endif
31
32
33namespace model
34{
35 template <int dim>
36 class DislocationLoopLink : public LoopLink<DislocationLoopLink<dim>>
37 {
38
39 public:
40
50
52
53
54 DislocationLoopLink(const std::shared_ptr<LoopNodeType>&,
55 const std::shared_ptr<LoopNodeType>&,
56 const std::shared_ptr<LoopType>&);
57
58 bool hasNetworkLink() const;
59 std::shared_ptr<PeriodicPlanePatch<dim>> periodicPlanePatch() const;
61
62 const LoopLinkType * twinnedLink() const ;
63 static void initFromFile(const std::string&);
64
65 };
66
67}
68#endif