Commit d7c6560e authored by sfritschi's avatar sfritschi
Browse files

Fixed minor bug in initialization of network

parent 4f3b6af2
gen/plots/dendro.png

82.2 KB | W: | H:

gen/plots/dendro.png

134 KB | W: | H:

gen/plots/dendro.png
gen/plots/dendro.png
gen/plots/dendro.png
gen/plots/dendro.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -636,7 +636,8 @@ def generate_dendrogram(basenet: Network, targetsize: List[int], \
network = Network(lb=[0.0 for k in range(d)],
ub=L, Lmax=basenet.Lmax, label='from_' + basenet.label)
for pore in pores[:n]: network.add_pore(pore)
for throat in throats: network.connect_pores(*throat)
for throat in throats: network.connect_pores(pore1=throat[0],
pore2=throat[1], label=throat[2], r=throat[3])
return network
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment