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_8__7_0_/t__t_8__7_0_.diderot
ViewVC logotype

View of /branches/ein16/synth/vis/t__t_8__7_0_/t__t_8__7_0_.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: 545 byte(s)
added vis programs
field#2(2)[2]F0 = c4hexic⊛  image("inputfile_0.nrrd");
input real scale = 1;
field#0(2)[2]G = ∇(∇•(F0));
int length =5;
strand f(int i) {

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

		if(i==0){
			out = G([-0.27, 0.16]);
		}
		else if(i==1){
			out = G([-0.27, 0.16]);
		}
		else if(i==2){
			out = G([-0.4, -0.12]);
		}
		else if(i==3){
			out = G([0.04, -0.28]);
		}
		else if(i==4){
			out = G([-0.03, 0.08]);
		}
		else if(i==5){
			out = G([-0.26, -0.4]);
		}

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

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