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

Refactor NumericalData #16

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Sam-Bouten
Copy link
Contributor

Change FDNumericalData from dataclass into regular class with lazy calculation of property variables.
Implicit recalculation of dependent variables. Add shorthand aliases to numerical arrays.

Add FaceData mixin for NumericalData.
Its responsibility is to keep track of all numerical mesh face arrays, and lazily compute them on demand.
Its arrays can be used for general purposes: face load computation, face stresses, Natural Force Density solver, ...

Relocate and refactor with base class and FD specific class
FaceData is a mixin for NumericalData.

Its responsibility is to keep track of all numerical mesh face data, and lazily compute face data arrays- only when demanded.

Its numerical arrays can be used for general purposes: face load computations, face stresses, Natural Force Density solvers, ...
Change FDNumericalData from dataclass into regular class with lazy calculation of property variables.
Implicit recalculation of  dependent variables.
Add shorthand aliases to numerical arrays.
Formalize lazy evaluation into a decorator.
Add matrices to FDNumericalData.
Change result location
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.

1 participant