exceptions.py 778 Bytes
Newer Older
MischaD's avatar
MischaD committed
1
2
3
class OrderNotImplementedException(Exception):
    """Order in classmethod of Lattice not implemented
    """
MischaD's avatar
MischaD committed
4
5
6
7
8
9
    pass


class ImpossibleVelocityShellException(Exception):
    """No velocity sets could be constructed. Only positive integer possible
    """
MischaD's avatar
MischaD committed
10
11
12
13
14
    pass


class ReducibleShellException(Exception):
    """Shell is reducible although it should be irreducible"""
MischaD's avatar
MischaD committed
15
16
    pass

MischaD's avatar
MischaD committed
17
18

class NoSolutionException(Exception):
MischaD's avatar
MischaD committed
19
20
21
    """Equation system cannot be solved"""
    pass

MischaD's avatar
MischaD committed
22
23

class InfiniteSolutionsException(Exception):
MischaD's avatar
MischaD committed
24
    """Infinite Solutions. May be solveable with Continue.py in https://github.com/BDuenweg/Lattice-Boltzmann-weights"""
MischaD's avatar
MischaD committed
25
26
27
28
29
    pass


class UninitializedAttributeException(Exception):
    """Calling a function that is not supposed to be called yet"""
MischaD's avatar
MischaD committed
30
    pass