Skip to content

84 Extending assembly base class - #90

Merged
andped10 merged 16 commits into
developfrom
84-create-new-bilayer-item
Feb 21, 2024
Merged

andped10 merged 16 commits into
developfrom
84-create-new-bilayer-item

Conversation

@andped10

@andped10 andped10 commented Feb 16, 2024 •

Copy link
Copy Markdown
Collaborator

To make the code more maintainable the base class BaseAssembly has been extended. For now there is no need for a BilLayer class

  • General constraints are now handled in the base class
  • Property for the top and bottom layer

This setup enables for a new inheritance tree that now is:
BaseAssembly

  • Multilayer
    • RepeatingMultilayer
  • SurfactantLayer
  • GradeintLayer

Removed ClassVar when doing typing as the variables are instance variables and not class variables

@andped10 andped10 linked an issue Feb 16, 2024 that may be closed by this pull request
@andped10
andped10 marked this pull request as ready for review February 16, 2024 10:30
@andped10
andped10 requested a review from damskii9992 February 19, 2024 09:21

@rozyczko rozyczko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

code looks good, a few suggestions mentioned for consideration

@andped10
andped10 requested a review from rozyczko February 21, 2024 12:30

@rozyczko rozyczko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changes look correct, all issues addressed.

@andped10
andped10 merged commit edba086 into develop Feb 21, 2024
@andped10
andped10 deleted the 84-create-new-bilayer-item branch February 21, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

Create new Bilayer item

2 participants