__init__.py 1.5 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# NIFTy
# Copyright (C) 2017  Theo Steininger
#
# Author: Theo Steininger
#
# 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/>.
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
import dummys

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

35
from d2o import distributed_data_object, d2o_librarian
36

37
38
from energies import *

39
40
from field import Field

41
from random import Random
42

43
44
from basic_arithmetics import *

Theo Steininger's avatar
Theo Steininger committed
45
from nifty_utilities import *
46

47
48
49
from field_types import *

from minimization import *
50

Theo Steininger's avatar
Theo Steininger committed
51
52
from spaces import *

Jait Dixit's avatar
Jait Dixit committed
53
54
from operators import *

55
from probing import *
56

57
from sugar import *
Theo Steininger's avatar
Theo Steininger committed
58
59

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