24 #include <boost/property_tree/ptree.hpp>
40 const double c0 = (cell->GetChemicals().size() > m_index) ? (cell->GetChemical(m_index) / cell->
GetArea()) : 0.0;
41 return {{1.0,750. / (c0 +750.), 750. / (c0 +750.)}};
A cell contains walls and nodes.
Header for SimplyRed colorizer.
std::array< double, 3 > operator()(SimPT_Sim::Cell *cell)
Return color value.
SimplyRed(const boost::property_tree::ptree &pt, unsigned int index)
Straight initialization.
Namespace for components of the Default model group.
Header file for HSV colors.
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...
double GetArea() const
Return the area of the cell.