File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ def gd_init(
385
385
cell = state .cell ,
386
386
pbc = state .pbc ,
387
387
reference_cell = state .cell .clone (),
388
+ row_vector_cell = state .row_vector_cell .clone (),
388
389
cell_factor = cell_factor ,
389
390
hydrostatic_strain = hydrostatic_strain ,
390
391
constant_volume = constant_volume ,
@@ -936,6 +937,7 @@ def fire_init(
936
937
cell_masses = cell_masses ,
937
938
# Optimization attributes
938
939
reference_cell = state .cell .clone (),
940
+ row_vector_cell = state .row_vector_cell .clone (),
939
941
cell_factor = cell_factor ,
940
942
pressure = pressure ,
941
943
dt = dt_start ,
@@ -1020,7 +1022,6 @@ class FrechetCellFIREState(SimState, DeformGradMixin):
1020
1022
stress : torch .Tensor
1021
1023
1022
1024
# Optimization-specific attributes
1023
- reference_cell : torch .Tensor
1024
1025
cell_factor : torch .Tensor
1025
1026
pressure : torch .Tensor
1026
1027
hydrostatic_strain : bool
@@ -1243,6 +1244,7 @@ def fire_init(
1243
1244
cell_masses = cell_masses ,
1244
1245
# Optimization attributes
1245
1246
reference_cell = state .cell .clone (),
1247
+ row_vector_cell = state .row_vector_cell .clone (),
1246
1248
cell_factor = cell_factor ,
1247
1249
pressure = pressure ,
1248
1250
dt = dt_start ,
You can’t perform that action at this time.
0 commit comments