Skip to content

Commit 6883044

Browse files
Update __init__.py
1 parent f11b635 commit 6883044

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

glimy/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
print("Interacting with reality...")
22
import numpy as np
33
import sys
4-
import Glimy.geo
4+
import glimy.geo
55

66
import warnings
77
import time
@@ -379,6 +379,9 @@ def build(self,verbose=1):
379379
self.__built_once=True
380380
self.__built_isotropic=self.__anisotropy
381381
self.__grid_generator_at_t_0()
382+
383+
if self.__anisotropy and (self.__conductivity or self.__conductivity_m):
384+
raise NotImplementedError("Both conductive and anisotropic materials are not permitted.")
382385
self.__instance=0
383386

384387
self.__E=np.zeros((3,)+self.__grid_size)

0 commit comments

Comments
 (0)