24 #include <boost/property_tree/ptree.hpp>
31 using boost::property_tree::ptree;
40 const double c0 = (cell->GetChemicals().size() >= 1) ? cell->GetChemical(0): 0.0;
41 double val = 1 - c0 / (1 + c0);
42 return {{val,val,val}};
A cell contains walls and nodes.
TipGrowth(const boost::property_tree::ptree &pt)
Straight initialization.
Namespace for components of the Default model group.
Header file for HSV colors.
Header for TipGrowth colorizer.
Namespace for color utilities.
Rgb color def to Hsv color def: r,g,b values are from 0 to 1 and h = [0,360], s = [0...
std::array< double, 3 > operator()(SimPT_Sim::Cell *cell)
Return color value.