11 #include <top/dbobjects/TOPGeoColdPlate.h>
22 bool TOPGeoColdPlate::isConsistent()
const
24 if (m_baseThickness <= 0)
return false;
25 if (m_baseMaterial.empty())
return false;
26 if (m_coolThickness <= 0)
return false;
27 if (m_coolWidth <= 0)
return false;
28 if (m_coolMaterial.empty())
return false;
33 void TOPGeoColdPlate::print(
const std::string& title)
const
35 TOPGeoBase::print(title);
37 cout <<
" base plate: thickness = " << getBaseThickness() <<
" " << s_unitName;
38 cout <<
", material = " << getBaseMaterial() << endl;
40 cout <<
" cooling plate: thickness = " << getCoolThickness() <<
" " << s_unitName;
41 cout <<
", width = " << getCoolWidth() <<
" " << s_unitName;
42 cout <<
", material = " << getCoolMaterial() << endl;