Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IAH public
DeProj
Commits
00e5ca18
Commit
00e5ca18
authored
Jul 06, 2020
by
Jean-Yves TINEVEZ
Browse files
Also store junction graph in deproj objects.
parent
d218404d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/@deproj/deproj.m
View file @
00e5ca18
...
...
@@ -3,12 +3,14 @@ classdef deproj
properties
epicells
junction_graph
units
end
methods
function
obj
=
deproj
(
epicells
,
units
)
function
obj
=
deproj
(
epicells
,
junction_graph
,
units
)
obj
.
epicells
=
epicells
;
obj
.
junction_graph
=
junction_graph
;
obj
.
units
=
units
;
end
end
...
...
src/@deproj/from_heightmap.m
View file @
00e5ca18
...
...
@@ -146,7 +146,7 @@ function obj = from_heightmap( ...
epicells
(
i
)
=
epicell
(
o
.
boundary
,
o
.
junctions
,
i
);
end
obj
=
deproj
(
epicells
,
units
);
obj
=
deproj
(
epicells
,
junction_graph
,
units
);
fprintf
(
'Done in %.1f seconds.\n'
,
toc
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment