DAMASK_EICMD/python/damask/__init__.py

26 lines
964 B
Python
Raw Normal View History

2019-09-20 00:14:15 +05:30
"""Main aggregator."""
import os as _os
import re as _re
name = 'damask'
with open(_os.path.join(_os.path.dirname(__file__),'VERSION')) as _f:
version = _re.sub(r'^v','',_f.readline().strip())
# make classes directly accessible as damask.Class
2020-03-19 19:10:30 +05:30
from ._environment import Environment # noqa
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-03-19 19:49:11 +05:30
from ._colormaps import Colormap, Color # noqa
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
from . import solver # noqa
# deprecated
from ._asciitable import ASCIItable # noqa
from ._test import Test # noqa
from .config import Material # noqa
from .util import extendableOption # noqa