Discussion: Unify LocalAssemblers and SubDomainCouplingAssemblers
From a brief glance at
SubDomainBoxLocalAssembler it seems that there is a large degree of code duplication. I think it should be possible to make
SubDomainBoxLocalAssembler inherit from
The only critical parts are some calls to
couplingManager. This could be replaced by some lambda calls which do nothing for the non-coupling assembler. The coupled assembler could then call the base class' function with a specialized lambda which .
, e.g., update the coupled variables.
We could evaluate the possibility of streamlining our code on the next Dumux day.