2020-04-12 18:50:09 +05:30
|
|
|
"""Tools for pre and post processing of DAMASK simulations."""
|
2020-06-03 14:13:07 +05:30
|
|
|
from pathlib import Path as _Path
|
2020-03-19 16:42:25 +05:30
|
|
|
import re as _re
|
2017-02-17 23:06:01 +05:30
|
|
|
|
2018-07-11 08:42:49 +05:30
|
|
|
name = 'damask'
|
2020-06-03 14:13:07 +05:30
|
|
|
with open(_Path(__file__).parent/_Path('VERSION')) as _f:
|
2020-03-19 16:42:25 +05:30
|
|
|
version = _re.sub(r'^v','',_f.readline().strip())
|
2020-07-16 00:27:56 +05:30
|
|
|
__version__ = version
|
2018-07-11 08:42:49 +05:30
|
|
|
|
2020-04-10 16:02:33 +05:30
|
|
|
# make classes directly accessible as damask.Class
|
2020-07-16 00:24:37 +05:30
|
|
|
from ._environment import Environment as _ # noqa
|
|
|
|
environment = _()
|
2020-03-19 19:49:11 +05:30
|
|
|
from ._table import Table # noqa
|
2020-03-19 19:10:30 +05:30
|
|
|
from ._vtk import VTK # noqa
|
2020-06-27 19:31:16 +05:30
|
|
|
from ._colormap import Colormap # noqa
|
2020-03-19 19:49:11 +05:30
|
|
|
from ._rotation import Rotation # noqa
|
|
|
|
from ._lattice import Symmetry, Lattice# noqa
|
|
|
|
from ._orientation import Orientation # noqa
|
2020-03-19 19:10:30 +05:30
|
|
|
from ._result import Result # noqa
|
|
|
|
from ._geom import Geom # noqa
|
2020-09-19 16:31:19 +05:30
|
|
|
from ._material import Material # noqa
|
2020-03-22 00:44:15 +05:30
|
|
|
from . import solver # noqa
|
2020-03-11 11:19:14 +05:30
|
|
|
|
|
|
|
# deprecated
|
2020-07-16 00:24:37 +05:30
|
|
|
Environment = _
|
2020-03-22 02:43:40 +05:30
|
|
|
from ._asciitable import ASCIItable # noqa
|
|
|
|
from ._test import Test # noqa
|
|
|
|
from .util import extendableOption # noqa
|