lcpp-org / RustBCA

A free, open-source Binary Collision Approximation (BCA) code for ion-material interactions including sputtering, implantation, and reflection
https://github.com/lcpp-org/RustBCA/wiki
GNU General Public License v3.0
41 stars 14 forks source link

Created Mesh2d creator Python script #72

Closed Stephen-Armstrong closed 3 years ago

Stephen-Armstrong commented 3 years ago

Thank you for your contribution to rustBCA!

Before submitting this PR, please make sure you have:

Fixes # (issue)

Description

Please include a concise description of the change and how it addresses a relevant issue, including references, input files, and figures as relevant.

There is an added Python script called create_mesh2D.py. The script allows with simple commands to create a mesh2D object that contains all of the information required to print to a RustBCA input file and to put the information save the information in the .toml format of RustBCA. Includes functions to create N-gons, rectangles, and triangles.

Tests

Please describe how the changes in this pull request have been tested, including system information such as OS. Windows 10. Replicated the boron nitride example with a similar number of triangles.

drobnyjt commented 3 years ago

@Stephen-Armstrong I'm ready to close this and add the script if you think it's good to go

Stephen-Armstrong commented 3 years ago

I think it's good to go!