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
|
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
|
|
|
|
2022-01-12 18:48:38 +05:30
|
|
|
from . import _typehints # noqa
|
2020-10-08 21:35:03 +05:30
|
|
|
from . import util # noqa
|
|
|
|
from . import seeds # noqa
|
2020-11-16 03:44:46 +05:30
|
|
|
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
|
2021-06-08 01:19:04 +05:30
|
|
|
from ._crystal import Crystal # noqa
|
2020-11-10 01:50:56 +05:30
|
|
|
from ._orientation import Orientation # noqa
|
|
|
|
from ._table import Table # noqa
|
2020-09-30 11:23:25 +05:30
|
|
|
from ._colormap import Colormap # noqa
|
2022-01-16 12:48:06 +05:30
|
|
|
from ._vtk import VTK # noqa
|
2023-12-05 15:04:05 +05:30
|
|
|
from ._yaml import YAML # noqa
|
2020-09-30 11:23:25 +05:30
|
|
|
from ._configmaterial import ConfigMaterial # noqa
|
2023-03-27 23:03:11 +05:30
|
|
|
from ._loadcasegrid import LoadcaseGrid # noqa
|
2023-11-28 03:11:28 +05:30
|
|
|
from ._geomgrid import GeomGrid # noqa
|
2020-10-08 21:35:03 +05:30
|
|
|
from ._result import Result # noqa
|