Skip to content

Commit 445ff1b

Browse files
Merge pull request #8 from FilipNilenius/hotfix
binary for use on Hebbe: http://www.c3se.chalmers.se/index.php/Hebbe
2 parents ded60d0 + e5333db commit 445ff1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

classFiles/SVEclass.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ function generateSVE(obj,aggFrac,ballastRadii,gravelSieve,Lbox,domainFactor)
101101
% % are places in side SVE
102102
% x
103103
a.x = -(domainFactor - 1 - (domainFactor - 1)*obj.boundary.x.back)/2*Lbox;
104-
b.x = (1 + (domainFactor - 1 - (domainFactor - 1)*obj.boundary.x.back)/2)*Lbox;
104+
b.x = (1 + (domainFactor - 1 - (domainFactor - 1)*obj.boundary.x.front)/2)*Lbox;
105105
% y
106106
a.y = -(domainFactor - 1 - (domainFactor - 1)*obj.boundary.y.back)/2*Lbox;
107-
b.y = (1 + (domainFactor - 1 - (domainFactor - 1)*obj.boundary.y.back)/2)*Lbox;
107+
b.y = (1 + (domainFactor - 1 - (domainFactor - 1)*obj.boundary.y.front)/2)*Lbox;
108108
% z
109109
a.z = -(domainFactor - 1 - (domainFactor - 1)*obj.boundary.z.back)/2*Lbox;
110-
b.z = (1 + (domainFactor - 1 - (domainFactor - 1)*obj.boundary.z.back)/2)*Lbox;
110+
b.z = (1 + (domainFactor - 1 - (domainFactor - 1)*obj.boundary.z.front)/2)*Lbox;
111111

112112
centroid = zeros(200000,3);
113113
radius = zeros(200000,1);

0 commit comments

Comments
 (0)