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

Solution data abstraction #1

Open
koehlerson opened this issue Oct 8, 2021 · 2 comments
Open

Solution data abstraction #1

koehlerson opened this issue Oct 8, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@koehlerson
Copy link
Member

For time dependent problems and cell data such as fluxes and stresses the solution data needs some abstraction, e.g.

abstract type AbstractSolutionData end
abstract type AbstractStaticData <: AbstractSolutionData end
abstract type AbstractTimeDependentData <: AbstractSolutionData end

...

with a proper interface, such that static and dynamic data as well as point and cell data can be distinguished while dispatching

@koehlerson koehlerson added help wanted Extra attention is needed enhancement New feature or request labels Oct 9, 2021
@termi-official
Copy link
Member

One of my thoughts on the design here is that we have some conversion from a transient/dynamic/time-dependent/instationary data source to a static/stationary/steady-state, possibly via temporal interpolation operators, all of which are some type of source. Then we have different classes of filters, which again can be sources, such that we are able to chain filters. This allows us to decouple the data processing portion from the actual visualization.

@termi-official
Copy link
Member

Maybe we should opt for a trait system and open dispatches here, so external tools which are built on top of Ferrite can shove their data into the visualization pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants