__init__.py 1.52 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
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
29
from config import dependency_injector,\
30
31
                   nifty_configuration,\
                   d2o_configuration
32

33
from d2o import distributed_data_object, d2o_librarian
34

35
36
from energies import *

37
38
from field import Field

39
from random import Random
40

Theo Steininger's avatar
Theo Steininger committed
41
from nifty_utilities import *
42

43
44
45
from field_types import *

from minimization import *
46

Theo Steininger's avatar
Theo Steininger committed
47
48
from spaces import *

Jait Dixit's avatar
Jait Dixit committed
49
50
from operators import *

51
from probing import *
52

53
from sugar import *
54
55

import plotting