DAMASK_EICMD/python/damask/__init__.py

35 lines
1.2 KiB
Python
Raw Normal View History

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
import re as _re
name = 'damask'
2020-06-03 14:13:07 +05:30
with open(_Path(__file__).parent/_Path('VERSION')) as _f:
version = _re.sub(r'^v','',_f.readline().strip())
__version__ = version
# make classes directly accessible as damask.Class
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
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
from ._material import Material # noqa
from . import solver # noqa
2020-09-23 13:15:36 +05:30
from . import util # noqa
from . import seeds # noqa
from . import grid_filters # noqa
from . import mechanics # noqa
# deprecated
Environment = _
from ._asciitable import ASCIItable # noqa
from ._test import Test # noqa
from .util import extendableOption # noqa