Skip to content

Replace curvilinear grid search with spatial hashing #2119

@fluidnumerics-joe

Description

@fluidnumerics-joe

The initial search for particles in a curvilinear grid starts in the middle of the model domain and searches outward, based on the computed barycentric coordinates, for the element that a particle resides in. We currently believe that a more sophisticated approach, like spatial hashing could yield faster initialization of the particles.

To resolve this issue, put together a benchmark to estimate the time taken for initial particle search on a curvilinear grid. Implement spatial hashing and compare runtimes for a range of problem sizes (grid size, particle count) with the original search methodology. If spatial hashing proves to be more performant, move this implementation into v4.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions