Révision 21 Final-Parameters_sm_fsn_fss_fsv/pulvinus-images.cpp
pulvinus-images.cpp (revision 21) | ||
---|---|---|
41 | 41 |
verbosity = getARGV("-vv", 0); |
42 | 42 |
int vdebug = getARGV("-d", 1); |
43 | 43 |
// swelling ability of each region is a parameter |
44 |
real sm = -getARGV("-sm", 0.568354);// mesophyl swelling property
|
|
45 |
real fsn = getARGV("-fsn", 0.899975);// nectary sn/sm
|
|
46 |
real fss = getARGV("-fss", 1.19112);// side ss/sm
|
|
47 |
real fsv = getARGV("-fsv", 0.491088);// vasculature sv/sm
|
|
44 |
real sm = -getARGV("-sm", 0.540061);// mesophyl swelling property
|
|
45 |
real fsn = getARGV("-fsn", 0.954482);// nectary sn/sm
|
|
46 |
real fss = getARGV("-fss", 1.21648);// side ss/sm
|
|
47 |
real fsv = getARGV("-fsv", 0.509563);// vasculature sv/sm
|
|
48 | 48 |
int Nit = getARGV("-Nit", 1); |
49 | 49 |
string geom = getARGV("-geometry", "1"); |
50 | 50 |
string output = getARGV("-out", "."); |
... | ... | |
270 | 270 |
|
271 | 271 |
|
272 | 272 |
plot(Th, Th0, wait=1, ps=output+"/geometry-deformed-superposed_sm"+string(sm)+"_fsn"+string(fsn)+"_fss"+string(fss)+"_fsv"+string(fsv)+".png",bb=bb); |
273 |
plot(Th, wait=1, ps=output+"/geometry-deformed_sm"+string(sm)+"_fsn"+string(fsn)+"_fss"+string(fss)+"_fsv"+string(fsv)+".png",bb=bb); |
|
273 | 274 |
|
274 | 275 |
|
275 | 276 |
redefineVariable(strain); |
... | ... | |
327 | 328 |
|
328 | 329 |
|
329 | 330 |
|
331 |
// compute deformed lengths |
|
332 |
real cwidthdrysimu=cwidth+u1(cwidth/2,-ly)-u1(-cwidth/2,-ly); |
|
333 |
|
|
330 | 334 |
/************************************************************* |
331 | 335 |
* Writing results |
332 | 336 |
* **********************************************************/ |
333 | 337 |
|
334 | 338 |
|
335 |
cout<<"sm;fsn;fss;fsv;tangentangle;sideangle;am;an;as;av;sam;san;sas;sav"<<endl; |
|
339 |
cout<<"sm;fsn;fss;fsv;tangentangle;sideangle;am;an;as;av;sam;san;sas;sav;cwidthdry"<<endl;
|
|
336 | 340 |
|
337 | 341 |
|
338 | 342 |
ofstream textfile(output+"/results.csv", append); |
... | ... | |
341 | 345 |
textfile<<sm<<";"<<fsn<<";"<<fss<<";"<<fsv |
342 | 346 |
<<";"<<tangentangle/38<<";"<<sideangle/38 |
343 | 347 |
<<";"<<am<<";"<<an<<";"<<as<<";"<<av |
344 |
<<";"<<samesophyl<<";"<<sanectary<<";"<<saside<<";"<<savasculature |
|
348 |
<<";"<<samesophyl<<";"<<sanectary<<";"<<saside<<";"<<savasculature<<";"<<cwidthdrysimu/cwidthdry
|
|
345 | 349 |
<<endl; |
346 | 350 |
|
347 | 351 |
cout<<sm<<";"<<fsn<<";"<<fss<<";"<<fsv |
348 | 352 |
<<";"<<tangentangle/38<<";"<<sideangle/38 |
349 | 353 |
<<";"<<am<<";"<<an<<";"<<as<<";"<<av |
350 |
<<";"<<samesophyl<<";"<<sanectary<<";"<<saside<<";"<<savasculature |
|
354 |
<<";"<<samesophyl<<";"<<sanectary<<";"<<saside<<";"<<savasculature<<";"<<cwidthdrysimu/cwidthdry
|
|
351 | 355 |
<<endl; |
352 | 356 |
|
353 | 357 |
|
Formats disponibles : Unified diff