Skip to content

Commit 5d77e8c

Browse files
committed
bug fix
1 parent 459ae2a commit 5d77e8c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

fluid_coarse/plot_c.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%% comsol server required, you can jump to `plot` if data is downloaded
22
a=2;
33
b=0.8;
4-
delta=0.05;
4+
delta=0.1;
55
nx=a/delta;
66
ny=b/delta;
77

fluid_fine/plot_c.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
outputs = func_outputs_nowrite(inputs_unique,nx,ny);
3636
[val, idx]=max(outputs);
3737
save('data_gb.mat','idx','outputs','inputs_unique');
38-
%val=2.003380528496133
38+
% val=2.003380528496133
3939
%% plot
4040
font='Times';
4141
load('data_gb.mat');

truss/truss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def set_parameters_72bar(self, n_node=20, n_dis=16):
9090

9191
dx = 120. # distance between two adjacent nodes in x direction
9292
dy = 120. # distance between two adjacent nodes in y direction
93-
dz = 60 # # distance between two adjacent nodes in z direction
93+
dz = 60 # distance between two adjacent nodes in z direction
9494
eps = 1e-6
9595
self.l = torch.tensor([dx, dy, dz]).to(self.device)
9696

0 commit comments

Comments
 (0)