Skip to content

Commit 5949874

Browse files
committed
Fixing a packages issue
1 parent 955c8f1 commit 5949874

16 files changed

Lines changed: 29 additions & 29 deletions

Main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import matplotlib.animation as animation
99
import matplotlib as mpl
1010
from mpl_toolkits.mplot3d import Axes3D
11-
import postProc_visuals
11+
import src_code.postProc_visuals
1212
mpl.rcParams['animation.ffmpeg_path'] = 'C:\\ffmpeg\\bin\\ffmpeg.exe'
1313

1414
print(
@@ -150,18 +150,18 @@
150150

151151
if analysis_type[0,1] == 2:
152152

153-
postProc_visuals.Plastic_Post_proc(U, p, t, material_param, Fb, sxx, syy, sxy,\
153+
src_code.postProc_visuals.Plastic_Post_proc(U, p, t, material_param, Fb, sxx, syy, sxy,\
154154
saved_residual, epxx, epyy, epxy, saved_deltaU)
155155

156156

157157
else:
158158

159-
postProc_visuals.General_Post_proc(U, p, t, material_param)
159+
src_code.postProc_visuals.General_Post_proc(U, p, t, material_param)
160160

161161

162162
if analysis_type[0,0] == 2:
163163

164-
postProc_visuals.transient_postProc(transient, U, p, t)
164+
src_code.transient_postProc(transient, U, p, t)
165165

166166
print('Finite element Solution finding Time : ' + str(t2 - t1) + ' s')
167167
os.system("pause")

__pycache__/Main.cpython-37.pyc

-621 Bytes
Binary file not shown.

src_code/Assembly.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# -*-coding:Latin-1 -*
22

3-
from core import *
4-
from loading import *
5-
from boundary_conditions import *
3+
from src_code.core import *
4+
from src_code.loading import *
5+
from src_code.boundary_conditions import *
66

77
def Assembly2D(X,T,surface_load,Wgauss,gp,Ngauss,Klaw,pho,thickness,analysis_type):
88

src_code/__init__.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
from meshing import *
2-
from Assembly import *
3-
from behaviour import *
4-
from core import *
5-
from boundary_conditions import *
6-
from inputting import *
7-
from loading import *
8-
from meshing import *
9-
from numerical_integration import *
10-
from postProc_calc import *
11-
from postProc_visuals import *
12-
from solving import *
1+
from src_code.meshing import *
2+
from src_code.Assembly import *
3+
from src_code.behaviour import *
4+
from src_code.core import *
5+
from src_code.boundary_conditions import *
6+
from src_code.inputting import *
7+
from src_code.loading import *
8+
from src_code.meshing import *
9+
from src_code.numerical_integration import *
10+
from src_code.postProc_calc import *
11+
from src_code.postProc_visuals import *
12+
from src_code.solving import *
27 Bytes
Binary file not shown.
99 Bytes
Binary file not shown.
9 Bytes
Binary file not shown.
9 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
9 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)