Hi Nikolai,

unfortunately there is currently no support for analytical differentiation 
within the multi domain framework. Until the release of the 3.0 version, we 
will have properly set up the framework for analytical differentiation and 
throw clearer error messages. Then, you will be able to overload the function 
addCouplingDerivatives() in your coupling manager and provided the derivatives. 
Maybe we will also have the functionality provided for single-phase flow until 
then.


For now you will have to stick to numeric differentiation. Sorry about that!


Best wishes,
Dennis

________________________________
Von: Dumux <[email protected]> im Auftrag von Nikolai 
Andrianov <[email protected]>
Gesendet: Montag, 22. Oktober 2018 09:19:20
An: [email protected]
Betreff: [DuMuX] Compilation errors when using Multidomain with 
DiffMethod::analytic


Dear DuMuX experts,


I am trying to get the multidomain module to work with analytical (hand-coded) 
derivatives in the Jacobian, but get several compilation errors:


  1.  There is no assembleJacobianAndResidualImplInverse method in the 
DiffMethod::analytic version of SubDomainCCLocalAssembler (simply renaming the 
existing assembleJacobianAndResidualImpl method seems to eliminate this error).
  2.  There is no this->couplingManager().addCouplingDerivatives method in 
assembleJacobianCoupling of subdomaincclocalassembler.hh.


Your feedback is greatly appreciated.


Many thanks,

Nikolai


_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to