2019-09-20 00:14:15 +05:30
|
|
|
"""Main aggregator."""
|
2017-11-21 16:11:02 +05:30
|
|
|
import os
|
2020-01-14 01:54:08 +05:30
|
|
|
import re
|
2017-02-17 23:06:01 +05:30
|
|
|
|
2018-07-11 08:42:49 +05:30
|
|
|
name = 'damask'
|
2019-12-13 01:01:04 +05:30
|
|
|
with open(os.path.join(os.path.dirname(__file__),'VERSION')) as f:
|
2020-01-14 01:54:08 +05:30
|
|
|
version = re.sub(r'^v','',f.readline().strip())
|
2018-07-11 08:42:49 +05:30
|
|
|
|
2019-10-19 00:20:03 +05:30
|
|
|
# classes
|
2019-12-13 01:19:16 +05:30
|
|
|
from .environment import Environment # noqa
|
2019-10-31 15:15:34 +05:30
|
|
|
from .table import Table # noqa
|
2020-03-11 11:19:14 +05:30
|
|
|
from .ktv import VTK # noqa
|
2016-03-04 23:20:13 +05:30
|
|
|
from .colormaps import Colormap, Color # noqa
|
2020-02-21 03:59:12 +05:30
|
|
|
from .rotation import Rotation # noqa
|
2020-03-06 02:24:47 +05:30
|
|
|
from .lattice import Symmetry, Lattice# noqa
|
2020-02-21 03:59:12 +05:30
|
|
|
from .orientation import Orientation # noqa
|
2020-03-03 03:35:35 +05:30
|
|
|
from .result import Result # noqa
|
2019-05-25 02:00:25 +05:30
|
|
|
from .geom import Geom # noqa
|
2019-12-13 03:28:37 +05:30
|
|
|
from .solver import Solver # noqa
|
2020-03-11 11:19:14 +05:30
|
|
|
|
|
|
|
# compatibility hack
|
|
|
|
from .result import Result as DADF5 # noqa
|
|
|
|
|
|
|
|
# deprecated
|
|
|
|
from .asciitable import ASCIItable # noqa
|
2016-03-04 23:20:13 +05:30
|
|
|
from .util import extendableOption # noqa
|
2020-03-11 11:19:14 +05:30
|
|
|
from .config import Material # noqa
|
|
|
|
from .test import Test # noqa
|
2019-10-19 00:20:03 +05:30
|
|
|
|
|
|
|
# functions in modules
|
2019-12-13 01:01:04 +05:30
|
|
|
from . import mechanics # noqa
|
2020-01-14 01:54:08 +05:30
|
|
|
from . import grid_filters # noqa
|
2019-10-19 00:20:03 +05:30
|
|
|
|
2019-12-13 01:01:04 +05:30
|
|
|
# clean temporary variables
|
|
|
|
del os
|
2020-01-14 01:54:08 +05:30
|
|
|
del re
|
2019-12-13 01:01:04 +05:30
|
|
|
del f
|