Skip to content

Conversation

@mstoelzle
Copy link
Contributor

Fixes #142 by implementing the following changes:

  • Tranpose fixed_positions and fixed_directors after initialization to mirror the standard data structure in pyelastica, which is batch-last as in (dim, batch) or (dim, dim,batch)
  • Simplify code by using ... for slicing of vector entries instead of listing each dim separately

@bhosale2 bhosale2 linked an issue Jul 19, 2022 that may be closed by this pull request
Copy link
Collaborator

@bhosale2 bhosale2 left a comment

Choose a reason for hiding this comment

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

LGTM mostly, super minor changes.

Copy link
Contributor

@armantekinalp armantekinalp left a comment

Choose a reason for hiding this comment

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

LGTM good catch!

Copy link
Collaborator

@bhosale2 bhosale2 left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Collaborator

@skim0119 skim0119 left a comment

Choose a reason for hiding this comment

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

LGTM. One change request

@bhosale2 bhosale2 added the documentation Improvements or additions to documentation label Jul 20, 2022
@bhosale2 bhosale2 added this to the Version 0.3 milestone Jul 20, 2022
…` vector

Unrolling vector manually is usually faster
@bhosale2 bhosale2 requested a review from skim0119 July 20, 2022 07:54
@skim0119 skim0119 merged commit 8b120cc into GazzolaLab:update-0.3.0 Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent docstring in FixedConstraint class

4 participants