Skip to content

VomMover #3317

Open
Open
@colinjcotter

Description

@colinjcotter

Describe the current issue
I want to be able to support moving particles stored as a VOM (Vertex Only Mesh).

Describe the solution you'd like

The proposal is to have a class called VOMMover, which is constructed from a VOM and a vector-valued function containing the new coordinates of the particles.
It has methods:

  • new_VOM: returns a new VOM with vertices at those new coordinates
  • move_function: takes in a Function on the old VOM and returns a corresponding function on the new VOM

move_function should interpolate from a Function on the old VOM to a Function on the _input_ordering VOM of the old VOM. Then, do a .dat.data copy from that Function to a Function on the _input_ordering VOM of the new VOM, which can be returned.

Describe alternatives you've considered

Additional info

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions