Skip to content
Snippets Groups Projects
Commit 4deec9da authored by Andreas Lauser's avatar Andreas Lauser
Browse files

1p2c box model: use boxSDSource instead of source()

(allows to specify solution dependent source terms)

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7356 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent e6780ee6
No related branches found
No related tags found
No related merge requests found
......@@ -278,10 +278,11 @@ public:
*/
void computeSource(PrimaryVariables &q, int localVertexIdx)
{
this->problem_().source(q,
this->elem_(),
this->fvElemGeom_(),
localVertexIdx);
this->problem_().boxSDSource(q,
this->elem_(),
this->fvElemGeom_(),
localVertexIdx,
this->curVolVars_());
}
/*!
......
......@@ -34,10 +34,8 @@
#include <dumux/boxmodels/2p2c/2p2clocalresidual.hh>
#include <dumux/boxmodels/2p2cni/2p2cnivolumevariables.hh>
#include <dumux/boxmodels/2p2cni/2p2cnifluxvariables.hh>
#include <dumux/boxmodels/2p2cni/2p2cniproperties.hh>
namespace Dumux
......
......@@ -35,11 +35,9 @@
#include <dumux/boxmodels/2p/2plocalresidual.hh>
#include <dumux/boxmodels/2pni/2pnivolumevariables.hh>
#include <dumux/boxmodels/2pni/2pnifluxvariables.hh>
namespace Dumux
{
/*!
......
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