Skip to content

Major refactor of base.py etc#639

Merged
dham merged 6 commits intomasterfrom
connorjward/refactor-base.py
Oct 5, 2021
Merged

Major refactor of base.py etc#639
dham merged 6 commits intomasterfrom
connorjward/refactor-base.py

Conversation

@connorjward
Copy link
Copy Markdown
Collaborator

@connorjward connorjward commented Sep 29, 2021

This PR removes base.py, sequential.py, petsc_base.py and pyparloop.py and instead puts the classes into files such as dat.py, set.py and parloop.py.

As things stand I have created a pyop2.types subpackage and thrown most of the material in there. I would be interested in other people giving their opinions on how best to structure things.

This PR is a prerequisite to #624 and should make reviewing that much more pleasant!

Linked PRs:

@wence-
Copy link
Copy Markdown
Member

wence- commented Sep 29, 2021

Is this just code movement (with no functional changes)?

@connorjward
Copy link
Copy Markdown
Collaborator Author

Yes that's right.

@connorjward
Copy link
Copy Markdown
Collaborator Author

I suppose there are functional changes in that I have abolished the inheritance from base -> petsc_base -> sequential, but that is all.

@dham dham merged commit a43fcd3 into master Oct 5, 2021
@dham dham deleted the connorjward/refactor-base.py branch October 5, 2021 14:47
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.

3 participants