__init__.py 1.68 KB
Newer Older
Marco Selig's avatar
Marco Selig committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## NIFTY (Numerical Information Field Theory) has been developed at the
## Max-Planck-Institute for Astrophysics.
##
## Copyright (C) 2013 Max-Planck-Society
##
## Author: Marco Selig
## Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/>
##
## 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/>.

from __future__ import division
Ultimanet's avatar
Ultimanet committed
23

24
25
from .version import __version__

26
27
28
# initialize the logger instance
from keepers import MPILogger
logger = MPILogger()
29

30
31
import dummys

32
33
# it is important to import config before d2o such that NIFTy is able to
# pre-create d2o's configuration object with the corrected path
34
from config import dependency_injector,\
35
36
                   nifty_configuration,\
                   d2o_configuration
37

38
from d2o import distributed_data_object, d2o_librarian
Ultimanet's avatar
Ultimanet committed
39

40
41
from energies import *

42
43
from field import Field

44
from random import Random
45

46
47
from basic_arithmetics import *

Ultima's avatar
Ultima committed
48
from nifty_utilities import *
49

50
51
52
from field_types import *

from minimization import *
53

theos's avatar
theos committed
54
55
from spaces import *

Jait Dixit's avatar
Jait Dixit committed
56
57
from operators import *

theos's avatar
theos committed
58
59
from probing import *

60
from sugar import *
Ultimanet's avatar
Ultimanet committed
61
62

#import pyximport; pyximport.install(pyimport = True)