------------------------------------------------------------------------------ Copy a field by creating new data arrays
| 504 | //------------------------------------------------------------------------------ |
| 505 | // Copy a field by creating new data arrays |
| 506 | void vtkFieldData::DeepCopy(vtkFieldData* f) |
| 507 | { |
| 508 | this->CopyStructure(f); |
| 509 | |
| 510 | for (int i = 0; i < f->GetNumberOfArrays(); ++i) |
| 511 | { |
| 512 | this->GetAbstractArray(i)->DeepCopy(f->GetAbstractArray(i)); |
| 513 | } |
| 514 | |
| 515 | this->SetGhostsToSkip(f->GetGhostsToSkip()); |
| 516 | |
| 517 | this->CopyFlags(f); |
| 518 | } |
| 519 | |
| 520 | //------------------------------------------------------------------------------ |
| 521 | // Copy a field by reference counting the data arrays. |
nothing calls this directly
no test coverage detected