Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meshgen module #99

Merged
merged 2 commits into from
Feb 26, 2022
Merged

Meshgen module #99

merged 2 commits into from
Feb 26, 2022

Conversation

softmattertheory
Copy link
Contributor

Meshgen module added, including documentation and examples.

Including documentation and examples
Copy link
Collaborator

@ConduitDan ConduitDan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow! This looks like a very powerful tool to make meshes. I'm very excited to start using this.

Code looks good.

I assuming you're also working on unit tests for this.

## Domain
[tagdomain]: # (domain)

The `Domain` class is used to conveniently build a
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the last part of the sentence missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch there! Will fix later...


Create a domain corresponding to the unit disk:

var c = CircularDomain([0,0], 1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the origin argument restricted to 2D?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(looking at the code I don't think it is but it might be nice to mention?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So currently n-D meshes have to be in n-D. I should note this...

Update meshgen to improve documentation, improve benchmarking and add in a unit test
@softmattertheory softmattertheory merged commit eaa8f9c into main Feb 26, 2022
@softmattertheory softmattertheory deleted the meshgen branch February 26, 2022 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants