repo.or.cz
/
wrf-fire-matlab.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
coarsening_icl_test.exe compiles
[wrf-fire-matlab.git]
/
perimeter_new
/
propagate_init.m
blob
94221508e54c156f31ce202d12d702d115b750b0
1
function [t,d]=propagate_init(tign,distance)
2
% [t,d]=propagate_init(tign,distance)
3
% create the initial state before the first call of propagate
4
[m,n]=size(tign);
5
t=zeros(m,n,3,3);
6
for i=1:m,
7
for j=1:n
8
t(i,j,:,:)=tign(i,j);
9
end
10
end
11
d=distance;
12
end