Changeset 528 for cpp/frams/genetics


Ignore:
Timestamp:
07/18/16 04:14:37 (4 years ago)
Author:
Maciej Komosinski
Message:
  • Part.m removed
  • Part.h becomes XPROP
  • validate more part and joint properties in Model.internalcheck()
Location:
cpp/frams/genetics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f1/conv_f1.cpp

    r514 r528  
    316316int Builder::growPart(F1Props &c,const char *g)
    317317{
    318 sprintf(tmp,"p:m=1,dn=%lg,fr=%lg,ing=%lg,as=%lg,vs=%g,vr=%g,vg=%g,vb=%g",
     318sprintf(tmp,"p:dn=%lg,fr=%lg,ing=%lg,as=%lg,vs=%g,vr=%g,vg=%g,vb=%g",
    319319        1.0/c.masa,c.tarcie,c.wchl,c.asym, c.grub, c.cred,c.cgreen,c.cblue);
    320320return model.singleStepBuild(tmp,makeRange(g));
  • cpp/frams/genetics/f4/conv_f4.cpp

    r375 r528  
    178178                        // new part object for firstend
    179179                        // 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",
    181181                                /*1.0/C->P.mass,*/ C->P.friction, C->P.ingest, C->P.assim
    182182                                //C->firstend.x, C->firstend.y, C->firstend.z
     
    194194                }
    195195                // 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",
    197197                        //C->lastend.x, C->lastend.y, C->lastend.z
    198198                        /*"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.