Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrieleLabanca committed Jan 7, 2018
1 parent 36892e2 commit 4632369
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Binary file removed .index.html.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h4>What to expect</h4>
However, when a correlation is introduced, as it is done switching to a ballistic deposition model, it is expected to have a <b>saturation</b>, that is an halt in the thickening of the surface.

<p class="alert alert-info">
By now, the saturation is not yet visible. I will be working on this issue.
By now, the saturation is not yet visible. I will be working on this issue: probably the problem originates from the random number generation.
</>
</p>
</div>
Expand Down
Binary file removed js/.grid.js.swp
Binary file not shown.
3 changes: 1 addition & 2 deletions js/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function clear_grid(){
for(var n=0; n<N; n++){
for(var m=0; m<M; m++){
mydata[getn(n,m)].status = 'void';
mydata[getn(n,m)].color = "white";
}
}
}
Expand Down Expand Up @@ -158,8 +159,6 @@ function extractColor(){

function getn(n,m){ // converts (x,y) position into index
return N*M-(N-n+m*N); // (0,0) is bottom-left

////N*M-1-(n+m*N); //OLD
}


Expand Down
2 changes: 2 additions & 0 deletions js/grid_navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ function load_listeners(){
}
function switch_RD(){
clear_grid();
clear_stats();
clear_graph();
global_choose_deposition = 'RD';
//document.getElementById("describe-deposition")
// .innerHtml = "random deposition";
Expand Down

0 comments on commit 4632369

Please sign in to comment.