62 m_sub_domain(
sbi.subDomain()),
63 m_defaultMesh(m_sub_domain->defaultMesh()),
68 IVariable::PNoDump|IVariable::PNoRestore))
74 int drawGlobalCell(
Cell cell, Real min, Real max, Real
val){
76 debug()<<
"\t[HyodaMats::drawGlobalCell] Cell #"<<cell.
localId();
78 hyoda()->meshIceT()->setColor(min,max,
val,
rgb);
81 glVertex2d(m_defaultMesh->nodesCoordinates()[node].x,
82 m_defaultMesh->nodesCoordinates()[node].y);
91 int draw(
IVariable *variable, Real min, Real max)
93 ARCANE_UNUSED(variable);
104 info()<<
"[HyodaMats::draw] aeCell #"
109 info() <<
"[HyodaMats::draw] all_env_cell.nbEnvironment()!=1";
112 info()<<
"\t[HyodaMats::draw] eCell #"
113 << (*ienvcell).globalCell().localId()
114 <<
", nbMaterial=" << (*ienvcell).nbMaterial();
116 if ((*ienvcell).nbMaterial()==1) drawGlobalCell((*ienvcell).globalCell(),
122 if ((*ienvcell).nbMaterial()==2
129 info()<<
"\t[HyodaMats::draw] Cell #"
134 hyodaMix()->xCellDrawInterface((*ienvcell).globalCell(),0);
151 IMesh* m_defaultMesh;
Interface du gestionnaire d'un sous-domaine.