24 #include <boost/property_tree/ptree.hpp>
29 using boost::property_tree::ptree;
38 const double c0 = (cell->GetChemicals().size() >= 2) ? cell->GetChemical(0): 0.0;
39 const double c1 = (cell->GetChemicals().size() >= 2) ? cell->GetChemical(1): 0.0;
40 return {{c1 / (1.0 + c1), c0 / (1.0 + c0), 0.0}};
AuxinPIN1(const boost::property_tree::ptree &pt)
Straight initialization.
A cell contains walls and nodes.
Header for AuxinPIN1 colorizer.
Namespace for components of the Default model group.
std::array< double, 3 > operator()(SimPT_Sim::Cell *cell)
Return color value.