Changeset 528 for cpp/frams/genetics
- Timestamp:
- 07/18/16 04:14:37 (8 years ago)
- Location:
- cpp/frams/genetics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f1/conv_f1.cpp
r514 r528 316 316 int Builder::growPart(F1Props &c,const char *g) 317 317 { 318 sprintf(tmp,"p: m=1,dn=%lg,fr=%lg,ing=%lg,as=%lg,vs=%g,vr=%g,vg=%g,vb=%g",318 sprintf(tmp,"p:dn=%lg,fr=%lg,ing=%lg,as=%lg,vs=%g,vr=%g,vg=%g,vb=%g", 319 319 1.0/c.masa,c.tarcie,c.wchl,c.asym, c.grub, c.cred,c.cgreen,c.cblue); 320 320 return model.singleStepBuild(tmp,makeRange(g)); -
cpp/frams/genetics/f4/conv_f4.cpp
r375 r528 178 178 // new part object for firstend 179 179 // coordinates are left to be computed by Model 180 sprintf(tmpLine, "p: m=1,fr=%g,ing=%g,as=%g",180 sprintf(tmpLine, "p:fr=%g,ing=%g,as=%g", 181 181 /*1.0/C->P.mass,*/ C->P.friction, C->P.ingest, C->P.assim 182 182 //C->firstend.x, C->firstend.y, C->firstend.z … … 194 194 } 195 195 // new part object for lastend 196 sprintf(tmpLine, "p: m=1,fr=%g,ing=%g,as=%g",196 sprintf(tmpLine, "p:fr=%g,ing=%g,as=%g", 197 197 //C->lastend.x, C->lastend.y, C->lastend.z 198 198 /*"vol=" 1.0/C->P.mass,*/ C->P.friction, C->P.ingest, C->P.assim
Note: See TracChangeset
for help on using the changeset viewer.