DAMASK_EICMD/lib/damask/__init__.py

24 lines
886 B
Python
Raw Normal View History

# -*- coding: UTF-8 no BOM -*-
"""Main aggregator"""
2013-02-19 21:27:51 +05:30
import sys, os
with open(os.path.join(os.path.dirname(__file__),'../../VERSION')) as f:
version = f.readline()[:-1]
from .environment import Environment # noqa
from .asciitable import ASCIItable # noqa
from .config import Material # noqa
from .colormaps import Colormap, Color # noqa
try:
from .corientation import Quaternion, Rodrigues, Symmetry, Orientation
print "Import Cython version of Orientation module"
except:
from .orientation import Quaternion, Rodrigues, Symmetry, Orientation
2013-01-09 00:17:44 +05:30
#from .block import Block # only one class
from .result import Result # noqa
from .geometry import Geometry # noqa
from .solver import Solver # noqa
from .test import Test # noqa
from .util import extendableOption # noqa