|
Mechanics of Defect Evolution Library
|
Functions | |
| configure (physics, length) | |
Variables | |
| root = Path(sys.argv[2]) | |
| prefix | |
| folder = Path(directory) | |
| str | inputs = folder / "inputFiles" |
| traits = model.DefectiveCrystalTraitsIO(str(folder)) | |
| default_config = model.DefectiveCrystalConfigIO() | |
| custom_config = model.DefectiveCrystalConfigIO(str(folder / "custom")) | |
| base = model.DefectiveCrystalBase(str(folder)) | |
| generator = model.MicrostructureGenerator(base) | |
| dd = base.dislocationDynamicsBase | |
| plane = dd.glidePlane(np.zeros(3), np.array([0., 0., 1.]), 1) | |
| periodic = dd.periodicGlidePlane(np.zeros(3), np.array([0., 0., 1.]), 1) | |
| str | poly = inputs / "polycrystal.txt" |
| cd = base.clusterDynamicsBase | |
| mesh | |
| regions = mesh.regions() | |
| dict | shared_faces = {} |
Python ownership and shared-context API regression. Takes module directory and repository root.
| testPhysicsBases.configure | ( | physics, | |
| length ) |
Definition at line 22 of file testPhysicsBases.py.
| testPhysicsBases.base = model.DefectiveCrystalBase(str(folder)) |
Definition at line 39 of file testPhysicsBases.py.
| testPhysicsBases.cd = base.clusterDynamicsBase |
Definition at line 81 of file testPhysicsBases.py.
| testPhysicsBases.custom_config = model.DefectiveCrystalConfigIO(str(folder / "custom")) |
Definition at line 38 of file testPhysicsBases.py.
| testPhysicsBases.dd = base.dislocationDynamicsBase |
Definition at line 60 of file testPhysicsBases.py.
| testPhysicsBases.default_config = model.DefectiveCrystalConfigIO() |
Definition at line 37 of file testPhysicsBases.py.
| testPhysicsBases.folder = Path(directory) |
Definition at line 15 of file testPhysicsBases.py.
| testPhysicsBases.generator = model.MicrostructureGenerator(base) |
Definition at line 46 of file testPhysicsBases.py.
| str testPhysicsBases.inputs = folder / "inputFiles" |
Definition at line 16 of file testPhysicsBases.py.
| testPhysicsBases.mesh |
Definition at line 91 of file testPhysicsBases.py.
| testPhysicsBases.periodic = dd.periodicGlidePlane(np.zeros(3), np.array([0., 0., 1.]), 1) |
Definition at line 63 of file testPhysicsBases.py.
| testPhysicsBases.plane = dd.glidePlane(np.zeros(3), np.array([0., 0., 1.]), 1) |
Definition at line 62 of file testPhysicsBases.py.
| str testPhysicsBases.poly = inputs / "polycrystal.txt" |
Definition at line 78 of file testPhysicsBases.py.
| testPhysicsBases.prefix |
Definition at line 14 of file testPhysicsBases.py.
| testPhysicsBases.regions = mesh.regions() |
Definition at line 93 of file testPhysicsBases.py.
| testPhysicsBases.root = Path(sys.argv[2]) |
Definition at line 12 of file testPhysicsBases.py.
| dict testPhysicsBases.shared_faces = {} |
Definition at line 95 of file testPhysicsBases.py.
| testPhysicsBases.traits = model.DefectiveCrystalTraitsIO(str(folder)) |
Definition at line 34 of file testPhysicsBases.py.