Skip to content
Snippets Groups Projects
Commit 04324a52 authored by Timo Koch's avatar Timo Koch
Browse files

[fluxvars] Make FluxVariables default constructable

This commit contains backward imcompatible. All flux variables
now have to be default constructed. Implementers of flux variables
need to make their implementation default construcable too.
All calls to the old non-default ctors will throw errors at runtime and
emit deprecation warning at compile time. FluxVars are no constructed
and update like this:

FluxVariables fluxVars;
fluxVars.update(...)

Being default contructable offers more flexible class inheritance
and more flexible caching possiblities.

To this end especially the 2pnc/2pncmin flux variables where
updated to comform with other models. This involves some
deprecations. The 2pncmin reference had to be altered in the
velocity. The velocity was previously outputted wrongly as
the correct volumeFlux variable was never computed for 2pnc/2pncmin.
parent 8aa67605
Loading
Showing
with 501 additions and 220 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment