| 1002 | |
| 1003 | |
| 1004 | ComponentGridFunction :: |
| 1005 | ComponentGridFunction (shared_ptr<GridFunction> agf_parent, int acomp) |
| 1006 | : GridFunction (dynamic_cast<const CompoundFESpace&> (*agf_parent->GetFESpace())[acomp], |
| 1007 | agf_parent->GetName()+"."+ToString (acomp+1), Flags().SetFlag("autoupdate",false)), |
| 1008 | gf_parent(agf_parent), comp(acomp) |
| 1009 | { |
| 1010 | this->SetVisual(agf_parent->GetVisual()); |
| 1011 | if (this->visual) |
| 1012 | Visualize (this, this->name); |
| 1013 | } |
| 1014 | |
| 1015 | ComponentGridFunction :: |
| 1016 | ~ComponentGridFunction () |
nothing calls this directly
no test coverage detected