create an elliptic region

Dear LAMMPS users/developers,

Is there any existing way to define an elliptic region in LAMMPS? If not, I want to write a derived “region_elliptic” class. So any special attention to keep in mind?

Thanks in advance for any comment.

region_sphere.cpp is the best starting point for

that - you have to implement all its methods.

Steve