DAMASK_EICMD/python/damask/__init__.py

30 lines
1.3 KiB
Python
Raw Normal View History

2021-04-24 21:30:57 +05:30
"""Tools for managing DAMASK simulations."""
2020-11-19 19:08:54 +05:30
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
from . import _typehints # noqa
2020-10-08 21:35:03 +05:30
from . import util # noqa
from . import seeds # noqa
from . import tensor # noqa
2020-10-08 21:35:03 +05:30
from . import mechanics # noqa
from . import solver # noqa
from . import grid_filters # noqa
2021-11-02 23:10:09 +05:30
# Modules that contain only one class (of the same name), are prefixed by a '_'.
# For example, '_colormap' contains a class called 'Colormap' which is imported as 'damask.Colormap'.
2020-10-08 21:35:03 +05:30
from ._rotation import Rotation # noqa
from ._crystal import Crystal # noqa
from ._orientation import Orientation # noqa
from ._table import Table # noqa
from ._vtk import VTK # noqa
from ._colormap import Colormap # noqa
from ._config import Config # noqa
from ._configmaterial import ConfigMaterial # noqa
2020-12-04 11:42:18 +05:30
from ._grid import Grid # noqa
2020-10-08 21:35:03 +05:30
from ._result import Result # noqa