Skip to content
  • Kenneth Moreland's avatar
    Swap call pattern of ArrayHandle::DeepCopy · 5250c28f
    Kenneth Moreland authored
    The new method `ArrayHandle::DeepCopy` had the pattern such that the
    data in the `this` array was pushed to the provided destination array.
    However, this is the opposite pattern used in the equivalent method in
    VTK, which takes the data from the provided array and copies it to
    `this` array.
    
    So, swap the pattern to match that of VTK. Also, make the method name
    more descriptive by renaming it to `DeepCopyFrom`. Hopefully, users will
    read that to mean given the `ArrayHandle`, you copy data from the other
    provided `ArrayHandle`.
    5250c28f