All MicroEvals
FMM N-Body Gravity Sim
Create MicroEval
Header image for FMM N-Body Gravity Sim

FMM N-Body Gravity Sim

A simple task prompt with large hidden complexity, testing general knowledge and coding skills.

Prompt

Design a 2d Nbody gravity simulation to run on an nvidia gpu. Use the fast multiple method. Return an explanation of your approach and python pseudo code.

Drag to resize
Drag to resize
Drag to resize