Hi Ranjeet,you probably did not implement the correct signature of the solDependentSource() function and the compiler does not recognize it as a proper overload. The interface is the following:
void solDependentSource(PrimaryVariables &values, const Element &element,const FVElementGeometry &fvGeometry,
const int scvIdx,const ElementVolumeVariables &elemVolVars) const
{ ... }
Make sure to fulfill this interface, then it should work. Otherwise,
could you copy your code in the email? That would help us to identify
the problem.
Best wishes, Dennis On 26.10.2018 07:26, Ranjeet kumar wrote:
Hi, I implemented solDependentSource() method for "el2problem" using DuMuX(2.12). When i run the model, I get an error message:Dune::InvalidStateException [sourceAtPos:/usr/local/include/dumux/implicit/problem.hh:443]: The problem does not provide a sourceAtPos() method.Do I need to implement sourceAtPos() method as I already implemented the solDependentSource() method?Thank You! Regards, Ranjeet PhD Student _______________________________________________ Dumux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
_______________________________________________ Dumux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
