Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/ein16/synth/vis/t__t_7__10_1_/t__t_7__10_1_.diderot
ViewVC logotype

View of /branches/ein16/synth/vis/t__t_7__10_1_/t__t_7__10_1_.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4262 - (download) (annotate)
Mon Jul 25 23:20:37 2016 UTC (3 years, 2 months ago) by cchiw
File size: 563 byte(s)
added vis programs
field#2(2)[]F0 = c4hexic⊛  image("inputfile_0.nrrd");
input real scale = 1;
field#0(2)[2, 2]G = ∇⊗(∇(F0));
int length =5;
strand f(int i) {

	output tensor [2,2] out = [[0.0, 0.0],[0.0, 0.0]];
    update {

		if(i==0){
			out = G([-0.36, -0.31]);
		}
		else if(i==1){
			out = G([-0.36, -0.31]);
		}
		else if(i==2){
			out = G([0.08, 0.06]);
		}
		else if(i==3){
			out = G([-0.18, 0.4]);
		}
		else if(i==4){
			out = G([0.18, -0.11]);
		}
		else if(i==5){
			out = G([-0.19, -0.19]);
		}

        stabilize;
    }
}
initially [ f(i) | i in 0..length];

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0