__init__.py 1.58 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
Theo Steininger's avatar
Theo Steininger committed
13
14
15
16
17
#
# Copyright(C) 2013-2017 Max-Planck-Society
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
Marco Selig's avatar
Marco Selig committed
18
19

from __future__ import division
Ultimanet's avatar
Ultimanet committed
20

21
22
from .version import __version__

23
24
25
# initialize the logger instance
from keepers import MPILogger
logger = MPILogger()
26

27
28
# it is important to import config before d2o such that NIFTy is able to
# pre-create d2o's configuration object with the corrected path
Martin Reinecke's avatar
Martin Reinecke committed
29
from .config import dependency_injector,\
30
31
                   nifty_configuration,\
                   d2o_configuration
32

33
from d2o import distributed_data_object, d2o_librarian
Ultimanet's avatar
Ultimanet committed
34

Martin Reinecke's avatar
Martin Reinecke committed
35
from .energies import *
36

Martin Reinecke's avatar
Martin Reinecke committed
37
from .field import Field
38

Martin Reinecke's avatar
Martin Reinecke committed
39
from .random import Random
40

Martin Reinecke's avatar
Martin Reinecke committed
41
from .basic_arithmetics import *
42

Martin Reinecke's avatar
Martin Reinecke committed
43
from .nifty_utilities import *
44

Martin Reinecke's avatar
Martin Reinecke committed
45
from .field_types import *
46

Martin Reinecke's avatar
Martin Reinecke committed
47
from .minimization import *
48

Martin Reinecke's avatar
Martin Reinecke committed
49
from .spaces import *
theos's avatar
theos committed
50

Martin Reinecke's avatar
Martin Reinecke committed
51
from .operators import *
Jait Dixit's avatar
Jait Dixit committed
52

Martin Reinecke's avatar
Martin Reinecke committed
53
from .probing import *
theos's avatar
theos committed
54

Martin Reinecke's avatar
Martin Reinecke committed
55
from .sugar import *
56

Martin Reinecke's avatar
Martin Reinecke committed
57
from . import plotting